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>2012-01-26 19:03:06 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:32:37 +0300
commitf0dccc39cc5ea8cbe2eefa7f281c0c7280514af7 (patch)
tree580829d9aa01854c48187e5e83f1c3c72210f15b /qt_tstfrm
parent482df7a7c7b2885abca03ff697d8b083f0181678 (diff)
supporting on-demand resource allocation.
Diffstat (limited to 'qt_tstfrm')
-rw-r--r--qt_tstfrm/tstwidgets.cpp24
1 files changed, 18 insertions, 6 deletions
diff --git a/qt_tstfrm/tstwidgets.cpp b/qt_tstfrm/tstwidgets.cpp
index 4512a8f9bd..3e34da850b 100644
--- a/qt_tstfrm/tstwidgets.cpp
+++ b/qt_tstfrm/tstwidgets.cpp
@@ -50,7 +50,9 @@ void GLDrawWidget::initializeGL()
false,
true,
1,
- "primaryStorage");
+ "primaryStorage",
+ false,
+ false);
rmp.m_smallStoragesParams = yg::ResourceManager::StoragePoolParams(3000 * sizeof(yg::gl::Vertex),
sizeof(yg::gl::Vertex),
@@ -60,7 +62,9 @@ void GLDrawWidget::initializeGL()
false,
true,
1,
- "smallStorage");
+ "smallStorage",
+ false,
+ false);
rmp.m_blitStoragesParams = yg::ResourceManager::StoragePoolParams(10 * sizeof(yg::gl::Vertex),
sizeof(yg::gl::Vertex),
@@ -70,7 +74,9 @@ void GLDrawWidget::initializeGL()
true,
true,
1,
- "blitStorage");
+ "blitStorage",
+ false,
+ false);
rmp.m_multiBlitStoragesParams = yg::ResourceManager::StoragePoolParams(500 * sizeof(yg::gl::Vertex),
sizeof(yg::gl::Vertex),
@@ -80,7 +86,9 @@ void GLDrawWidget::initializeGL()
true,
true,
1,
- "multiBlitStorage");
+ "multiBlitStorage",
+ false,
+ false);
rmp.m_primaryTexturesParams = yg::ResourceManager::TexturePoolParams(512,
256,
@@ -90,7 +98,9 @@ void GLDrawWidget::initializeGL()
true,
true,
1,
- "primaryTexture");
+ "primaryTexture",
+ false,
+ false);
rmp.m_fontTexturesParams = yg::ResourceManager::TexturePoolParams(512,
256,
@@ -100,7 +110,9 @@ void GLDrawWidget::initializeGL()
true,
true,
1,
- "fontTexture");
+ "fontTexture",
+ false,
+ false);
rmp.m_glyphCacheParams = yg::ResourceManager::GlyphCacheParams("unicode_blocks.txt",
"fonts_whitelist.txt",