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

Unified Diff: samplecode/SampleApp.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 | « include/views/SkOSWindow_Win.h ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleApp.h
diff --git a/samplecode/SampleApp.h b/samplecode/SampleApp.h
index d8724955e07437aae4a7323ff93c6dc4d6e3c9fd..e8eec8bf882331f506e820c329fb7402da691bd1 100644
--- a/samplecode/SampleApp.h
+++ b/samplecode/SampleApp.h
@@ -39,6 +39,9 @@ public:
#if SK_ANGLE
kANGLE_DeviceType,
#endif // SK_ANGLE
+#if SK_COMMAND_BUFFER
+ kCommandBuffer_DeviceType,
+#endif // SK_COMMAND_BUFFER
#endif // SK_SUPPORT_GPU
kDeviceTypeCnt
};
@@ -50,6 +53,9 @@ public:
#if SK_ANGLE
case kANGLE_DeviceType:
#endif // SK_ANGLE
+ #if SK_COMMAND_BUFFER
+ case kCommandBuffer_DeviceType:
+ #endif // SK_COMMAND_BUFFER
return true;
default:
return false;
« no previous file with comments | « include/views/SkOSWindow_Win.h ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698