summaryrefslogtreecommitdiff
path: root/libs/jpegrecoverymap/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Patrick Williams <pdwilliams@google.com> 2023-01-19 15:02:30 -0600
committer Patrick Williams <pdwilliams@google.com> 2023-01-23 09:39:12 -0600
commit75ce1ea078444100db9f9eef06a9ef35ad8a0446 (patch)
treee70f9648c7bf8cb2bc223bda1b026c94df45f8f9 /libs/jpegrecoverymap/jpegencoderhelper.cpp
parent24b785d3bbd2e811a1d466f87a68fae539bd2a2d (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. Bug: 264892858 Test: presubmits Test: GLSurfaceViewTest#testPauseResumeWithoutDelay on barbet Change-Id: I9a075054d11c819307cd837fcfbdc03d8faf5086
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions