aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrContextFactory.h
diff options
context:
space:
mode:
authorGravatar hendrikw <hendrikw@chromium.org>2015-08-27 10:38:39 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-27 10:38:39 -0700
commit885bf0925514b9dfe3365bab227d36897d866b5d (patch)
tree4a80bbcffa086e8bbdede4903a30993dd4783800 /src/gpu/GrContextFactory.h
parent33c594c9611529ba72474ec52586be65f3e2d76f (diff)
skia: add ability to load command_buffer_gles2
Diffstat (limited to 'src/gpu/GrContextFactory.h')
-rw-r--r--src/gpu/GrContextFactory.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gpu/GrContextFactory.h b/src/gpu/GrContextFactory.h
index b557f98fea..2accd7329f 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";