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

Unified Diff: tools/VisualBench/VisualBench.h

Issue 1416063002: Force VisualBench to reset GLContext on GrContext reset (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks 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
Index: tools/VisualBench/VisualBench.h
diff --git a/tools/VisualBench/VisualBench.h b/tools/VisualBench/VisualBench.h
index c1f61d95197432129129e879e5fdbacd65b8da1a..1920a52b2bebb832486e03bb1d7543551703eefc 100644
--- a/tools/VisualBench/VisualBench.h
+++ b/tools/VisualBench/VisualBench.h
@@ -48,6 +48,8 @@ private:
void resetContext();
void setupRenderTarget();
bool onHandleChar(SkUnichar unichar) override;
+ void tearDownContext();
+ void setupContext();
// support framework
SkAutoTDelete<VisualModule> fModule;

Powered by Google App Engine
This is Rietveld 408576698