Index: gpu/command_buffer/client/gles2_implementation.h |
diff --git a/gpu/command_buffer/client/gles2_implementation.h b/gpu/command_buffer/client/gles2_implementation.h |
index 2268195eda15224d27b8463ec0507c7f14024ad9..d79c4aee9937ca29093ec9ee1024d521728060a4 100644 |
--- a/gpu/command_buffer/client/gles2_implementation.h |
+++ b/gpu/command_buffer/client/gles2_implementation.h |
@@ -35,30 +35,21 @@ |
#if defined(GLES2_INLINE_OPTIMIZATION) |
// TODO(gman): Replace with macros that work with inline optmization. |
#define GPU_CLIENT_SINGLE_THREAD_CHECK() |
- #define GPU_CLIENT_LOG(args) |
- #define GPU_CLIENT_LOG_CODE_BLOCK(code) |
#define GPU_CLIENT_DCHECK_CODE_BLOCK(code) |
#else |
#include "base/logging.h" |
#define GPU_CLIENT_SINGLE_THREAD_CHECK() SingleThreadChecker checker(this); |
- #define GPU_CLIENT_LOG(args) DLOG_IF(INFO, debug_) << args; |
- #define GPU_CLIENT_LOG_CODE_BLOCK(code) code |
#define GPU_CLIENT_DCHECK_CODE_BLOCK(code) code |
- #define GPU_CLIENT_DEBUG |
#endif |
#else |
#define GPU_CLIENT_SINGLE_THREAD_CHECK() |
- #define GPU_CLIENT_LOG(args) |
- #define GPU_CLIENT_LOG_CODE_BLOCK(code) |
#define GPU_CLIENT_DCHECK_CODE_BLOCK(code) |
#endif |
-#if defined(GPU_CLIENT_DEBUG) |
- // Set to 1 to have the client fail when a GL error is generated. |
- // This helps find bugs in the renderer since the debugger stops on the error. |
-# if 0 |
-# define GL_CLIENT_FAIL_GL_ERRORS |
-# endif |
+// Set to 1 to have the client fail when a GL error is generated. |
+// This helps find bugs in the renderer since the debugger stops on the error. |
+#if 0 |
+# define GL_CLIENT_FAIL_GL_ERRORS |
#endif |
// Check that destination pointers point to initialized memory. |
@@ -652,9 +643,6 @@ class GLES2_IMPL_EXPORT GLES2Implementation |
// Current GL error bits. |
uint32 error_bits_; |
- // Whether or not to print debugging info. |
- bool debug_; |
- |
// Used to check for single threaded access. |
int use_count_; |