set environment value
authorJihoon Chung <jihoon.chung@samsung.com>
Sun, 4 Nov 2012 23:06:35 +0000 (08:06 +0900)
committerJihoon Chung <jihoon.chung@samsung.com>
Sun, 4 Nov 2012 23:31:33 +0000 (08:31 +0900)
[Issue#] N/A
[Problem] Some specific feature "COREGL_FASTPATH" isn't enabled
in the RSA
[Cause] N/A
[Solution] Set environment value with build flag
[SCMRequest] N/A

Change-Id: I6d190874e4ec16950c66e5f9c0846b3f75d3cdad

src/wrt-client/wrt-client.cpp

index 2f08a3c..4418961 100644 (file)
@@ -725,8 +725,13 @@ int main(int argc,
                 LogDebug("Enable backend");
         }
     }
+#ifndef TIZEN_PUBLIC
+    setenv("COREGL_FASTPATH", "1", 1);
+#endif
     setenv("CAIRO_GL_COMPOSITOR", "msaa", 1);
     setenv("CAIRO_GL_LAZY_FLUSHING", "yes", 1);
+    setenv("ELM_IMAGE_CACHE", "0", 1);
+
     // Set log tagging
     DPL::Log::LogSystemSingleton::Instance().SetTag("WRT-CLIENT");