Skip to content

Flush if necessary when sharing pixmap storage via DRI

The first two commits fix an issue with DRI3/2 where it was possible for the compositing manager to start using pixmap storage for direct rendering before the glamor drawing was flushed to the kernel, which could result in garbage instead of the expected pixmap contents.

The third commit is a minor optimization, eliminating a GPU copy when sharing storage of pixmaps backing windows via DRI.

Edited by Michel Dänzer

Merge request reports