| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |