aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2019-10-01 16:24:27 +0200
committerBoris Brezillon <[email protected]>2019-10-07 11:38:26 +0200
commit19546108d3dd5541a189e36df4ea83b3f519e48f (patch)
tree5d396690047c0178d91cc959b6d81122cf2a22c4 /src/gallium/include
parent555c0de8c6f5b8be8c28ee92a816c7bb711afde5 (diff)
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: [email protected] Signed-off-by: Boris Brezillon <[email protected]> Acked-by: Daniel Stone <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_screen.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h
index 9a1fc37280e..a275a7c7900 100644
--- a/src/gallium/include/pipe/p_screen.h
+++ b/src/gallium/include/pipe/p_screen.h
@@ -483,23 +483,6 @@ struct pipe_screen {
bool (*is_parallel_shader_compilation_finished)(struct pipe_screen *screen,
void *shader,
unsigned shader_type);
-
- /**
- * Set the damage region (called when KHR_partial_update() is invoked).
- * This function is passed an array of rectangles encoding the damage area.
- * rects are using the bottom-left origin convention.
- * nrects = 0 means 'reset the damage region'. What 'reset' implies is HW
- * specific. For tile-based renderers, the damage extent is typically set
- * to cover the whole resource with no damage rect (or a 0-size damage
- * rect). This way, the existing resource content is reloaded into the
- * local tile buffer for every tile thus making partial tile update
- * possible. For HW operating in immediate mode, this reset operation is
- * likely to be a NOOP.
- */
- void (*set_damage_region)(struct pipe_screen *screen,
- struct pipe_resource *resource,
- unsigned int nrects,
- const struct pipe_box *rects);
};