summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-08 17:11:06 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-08 17:11:06 +0300
commita80a1c69f8a5f4db88ade16e3b9d53f7b648be47 (patch)
treed8fe25f8aca2b62f2c93f7eb264eabffa85b8959 /src/graphicsmanager.h
parentc70431d73da9c821cfedbd162c7d2447b7057459 (diff)
downloadmanaplus-a80a1c69f8a5f4db88ade16e3b9d53f7b648be47.tar.gz
manaplus-a80a1c69f8a5f4db88ade16e3b9d53f7b648be47.tar.bz2
manaplus-a80a1c69f8a5f4db88ade16e3b9d53f7b648be47.tar.xz
manaplus-a80a1c69f8a5f4db88ade16e3b9d53f7b648be47.zip
Get from video detection texture compression and texture sampler modes.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h
index 51c9a9efc..2373e598f 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -37,6 +37,7 @@
#include "localconsts.h"
class Graphics;
+class TestMain;
struct FBOInfo;
@@ -49,9 +50,9 @@ class GraphicsManager final
void initGraphics(bool noOpenGL);
- int startDetection();
+ TestMain *startDetection();
- bool detectGraphics();
+ int detectGraphics();
bool supportExtension(const std::string &ext);
@@ -83,6 +84,8 @@ class GraphicsManager final
void updateLimits();
+ void detectVideoSettings();
+
Graphics *createGraphics();
void createTextureSampler();