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

Unified Diff: samplecode/SampleApp.cpp

Issue 1380973002: Simplify nvpr text (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | src/gpu/GrPathRendering.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleApp.cpp
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp
index 02c5e036a1779f9f01c58d9d9bcf6080838aad44..a89bde878227394b012361a10fe82f5b4e1ac6c9 100644
--- a/samplecode/SampleApp.cpp
+++ b/samplecode/SampleApp.cpp
@@ -86,7 +86,7 @@ SkTCPServer gServer;
#elif SK_ANGLE
//#define DEFAULT_TO_ANGLE 1
#else
-#define DEFAULT_TO_GPU 0 // if 1 default rendering is on GPU
+#define DEFAULT_TO_GPU 1 // if 1 default rendering is on GPU
#endif
#define ANIMATING_EVENTTYPE "nextSample"
@@ -243,7 +243,7 @@ public:
// Currently SampleApp does not use NVPR. TODO: Provide an NVPR device type that is skipped
// when the driver doesn't support NVPR.
- fCurIntf = GrGLInterfaceRemoveNVPR(glInterface.get());
+ fCurIntf = SkRef/*GrGLInterfaceRemoveNVPR*/(glInterface.get());
Mark Kilgard 2015/10/01 17:33:24 would it be good to have a command line to SampleA
Chris Dalton 2015/10/03 16:39:20 Oops, that was an accidental hack that found its w
SkASSERT(nullptr == fCurContext);
fCurContext = GrContext::Create(kOpenGL_GrBackend, (GrBackendContext) fCurIntf);
« no previous file with comments | « no previous file | src/gpu/GrPathRendering.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698