dri_interface: add DRI2_BufferDamage interface
authorDaniel Stone <daniels@collabora.com>
Mon, 12 Aug 2019 10:07:05 +0000 (12:07 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 13 Aug 2019 12:40:14 +0000 (14:40 +0200)
commitbd08a83b09bf708fe727decb84bd5f5fddc2fab3
tree19562c48c3b620d1106aa9e17f3af798b49a59b4
parentb4345da8762e18af16c52465d636021115c041cf
dri_interface: add DRI2_BufferDamage interface

Add a new DRI2_BufferDamage interface to support the
EGL_KHR_partial_update extension, informing the driver of an overriding
scissor region for a particular drawable.

Based on a commit originally authored by:
Harish Krupo <harish.krupo.kps@intel.com>
renamed extension, retargeted at DRI drawable instead of context,
rewritten description

Signed-off-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Tested-by: Qiang Yu <yuq825@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
include/GL/internal/dri_interface.h