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

Side by Side Diff: include/private/SkRecords.h

Issue 2118553002: adding new GM to demostrate new shadows (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: fixed codez Created 4 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
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 SkRecords_DEFINED 8 #ifndef SkRecords_DEFINED
9 #define SkRecords_DEFINED 9 #define SkRecords_DEFINED
10 10
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 SkIRect devBounds; 241 SkIRect devBounds;
242 SkRegion region; 242 SkRegion region;
243 SkRegion::Op op); 243 SkRegion::Op op);
244 244
245 // While not strictly required, if you have an SkPaint, it's fastest to put it f irst. 245 // While not strictly required, if you have an SkPaint, it's fastest to put it f irst.
246 RECORD(DrawBitmap, kDraw_Tag|kHasImage_Tag, 246 RECORD(DrawBitmap, kDraw_Tag|kHasImage_Tag,
247 Optional<SkPaint> paint; 247 Optional<SkPaint> paint;
248 ImmutableBitmap bitmap; 248 ImmutableBitmap bitmap;
249 SkScalar left; 249 SkScalar left;
250 SkScalar top); 250 SkScalar top);
251 //uint8_t zLevel);
251 RECORD(DrawBitmapNine, kDraw_Tag|kHasImage_Tag, 252 RECORD(DrawBitmapNine, kDraw_Tag|kHasImage_Tag,
252 Optional<SkPaint> paint; 253 Optional<SkPaint> paint;
253 ImmutableBitmap bitmap; 254 ImmutableBitmap bitmap;
254 SkIRect center; 255 SkIRect center;
255 SkRect dst); 256 SkRect dst);
256 RECORD(DrawBitmapRect, kDraw_Tag|kHasImage_Tag, 257 RECORD(DrawBitmapRect, kDraw_Tag|kHasImage_Tag,
257 Optional<SkPaint> paint; 258 Optional<SkPaint> paint;
258 ImmutableBitmap bitmap; 259 ImmutableBitmap bitmap;
259 Optional<SkRect> src; 260 Optional<SkRect> src;
260 SkRect dst); 261 SkRect dst);
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 int indexCount); 372 int indexCount);
372 RECORD(DrawAnnotation, 0, 373 RECORD(DrawAnnotation, 0,
373 SkRect rect; 374 SkRect rect;
374 SkString key; 375 SkString key;
375 RefBox<SkData> value); 376 RefBox<SkData> value);
376 #undef RECORD 377 #undef RECORD
377 378
378 } // namespace SkRecords 379 } // namespace SkRecords
379 380
380 #endif//SkRecords_DEFINED 381 #endif//SkRecords_DEFINED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698