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

Unified Diff: src/gpu/GrContextFactory.h

Issue 1306823003: skia: add ability to load command_buffer_gles2 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: and NULL->nullptr, just because. 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
« no previous file with comments | « samplecode/SampleApp.cpp ('k') | src/gpu/GrContextFactory.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrContextFactory.h
diff --git a/src/gpu/GrContextFactory.h b/src/gpu/GrContextFactory.h
index b557f98fea08ff036e30ca0aa2ee56623acd6cdb..2accd7329f9f85290748e3802c051be49fb8b236 100644
--- a/src/gpu/GrContextFactory.h
+++ b/src/gpu/GrContextFactory.h
@@ -34,6 +34,9 @@ public:
#if SK_ANGLE
kANGLE_GLContextType,
#endif
+#if SK_COMMAND_BUFFER
+ kCommandBuffer_GLContextType,
+#endif
#if SK_MESA
kMESA_GLContextType,
#endif
@@ -68,6 +71,10 @@ public:
case kANGLE_GLContextType:
return "angle";
#endif
+#if SK_COMMAND_BUFFER
+ case kCommandBuffer_GLContextType:
+ return "commandbuffer";
+#endif
#if SK_MESA
case kMESA_GLContextType:
return "mesa";
« no previous file with comments | « samplecode/SampleApp.cpp ('k') | src/gpu/GrContextFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698