diff options
author | sergeyv <sergeyv@google.com> | 2016-10-17 13:07:38 -0700 |
---|---|---|
committer | sergeyv <sergeyv@google.com> | 2016-10-20 14:04:35 -0700 |
commit | fc9999505a36c66892d7ccce85187936105f4f36 (patch) | |
tree | aed3f3fced5395d194840fb4a035a8f7fa7fa96e /libs/hwui/RecordingCanvas.h | |
parent | aed7f58fb05a25ce2112829e77c0eb5dd268e8a7 (diff) |
Pass Bitmap instead of SkBitmap for bitmap rect operation
Test: refactoring cl.
bug:32216791
Change-Id: I66d19194c57b3aa2c400aa87acffc774a533776a
Diffstat (limited to 'libs/hwui/RecordingCanvas.h')
-rw-r--r-- | libs/hwui/RecordingCanvas.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/hwui/RecordingCanvas.h b/libs/hwui/RecordingCanvas.h index c5ed61c1c65f..cdb8dfc2002d 100644 --- a/libs/hwui/RecordingCanvas.h +++ b/libs/hwui/RecordingCanvas.h @@ -177,9 +177,8 @@ public: // Bitmap-based virtual void drawBitmap(Bitmap& bitmap, float left, float top, const SkPaint* paint) override; - virtual void drawBitmap(const SkBitmap& bitmap, const SkMatrix& matrix, - const SkPaint* paint) override; - virtual void drawBitmap(const SkBitmap& bitmap, float srcLeft, float srcTop, + virtual void drawBitmap(Bitmap& bitmap, const SkMatrix& matrix, const SkPaint* paint) override; + virtual void drawBitmap(Bitmap& bitmap, float srcLeft, float srcTop, float srcRight, float srcBottom, float dstLeft, float dstTop, float dstRight, float dstBottom, const SkPaint* paint) override; virtual void drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight, |