From cb34ee4f008c48e2649a398bbff995a20348ea5b Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Wed, 25 Oct 2023 16:40:47 +0900 Subject: [PATCH] Revert "[Tizen] Print log when glCompile / glLinkProgram spend long time" This reverts commit 71d3e0ea55a0f8385694245f2fb38559ce7e5a04. --- dali/internal/graphics/gles/gl-implementation.h | 30 ------------------------- 1 file changed, 30 deletions(-) diff --git a/dali/internal/graphics/gles/gl-implementation.h b/dali/internal/graphics/gles/gl-implementation.h index 3969bc7..6d91719 100644 --- a/dali/internal/graphics/gles/gl-implementation.h +++ b/dali/internal/graphics/gles/gl-implementation.h @@ -399,22 +399,7 @@ public: void CompileShader(GLuint shader) override { - uint32_t startTime = 0, endTime = 0; - if(mLogEnabled) - { - startTime = TimeService::GetMilliSeconds(); - } - glCompileShader(shader); - - if(mLogEnabled) - { - endTime = TimeService::GetMilliSeconds(); - if(endTime - startTime > mLogThreshold) - { - DALI_LOG_RELEASE_INFO("glCompileShader takes long time! [%u ms] shader id : %u\n", endTime - startTime, shader); - } - } } void CompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data) override @@ -789,22 +774,7 @@ public: void LinkProgram(GLuint program) override { - uint32_t startTime = 0, endTime = 0; - if(mLogEnabled) - { - startTime = TimeService::GetMilliSeconds(); - } - glLinkProgram(program); - - if(mLogEnabled) - { - endTime = TimeService::GetMilliSeconds(); - if(endTime - startTime > mLogThreshold) - { - DALI_LOG_RELEASE_INFO("glLinkProgram takes long time! [%u ms] program id : %u\n", endTime - startTime, program); - } - } } void PixelStorei(GLenum pname, GLint param) override -- 2.7.4