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

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

Issue 2036783005: Add nested SkPictureImageFilters to the GPU veto. Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 6 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 | « include/core/SkImageFilter.h ('k') | include/effects/SkPictureImageFilter.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 * Copyright 2007 The Android Open Source Project 2 * Copyright 2007 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkPicture_DEFINED 8 #ifndef SkPicture_DEFINED
9 #define SkPicture_DEFINED 9 #define SkPicture_DEFINED
10 10
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 friend class SkEmptyPicture; 187 friend class SkEmptyPicture;
188 template <typename> friend class SkMiniPicture; 188 template <typename> friend class SkMiniPicture;
189 189
190 void serialize(SkWStream*, SkPixelSerializer*, SkRefCntSet* typefaces) const ; 190 void serialize(SkWStream*, SkPixelSerializer*, SkRefCntSet* typefaces) const ;
191 static sk_sp<SkPicture> MakeFromStream(SkStream*, InstallPixelRefProc, SkTyp efacePlayback*); 191 static sk_sp<SkPicture> MakeFromStream(SkStream*, InstallPixelRefProc, SkTyp efacePlayback*);
192 friend class SkPictureData; 192 friend class SkPictureData;
193 193
194 virtual int numSlowPaths() const = 0; 194 virtual int numSlowPaths() const = 0;
195 friend class SkPictureGpuAnalyzer; 195 friend class SkPictureGpuAnalyzer;
196 friend struct SkPathCounter; 196 friend struct SkPathCounter;
197 friend class SkPictureImageFilter;
197 198
198 // V35: Store SkRect (rather then width & height) in header 199 // V35: Store SkRect (rather then width & height) in header
199 // V36: Remove (obsolete) alphatype from SkColorTable 200 // V36: Remove (obsolete) alphatype from SkColorTable
200 // V37: Added shadow only option to SkDropShadowImageFilter (last version to record CLEAR) 201 // V37: Added shadow only option to SkDropShadowImageFilter (last version to record CLEAR)
201 // V38: Added PictureResolution option to SkPictureImageFilter 202 // V38: Added PictureResolution option to SkPictureImageFilter
202 // V39: Added FilterLevel option to SkPictureImageFilter 203 // V39: Added FilterLevel option to SkPictureImageFilter
203 // V40: Remove UniqueID serialization from SkImageFilter. 204 // V40: Remove UniqueID serialization from SkImageFilter.
204 // V41: Added serialization of SkBitmapSource's filterQuality parameter 205 // V41: Added serialization of SkBitmapSource's filterQuality parameter
205 // V42: Added a bool to SkPictureShader serialization to indicate did-we-ser ialize-a-picture? 206 // V42: Added a bool to SkPictureShader serialization to indicate did-we-ser ialize-a-picture?
206 // V43: Added DRAW_IMAGE and DRAW_IMAGE_RECT opt codes to serialized data 207 // V43: Added DRAW_IMAGE and DRAW_IMAGE_RECT opt codes to serialized data
(...skipping 18 matching lines...) Expand all
225 const SkPictureData*, 226 const SkPictureData*,
226 const SkReadBuffer* buffer); 227 const SkReadBuffer* buffer);
227 228
228 SkPictInfo createHeader() const; 229 SkPictInfo createHeader() const;
229 SkPictureData* backport() const; 230 SkPictureData* backport() const;
230 231
231 mutable uint32_t fUniqueID; 232 mutable uint32_t fUniqueID;
232 }; 233 };
233 234
234 #endif 235 #endif
OLDNEW
« no previous file with comments | « include/core/SkImageFilter.h ('k') | include/effects/SkPictureImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698