Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: gpu/command_buffer/service/gl_utils.h

Issue 1563613002: Add GL error usage metrics for glTexImage* APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gn build Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698