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

Side by Side Diff: gm/gmmain.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 /* 8 /*
9 * Code for the "gm" (Golden Master) rendering comparison tool. 9 * Code for the "gm" (Golden Master) rendering comparison tool.
10 * 10 *
(...skipping 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after
1240 #if 0 // stop testing this (for now at least) since we want to remove support for it (soon please!!!) 1240 #if 0 // stop testing this (for now at least) since we want to remove support for it (soon please!!!)
1241 { SkBitmap::kARGB_4444_Config, kRaster_Backend, kDontCare_GLContextType, 0, kRW_ConfigFlag, "4444", true }, 1241 { SkBitmap::kARGB_4444_Config, kRaster_Backend, kDontCare_GLContextType, 0, kRW_ConfigFlag, "4444", true },
1242 #endif 1242 #endif
1243 { SkBitmap::kRGB_565_Config, kRaster_Backend, kDontCare_GLContextType, 0, kRW_ConfigFlag, "565", true }, 1243 { SkBitmap::kRGB_565_Config, kRaster_Backend, kDontCare_GLContextType, 0, kRW_ConfigFlag, "565", true },
1244 #if SK_SUPPORT_GPU 1244 #if SK_SUPPORT_GPU
1245 { SkBitmap::kARGB_8888_Config, kGPU_Backend, GrContextFactory::kNative_GL ContextType, 0, kRW_ConfigFlag, "gpu", true }, 1245 { SkBitmap::kARGB_8888_Config, kGPU_Backend, GrContextFactory::kNative_GL ContextType, 0, kRW_ConfigFlag, "gpu", true },
1246 { SkBitmap::kARGB_8888_Config, kGPU_Backend, GrContextFactory::kNative_GL ContextType, 16, kRW_ConfigFlag, "msaa16", false}, 1246 { SkBitmap::kARGB_8888_Config, kGPU_Backend, GrContextFactory::kNative_GL ContextType, 16, kRW_ConfigFlag, "msaa16", false},
1247 { SkBitmap::kARGB_8888_Config, kGPU_Backend, GrContextFactory::kNative_GL ContextType, 4, kRW_ConfigFlag, "msaa4", false}, 1247 { SkBitmap::kARGB_8888_Config, kGPU_Backend, GrContextFactory::kNative_GL ContextType, 4, kRW_ConfigFlag, "msaa4", false},
1248 /* The gpudebug context does not generate meaningful images, so don't record 1248 /* The gpudebug context does not generate meaningful images, so don't record
1249 * the images it generates! We only run it to look for asserts. */ 1249 * the images it generates! We only run it to look for asserts. */
1250 { SkBitmap::kARGB_8888_Config, kGPU_Backend, GrContextFactory::kDebug_GLC ontextType, 0, kNone_ConfigFlag, "gpudebug", GR_DEBUG}, 1250 { SkBitmap::kARGB_8888_Config, kGPU_Backend, GrContextFactory::kDebug_GLC ontextType, 0, kNone_ConfigFlag, "gpudebug", SK_DEBUG},
1251 /* The gpunull context does the least amount of work possible and doesn't 1251 /* The gpunull context does the least amount of work possible and doesn't
1252 generate meaninful images, so don't record them!. It can be run to 1252 generate meaninful images, so don't record them!. It can be run to
1253 isolate the CPU-side processing expense from the GPU-side. 1253 isolate the CPU-side processing expense from the GPU-side.
1254 */ 1254 */
1255 { SkBitmap::kARGB_8888_Config, kGPU_Backend, GrContextFactory::kNull_GLCo ntextType, 0, kNone_ConfigFlag, "gpunull", GR_DEBUG}, 1255 { SkBitmap::kARGB_8888_Config, kGPU_Backend, GrContextFactory::kNull_GLCo ntextType, 0, kNone_ConfigFlag, "gpunull", SK_DEBUG},
1256 #if SK_ANGLE 1256 #if SK_ANGLE
1257 { SkBitmap::kARGB_8888_Config, kGPU_Backend, GrContextFactory::kANGLE_GLC ontextType, 0, kRW_ConfigFlag, "angle", true }, 1257 { SkBitmap::kARGB_8888_Config, kGPU_Backend, GrContextFactory::kANGLE_GLC ontextType, 0, kRW_ConfigFlag, "angle", true },
1258 { SkBitmap::kARGB_8888_Config, kGPU_Backend, GrContextFactory::kANGLE_GLC ontextType, 16, kRW_ConfigFlag, "anglemsaa16", true }, 1258 { SkBitmap::kARGB_8888_Config, kGPU_Backend, GrContextFactory::kANGLE_GLC ontextType, 16, kRW_ConfigFlag, "anglemsaa16", true },
1259 #endif // SK_ANGLE 1259 #endif // SK_ANGLE
1260 #ifdef SK_MESA 1260 #ifdef SK_MESA
1261 { SkBitmap::kARGB_8888_Config, kGPU_Backend, GrContextFactory::kMESA_GLCo ntextType, 0, kRW_ConfigFlag, "mesa", true }, 1261 { SkBitmap::kARGB_8888_Config, kGPU_Backend, GrContextFactory::kMESA_GLCo ntextType, 0, kRW_ConfigFlag, "mesa", true },
1262 #endif // SK_MESA 1262 #endif // SK_MESA
1263 #endif // SK_SUPPORT_GPU 1263 #endif // SK_SUPPORT_GPU
1264 #ifdef SK_SUPPORT_XPS 1264 #ifdef SK_SUPPORT_XPS
1265 /* At present we have no way of comparing XPS files (either natively or by c onverting to PNG). */ 1265 /* At present we have no way of comparing XPS files (either natively or by c onverting to PNG). */
(...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after
2184 if (FLAGS_forceBWtext) { 2184 if (FLAGS_forceBWtext) {
2185 canvas->setDrawFilter(SkNEW(BWTextDrawFilter))->unref(); 2185 canvas->setDrawFilter(SkNEW(BWTextDrawFilter))->unref();
2186 } 2186 }
2187 } 2187 }
2188 2188
2189 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) 2189 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL)
2190 int main(int argc, char * const argv[]) { 2190 int main(int argc, char * const argv[]) {
2191 return tool_main(argc, (char**) argv); 2191 return tool_main(argc, (char**) argv);
2192 } 2192 }
2193 #endif 2193 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698