From 9daaa6f5a66ab6cc99c6f0af37fc1007ab3d09af Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 21 Aug 2016 12:24:59 +0200 Subject: gallium: add a pipe_context parameter to resource_get_handle radeonsi needs to do some operations (DCC decompression) for OpenGL-OpenCL interop and this is the only way to make it coherent with the current context. It can optionally be set to NULL. Reviewed-by: Brian Paul --- src/gallium/drivers/r300/r300_texture.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/r300/r300_texture.h') diff --git a/src/gallium/drivers/r300/r300_texture.h b/src/gallium/drivers/r300/r300_texture.h index 4c339429eca..33416710e43 100644 --- a/src/gallium/drivers/r300/r300_texture.h +++ b/src/gallium/drivers/r300/r300_texture.h @@ -62,6 +62,7 @@ void r300_texture_setup_format_state(struct r300_screen *screen, struct r300_texture_format_state *out); boolean r300_resource_get_handle(struct pipe_screen* screen, + struct pipe_context *ctx, struct pipe_resource *texture, struct winsys_handle *whandle, unsigned usage); -- cgit v1.2.3