[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Usata-commits] Changes to usata2/src/system.hpp
From: |
David Lau |
Subject: |
[Usata-commits] Changes to usata2/src/system.hpp |
Date: |
Thu, 20 Jan 2005 15:20:33 -0500 |
Index: usata2/src/system.hpp
diff -u usata2/src/system.hpp:1.8 usata2/src/system.hpp:1.9
--- usata2/src/system.hpp:1.8 Sun Jan 9 08:57:22 2005
+++ usata2/src/system.hpp Thu Jan 20 20:20:30 2005
@@ -10,7 +10,7 @@
// included in the software distribution, or visit
// http://www.fsf.org/licenses/gpl.html.
//
-// $Id: system.hpp,v 1.8 2005/01/09 08:57:22 skunix Exp $
+// $Id: system.hpp,v 1.9 2005/01/20 20:20:30 skunix Exp $
#ifndef USATA_SYSTEM_HPP
#define USATA_SYSTEM_HPP
@@ -25,6 +25,27 @@
//! namespace for system setup classes
namespace system
{
+ namespace video
+ {
+
+ struct Capabilities
+ {
+ bool use_texture_compression;
+ bool arb_texture_compression;
+ bool s3_texture_compression;
+ bool point_sprites;
+ int compressed_format[4];
+ void update();
+
+ private:
+ void setup_format();
+ };
+
+ const Capabilities&
+ get_capabilities () throw ();
+
+ }
+
struct VideoMode
{
unsigned int size;