diff options
| author | Chet Haase <chet@google.com> | 2010-10-08 08:37:55 -0700 |
|---|---|---|
| committer | Chet Haase <chet@google.com> | 2010-10-21 12:02:42 -0700 |
| commit | 5c13d89c1332fcc499379b9064b891187b75ca32 (patch) | |
| tree | 439222e6d58a765a84133345ac6ef7cb13f1c04e /libs/hwui/OpenGLDebugRenderer.h | |
| parent | a376d030a2075909219926d622b71016418d7dcd (diff) | |
| download | frameworks_base-5c13d89c1332fcc499379b9064b891187b75ca32.zip frameworks_base-5c13d89c1332fcc499379b9064b891187b75ca32.tar.gz frameworks_base-5c13d89c1332fcc499379b9064b891187b75ca32.tar.bz2 | |
Optimizing display lists by referencing pointers to resources instead of copying them
Change-Id: I81ad3551d74aa1e5bb64d69e33d2eb29a6c1eb6a
Diffstat (limited to 'libs/hwui/OpenGLDebugRenderer.h')
| -rw-r--r-- | libs/hwui/OpenGLDebugRenderer.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/hwui/OpenGLDebugRenderer.h b/libs/hwui/OpenGLDebugRenderer.h index 4997ef3..ce6a4aa 100644 --- a/libs/hwui/OpenGLDebugRenderer.h +++ b/libs/hwui/OpenGLDebugRenderer.h @@ -38,20 +38,20 @@ public: void finish(); int saveLayer(float left, float top, float right, float bottom, - const SkPaint* p, int flags); + SkPaint* p, int flags); - void drawBitmap(SkBitmap* bitmap, float left, float top, const SkPaint* paint); - void drawBitmap(SkBitmap* bitmap, const SkMatrix* matrix, const SkPaint* paint); + void drawBitmap(SkBitmap* bitmap, float left, float top, SkPaint* paint); + void drawBitmap(SkBitmap* bitmap, SkMatrix* matrix, SkPaint* paint); void drawBitmap(SkBitmap* bitmap, float srcLeft, float srcTop, float srcRight, float srcBottom, float dstLeft, float dstTop, - float dstRight, float dstBottom, const SkPaint* paint); + float dstRight, float dstBottom, 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, const SkPaint* paint); + 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, const SkPaint* paint); + void drawRect(float left, float top, float right, float bottom, SkPaint* paint); void drawPath(SkPath* path, SkPaint* paint); - void drawLines(float* points, int count, const 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); |
