egl/dri: Use __DRI2_BUFFER_DAMAGE extension for KHR_partial_update
authorHarish Krupo <harishkrupo@gmail.com>
Mon, 12 Aug 2019 10:07:06 +0000 (12:07 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 13 Aug 2019 12:40:31 +0000 (14:40 +0200)
commita4a8ebe156bcb690afecdaa44efd6dcf8f0c1de2
tree508be70057bc054aa9563822b7b71c6afc7e4918
parentbd08a83b09bf708fe727decb84bd5f5fddc2fab3
egl/dri: Use __DRI2_BUFFER_DAMAGE extension for KHR_partial_update

Use the DRI2 interface callback to pass the damage rects to
the driver.

Signed-off-by: Harish Krupo <harishkrupo@gmail.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>
src/egl/drivers/dri2/egl_dri2.c
src/egl/drivers/dri2/egl_dri2.h