[Mesa-dev] [PATCH v7 0/5] EGL_KHR_partial_update support

Boris Brezillon boris.brezillon at collabora.com
Tue Aug 13 12:42:49 UTC 2019


On Mon, 12 Aug 2019 12:07:03 +0200
Boris Brezillon <boris.brezillon at collabora.com> wrote:

> This is an attempt at resurrecting Daniel's MR [1] which was already
> resurrecting Harish's EGL_KHR_partial_update series [2]. This version
> implements Marek's suggestion to pass the set_damage_region() directly
> to the gallium driver and let it decide how to handle the request. Some
> drivers might just calculate the damage extent (as done in Daniel's
> initial proposal and in the panfrost implementation), others might do
> extra optimizations like trying to reduce the area we're supposed to
> reload (only valid for tile-based rendering) even further.
> 
> This patch series has been tested with weston on panfrost. Note that
> the panfrost implementation is rather simple (just limits the rendering
> area to the damage extent and picks the biggest damage rect as the only
> damage region) but we can improve it if we feel the need.
> 
> No major changes in this v7, just added the missing FREE(boxes) call
> in dri2_set_damage_region() and fixed an alignment issue in the
> panfrost driver.
> 
> Regards,
> 
> Boris
> 
> [1]https://gitlab.freedesktop.org/mesa/mesa/merge_requests/227
> [2]https://patchwork.freedesktop.org/series/45915/#rev2
> 
> *** BLURB HERE ***
> 
> Boris Brezillon (1):
>   panfrost: Add support for KHR_partial_update()
> 
> Daniel Stone (2):
>   dri_interface: add DRI2_BufferDamage interface
>   st/dri2: Implement DRI2bufferDamageExtension
> 
> Harish Krupo (2):
>   egl/android: Delete set_damage_region from egl dri vtbl
>   egl/dri: Use __DRI2_BUFFER_DAMAGE extension for KHR_partial_update

Patch series queued to master.

Thanks for your reviews.

Boris


More information about the mesa-dev mailing list