hwcomposer: Synchronization fixes#48
Conversation
|
This almost works. But sometimes it breaks when switching from full-ui mode to single-app mode |
|
Well, that is caused by contents->retireFenceFd, not the layers one. |
* A buffer may be reused * The buffer cache may be invalidated before one of its buffers is released
|
So, I believe this logic is correct. However it relies on the assumption that the compositor will always reliably send a So I believe I'm just going to keep this here to be revisited, and for now disable the per-layer synchronization. |
|
Alternatively, since the buffer cache is very rarely used as most frames post-boot have the |
No description provided.