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

Harish Krupo harish.krupo.kps at intel.com
Wed Jul 4 12:52:57 UTC 2018


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