Revert "st/dri2: Implement DRI2bufferDamageExtension"
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 1 Oct 2019 14:24:27 +0000 (16:24 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Mon, 7 Oct 2019 09:38:26 +0000 (11:38 +0200)
commit19546108d3dd5541a189e36df4ea83b3f519e48f
tree5d396690047c0178d91cc959b6d81122cf2a22c4
parent555c0de8c6f5b8be8c28ee92a816c7bb711afde5
Revert "st/dri2: Implement DRI2bufferDamageExtension"

This reverts commit 492ffbed63a2a62759224b1c7d45aa7923d8f542.

BACK_LEFT attachment can be outdated when the user calls
KHR_partial_update(), leading to a damage region update on the
wrong pipe_resource object.
Let's not expose the ->set_damage_region() method until the core is
fixed to handle that properly.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Acked-by: Daniel Stone <daniels@collabora.com>
src/gallium/drivers/panfrost/pan_screen.c
src/gallium/include/pipe/p_screen.h
src/gallium/state_trackers/dri/dri2.c