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

Unified Diff: bench/nanobench.cpp

Issue 1306823003: skia: add ability to load command_buffer_gles2 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: make it work with sampleapp 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 | « no previous file | dm/DM.cpp » ('j') | include/gpu/gl/command_buffer/SkCommandBufferGLContext.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/nanobench.cpp
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
index 2720b6f2def55ad75789c5bed4c2c6b3b40b14b4..7f5793cb0ff6b6ea6a05825794619b2a55c0f523 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -441,6 +441,9 @@ static void create_configs(SkTDArray<Config>* configs) {
#ifdef SK_ANGLE
GPU_CONFIG(angle, kANGLE_GLContextType, 0, false)
#endif
+#ifdef SK_COMMAND_BUFFER
+ GPU_CONFIG(commandbuffer, kCommandBuffer_GLContextType, 0, false)
+#endif
#if SK_MESA
GPU_CONFIG(mesa, kMESA_GLContextType, 0, false)
#endif
« no previous file with comments | « no previous file | dm/DM.cpp » ('j') | include/gpu/gl/command_buffer/SkCommandBufferGLContext.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698