summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorAndres Rodriguez <[email protected]>2017-07-12 18:45:24 -0400
committerTimothy Arceri <[email protected]>2017-08-06 12:42:07 +1000
commitb2aaa91e8db006adbd2ca672756b3fdb23c5b589 (patch)
tree58ecbc664e2fdd195680c3f44d27ffa24333e672 /src/mesa/main/dd.h
parent95cb7760493f92410faaf2214d5abe4b5fdaf308 (diff)
mesa: hook up UUID queries for driver and device
v2: respective changes for new gallium interface v3: fix UUID size asserts Signed-off-by: Andres Rodriguez <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index a1c9e8e793d..7b2fe8b519c 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -1109,6 +1109,21 @@ struct dd_function_table {
GLenum usage,
struct gl_buffer_object *bufObj);
+ /**
+ * Fill uuid with an unique identifier for this driver
+ *
+ * uuid must point to GL_UUID_SIZE_EXT bytes of available memory
+ */
+ void (*GetDriverUuid)(struct gl_context *ctx, char *uuid);
+
+ /**
+ * Fill uuid with an unique identifier for the device associated
+ * to this driver
+ *
+ * uuid must point to GL_UUID_SIZE_EXT bytes of available memory
+ */
+ void (*GetDeviceUuid)(struct gl_context *ctx, char *uuid);
+
/*@}*/
/**