Skip to content

wsi: query syncobj materialized status for all images at once

Julian Orth requested to merge mahkoh/mesa:jorth/optimize-syncobj-query into main

What does this MR do and why?

This changes the behavior as follows:

  • Previously the code would query the materialized status for every unsignaled release point individually.
  • Now it only queries this status if all release points are unsignaled.

When it queries the materialized status, it does so for all images at once.

For 4 images, at high FPS, this reduces the runtime of this function from 3.4us to 2.4us on my system.

Signed-off-by: Julian Orth ju.orth@gmail.com


cc @daenzer @frog

See also !29199 (merged)

It might also be useful to cache the output of this function so that we only have to query once every image has been used in low-fps situtaions.

Merge request reports