Release buffers early after GL comp
When client comped a layers buffers are never really acquired/released by HWC, since they are already composited by the time they are sent there. This means we don't need to wait on the release fence from the next frame in order to release the buffer. As soon as we receive a new buffer we can directly release with the previous GL comp fence. We accomplish this by plumbing the GL comp fence down to BufferStateLayer, and using it for early release from setBuffer when applicable. Bug: 200284594 Test: Existing tests pass Change-Id: Ib76a8a02efd85ef2925d4fb32c3f096c55d383e1
Loading
Please register or sign in to comment