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

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

Issue 719133002: Rename GrAccelData to SkLayerInfo and move it to src/core (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix up unit test 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 unified diff | Download patch
« no previous file with comments | « gyp/gpu.gypi ('k') | src/core/SkLayerInfo.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 28 matching lines...) Expand all
39 /** \class SkPicture 39 /** \class SkPicture
40 40
41 The SkPicture class records the drawing commands made to a canvas, to 41 The SkPicture class records the drawing commands made to a canvas, to
42 be played back at a later time. 42 be played back at a later time.
43 */ 43 */
44 class SK_API SkPicture : public SkRefCnt { 44 class SK_API SkPicture : public SkRefCnt {
45 public: 45 public:
46 SK_DECLARE_INST_COUNT(SkPicture) 46 SK_DECLARE_INST_COUNT(SkPicture)
47 47
48 // AccelData provides a base class for device-specific acceleration 48 // AccelData provides a base class for device-specific acceleration
49 // data. It is added to the picture via a call to a device's optimize 49 // data. It is added to the picture via EXPERIMENTAL_addAccelData.
50 // method.
51 class AccelData : public SkRefCnt { 50 class AccelData : public SkRefCnt {
52 public: 51 public:
53 typedef uint8_t Domain; 52 typedef uint8_t Domain;
54 typedef uint32_t Key; 53 typedef uint32_t Key;
55 54
56 AccelData(Key key) : fKey(key) { } 55 AccelData(Key key) : fKey(key) { }
57 56
58 const Key& getKey() const { return fKey; } 57 const Key& getKey() const { return fKey; }
59 58
60 // This entry point allows user's to get a unique domain prefix 59 // This entry point allows user's to get a unique domain prefix
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 bool fHasText; 305 bool fHasText;
307 int fNumPaintWithPathEffectUses; 306 int fNumPaintWithPathEffectUses;
308 int fNumFastPathDashEffects; 307 int fNumFastPathDashEffects;
309 int fNumAAConcavePaths; 308 int fNumAAConcavePaths;
310 int fNumAAHairlineConcavePaths; 309 int fNumAAHairlineConcavePaths;
311 int fNumAADFEligibleConcavePaths; 310 int fNumAADFEligibleConcavePaths;
312 } fAnalysis; 311 } fAnalysis;
313 }; 312 };
314 313
315 #endif 314 #endif
OLDNEW
« no previous file with comments | « gyp/gpu.gypi ('k') | src/core/SkLayerInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698