diff options
author | John Reck <jreck@google.com> | 2014-05-01 21:27:37 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2014-05-02 13:43:46 -0700 |
commit | 52244fff29042926e21fa897ef5ab11148e35299 (patch) | |
tree | 2cc7b2f6dd47fe7863c6bc2b6a806e275c149ba9 /libs/hwui/renderthread/DrawFrameTask.cpp | |
parent | abc975f539b4ea06c05b11ec56b0abe7c6fd95aa (diff) |
Add CanvasProperty for drawCircle
Change-Id: Icbcc030f5033d2094e567d7c519b9d672f2aac1c
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
-rw-r--r-- | libs/hwui/renderthread/DrawFrameTask.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/DrawFrameTask.cpp b/libs/hwui/renderthread/DrawFrameTask.cpp index ff4be715808c..45f5cb057ee4 100644 --- a/libs/hwui/renderthread/DrawFrameTask.cpp +++ b/libs/hwui/renderthread/DrawFrameTask.cpp @@ -112,6 +112,10 @@ bool DrawFrameTask::syncFrameState() { initTreeInfo(info); mContext->processLayerUpdates(&mLayers, info); mContext->prepareTree(info); + if (info.hasAnimations) { + // TODO: dirty calculations, for now just do a full-screen inval + mDirty.setEmpty(); + } // If prepareTextures is false, we ran out of texture cache space return !info.hasFunctors && info.prepareTextures; } |