summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2020-05-29 12:02:51 -0700
committer Rob Carr <racarr@google.com> 2020-06-01 18:44:05 +0000
commit7ec777d9452c236a546c5811ff31f5800ec7ef58 (patch)
tree713b79d8752bcab8b450bc347e55a727bda154be /opengl/libagl/TextureObjectManager.cpp
parent983e568b3c370659f11fcf76cbd45c61dfd8dc33 (diff)
DO NOT MERGE: SurfaceFlinger: Don't wake for pending transactions.
When we still have pending transactions (e.g. we are waiting on the other side of a deferred transaction), we need to set the transaction flags on SurfaceFlinger, so SurfaceFlinger will continue to call doTransaction and give us a chance to process them. However when we set the transaction flags, we trigger a wake up! This isn't desirable, as the frame might have not come in. If the frame did come in we will get to INVALIDATE, and from INVALIDATE observe the transaction flags. This means we can set the transaction flags without scheduling a wakeup and rely on the incoming frame to eventually wake us up. I also considered triggering the transaction processing from onFrameAvailable but at that point we are too late in the composition cycle. Bug: 157685525 Test: Existing tests pass Change-Id: Ia54bc9f48a80906fc8f21c46debc72fabadd3e07
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions