summaryrefslogtreecommitdiffstats
path: root/libs/hwui/DisplayListRenderer.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-01-20 19:09:30 -0800
committerRomain Guy <romainguy@google.com>2011-01-20 19:09:30 -0800
commit5a7b466a2b4b7ced739bd5c31e022de61650545a (patch)
tree1eef540913ce3a131019586f9187bc8e66f59caa /libs/hwui/DisplayListRenderer.h
parentc8219299b0003793cee8049b96a3bf7530765eea (diff)
downloadframeworks_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.h3
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);