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

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

Issue 1325433003: command_buffer: Add support for creating non-WebGL ES 3 contexts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 5 years, 4 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/context_group.h
diff --git a/gpu/command_buffer/service/context_group.h b/gpu/command_buffer/service/context_group.h
index 504ae7e6196dd87dba7acad86240c70139cf468b..d3ecc5519f6f0e0bbb8adcc0901f055f0fb74771 100644
--- a/gpu/command_buffer/service/context_group.h
+++ b/gpu/command_buffer/service/context_group.h
@@ -47,12 +47,10 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
enum ContextType {
Zhenyao Mo 2015/08/28 17:16:25 Can we not redefine the ContextType? And just use
Kimmo Kinnunen 2015/08/31 12:23:13 Sure. (To me, they appeared as being in different
CONTEXT_TYPE_WEBGL1,
CONTEXT_TYPE_WEBGL2,
- CONTEXT_TYPE_OTHER,
- CONTEXT_TYPE_UNDEFINED
+ CONTEXT_TYPE_OPENGLES2,
+ CONTEXT_TYPE_OPENGLES3
};
- static ContextType GetContextType(unsigned webgl_version);
-
ContextGroup(
const scoped_refptr<MailboxManager>& mailbox_manager,
const scoped_refptr<MemoryTracker>& memory_tracker,

Powered by Google App Engine
This is Rietveld 408576698