monado/doc/changes/compositor/mr.2317.md
Rylie Pavlik 338d85543b c/util: Extract comp_layer_accum, formerly comp_layer_slot, and reduce coupling.
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>
2024-09-06 19:22:21 +00:00

277 B

  • Add: New comp_layer_accum helper, factored out from comp_base, that collects layers and swapchains for a frame.
  • Change: Modify comp_base to use comp_layer_accum helper, instead of inlining that code. Users of comp_base will need to update their code accordingly.