From 29d26f1522d7f7be8f7d7791e37c3fcd8ac4544a Mon Sep 17 00:00:00 2001 From: Christian König Date: Tue, 12 Jan 2016 15:19:54 +0100 Subject: gallium/winsys/drm: add offset to struct winsys_handle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We are going to need this for EGL_EXT_image_dma_buf_import. Signed-off-by: Christian König Reviewed-by: Marek Olšák --- src/gallium/include/state_tracker/drm_driver.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium/include') diff --git a/src/gallium/include/state_tracker/drm_driver.h b/src/gallium/include/state_tracker/drm_driver.h index 959a7625e30..d81da8911e0 100644 --- a/src/gallium/include/state_tracker/drm_driver.h +++ b/src/gallium/include/state_tracker/drm_driver.h @@ -35,6 +35,11 @@ struct winsys_handle * Output for texture_get_handle. */ unsigned stride; + /** + * Input to texture_from_handle. + * Output for texture_get_handle. + */ + unsigned offset; }; -- cgit v1.2.3