camerauis/cameraxui/cxui/src/main.cpp
changeset 32 5c1e3c6aa4ef
parent 24 2094593137f5
child 36 b12f3922a74f
--- a/camerauis/cameraxui/cxui/src/main.cpp	Thu May 27 12:43:29 2010 +0300
+++ b/camerauis/cameraxui/cxui/src/main.cpp	Fri Jun 11 13:26:48 2010 +0300
@@ -51,6 +51,11 @@
 
     Q_INIT_RESOURCE(cxui);
 
+    // Use software rendering / raster graphics system to save GPU memory.
+    CX_DEBUG(("CxUI: Take raster graphics system into use.."));
+    QApplication::setGraphicsSystem("raster");
+    CX_DEBUG(("CxUI: ..raster graphics system in use"));
+
     OstTrace0( camerax_performance, DUP1__MAIN, "msg: e_CX_HBAPP_CREATION 1" );
     CxuiApplication app(argc, argv);
     OstTrace0( camerax_performance, DUP2__MAIN, "msg: e_CX_HBAPP_CREATION 0" );