Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(based on the implementation in TigerVNC 1.14 beta) - Synchronize pixels between DRI3 pixmaps and their corresponding GBM buffer objects on an as-needed basis, in response to specific X11 operations rather than on a schedule. - Implement the simpler DRI3 v1 interface rather than DRI3 v2. This avoids the need to implement the get_formats(), get_modifiers(), and get_drawable_modifiers() methods. - Use Pixman (which is SIMD-accelerated) to synchronize pixels. - Hook the DestroyPixmap() screen method to clean up a pixmap's corresponding GBM buffer object if there are no more references to the pixmap. - Hook the CloseScreen() screen method to clean up the GBM device and close the DRM render node. To do: - Synchronize only the pixels that have changed. Known issues: TigerVNC/tigervnc#1772
- Loading branch information