namespace
{
-const uint32_t THRESHOLD_SWAPBUFFER_COUNT = 5;
+#ifndef DALI_PROFILE_UBUNTU
+const uint32_t THRESHOLD_SWAPBUFFER_COUNT = 20;
+#else
+const uint32_t THRESHOLD_SWAPBUFFER_COUNT = 5;
+#endif
const uint32_t CHECK_EXTENSION_NUMBER = 4;
const uint32_t EGL_VERSION_SUPPORT_SURFACELESS_CONTEXT = 15;
const char* EGL_KHR_SURFACELESS_CONTEXT = "EGL_KHR_surfaceless_context";
endTime = TimeService::GetMilliSeconds();
if(endTime - startTime > mLogThreshold)
{
- DALI_LOG_DEBUG_INFO("eglSwapBuffers takes long time! [%u ms]\n", endTime - startTime);
+ DALI_LOG_RELEASE_INFO("eglSwapBuffers takes long time! [%u ms]\n", endTime - startTime);
}
}
}
endTime = TimeService::GetMilliSeconds();
if(endTime - startTime > mLogThreshold)
{
- DALI_LOG_DEBUG_INFO("eglQuerySurface takes long time! [%u ms]\n", endTime - startTime);
+ DALI_LOG_RELEASE_INFO("eglQuerySurface takes long time! [%u ms]\n", endTime - startTime);
}
}
return age;
endTime = TimeService::GetMilliSeconds();
if(endTime - startTime > mLogThreshold)
{
- DALI_LOG_DEBUG_INFO("eglSwapBuffersWithDamageKHR takes long time! [%u ms]\n", endTime - startTime);
+ DALI_LOG_RELEASE_INFO("eglSwapBuffersWithDamageKHR takes long time! [%u ms]\n", endTime - startTime);
}
}
}
endTime = TimeService::GetMilliSeconds();
if(endTime - startTime > mLogThreshold)
{
- DALI_LOG_DEBUG_INFO("glClear takes long time! [%u ms]\n", endTime - startTime);
+ DALI_LOG_RELEASE_INFO("glClear takes long time! [%u ms]\n", endTime - startTime);
}
}
}
endTime = TimeService::GetMilliSeconds();
if(endTime - startTime > mLogThreshold)
{
- DALI_LOG_DEBUG_INFO("glCompressedTexImage2D takes long time! [%u ms] size : %u x %u\n", endTime - startTime, width, height);
+ DALI_LOG_RELEASE_INFO("glCompressedTexImage2D takes long time! [%u ms] size : %u x %u\n", endTime - startTime, width, height);
}
}
}
endTime = TimeService::GetMilliSeconds();
if(endTime - startTime > mLogThreshold)
{
- DALI_LOG_DEBUG_INFO("glCompressedTexSubImage2D takes long time! [%u ms] size : %u x %u\n", endTime - startTime, width, height);
+ DALI_LOG_RELEASE_INFO("glCompressedTexSubImage2D takes long time! [%u ms] size : %u x %u\n", endTime - startTime, width, height);
}
}
}
endTime = TimeService::GetMilliSeconds();
if(endTime - startTime > mLogThreshold)
{
- DALI_LOG_DEBUG_INFO("glTexImage2D takes long time! [%u ms] size : %u x %u\n", endTime - startTime, width, height);
+ DALI_LOG_RELEASE_INFO("glTexImage2D takes long time! [%u ms] size : %u x %u\n", endTime - startTime, width, height);
}
}
}
endTime = TimeService::GetMilliSeconds();
if(endTime - startTime > mLogThreshold)
{
- DALI_LOG_DEBUG_INFO("glTexSubImage2D takes long time! [%u ms] size : %u x %u\n", endTime - startTime, width, height);
+ DALI_LOG_RELEASE_INFO("glTexSubImage2D takes long time! [%u ms] size : %u x %u\n", endTime - startTime, width, height);
}
}
}