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

Unified Diff: bench/GLBench.h

Issue 1379853003: Fix for nexus 5 crashing in GL benches (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks 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 | « bench/FSRectBench.cpp ('k') | bench/GLBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/GLBench.h
diff --git a/bench/GLBench.h b/bench/GLBench.h
index 0755c4f1a893410f0ff600c32389616704b54dc0..dde0358abc6d104051bdf43ea96f762963f92b5d 100644
--- a/bench/GLBench.h
+++ b/bench/GLBench.h
@@ -29,9 +29,9 @@ public:
protected:
const GrGLContext* getGLContext(SkCanvas*);
virtual const GrGLContext* onGetGLContext(const GrGLContext* ctx) { return ctx; }
- void onPerCanvasPreDraw(SkCanvas* canvas) override;
+ void onPreDraw(SkCanvas*) override;
virtual void setup(const GrGLContext*)=0;
- void onPerCanvasPostDraw(SkCanvas* canvas) override;
+ void onPostDraw(SkCanvas* canvas) override;
virtual void teardown(const GrGLInterface*)=0;
void onDraw(const int loops, SkCanvas*) override;
virtual void glDraw(const int loops, const GrGLContext*)=0;
« no previous file with comments | « bench/FSRectBench.cpp ('k') | bench/GLBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698