WIP: EGL_KHR_partial_update support
Compare changes
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
The migration is almost done, at least the rest should happen in the background. There are still a few technical difference between the old cluster and the new ones, and they are summarized in this issue. Please pay attention to the TL:DR at the end of the comment.
This is a resurrection of Harish's EGL_KHR_partial_update series, with substantial interface rewrites and support for Gallium.
It removes the old DRI extension interface, which was only used to implement something similar to eglSwapBuffersWithDamage
, and replaces it with a new interface which tags a partial-update region on to the drawable. The old series targeted a DRI context rather than a drawable, which made tracking more difficult: the partial-update region only applies to the winsys buffer, not to any user-supplied FBOs. It is also additional to the scissor region, rather than replacing it.
The series is marked WIP for several reasons:
pipe_resource
as that seemed to be the most natural correlation to the DRIdrawable
the region logically belongs toI have also written Weston support for EGL_KHR_partial_update, though the same caveats apply, i.e. completely untested.
Any feedback and suggestions on how to do it better are more than welcome.