Skip to content

WIP: virgl: skip flushing empty command chains

After each flush the command chain is set up again to contain the SET_SUB_CTX command, and currently, this command is always send whenever the buffers are flusahed and a fence is set or the transfer buffers are not empty.

Skip sending the command buffer when it doesn't contain any additional commands to avoid useless VM exists.

Fixes virglrenderer bug: virgl/virglrenderer#107

Edited by Gert Wollny

Merge request reports