void
_mesa_get_driver_uuid(struct gl_context *ctx, GLint *uuid)
{
- st_get_driver_uuid(ctx, (char*) uuid);
+ struct pipe_screen *screen = ctx->pipe->screen;
+ assert(GL_UUID_SIZE_EXT >= PIPE_UUID_SIZE);
+ memset(uuid, 0, GL_UUID_SIZE_EXT);
+ screen->get_driver_uuid(screen, (char *)uuid);
}
void
_mesa_get_device_uuid(struct gl_context *ctx, GLint *uuid)
{
- st_get_device_uuid(ctx, (char*) uuid);
+ struct pipe_screen *screen = ctx->pipe->screen;
+ assert(GL_UUID_SIZE_EXT >= PIPE_UUID_SIZE);
+ memset(uuid, 0, GL_UUID_SIZE_EXT);
+ screen->get_device_uuid(screen, (char *)uuid);
}
/**
smapi->set_background_context(&st->iface, queue_info);
}
-
-void
-st_get_device_uuid(struct gl_context *ctx, char *uuid)
-{
- struct pipe_screen *screen = st_context(ctx)->screen;
-
- assert(GL_UUID_SIZE_EXT >= PIPE_UUID_SIZE);
- memset(uuid, 0, GL_UUID_SIZE_EXT);
- screen->get_device_uuid(screen, uuid);
-}
-
-
-void
-st_get_driver_uuid(struct gl_context *ctx, char *uuid)
-{
- struct pipe_screen *screen = st_context(ctx)->screen;
-
- assert(GL_UUID_SIZE_EXT >= PIPE_UUID_SIZE);
- memset(uuid, 0, GL_UUID_SIZE_EXT);
- screen->get_driver_uuid(screen, uuid);
-}
-
-
static void
st_pin_driver_to_l3_cache(struct gl_context *ctx, unsigned L3_cache)
{
void st_query_memory_info(struct gl_context *ctx, struct gl_memory_info *out);
void st_invalidate_state(struct gl_context *ctx);
-void st_get_driver_uuid(struct gl_context *ctx, char *uuid);
-void st_get_device_uuid(struct gl_context *ctx, char *uuid);
void st_set_background_context(struct gl_context *ctx,
struct util_queue_monitoring *queue_info);
#ifdef __cplusplus