summaryrefslogtreecommitdiff
path: root/libs/jpegrecoverymap/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2023-01-20 10:00:18 -0800
committer Chavi Weingarten <chaviw@google.com> 2023-02-07 18:53:25 +0000
commit1e01c41a57170396c5029d55bf354c1954dee8bd (patch)
tree306750db6313a3b28e3c774b1074121c832b03f9 /libs/jpegrecoverymap/jpegencoderhelper.cpp
parent47b10431f9a86df285939ae4e3607fc561f1a005 (diff)
BBQ: Check if we have already acquired max num of buffers
When the IGBP is disconnected, the BQ state is reset but the BBQ state is not. Without the max acquire check in BBQ, we will continue to acquire buffers. This may cause issues in some stress tests which continuously disconnect and reconnect while queuing buffers. The buffers will only be released once they are released by SF. This can cause some systems to run out of memory. Ideal fix would be to track and free the buffers once the BQ is disconnected but that will be more risky for QPR. Test: atest GLSurfaceViewTest#testPauseResumeWithoutDelay Bug: 263340543 Change-Id: I77b34f6151a9d1b461649c575be98df1f00f2464 Merged-In: I77b34f6151a9d1b461649c575be98df1f00f2464
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions