commit | c62acbd12711ee6cff1ef94c146316dfe5169045 | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Tue Apr 21 16:42:49 2015 -0700 |
committer | Dan Stoza <stoza@google.com> | Tue Apr 21 16:56:52 2015 -0700 |
tree | 5209ecbf7d22fe30e209eccec8631e98dfebea6f | |
parent | ff5c1a6b677d8d25630ffc3d1a868eb98a38ceab [diff] |
libgui: Fix CPU rendering on Surface When the surface damage code went in, it incorrectly assumed that if an application was doing CPU rendering, it would be using lock and unlockAndPost instead of dequeue and queue, so it repurposed the dirty region too aggressively. This change keeps it from clobbering the dirty region if a CPU producer is attached. Bug: 20431815 Change-Id: Id4dfd71378311ea822f0289f6de2d20a7bd84014