nvpr removal from VisualBench base context
authorjoshualitt <joshualitt@chromium.org>
Tue, 6 Oct 2015 15:05:10 +0000 (08:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 6 Oct 2015 15:05:10 +0000 (08:05 -0700)
TBR=bsalomon@google.com
BUG=skia:

Review URL: https://codereview.chromium.org/1391633002

tools/VisualBench/VisualBench.cpp

index b8f39f9..8164762 100644 (file)
@@ -82,6 +82,9 @@ void VisualBench::resetContext() {
     fSurface.reset(nullptr);
 
     fInterface.reset(GrGLCreateNativeInterface());
+
+    // TODO use the GLContext creation factories
+    fInterface.reset(GrGLInterfaceRemoveNVPR(fInterface));
     SkASSERT(fInterface);
 
     // setup contexts