Skip to content

Draft: lima: Do not create new out-fence if there are no jobs submitted

Creating/destroying fence takes some CPU time which can be avoided. Flamegraph shows that about 1.22% of total frame draw CPU time can be saved (8% of eglSwapBuffersWithDamage CPU time).

ADD: After this change CPU time in second dri_flush is 0.36%

inferno

Edited by Roman Stratiienko

Merge request reports