// Wait until all threads created in Initialise are up and running
for(unsigned int i = 0; i < CREATED_THREAD_COUNT; ++i)
{
+ DALI_LOG_RELEASE_INFO("Wait thread context [%u/%u] initialized\n", i, CREATED_THREAD_COUNT);
mEventThreadSemaphore.Acquire();
+ DALI_LOG_RELEASE_INFO("Thread context [%u] initialized done\n", i);
}
mRunning = TRUE;
}
// Wait until the surface has been replaced
+ DALI_LOG_RELEASE_INFO("Wait surface semaphore\n");
mSurfaceSemaphore.Acquire();
+ DALI_LOG_RELEASE_INFO("Surface semaphore done.\n");
LOG_EVENT("Surface replaced, event-thread continuing");
}
}
// Wait until the surface has been deleted
+ DALI_LOG_RELEASE_INFO("Wait surface semaphore\n");
mSurfaceSemaphore.Acquire();
+ DALI_LOG_RELEASE_INFO("Surface semaphore done.\n");
LOG_EVENT("Surface deleted, event-thread continuing");
}
// Install a function for tracing
mEnvironmentOptions.InstallTraceFunction();
- TRACE_UPDATE_RENDER_BEGIN("DALI_RENDER_THREAD_INIT");
+ DALI_LOG_RELEASE_INFO("BEGIN: DALI_RENDER_THREAD_INIT\n");
LOG_UPDATE_RENDER("THREAD CREATED");
const bool renderToFboEnabled = 0u != renderToFboInterval;
unsigned int frameCount = 0u;
- TRACE_UPDATE_RENDER_END("DALI_RENDER_THREAD_INIT");
+ DALI_LOG_RELEASE_INFO("END: DALI_RENDER_THREAD_INIT\n");
if(!mDestroyUpdateRenderThread)
{
ShaderPreCompiler::Get().Wait();
void CombinedUpdateRenderController::SurfaceReplaced()
{
+ DALI_LOG_RELEASE_INFO("SurfaceReplaced\n");
// Just increment the semaphore
mSurfaceSemaphore.Release(1);
}
void CombinedUpdateRenderController::SurfaceDeleted()
{
+ DALI_LOG_RELEASE_INFO("SurfaceDeleted\n");
// Just increment the semaphore
mSurfaceSemaphore.Release(1);
}
void CombinedUpdateRenderController::NotifyThreadInitialised()
{
+ DALI_LOG_RELEASE_INFO("NotifyThreadInitialised\n");
// Just increment the semaphore
mEventThreadSemaphore.Release(1);
}
void CombinedUpdateRenderController::NotifyGraphicsInitialised()
{
+ DALI_LOG_RELEASE_INFO("NotifyGraphicsInitialised\n");
mGraphicsInitializeWait.Notify();
}
const char* EGL_KHR_PARTIAL_UPDATE = "EGL_KHR_partial_update";
const char* EGL_KHR_SWAP_BUFFERS_WITH_DAMAGE = "EGL_KHR_swap_buffers_with_damage";
-#ifndef DALI_PROFILE_TV // Avoid HWC log printing in TV
DALI_INIT_TRACE_FILTER(gTraceFilter, DALI_TRACE_EGL, true);
-#else
-DALI_INIT_TRACE_FILTER(gTraceFilter, DALI_TRACE_EGL, false);
-#endif
static uint32_t GetPerformanceLogThresholdTime()
{
{
DALI_LOG_RELEASE_INFO("EglImplementation::eglSwapBuffers started. eglSurface(%p)\n", eglSurface);
}
+#ifndef DALI_PROFILE_TV // Avoid HWC log printing in TV
DALI_TRACE_BEGIN(gTraceFilter, "DALI_EGL_SWAP_BUFFERS");
+#endif
#endif //DALI_PROFILE_UBUNTU
// DALI_LOG_ERROR("EglImplementation::SwapBuffers()\n");
eglSwapBuffers(mEglDisplay, eglSurface);
#ifndef DALI_PROFILE_UBUNTU
+#ifndef DALI_PROFILE_TV // Avoid HWC log printing in TV
DALI_TRACE_END(gTraceFilter, "DALI_EGL_SWAP_BUFFERS");
+#endif
if(mSwapBufferCountAfterResume < THRESHOLD_SWAPBUFFER_COUNT)
{
DALI_LOG_RELEASE_INFO("EglImplementation::eglSwapBuffers finished.\n");
{
DALI_LOG_RELEASE_INFO("EglImplementation::eglSwapBuffersWithDamageKHR started. eglSurface(%p)\n", eglSurface);
}
+#ifndef DALI_PROFILE_TV // Avoid HWC log printing in TV
DALI_TRACE_BEGIN(gTraceFilter, "DALI_EGL_SWAP_BUFFERS_KHR");
+#endif
#endif //DALI_PROFILE_UBUNTU
EGLBoolean result = mEglSwapBuffersWithDamageKHR(mEglDisplay, eglSurface, reinterpret_cast<int*>(const_cast<std::vector<Rect<int>>&>(damagedRects).data()), damagedRects.size());
}
#ifndef DALI_PROFILE_UBUNTU
+#ifndef DALI_PROFILE_TV // Avoid HWC log printing in TV
DALI_TRACE_END(gTraceFilter, "DALI_EGL_SWAP_BUFFERS_KHR");
+#endif
if(mSwapBufferCountAfterResume < THRESHOLD_SWAPBUFFER_COUNT)
{
DALI_LOG_RELEASE_INFO("EglImplementation::eglSwapBuffersWithDamageKHR finished.\n");