diff options
| author | 2024-03-06 18:18:28 -0500 | |
|---|---|---|
| committer | 2024-03-08 14:29:30 -0500 | |
| commit | f52ad20144219b5ef808d195545c60268317ba80 (patch) | |
| tree | d6e81748e04e46acfca858f72b51b2e864f02bd2 /libs/ultrahdr/jpegencoderhelper.cpp | |
| parent | 7eb8cb825ed4435ff527cc606a09f4c9e466caf0 (diff) | |
Refactor SkiaVkRenderEngine's VulkanInterface and DestroySemaphoreInfo
... to be shareable (and more defensive).
VulkanInterface is mostly unmodified, other than being converted from a
struct to a class. Part of that entails adding getters for a few fields.
DestroySemaphoreInfo now handles its own destruction, and supports
owning N VkSemaphores (required for Graphite). It also now stores which
VulkanInterface it needs to be destroyed with, so that the callback path
no longer needs to reference a static VulkanInterface (one tiny step
towards b/300533018.)
Also incidentally fixed a bug where realtime priority status may have
been left uninitialized.
Bug: b/293371537
Test: manual testing + existing tests transitively exercise these classes
Change-Id: I3a7782d76c72b9ad61f3a1d6968c352a86a2af9f
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions