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

Side by Side Diff: include/core/SkPicture.h

Issue 539693002: Remove use of EXPERIMENTAL_getActiveOps from layer hoisting code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix comment & move init into loop 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/gpu/GrLayerHoister.h » ('j') | src/gpu/SkGpuDevice.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2007 The Android Open Source Project 3 * Copyright 2007 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkPicture_DEFINED 10 #ifndef SkPicture_DEFINED
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 /** PRIVATE / EXPERIMENTAL -- do not call 283 /** PRIVATE / EXPERIMENTAL -- do not call
284 Return the operations required to render the content inside 'queryRect'. 284 Return the operations required to render the content inside 'queryRect'.
285 */ 285 */
286 const OperationList* EXPERIMENTAL_getActiveOps(const SkRect& queryRect) cons t; 286 const OperationList* EXPERIMENTAL_getActiveOps(const SkRect& queryRect) cons t;
287 287
288 void createHeader(SkPictInfo* info) const; 288 void createHeader(SkPictInfo* info) const;
289 static bool IsValidPictInfo(const SkPictInfo& info); 289 static bool IsValidPictInfo(const SkPictInfo& info);
290 290
291 friend class SkPictureData; // to access OperationList 291 friend class SkPictureData; // to access OperationList
292 friend class SkPictureRecorder; // just for SkPicture-based const ructor 292 friend class SkPictureRecorder; // just for SkPicture-based const ructor
293 friend class SkGpuDevice; // for EXPERIMENTAL_getActiveOps/ OperationList 293 friend class SkGpuDevice; // for fData access
294 friend class GrLayerHoister; // for EXPERIMENTAL_getActiveOps/ OperationList
295 friend class CollectLayers; // access to fRecord 294 friend class CollectLayers; // access to fRecord
296 friend class SkPicturePlayback; // to get fData & OperationList 295 friend class SkPicturePlayback; // to get fData & OperationList
297 friend class SkPictureReplacementPlayback; // to access OperationList 296 friend class SkPictureReplacementPlayback; // to access OperationList
298 297
299 typedef SkRefCnt INHERITED; 298 typedef SkRefCnt INHERITED;
300 299
301 // Takes ownership of the SkRecord, refs the (optional) BBH. 300 // Takes ownership of the SkRecord, refs the (optional) BBH.
302 SkPicture(SkScalar width, SkScalar height, SkRecord*, SkBBoxHierarchy*); 301 SkPicture(SkScalar width, SkScalar height, SkRecord*, SkBBoxHierarchy*);
303 // Return as a new SkPicture that's backed by SkRecord. 302 // Return as a new SkPicture that's backed by SkRecord.
304 static SkPicture* Forwardport(const SkPicture&); 303 static SkPicture* Forwardport(const SkPicture&);
(...skipping 12 matching lines...) Expand all
317 bool fWillPlaybackBitmaps; 316 bool fWillPlaybackBitmaps;
318 bool fHasText; 317 bool fHasText;
319 int fNumPaintWithPathEffectUses; 318 int fNumPaintWithPathEffectUses;
320 int fNumFastPathDashEffects; 319 int fNumFastPathDashEffects;
321 int fNumAAConcavePaths; 320 int fNumAAConcavePaths;
322 int fNumAAHairlineConcavePaths; 321 int fNumAAHairlineConcavePaths;
323 } fAnalysis; 322 } fAnalysis;
324 }; 323 };
325 324
326 #endif 325 #endif
OLDNEW
« no previous file with comments | « no previous file | src/gpu/GrLayerHoister.h » ('j') | src/gpu/SkGpuDevice.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698