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

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

Issue 532703004: Remove legacy (and also broken) SkPicture constructor. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | « gyp/skia_for_android_framework_defines.gypi ('k') | src/core/SkPicture.cpp » ('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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 // This entry point allows user's to get a unique domain prefix 56 // This entry point allows user's to get a unique domain prefix
57 // for their keys 57 // for their keys
58 static Domain GenerateDomain(); 58 static Domain GenerateDomain();
59 private: 59 private:
60 Key fKey; 60 Key fKey;
61 61
62 typedef SkRefCnt INHERITED; 62 typedef SkRefCnt INHERITED;
63 }; 63 };
64 64
65 #ifdef SK_SUPPORT_LEGACY_DEFAULT_PICTURE_CTOR
66 SkPicture();
67 #endif
68
69 /** PRIVATE / EXPERIMENTAL -- do not call */ 65 /** PRIVATE / EXPERIMENTAL -- do not call */
70 void EXPERIMENTAL_addAccelData(const AccelData*) const; 66 void EXPERIMENTAL_addAccelData(const AccelData*) const;
71 67
72 /** PRIVATE / EXPERIMENTAL -- do not call */ 68 /** PRIVATE / EXPERIMENTAL -- do not call */
73 const AccelData* EXPERIMENTAL_getAccelData(AccelData::Key) const; 69 const AccelData* EXPERIMENTAL_getAccelData(AccelData::Key) const;
74 70
75 /** 71 /**
76 * Function signature defining a function that sets up an SkBitmap from enc oded data. On 72 * Function signature defining a function that sets up an SkBitmap from enc oded data. On
77 * success, the SkBitmap should have its Config, width, height, rowBytes an d pixelref set. 73 * success, the SkBitmap should have its Config, width, height, rowBytes an d pixelref set.
78 * If the installed pixelref has decoded the data into pixels, then the src buffer need not be 74 * If the installed pixelref has decoded the data into pixels, then the src buffer need not be
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 bool fWillPlaybackBitmaps; 317 bool fWillPlaybackBitmaps;
322 bool fHasText; 318 bool fHasText;
323 int fNumPaintWithPathEffectUses; 319 int fNumPaintWithPathEffectUses;
324 int fNumFastPathDashEffects; 320 int fNumFastPathDashEffects;
325 int fNumAAConcavePaths; 321 int fNumAAConcavePaths;
326 int fNumAAHairlineConcavePaths; 322 int fNumAAHairlineConcavePaths;
327 } fAnalysis; 323 } fAnalysis;
328 }; 324 };
329 325
330 #endif 326 #endif
OLDNEW
« no previous file with comments | « gyp/skia_for_android_framework_defines.gypi ('k') | src/core/SkPicture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698