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); |