[Mesa-dev] [PATCH 0/3] Rectify KHR_partial_update extension implementation

Qiang Yu yuq825 at gmail.com
Thu Jul 5 07:48:14 UTC 2018


Series is:
Reviewed-by: Qiang Yu <yuq825 at gmail.com>

Regards,
Qiang
On Wed, Jul 4, 2018 at 8:58 PM Harish Krupo <harish.krupo.kps at intel.com> wrote:
>
> Based on the discussion in the thread starting at:
> https://lists.freedesktop.org/archives/mesa-dev/2018-June/198846.html
> it was identified that the implementation of the KHR_partial_update
> was incorrect and in that the damages were sent to the egl backends
> instead of the driver. This patch series removes that implementation
> and adds an interface for drivers to implement so that the damage can
> be reported to the drivers and the rendering can be restricted to those
> damage rectangles.
>
> Harish Krupo (3):
>   egl/android: Delete set_damage_region from egl dri vtbl
>   dri_interface: add an interface for setting damage region
>   egl/dri: Use __DRI2_DAMAGE extension for KHR_partial_update
>
>  include/GL/internal/dri_interface.h         | 25 +++++++++++
>  src/egl/drivers/dri2/egl_dri2.c             | 46 +++++++++++++++++++--
>  src/egl/drivers/dri2/egl_dri2.h             |  5 +--
>  src/egl/drivers/dri2/egl_dri2_fallbacks.h   |  9 ----
>  src/egl/drivers/dri2/platform_android.c     | 45 --------------------
>  src/egl/drivers/dri2/platform_drm.c         |  1 -
>  src/egl/drivers/dri2/platform_surfaceless.c |  1 -
>  src/egl/drivers/dri2/platform_wayland.c     |  1 -
>  src/egl/drivers/dri2/platform_x11.c         |  2 -
>  src/egl/drivers/dri2/platform_x11_dri3.c    |  1 -
>  10 files changed, 68 insertions(+), 68 deletions(-)
>
> --
> 2.18.0
>


More information about the mesa-dev mailing list