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/core/SkPicture.h

Issue 714533002: Small refactoring of layer discovery code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 1 month 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/gpu/GrPictureUtils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPicture.h
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index f0bdd914d5cb17bfc076b23af4a665868c4d24f5..a1ed081466d65de6f3c7ebf4a656991ab2c1bb2a 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -20,6 +20,7 @@
class GrContext;
#endif
+class GrAccelData;
class GrReplacements;
class SkBBoxHierarchy;
class SkCanvas;
@@ -280,9 +281,9 @@ private:
friend class SkPictureRecorder; // SkRecord-based constructor.
friend class SkGpuDevice; // for fData access
friend class GrLayerHoister; // access to fRecord
- friend class SkRecords::CollectLayers; // access to fRecord
friend class SkPicturePlayback; // to get fData
friend class ReplaceDraw;
+ friend const GrAccelData* GPUOptimize(const SkPicture* pict);
typedef SkRefCnt INHERITED;
« no previous file with comments | « no previous file | src/gpu/GrPictureUtils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698