Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrachytski <siarhei.rachytski@gmail.com>2013-01-24 20:10:50 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:49:19 +0300
commit3f3deb964d84afe5d50b0719e191cfee2263979c (patch)
tree93054070aa2f9ee118be6fbd0f386dacdedca455 /qt_tstfrm
parentf06e082d5d4478604710ec488166fc3e3dbfdc9d (diff)
using ETinyStorage as a storage type for CacheScreen for better graphic memory usage.
Diffstat (limited to 'qt_tstfrm')
-rw-r--r--qt_tstfrm/gui_test_widget.hpp2
-rw-r--r--qt_tstfrm/tstwidgets.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/qt_tstfrm/gui_test_widget.hpp b/qt_tstfrm/gui_test_widget.hpp
index 0cfb1c8511..df5d798d09 100644
--- a/qt_tstfrm/gui_test_widget.hpp
+++ b/qt_tstfrm/gui_test_widget.hpp
@@ -45,7 +45,7 @@ public:
cp.m_doUnbindRT = false;
cp.m_threadSlot = 0;
- cp.m_storageType = graphics::ESmallStorage;
+ cp.m_storageType = graphics::ETinyStorage;
cp.m_textureType = graphics::ESmallTexture;
cp.m_skinName = "basic_mdpi.skn";
cp.m_isSynchronized = false;
diff --git a/qt_tstfrm/tstwidgets.cpp b/qt_tstfrm/tstwidgets.cpp
index 3325509d2b..1cc5f051d3 100644
--- a/qt_tstfrm/tstwidgets.cpp
+++ b/qt_tstfrm/tstwidgets.cpp
@@ -66,9 +66,9 @@ namespace tst
rmp.m_storageParams[graphics::ESmallStorage] = spp;
- spp = graphics::ResourceManager::StoragePoolParams(500 * sizeof(graphics::gl::Vertex),
+ spp = graphics::ResourceManager::StoragePoolParams(100 * sizeof(graphics::gl::Vertex),
sizeof(graphics::gl::Vertex),
- 500 * sizeof(unsigned short),
+ 200 * sizeof(unsigned short),
sizeof(unsigned short),
1,
graphics::ETinyStorage,