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

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

Issue 24075010: We don't flatten or unflatten SkPaintOptionsAndroid. Reproduce and fix. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « gyp/tests.gyp ('k') | src/core/SkPaint.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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // V6 : added serialization of SkPath's bounds (and packed its flags tighter ) 203 // V6 : added serialization of SkPath's bounds (and packed its flags tighter )
204 // V7 : changed drawBitmapRect(IRect) to drawBitmapRectToRect(Rect) 204 // V7 : changed drawBitmapRect(IRect) to drawBitmapRectToRect(Rect)
205 // V8 : Add an option for encoding bitmaps 205 // V8 : Add an option for encoding bitmaps
206 // V9 : Allow the reader and writer of an SKP disagree on whether to support 206 // V9 : Allow the reader and writer of an SKP disagree on whether to support
207 // SK_SUPPORT_HINTING_SCALE_FACTOR 207 // SK_SUPPORT_HINTING_SCALE_FACTOR
208 // V10: add drawRRect, drawOval, clipRRect 208 // V10: add drawRRect, drawOval, clipRRect
209 // V11: modify how readBitmap and writeBitmap store their info. 209 // V11: modify how readBitmap and writeBitmap store their info.
210 // V12: add conics to SkPath, use new SkPathRef flattening 210 // V12: add conics to SkPath, use new SkPathRef flattening
211 // V13: add flag to drawBitmapRectToRect 211 // V13: add flag to drawBitmapRectToRect
212 // parameterize blurs by sigma rather than radius 212 // parameterize blurs by sigma rather than radius
213 // V14: remove hinting scaling factor, fix Android paint options serializati on
214 // TODO: mtklein sort this out
djsollen 2013/09/18 12:50:30 Are there other places that we can clean up (like
213 #ifndef DELETE_THIS_CODE_WHEN_SKPS_ARE_REBUILT_AT_V13_AND_ALL_OTHER_INSTANCES_TO O 215 #ifndef DELETE_THIS_CODE_WHEN_SKPS_ARE_REBUILT_AT_V13_AND_ALL_OTHER_INSTANCES_TO O
214 static const uint32_t PRIOR_PICTURE_VERSION = 12; // TODO: remove when .skp s regenerated 216 static const uint32_t PRIOR_PICTURE_VERSION = 12; // TODO: remove when .skp s regenerated
215 #endif 217 #endif
216 static const uint32_t PICTURE_VERSION = 13; 218 static const uint32_t PICTURE_VERSION = 13;
217 219
218 // fPlayback, fRecord, fWidth & fHeight are protected to allow derived class es to 220 // fPlayback, fRecord, fWidth & fHeight are protected to allow derived class es to
219 // install their own SkPicturePlayback-derived players,SkPictureRecord-deriv ed 221 // install their own SkPicturePlayback-derived players,SkPictureRecord-deriv ed
220 // recorders and set the picture size 222 // recorders and set the picture size
221 SkPicturePlayback* fPlayback; 223 SkPicturePlayback* fPlayback;
222 SkPictureRecord* fRecord; 224 SkPictureRecord* fRecord;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 */ 276 */
275 class SK_API SkDrawPictureCallback { 277 class SK_API SkDrawPictureCallback {
276 public: 278 public:
277 SkDrawPictureCallback() {} 279 SkDrawPictureCallback() {}
278 virtual ~SkDrawPictureCallback() {} 280 virtual ~SkDrawPictureCallback() {}
279 281
280 virtual bool abortDrawing() = 0; 282 virtual bool abortDrawing() = 0;
281 }; 283 };
282 284
283 #endif 285 #endif
OLDNEW
« no previous file with comments | « gyp/tests.gyp ('k') | src/core/SkPaint.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698