mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
338d85543b
The "secret" the implementation is hiding is how calls and layers turn into a single structure. Not a great secret but functionality that is needed. c/util: Use comp_layer_accum in comp_base and derived implmentations. c/util: zero the other swapchains. c/util: Inline two functions. Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2317>
277 B
277 B
- Add: New
comp_layer_accum
helper, factored out fromcomp_base
, that collects layers and swapchains for a frame. - Change: Modify
comp_base
to usecomp_layer_accum
helper, instead of inlining that code. Users ofcomp_base
will need to update their code accordingly.