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

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

Issue 1781093002: Add CONTEXT_TYPE_OPENGLES2_PEPPER (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move kContextType to header Created 4 years, 9 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/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 99637659cf5bf8ca612690c820dbe1220333eaac..87ff01225b020038294d2c0ec804554ed0412c26 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils.h
@@ -265,9 +265,14 @@ enum ContextType {
CONTEXT_TYPE_WEBGL1,
CONTEXT_TYPE_WEBGL2,
CONTEXT_TYPE_OPENGLES2,
- CONTEXT_TYPE_OPENGLES3
+ CONTEXT_TYPE_OPENGLES3,
+ CONTEXT_TYPE_OPENGLES2_PEPPER,
};
+// WebGraphicsContext3DCommandBufferImpl configuration attribute for
+// ContextType.
+const int32_t kContextType = 0x10003;
+
struct GLES2_UTILS_EXPORT ContextCreationAttribHelper {
ContextCreationAttribHelper();
ContextCreationAttribHelper(const ContextCreationAttribHelper& other);

Powered by Google App Engine
This is Rietveld 408576698