summaryrefslogtreecommitdiffstats
path: root/libs/hwui/DisplayListRenderer.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-01-19 21:54:02 -0800
committerRomain Guy <romainguy@google.com>2011-01-19 21:55:10 -0800
commit01d58e43ede5ca98cbebdd166f9b0c545032c01b (patch)
tree6d9976c551fd6ec9f104e5a849c0ad743946af6c /libs/hwui/DisplayListRenderer.h
parent9335f5b2fde244614184f45d29cc574d1ba8cbba (diff)
downloadframeworks_base-01d58e43ede5ca98cbebdd166f9b0c545032c01b.zip
frameworks_base-01d58e43ede5ca98cbebdd166f9b0c545032c01b.tar.gz
frameworks_base-01d58e43ede5ca98cbebdd166f9b0c545032c01b.tar.bz2
Add rounded rects and circles support to OpenGLRenderer.
Change-Id: I6cedf2b495d58de7c0437096809fa9e4518a1b8c
Diffstat (limited to 'libs/hwui/DisplayListRenderer.h')
-rw-r--r--libs/hwui/DisplayListRenderer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/hwui/DisplayListRenderer.h b/libs/hwui/DisplayListRenderer.h
index 05864ec..4b727f6 100644
--- a/libs/hwui/DisplayListRenderer.h
+++ b/libs/hwui/DisplayListRenderer.h
@@ -110,6 +110,8 @@ public:
DrawPatch,
DrawColor,
DrawRect,
+ DrawRoundRect,
+ DrawCircle,
DrawPath,
DrawLines,
DrawText,
@@ -270,6 +272,9 @@ public:
float left, float top, float right, float bottom, SkPaint* paint);
void drawColor(int color, SkXfermode::Mode mode);
void drawRect(float left, float top, float right, float bottom, SkPaint* paint);
+ void drawRoundRect(float left, float top, float right, float bottom,
+ float rx, float ry, SkPaint* paint);
+ void drawCircle(float x, float y, float radius, SkPaint* paint);
void drawPath(SkPath* path, SkPaint* paint);
void drawLines(float* points, int count, SkPaint* paint);
void drawText(const char* text, int bytesCount, int count, float x, float y, SkPaint* paint);