diff options
author | Andres Rodriguez <[email protected]> | 2017-07-12 18:45:24 -0400 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-08-06 12:42:07 +1000 |
commit | b2aaa91e8db006adbd2ca672756b3fdb23c5b589 (patch) | |
tree | 58ecbc664e2fdd195680c3f44d27ffa24333e672 /src/mesa/main/dd.h | |
parent | 95cb7760493f92410faaf2214d5abe4b5fdaf308 (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.h | 15 |
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); + /*@}*/ /** |