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

Unified Diff: gm/gm.cpp

Issue 23587029: gm: add a flag to force perspective usage in all gms (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: gm test Created 7 years, 3 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
« gm/gm.h ('K') | « gm/gm.h ('k') | gyp/SampleApp.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/gm.cpp
diff --git a/gm/gm.cpp b/gm/gm.cpp
index 4a8b3c31d76acf135a948ceea1b2d7ac1787e560..9c5d8e6c11bb8c01a8c7cf174f6be372ad18ac86 100644
--- a/gm/gm.cpp
+++ b/gm/gm.cpp
@@ -76,5 +76,7 @@ void GM::drawSizeBounds(SkCanvas* canvas, SkColor color) {
}
#endif
+DEFINE_bool(forcePerspectiveMatrix, false, "Force a perspective matrix.");
+
// need to explicitly declare this, or we get some weird infinite loop llist
template GMRegistry* SkTRegistry<GM*(*)(void*)>::gHead;
« gm/gm.h ('K') | « gm/gm.h ('k') | gyp/SampleApp.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698