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); |