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

Unified Diff: gpu/command_buffer/common/gles2_cmd_utils.h

Issue 2693333003: Don't use a global share group for the passthrough command buffer contexts. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | gpu/command_buffer/common/gles2_cmd_utils.cc » ('j') | ui/gl/gl_context_egl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/gles2_cmd_utils.h
diff --git a/gpu/command_buffer/common/gles2_cmd_utils.h b/gpu/command_buffer/common/gles2_cmd_utils.h
index 969a7245060578b393d50448dbb026afce99cd0c..2d378a93e438be26ffacc1cef5986154612475f7 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils.h
@@ -308,6 +308,8 @@ enum ContextType {
CONTEXT_TYPE_LAST = CONTEXT_TYPE_OPENGLES3
};
GLES2_UTILS_EXPORT bool IsWebGLContextType(ContextType context_type);
+GLES2_UTILS_EXPORT bool IsWebGL1OrES2ContextType(ContextType context_type);
+GLES2_UTILS_EXPORT bool IsWebGL2OrES3ContextType(ContextType context_type);
struct GLES2_UTILS_EXPORT ContextCreationAttribHelper {
ContextCreationAttribHelper();
« no previous file with comments | « no previous file | gpu/command_buffer/common/gles2_cmd_utils.cc » ('j') | ui/gl/gl_context_egl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698