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

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

Issue 789033002: Remove SkCanvas::drawBitmapMatrix() (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: non-const canvas ptr Created 6 years 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 | « src/core/SkRecorder.cpp ('k') | src/pdf/SkPDFShader.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 * 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 24 matching lines...) Expand all
35 M(SetMatrix) \ 35 M(SetMatrix) \
36 M(ClipPath) \ 36 M(ClipPath) \
37 M(ClipRRect) \ 37 M(ClipRRect) \
38 M(ClipRect) \ 38 M(ClipRect) \
39 M(ClipRegion) \ 39 M(ClipRegion) \
40 M(Clear) \ 40 M(Clear) \
41 M(BeginCommentGroup) \ 41 M(BeginCommentGroup) \
42 M(AddComment) \ 42 M(AddComment) \
43 M(EndCommentGroup) \ 43 M(EndCommentGroup) \
44 M(DrawBitmap) \ 44 M(DrawBitmap) \
45 M(DrawBitmapMatrix) \
46 M(DrawBitmapNine) \ 45 M(DrawBitmapNine) \
47 M(DrawBitmapRectToRect) \ 46 M(DrawBitmapRectToRect) \
48 M(DrawBitmapRectToRectBleed) \ 47 M(DrawBitmapRectToRectBleed) \
49 M(DrawDrawable) \ 48 M(DrawDrawable) \
50 M(DrawImage) \ 49 M(DrawImage) \
51 M(DrawImageRect) \ 50 M(DrawImageRect) \
52 M(DrawDRRect) \ 51 M(DrawDRRect) \
53 M(DrawOval) \ 52 M(DrawOval) \
54 M(DrawPaint) \ 53 M(DrawPaint) \
55 M(DrawPath) \ 54 M(DrawPath) \
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 238
240 RECORD1(BeginCommentGroup, PODArray<char>, description); 239 RECORD1(BeginCommentGroup, PODArray<char>, description);
241 RECORD2(AddComment, PODArray<char>, key, PODArray<char>, value); 240 RECORD2(AddComment, PODArray<char>, key, PODArray<char>, value);
242 RECORD0(EndCommentGroup); 241 RECORD0(EndCommentGroup);
243 242
244 // While not strictly required, if you have an SkPaint, it's fastest to put it f irst. 243 // While not strictly required, if you have an SkPaint, it's fastest to put it f irst.
245 RECORD4(DrawBitmap, Optional<SkPaint>, paint, 244 RECORD4(DrawBitmap, Optional<SkPaint>, paint,
246 ImmutableBitmap, bitmap, 245 ImmutableBitmap, bitmap,
247 SkScalar, left, 246 SkScalar, left,
248 SkScalar, top); 247 SkScalar, top);
249 RECORD3(DrawBitmapMatrix, Optional<SkPaint>, paint, ImmutableBitmap, bitmap, Typ edMatrix, matrix);
250 RECORD4(DrawBitmapNine, Optional<SkPaint>, paint, 248 RECORD4(DrawBitmapNine, Optional<SkPaint>, paint,
251 ImmutableBitmap, bitmap, 249 ImmutableBitmap, bitmap,
252 SkIRect, center, 250 SkIRect, center,
253 SkRect, dst); 251 SkRect, dst);
254 RECORD4(DrawBitmapRectToRect, Optional<SkPaint>, paint, 252 RECORD4(DrawBitmapRectToRect, Optional<SkPaint>, paint,
255 ImmutableBitmap, bitmap, 253 ImmutableBitmap, bitmap,
256 Optional<SkRect>, src, 254 Optional<SkRect>, src,
257 SkRect, dst); 255 SkRect, dst);
258 RECORD4(DrawBitmapRectToRectBleed, Optional<SkPaint>, paint, 256 RECORD4(DrawBitmapRectToRectBleed, Optional<SkPaint>, paint,
259 ImmutableBitmap, bitmap, 257 ImmutableBitmap, bitmap,
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 #undef RECORD0 346 #undef RECORD0
349 #undef RECORD1 347 #undef RECORD1
350 #undef RECORD2 348 #undef RECORD2
351 #undef RECORD3 349 #undef RECORD3
352 #undef RECORD4 350 #undef RECORD4
353 #undef RECORD5 351 #undef RECORD5
354 352
355 } // namespace SkRecords 353 } // namespace SkRecords
356 354
357 #endif//SkRecords_DEFINED 355 #endif//SkRecords_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkRecorder.cpp ('k') | src/pdf/SkPDFShader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698