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

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

Issue 511613002: Convert BBH APIs to use SkRect. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: another in BBH test 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 | « bench/RTreeBench.cpp ('k') | include/gpu/SkGpuDevice.h » ('j') | no next file with comments »
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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 uint32_t offset(int index) const; 281 uint32_t offset(int index) const;
282 // The CTM that must be installed for the operation to behave correctly 282 // The CTM that must be installed for the operation to behave correctly
283 const SkMatrix& matrix(int index) const; 283 const SkMatrix& matrix(int index) const;
284 284
285 SkTDArray<void*> fOps; 285 SkTDArray<void*> fOps;
286 }; 286 };
287 287
288 /** PRIVATE / EXPERIMENTAL -- do not call 288 /** PRIVATE / EXPERIMENTAL -- do not call
289 Return the operations required to render the content inside 'queryRect'. 289 Return the operations required to render the content inside 'queryRect'.
290 */ 290 */
291 const OperationList* EXPERIMENTAL_getActiveOps(const SkIRect& queryRect) con st; 291 const OperationList* EXPERIMENTAL_getActiveOps(const SkRect& queryRect) cons t;
292 292
293 void createHeader(SkPictInfo* info) const; 293 void createHeader(SkPictInfo* info) const;
294 static bool IsValidPictInfo(const SkPictInfo& info); 294 static bool IsValidPictInfo(const SkPictInfo& info);
295 295
296 friend class SkPictureData; // to access OperationList 296 friend class SkPictureData; // to access OperationList
297 friend class SkPictureRecorder; // just for SkPicture-based const ructor 297 friend class SkPictureRecorder; // just for SkPicture-based const ructor
298 friend class SkGpuDevice; // for EXPERIMENTAL_getActiveOps/ OperationList 298 friend class SkGpuDevice; // for EXPERIMENTAL_getActiveOps/ OperationList
299 friend class GrGatherCanvas; // needs to know if old or new pi cture 299 friend class GrGatherCanvas; // needs to know if old or new pi cture
300 friend class SkPicturePlayback; // to get fData & OperationList 300 friend class SkPicturePlayback; // to get fData & OperationList
301 friend class SkPictureReplacementPlayback; // to access OperationList 301 friend class SkPictureReplacementPlayback; // to access OperationList
(...skipping 19 matching lines...) Expand all
321 bool fWillPlaybackBitmaps; 321 bool fWillPlaybackBitmaps;
322 bool fHasText; 322 bool fHasText;
323 int fNumPaintWithPathEffectUses; 323 int fNumPaintWithPathEffectUses;
324 int fNumFastPathDashEffects; 324 int fNumFastPathDashEffects;
325 int fNumAAConcavePaths; 325 int fNumAAConcavePaths;
326 int fNumAAHairlineConcavePaths; 326 int fNumAAHairlineConcavePaths;
327 } fAnalysis; 327 } fAnalysis;
328 }; 328 };
329 329
330 #endif 330 #endif
OLDNEW
« no previous file with comments | « bench/RTreeBench.cpp ('k') | include/gpu/SkGpuDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698