summaryrefslogtreecommitdiffstats
path: root/libs/hwui
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2014-09-02 15:44:14 -0700
committerJohn Reck <jreck@google.com>2014-09-02 15:44:14 -0700
commit1661715d4066a557ab0877271d62762579a38fa9 (patch)
tree0816f13be7a5286b6d34ad8068edaf2f486f4420 /libs/hwui
parent56d3cb3013f06e3fd3f99a63d071dc0a72c92af9 (diff)
downloadframeworks_base-1661715d4066a557ab0877271d62762579a38fa9.zip
frameworks_base-1661715d4066a557ab0877271d62762579a38fa9.tar.gz
frameworks_base-1661715d4066a557ab0877271d62762579a38fa9.tar.bz2
Implement TODO
Change-Id: I551ad0dab6356baa4c7787718b54d5b7337a3f26
Diffstat (limited to 'libs/hwui')
-rw-r--r--libs/hwui/renderthread/CanvasContext.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/hwui/renderthread/CanvasContext.cpp b/libs/hwui/renderthread/CanvasContext.cpp
index 491a295..0a17e13 100644
--- a/libs/hwui/renderthread/CanvasContext.cpp
+++ b/libs/hwui/renderthread/CanvasContext.cpp
@@ -110,8 +110,7 @@ void CanvasContext::updateSurface(ANativeWindow* window) {
}
void CanvasContext::pauseSurface(ANativeWindow* window) {
- // TODO: For now we just need a fence, in the future suspend any animations
- // and such to prevent from trying to render into this surface
+ stopDrawing();
}
void CanvasContext::setup(int width, int height, const Vector3& lightCenter, float lightRadius,