aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-09 15:36:26 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-09 15:36:26 +0000
commit82d1223aece4703bc9f3a3612cbabaa8c2f2809b (patch)
tree015b286c683b53ac8c9ee77af93bdc98953384bd /samplecode
parenta5ed2ae409fae22762014a321e0ea2a334e85830 (diff)
Two and three color GPU gradients without textures.
R=bsalomon@google.com Review URL: https://codereview.chromium.org/22854005 git-svn-id: http://skia.googlecode.com/svn/trunk@11158 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode')
-rw-r--r--samplecode/SampleApp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp
index 5188588706..ee51095de8 100644
--- a/samplecode/SampleApp.cpp
+++ b/samplecode/SampleApp.cpp
@@ -84,7 +84,7 @@ SkTCPServer gServer;
#if SK_ANGLE
//#define DEFAULT_TO_ANGLE 1
#else
-//#define DEFAULT_TO_GPU 1
+#define DEFAULT_TO_GPU 0 // if 1 default rendering is on GPU
#endif
#define ANIMATING_EVENTTYPE "nextSample"