| Index: src/core/SkRecords.h
|
| diff --git a/src/core/SkRecords.h b/src/core/SkRecords.h
|
| index 8e778bf7a2a7bed5c29cd8d751e559a27c3ff1f3..4c87ccc9e64cbbbb8a2544cbbf3171b65c62efb6 100644
|
| --- a/src/core/SkRecords.h
|
| +++ b/src/core/SkRecords.h
|
| @@ -41,6 +41,7 @@ namespace SkRecords {
|
| M(DrawBitmapNine) \
|
| M(DrawBitmapRectToRect) \
|
| M(DrawBitmapRectToRectBleed) \
|
| + M(DrawBitmapRectToRectFixedSize) \
|
| M(DrawDrawable) \
|
| M(DrawImage) \
|
| M(DrawImageRect) \
|
| @@ -132,7 +133,7 @@ struct T { \
|
| T(Z a, Y b, X c, W d, V e, U f, S g, R h) : a(a), b(b), c(c), d(d), e(e), f(f), g(g), h(h) {} \
|
| A a; B b; C c; D d; E e; F f; G g; H h; \
|
| };
|
| -
|
| +
|
| #define ACT_AS_PTR(ptr) \
|
| operator T*() const { return ptr; } \
|
| T* operator->() const { return ptr; }
|
| @@ -279,6 +280,11 @@ RECORD4(DrawBitmapRectToRectBleed, Optional<SkPaint>, paint,
|
| ImmutableBitmap, bitmap,
|
| Optional<SkRect>, src,
|
| SkRect, dst);
|
| +RECORD5(DrawBitmapRectToRectFixedSize, SkPaint, paint,
|
| + ImmutableBitmap, bitmap,
|
| + SkRect, src,
|
| + SkRect, dst,
|
| + SkCanvas::DrawBitmapRectFlags, flags);
|
| RECORD3(DrawDRRect, SkPaint, paint, SkRRect, outer, SkRRect, inner);
|
| RECORD2(DrawDrawable, SkRect, worstCaseBounds, int32_t, index);
|
| RECORD4(DrawImage, Optional<SkPaint>, paint,
|
|
|