diff options
author | Romain Guy <romainguy@google.com> | 2011-01-20 19:09:30 -0800 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2011-01-20 19:09:30 -0800 |
commit | 5a7b466a2b4b7ced739bd5c31e022de61650545a (patch) | |
tree | 1eef540913ce3a131019586f9187bc8e66f59caa /libs/hwui/DisplayListRenderer.h | |
parent | c8219299b0003793cee8049b96a3bf7530765eea (diff) | |
download | frameworks_base-5a7b466a2b4b7ced739bd5c31e022de61650545a.zip frameworks_base-5a7b466a2b4b7ced739bd5c31e022de61650545a.tar.gz frameworks_base-5a7b466a2b4b7ced739bd5c31e022de61650545a.tar.bz2 |
Add support for drawBitmapMesh().
Change-Id: Ic77f9c534bb90dc7b9458299544bd50b8b6ae6a5
Diffstat (limited to 'libs/hwui/DisplayListRenderer.h')
-rw-r--r-- | libs/hwui/DisplayListRenderer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/DisplayListRenderer.h b/libs/hwui/DisplayListRenderer.h index 4b727f6..7f9db8a 100644 --- a/libs/hwui/DisplayListRenderer.h +++ b/libs/hwui/DisplayListRenderer.h @@ -107,6 +107,7 @@ public: DrawBitmap, DrawBitmapMatrix, DrawBitmapRect, + DrawBitmapMesh, DrawPatch, DrawColor, DrawRect, @@ -267,6 +268,8 @@ public: void drawBitmap(SkBitmap* bitmap, float srcLeft, float srcTop, float srcRight, float srcBottom, float dstLeft, float dstTop, float dstRight, float dstBottom, SkPaint* paint); + void drawBitmapMesh(SkBitmap* bitmap, int meshWidth, int meshHeight, + float* vertices, int* colors, SkPaint* paint); void drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, float left, float top, float right, float bottom, SkPaint* paint); |