Index: gpu/command_buffer/service/gl_utils.h |
diff --git a/gpu/command_buffer/service/gl_utils.h b/gpu/command_buffer/service/gl_utils.h |
index ade4a3748a7d4880fc2887c8d75ca3103863cee1..9402ecaf3600dd24bdc69f16b2aead02f844113f 100644 |
--- a/gpu/command_buffer/service/gl_utils.h |
+++ b/gpu/command_buffer/service/gl_utils.h |
@@ -8,6 +8,8 @@ |
#ifndef GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_ |
#define GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_ |
+#include <vector> |
+ |
#include "build/build_config.h" |
#include "ui/gl/gl_bindings.h" |
@@ -22,4 +24,12 @@ |
#define CHECK_GL_ERROR() void(0) |
#endif // GL_ERROR_DEBUGGING |
+namespace gpu { |
+namespace gles2 { |
+ |
+std::vector<int> GetAllGLErrors(); |
+ |
+} // gles2 |
+} // gpu |
+ |
#endif // GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_ |