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

Side by Side Diff: src/core/SkRecords.h

Issue 610003002: Override SkCanvas::drawImage() in SkRecorder. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase master Created 6 years, 2 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 26 matching lines...) Expand all
37 M(ClipRect) \ 37 M(ClipRect) \
38 M(ClipRegion) \ 38 M(ClipRegion) \
39 M(Clear) \ 39 M(Clear) \
40 M(BeginCommentGroup) \ 40 M(BeginCommentGroup) \
41 M(AddComment) \ 41 M(AddComment) \
42 M(EndCommentGroup) \ 42 M(EndCommentGroup) \
43 M(DrawBitmap) \ 43 M(DrawBitmap) \
44 M(DrawBitmapMatrix) \ 44 M(DrawBitmapMatrix) \
45 M(DrawBitmapNine) \ 45 M(DrawBitmapNine) \
46 M(DrawBitmapRectToRect) \ 46 M(DrawBitmapRectToRect) \
47 M(DrawImage) \
48 M(DrawImageRect) \
47 M(DrawDRRect) \ 49 M(DrawDRRect) \
48 M(DrawOval) \ 50 M(DrawOval) \
49 M(DrawPaint) \ 51 M(DrawPaint) \
50 M(DrawPath) \ 52 M(DrawPath) \
51 M(DrawPatch) \ 53 M(DrawPatch) \
52 M(DrawPicture) \ 54 M(DrawPicture) \
53 M(DrawPoints) \ 55 M(DrawPoints) \
54 M(DrawPosText) \ 56 M(DrawPosText) \
55 M(DrawPosTextH) \ 57 M(DrawPosTextH) \
56 M(DrawText) \ 58 M(DrawText) \
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 RECORD4(DrawBitmapNine, Optional<SkPaint>, paint, 229 RECORD4(DrawBitmapNine, Optional<SkPaint>, paint,
228 ImmutableBitmap, bitmap, 230 ImmutableBitmap, bitmap,
229 SkIRect, center, 231 SkIRect, center,
230 SkRect, dst); 232 SkRect, dst);
231 RECORD5(DrawBitmapRectToRect, Optional<SkPaint>, paint, 233 RECORD5(DrawBitmapRectToRect, Optional<SkPaint>, paint,
232 ImmutableBitmap, bitmap, 234 ImmutableBitmap, bitmap,
233 Optional<SkRect>, src, 235 Optional<SkRect>, src,
234 SkRect, dst, 236 SkRect, dst,
235 SkCanvas::DrawBitmapRectFlags, flags); 237 SkCanvas::DrawBitmapRectFlags, flags);
236 RECORD3(DrawDRRect, SkPaint, paint, SkRRect, outer, SkRRect, inner); 238 RECORD3(DrawDRRect, SkPaint, paint, SkRRect, outer, SkRRect, inner);
239 RECORD4(DrawImage, Optional<SkPaint>, paint,
240 RefBox<const SkImage>, image,
241 SkScalar, left,
242 SkScalar, top);
243 RECORD4(DrawImageRect, Optional<SkPaint>, paint,
244 RefBox<const SkImage>, image,
245 Optional<SkRect>, src,
246 SkRect, dst);
237 RECORD2(DrawOval, SkPaint, paint, SkRect, oval); 247 RECORD2(DrawOval, SkPaint, paint, SkRect, oval);
238 RECORD1(DrawPaint, SkPaint, paint); 248 RECORD1(DrawPaint, SkPaint, paint);
239 RECORD2(DrawPath, SkPaint, paint, SkPath, path); 249 RECORD2(DrawPath, SkPaint, paint, SkPath, path);
240 RECORD3(DrawPicture, Optional<SkPaint>, paint, 250 RECORD3(DrawPicture, Optional<SkPaint>, paint,
241 RefBox<const SkPicture>, picture, 251 RefBox<const SkPicture>, picture,
242 Optional<SkMatrix>, matrix); 252 Optional<SkMatrix>, matrix);
243 RECORD4(DrawPoints, SkPaint, paint, SkCanvas::PointMode, mode, size_t, count, Sk Point*, pts); 253 RECORD4(DrawPoints, SkPaint, paint, SkCanvas::PointMode, mode, size_t, count, Sk Point*, pts);
244 RECORD4(DrawPosText, SkPaint, paint, 254 RECORD4(DrawPosText, SkPaint, paint,
245 PODArray<char>, text, 255 PODArray<char>, text,
246 size_t, byteLength, 256 size_t, byteLength,
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 #undef RECORD0 323 #undef RECORD0
314 #undef RECORD1 324 #undef RECORD1
315 #undef RECORD2 325 #undef RECORD2
316 #undef RECORD3 326 #undef RECORD3
317 #undef RECORD4 327 #undef RECORD4
318 #undef RECORD5 328 #undef RECORD5
319 329
320 } // namespace SkRecords 330 } // namespace SkRecords
321 331
322 #endif//SkRecords_DEFINED 332 #endif//SkRecords_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkRecorder.cpp ('k') | src/image/SkImagePriv.h » ('j') | tests/RecordDrawTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698