From 67459c6467e729b37c5967b92baa20778a797126 Mon Sep 17 00:00:00 2001 From: Rajulu Ponnada Date: Mon, 5 Mar 2012 18:35:42 -0800 Subject: [PATCH] hardware/qcom/display: removing tiling debug messages CRs-fixed: 343820 (cherry picked from commit 7ab561734ded4b52d5772584cc1369c7e3bedafa) Conflicts: libtilerenderer/tilerenderer.cpp Change-Id: Iafcd4035119bbb62a3ebcc5744279571fe9317ac --- libtilerenderer/tilerenderer.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/libtilerenderer/tilerenderer.cpp b/libtilerenderer/tilerenderer.cpp index ae12ecf..6e8f847 100644 --- a/libtilerenderer/tilerenderer.cpp +++ b/libtilerenderer/tilerenderer.cpp @@ -71,9 +71,7 @@ void TileRenderer::startTileRendering(OpenGLRenderer* renderer, } //clear off all errors before tiling, if any - while ((status = glGetError()) != GL_NO_ERROR) { - LOGE("glStartTilingQCOM: 0x%x", status); - } + while ((status = glGetError()) != GL_NO_ERROR); if (preserve) glStartTilingQCOM(l, t, w, h, GL_COLOR_BUFFER_BIT0_QCOM); @@ -83,8 +81,6 @@ void TileRenderer::startTileRendering(OpenGLRenderer* renderer, status = glGetError(); if (status == GL_NO_ERROR) mIsTiled = true; - else - LOGE("glStartTilingQCOM: 0x%x", status); } void TileRenderer::endTileRendering(OpenGLRenderer*) { @@ -94,9 +90,7 @@ void TileRenderer::endTileRendering(OpenGLRenderer*) { glEndTilingQCOM(GL_COLOR_BUFFER_BIT0_QCOM); mIsTiled = false; GLenum status = GL_NO_ERROR; - while ((status = glGetError()) != GL_NO_ERROR) { - LOGE("glEndTilingQCOM: 0x%x", status); - } + while ((status = glGetError()) != GL_NO_ERROR); } }; // namespace uirenderer