diff options
author | Marek Olšák <marek.olsak@amd.com> | 2016-03-03 18:43:53 +0100 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2016-04-20 12:18:47 +0200 |
commit | 37d3a26bd620703f63673101f4093d13fb97ddef (patch) | |
tree | 6f7dd03d13b7c6153a963abd47640e9b41aa3de7 /src/glx/dri3_priv.h | |
parent | b6eda708431b91a3b568da0efac845c08cb36796 (diff) |
glx: implement GLX part of interop interface (v2)
v2: - use const
Diffstat (limited to 'src/glx/dri3_priv.h')
-rw-r--r-- | src/glx/dri3_priv.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/glx/dri3_priv.h b/src/glx/dri3_priv.h index 56a63309f3..d4ecdf7a58 100644 --- a/src/glx/dri3_priv.h +++ b/src/glx/dri3_priv.h @@ -96,6 +96,7 @@ struct dri3_screen { const __DRI2configQueryExtension *config; const __DRItexBufferExtension *texBuffer; const __DRI2rendererQueryExtension *rendererQuery; + const __DRI2interopExtension *interop; const __DRIconfig **driver_configs; void *driver; @@ -131,3 +132,12 @@ dri3_query_renderer_integer(struct glx_screen *base, int attribute, _X_HIDDEN int dri3_query_renderer_string(struct glx_screen *base, int attribute, const char **value); + +_X_HIDDEN int +dri3_interop_query_device_info(struct glx_context *ctx, + mesa_glinterop_device_info *out); + +_X_HIDDEN int +dri3_interop_export_object(struct glx_context *ctx, + const mesa_glinterop_export_in *in, + mesa_glinterop_export_out *out); |