diff options
| author | 2023-02-13 22:53:06 +0000 | |
|---|---|---|
| committer | 2023-02-13 22:55:39 +0000 | |
| commit | 6c6dd3b2ae7ae677f0448624cf8f6aeafdaffbf5 (patch) | |
| tree | e70f9648c7bf8cb2bc223bda1b026c94df45f8f9 /libs/jpegrecoverymap/jpegencoderhelper.cpp | |
| parent | 1088bbf9882d778079eaa7465c1dec2b08848f1a (diff) | |
Cache and uncache buffers in the same transaction
This removes a race condition where clients may attempt to cache a
buffer before an associated uncache buffer request has completed,
leading to full buffer cache errors in SurfaceFlinger.
GLSurfaceViewTest#testPauseResumeWithoutDelay is failing on barbet and
test logs show frequent `ClientCache::add - cache is full` messages.
This CL fixes the "cache is full" error but does not fix the broken
test.
This reverts commit 1088bbf9882d778079eaa7465c1dec2b08848f1a.
Reason for revert: b/269141832
Change-Id: I4ba8cf18a367ae6ca94992aabd695d8984fea76f
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions