summaryrefslogtreecommitdiff
path: root/src/test/testmain.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-25 17:50:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-25 17:50:46 +0300
commit8e6ab562dd62383d191806e88548e89b4d0a9d65 (patch)
tree36fa576cdb6ff9aa950ec04165eab095f794f385 /src/test/testmain.h
parente195e09e86d18c45676431813f98c56d85cc8201 (diff)
downloadmv-8e6ab562dd62383d191806e88548e89b4d0a9d65.tar.gz
mv-8e6ab562dd62383d191806e88548e89b4d0a9d65.tar.bz2
mv-8e6ab562dd62383d191806e88548e89b4d0a9d65.tar.xz
mv-8e6ab562dd62383d191806e88548e89b4d0a9d65.zip
Add support for simple texture size detection.
This test check from 1024 to max texture size reported by driver.
Diffstat (limited to 'src/test/testmain.h')
-rw-r--r--src/test/testmain.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/test/testmain.h b/src/test/testmain.h
index 72411417e..d4bae14ce 100644
--- a/src/test/testmain.h
+++ b/src/test/testmain.h
@@ -64,13 +64,19 @@ class TestMain final
int invokeFastOpenBatchTest(const std::string &test);
+ int invokeMobileOpenBatchTest(const std::string &test);
+
int invokeSafeOpenGLRenderTest(const std::string &test);
void testsMain();
- void writeConfig(const RenderType openGLMode, const int rescale,
- const int sound, const std::string &info,
- const int batchSize, const int detectMode);
+ void writeConfig(const RenderType openGLMode,
+ const int rescale,
+ const int sound,
+ const std::string &info,
+ const int batchSize,
+ const int textureSize,
+ const int detectMode);
int readValue2(const int ver);