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

Unified Diff: include/utils/SkDeferredCanvas.h

Issue 545813002: Picture Recording: fix the performance bottleneck in SkDeferredCanvas::isFullFrame (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: use interface in SkDeferredCanvas Created 6 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 | « no previous file | src/utils/SkDeferredCanvas.cpp » ('j') | src/utils/SkDeferredCanvas.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/utils/SkDeferredCanvas.h
diff --git a/include/utils/SkDeferredCanvas.h b/include/utils/SkDeferredCanvas.h
index 907cb91575043b1cfba2f16c1b27e4d6982c0516..de95bc7494906f5057bb3abefe17d0586a563c6d 100644
--- a/include/utils/SkDeferredCanvas.h
+++ b/include/utils/SkDeferredCanvas.h
@@ -243,12 +243,13 @@ private:
void recordedDrawCommand();
SkCanvas* drawingCanvas() const;
SkCanvas* immediateCanvas() const;
- bool isFullFrame(const SkRect*, const SkPaint*) const;
+ bool isFullFrame(const SkRect*, const SkPaint*);
void validate() const;
void init();
size_t fBitmapSizeThreshold;
bool fDeferredDrawing;
+ SkISize canvasSize;
reed1 2014/09/05 13:18:33 nit: fCanvasSize
yunchao 2014/09/09 08:58:00 Done.
friend class SkDeferredCanvasTester; // for unit testing
typedef SkCanvas INHERITED;
« no previous file with comments | « no previous file | src/utils/SkDeferredCanvas.cpp » ('j') | src/utils/SkDeferredCanvas.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698