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

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

Issue 1211583003: add drawImageNine (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: address comments from #9 Created 5 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
« no previous file with comments | « src/core/SkRecorder.cpp ('k') | src/pipe/SkGPipePriv.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 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(ClipRRect) \ 37 M(ClipRRect) \
38 M(ClipRect) \ 38 M(ClipRect) \
39 M(ClipRegion) \ 39 M(ClipRegion) \
40 M(DrawBitmap) \ 40 M(DrawBitmap) \
41 M(DrawBitmapNine) \ 41 M(DrawBitmapNine) \
42 M(DrawBitmapRectToRect) \ 42 M(DrawBitmapRectToRect) \
43 M(DrawBitmapRectToRectBleed) \ 43 M(DrawBitmapRectToRectBleed) \
44 M(DrawDrawable) \ 44 M(DrawDrawable) \
45 M(DrawImage) \ 45 M(DrawImage) \
46 M(DrawImageRect) \ 46 M(DrawImageRect) \
47 M(DrawImageNine) \
47 M(DrawDRRect) \ 48 M(DrawDRRect) \
48 M(DrawOval) \ 49 M(DrawOval) \
49 M(DrawPaint) \ 50 M(DrawPaint) \
50 M(DrawPath) \ 51 M(DrawPath) \
51 M(DrawPatch) \ 52 M(DrawPatch) \
52 M(DrawPicture) \ 53 M(DrawPicture) \
53 M(DrawPoints) \ 54 M(DrawPoints) \
54 M(DrawPosText) \ 55 M(DrawPosText) \
55 M(DrawPosTextH) \ 56 M(DrawPosTextH) \
56 M(DrawText) \ 57 M(DrawText) \
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 RECORD3(DrawDRRect, SkPaint, paint, SkRRect, outer, SkRRect, inner); 282 RECORD3(DrawDRRect, SkPaint, paint, SkRRect, outer, SkRRect, inner);
282 RECORD2(DrawDrawable, SkRect, worstCaseBounds, int32_t, index); 283 RECORD2(DrawDrawable, SkRect, worstCaseBounds, int32_t, index);
283 RECORD4(DrawImage, Optional<SkPaint>, paint, 284 RECORD4(DrawImage, Optional<SkPaint>, paint,
284 RefBox<const SkImage>, image, 285 RefBox<const SkImage>, image,
285 SkScalar, left, 286 SkScalar, left,
286 SkScalar, top); 287 SkScalar, top);
287 RECORD4(DrawImageRect, Optional<SkPaint>, paint, 288 RECORD4(DrawImageRect, Optional<SkPaint>, paint,
288 RefBox<const SkImage>, image, 289 RefBox<const SkImage>, image,
289 Optional<SkRect>, src, 290 Optional<SkRect>, src,
290 SkRect, dst); 291 SkRect, dst);
292 RECORD4(DrawImageNine, Optional<SkPaint>, paint,
293 RefBox<const SkImage>, image,
294 SkIRect, center,
295 SkRect, dst);
291 RECORD2(DrawOval, SkPaint, paint, SkRect, oval); 296 RECORD2(DrawOval, SkPaint, paint, SkRect, oval);
292 RECORD1(DrawPaint, SkPaint, paint); 297 RECORD1(DrawPaint, SkPaint, paint);
293 RECORD2(DrawPath, SkPaint, paint, PreCachedPath, path); 298 RECORD2(DrawPath, SkPaint, paint, PreCachedPath, path);
294 RECORD3(DrawPicture, Optional<SkPaint>, paint, 299 RECORD3(DrawPicture, Optional<SkPaint>, paint,
295 RefBox<const SkPicture>, picture, 300 RefBox<const SkPicture>, picture,
296 TypedMatrix, matrix); 301 TypedMatrix, matrix);
297 RECORD4(DrawPoints, SkPaint, paint, SkCanvas::PointMode, mode, unsigned, count, SkPoint*, pts); 302 RECORD4(DrawPoints, SkPaint, paint, SkCanvas::PointMode, mode, unsigned, count, SkPoint*, pts);
298 RECORD4(DrawPosText, SkPaint, paint, 303 RECORD4(DrawPosText, SkPaint, paint,
299 PODArray<char>, text, 304 PODArray<char>, text,
300 size_t, byteLength, 305 size_t, byteLength,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 #undef RECORD1 380 #undef RECORD1
376 #undef RECORD2 381 #undef RECORD2
377 #undef RECORD3 382 #undef RECORD3
378 #undef RECORD4 383 #undef RECORD4
379 #undef RECORD5 384 #undef RECORD5
380 #undef RECORD8 385 #undef RECORD8
381 386
382 } // namespace SkRecords 387 } // namespace SkRecords
383 388
384 #endif//SkRecords_DEFINED 389 #endif//SkRecords_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkRecorder.cpp ('k') | src/pipe/SkGPipePriv.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698