diff options
author | John Reck <jreck@google.com> | 2014-05-07 21:24:25 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-05-07 21:24:25 +0000 |
commit | b6d9211d31d29221501a8f2a33e6ba0fe18d6ef5 (patch) | |
tree | 1d432b5eded84cc9bfdb185979ef6ebb7b68bedd /libs/hwui/renderthread/CanvasContext.cpp | |
parent | 841057ffc0283f7e5d5fd750ee1519ee313ed869 (diff) | |
parent | 63a06673253914510bbeebd500655008682dade1 (diff) | |
download | frameworks_base-b6d9211d31d29221501a8f2a33e6ba0fe18d6ef5.zip frameworks_base-b6d9211d31d29221501a8f2a33e6ba0fe18d6ef5.tar.gz frameworks_base-b6d9211d31d29221501a8f2a33e6ba0fe18d6ef5.tar.bz2 |
Merge "Implement TODO(romainguy)"
Diffstat (limited to 'libs/hwui/renderthread/CanvasContext.cpp')
-rw-r--r-- | libs/hwui/renderthread/CanvasContext.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/CanvasContext.cpp b/libs/hwui/renderthread/CanvasContext.cpp index 97baba8..f0d190d 100644 --- a/libs/hwui/renderthread/CanvasContext.cpp +++ b/libs/hwui/renderthread/CanvasContext.cpp @@ -387,6 +387,10 @@ void CanvasContext::setup(int width, int height) { mCanvas->setViewport(width, height); } +void CanvasContext::setOpaque(bool opaque) { + mOpaque = opaque; +} + void CanvasContext::makeCurrent() { // TODO: Figure out why this workaround is needed, see b/13913604 // In the meantime this matches the behavior of GLRenderer, so it is not a regression |