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

Unified Diff: bench/benchmain.cpp

Issue 23137022: Replace uses of GR_DEBUG by SK_DEBUG. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: common.gypi Created 7 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 | gm/gmmain.cpp » ('j') | include/gpu/GrConfig.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/benchmain.cpp
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp
index 9cb7468be0741f9ddb59ed14f6d49bd959b3059f..5bca4d6158a10c3a55825c573618f0b73d352a15 100644
--- a/bench/benchmain.cpp
+++ b/bench/benchmain.cpp
@@ -256,7 +256,7 @@ static const struct {
{ SkBitmap::kARGB_8888_Config, "ANGLE", 0, kGPU_Backend, GrContextFactory::kANGLE_GLContextType, true },
#endif // SK_ANGLE
#ifdef SK_DEBUG
- { SkBitmap::kARGB_8888_Config, "Debug", 0, kGPU_Backend, GrContextFactory::kDebug_GLContextType, GR_DEBUG },
+ { SkBitmap::kARGB_8888_Config, "Debug", 0, kGPU_Backend, GrContextFactory::kDebug_GLContextType, SK_DEBUG },
bsalomon 2013/08/23 12:54:23 Does this work? GR_DEBUG was always 0 or 1, but SK
tfarina 2013/08/23 23:26:17 just learned something new today :) #if vs #ifdef
#endif // SK_DEBUG
{ SkBitmap::kARGB_8888_Config, "NULLGPU", 0, kGPU_Backend, GrContextFactory::kNull_GLContextType, true },
#endif // SK_SUPPORT_GPU
« no previous file with comments | « no previous file | gm/gmmain.cpp » ('j') | include/gpu/GrConfig.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698