// Set log tagging
DPL::Log::LogSystemSingleton::Instance().SetTag("WRT");
+ // set evas backend type
+ if (!getenv("ELM_ENGINE")) {
+ if (!setenv("ELM_ENGINE", "gl", 1)) {
+ LogDebug("Enable backend");
+ }
+ }
+ else {
+ LogDebug("ELM_ENGINE : " << getenv("ELM_ENGINE"));
+ }
+
+ #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);
+
// This code is to fork a web process without exec.
std::string tizenId = WrtClient::getTizenIdFromArgument(argc, argv);
// the output may not be flushed).
setlinebuf(stdout);
- // set evas backend type
- if (!getenv("ELM_ENGINE")) {
- if (!setenv("ELM_ENGINE", "gl", 1)) {
- LogDebug("Enable backend");
- }
- }
- else {
- LogDebug("ELM_ENGINE : " << getenv("ELM_ENGINE"));
- }
-
- #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);
WrtClient app(argc, argv);