diff options
| author | 2014-02-19 16:47:32 +0000 | |
|---|---|---|
| committer | 2014-02-20 16:20:33 -0500 | |
| commit | 674554fc36932ca50b15bba41ac6f650254d4e72 (patch) | |
| tree | ec0fc936ce4fdbd15d8bf6e15348676194855b8a /libs/hwui/DeferredLayerUpdater.h | |
| parent | 96f0369b25811319398a268071eb147fe14a09e3 (diff) | |
Reapply "Refactor setting an SkPaint onto a hwui Layer."
This reverts commit 90d0c75e94a32fb7d993fae69762820aabc2fcbb.
Change-Id: Ie807761231edf7c848b019931dccbf466208c0be
Diffstat (limited to 'libs/hwui/DeferredLayerUpdater.h')
| -rw-r--r-- | libs/hwui/DeferredLayerUpdater.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libs/hwui/DeferredLayerUpdater.h b/libs/hwui/DeferredLayerUpdater.h index 624db2ce67be..65f225c7872a 100644 --- a/libs/hwui/DeferredLayerUpdater.h +++ b/libs/hwui/DeferredLayerUpdater.h @@ -75,11 +75,7 @@ public: ANDROID_API void setDisplayList(DisplayList* displayList, int left, int top, int right, int bottom); - ANDROID_API void setPaint(const SkPaint* paint) { - OpenGLRenderer::getAlphaAndModeDirect(paint, &mAlpha, &mMode); - } - - ANDROID_API void setColorFilter(SkColorFilter* colorFilter); + ANDROID_API void setPaint(const SkPaint* paint); ANDROID_API bool apply(); |