diff options
| author | 2022-10-19 11:35:16 +1300 | |
|---|---|---|
| committer | 2022-12-09 08:10:07 +1300 | |
| commit | 4cd01fb2eb68d4e6652e027fefd67f76c9d3697c (patch) | |
| tree | 0757613d79a94a7e4773f101739bd7ab4c4ba3c0 /libs/jpegrecoverymap/jpegencoderhelper.cpp | |
| parent | 9a319744a9c8c5043a0f9f235d41addd85a5cca3 (diff) | |
Break QueuePresentKHR into more manageable pieces
Instead of QueuePresentKHR doing everything, let's decompose to:
QueuePresentKHR
-> PresentOneSwapchain (considers just one swapchain in the list)
-> SetSwapchainSurfaceDamage (does KHR_incremental_present)
-> SetSwapchainFrameTimestamp (does GOOGLE_display_timing)
As part of the decomposition, stop trying to be so clever about reusing
allocations for KHR_incremental_present; it's not worth threading it
through the list of swapchains. Also just use a vector; it's not worth
using the app-provided allocator from the device scope.
Note some issues with the multi-swapchain case in general. We should
also refine the fd handling to be leak-free by construction; handling
raw fds is asking for trouble.
Bug: b/255376900
Change-Id: Iaa66b7b1bfd2be2a1fda578fcb8141607be1e360
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions