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

Unified Diff: src/gpu/GrContextFactory.cpp

Issue 1684413003: Implement support for using GL ES 3.0 with command buffer (Closed) Base URL: https://skia.googlesource.com/skia.git@no-texture-rectangle-gles
Patch Set: Created 4 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
Index: src/gpu/GrContextFactory.cpp
diff --git a/src/gpu/GrContextFactory.cpp b/src/gpu/GrContextFactory.cpp
index b7e48254c881af6835b8c6e195b3a8c2ee1a69a7..827828b133a9364ff8a4564c59c04566b601b710 100755
--- a/src/gpu/GrContextFactory.cpp
+++ b/src/gpu/GrContextFactory.cpp
@@ -98,6 +98,9 @@ GrContextFactory::ContextInfo GrContextFactory::getContextInfo(GLContextType typ
case kCommandBuffer_GLContextType:
glCtx.reset(SkCommandBufferGLContext::Create());
break;
+ case kCommandBufferES3_GLContextType:
+ glCtx.reset(SkCommandBufferGLContext::CreateES3());
+ break;
#endif
#if SK_MESA
case kMESA_GLContextType:

Powered by Google App Engine
This is Rietveld 408576698