commit | 0d0fba4587df36846baa80463490befdcef38e98 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Tue Oct 18 17:36:28 2011 -0700 |
committer | Mathias Agopian <mathias@google.com> | Tue Oct 18 17:39:09 2011 -0700 |
tree | 8f68cf2a3ea1fc88cfaca4eb4119b7a30dd50b47 | |
parent | 9044ef05d542a4f99b4be7ecefbe5e676bd3ea7f [diff] |
Don't call hwc set() if there is nothing new to do there was situations where SF's main loop would run (as if there was an invalidate), but the dirty region was empty (so no new buffers were retired). In this case we return early and don't swap, which would cause drawing artifacts. Bug: 5476838 Change-Id: Id3b7bf4b7aabec7919c50d9278eb2165973a4c3d