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

Unified Diff: tools/VisualBench/VisualBench.cpp

Issue 1391633002: nvpr removal from VisualBench base context (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/VisualBench/VisualBench.cpp
diff --git a/tools/VisualBench/VisualBench.cpp b/tools/VisualBench/VisualBench.cpp
index b8f39f96fa5f0687a06568d36c9d660ddf7fdae9..8164762a4a9e72e1758f9a75b55fcab7761e43f4 100644
--- a/tools/VisualBench/VisualBench.cpp
+++ b/tools/VisualBench/VisualBench.cpp
@@ -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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698