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

Unified Diff: samplecode/SampleApp.h

Issue 1177323002: Use SkPaintFilterCanvas for SampleApp paint filtering (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: review comments Created 5 years, 6 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 | samplecode/SampleApp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleApp.h
diff --git a/samplecode/SampleApp.h b/samplecode/SampleApp.h
index 8fc1a905b1b7cba185fb8ed6148811af97aa4abd..44eda1ecd8c6b823d4561eea0bd31e1296748a0f 100644
--- a/samplecode/SampleApp.h
+++ b/samplecode/SampleApp.h
@@ -145,7 +145,6 @@ protected:
SkCanvas* beforeChildren(SkCanvas*) override;
void afterChildren(SkCanvas*) override;
void beforeChild(SkView* child, SkCanvas* canvas) override;
- void afterChild(SkView* child, SkCanvas* canvas) override;
bool onEvent(const SkEvent& evt) override;
bool onQuery(SkEvent* evt) override;
@@ -164,6 +163,7 @@ private:
SkPictureRecorder fRecorder;
SkAutoTDelete<SkSurface> fDeferredSurface;
SkAutoTDelete<SkDeferredCanvas> fDeferredCanvas;
+ SkAutoTDelete<SkCanvas> fFlagsFilterCanvas;
SkPath fClipPath;
SkTouchGesture fGesture;
@@ -232,7 +232,6 @@ private:
void showZoomer(SkCanvas* canvas);
void updateMatrix();
void postAnimatingEvent();
- void installDrawFilter(SkCanvas*);
int findByTitle(const char*);
void listTitles();
SkSize tileSize() const;
« no previous file with comments | « no previous file | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698