| Index: cc/output/gl_renderer.h
|
| diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h
|
| index 16962f2ac18f673f725d3c5b4deb3e43dc334374..8dcabf9f4d042ba9fed5ca46e86f29c4f27bec65 100644
|
| --- a/cc/output/gl_renderer.h
|
| +++ b/cc/output/gl_renderer.h
|
| @@ -68,11 +68,6 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
|
|
|
| virtual bool IsContextLost();
|
|
|
| - static void DebugGLCall(gpu::gles2::GLES2Interface* gl,
|
| - const char* command,
|
| - const char* file,
|
| - int line);
|
| -
|
| protected:
|
| GLRenderer(RendererClient* client,
|
| const RendererSettings* settings,
|
| @@ -517,18 +512,6 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
|
| DISALLOW_COPY_AND_ASSIGN(GLRenderer);
|
| };
|
|
|
| -// Setting DEBUG_GL_CALLS to 1 will call glGetError() after almost every GL
|
| -// call made by the compositor. Useful for debugging rendering issues but
|
| -// will significantly degrade performance.
|
| -#define DEBUG_GL_CALLS 0
|
| -
|
| -#if DEBUG_GL_CALLS && !defined(NDEBUG)
|
| -#define GLC(context, x) \
|
| - (x, GLRenderer::DebugGLCall(&* context, #x, __FILE__, __LINE__))
|
| -#else
|
| -#define GLC(context, x) (x)
|
| -#endif
|
| -
|
| } // namespace cc
|
|
|
| #endif // CC_OUTPUT_GL_RENDERER_H_
|
|
|