diff options
| author | Romain Guy <romainguy@google.com> | 2011-03-18 16:50:13 -0700 |
|---|---|---|
| committer | Romain Guy <romainguy@google.com> | 2011-03-18 16:50:13 -0700 |
| commit | a168d7372132d6c87835878794b6ed43d0d282fd (patch) | |
| tree | 08649fab2d90c649d9d518ca672ec453d5e742e9 /libs/hwui/OpenGLRenderer.h | |
| parent | b29cfbf768eab959b31410aafc0a99e20249e9d7 (diff) | |
| download | frameworks_base-a168d7372132d6c87835878794b6ed43d0d282fd.zip frameworks_base-a168d7372132d6c87835878794b6ed43d0d282fd.tar.gz frameworks_base-a168d7372132d6c87835878794b6ed43d0d282fd.tar.bz2 | |
Correctly apply filters to Alpha8 bitmaps.
This change also removes unnecessary operations from display lists.
Change-Id: I627f85861982731f0ee7705b48b36d9c56f22f39
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
| -rw-r--r-- | libs/hwui/OpenGLRenderer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h index 7362473..402563c 100644 --- a/libs/hwui/OpenGLRenderer.h +++ b/libs/hwui/OpenGLRenderer.h @@ -279,6 +279,8 @@ private: void drawShape(float left, float top, const PathTexture* texture, SkPaint* paint); void drawRectAsShape(float left, float top, float right, float bottom, SkPaint* p); + void drawAlphaBitmap(Texture* texture, float left, float top, SkPaint* paint); + /** * Draws a textured rectangle with the specified texture. The specified coordinates * are transformed by the current snapshot's transform matrix. |
