[Mesa-dev] [PATCH 16/25] gallium: introduce device/driver UUID queries
Marek Olšák
maraeo at gmail.com
Tue Jul 11 22:24:49 UTC 2017
On Fri, Jul 7, 2017 at 6:24 AM, Andres Rodriguez <andresx7 at gmail.com> wrote:
> Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
> ---
> src/gallium/drivers/ddebug/dd_screen.c | 17 +++++++++++++++++
> src/gallium/include/pipe/p_defines.h | 1 +
> src/gallium/include/pipe/p_screen.h | 13 +++++++++++++
> 3 files changed, 31 insertions(+)
>
> diff --git a/src/gallium/drivers/ddebug/dd_screen.c b/src/gallium/drivers/ddebug/dd_screen.c
> index fe9c841..955158f 100644
> --- a/src/gallium/drivers/ddebug/dd_screen.c
> +++ b/src/gallium/drivers/ddebug/dd_screen.c
> @@ -197,6 +197,21 @@ dd_screen_get_driver_query_group_info(struct pipe_screen *_screen,
> }
>
>
> +static void
> +dd_screen_get_driver_uuid(struct pipe_screen *_screen, char *uuid)
> +{
> + struct pipe_screen *screen = dd_screen(_screen)->screen;
> +
> + return screen->get_driver_uuid(screen, uuid);
return is unnecessary
> +}
> +
> +static void
> +dd_screen_get_device_uuid(struct pipe_screen *_screen, char *uuid)
> +{
> + struct pipe_screen *screen = dd_screen(_screen)->screen;
> +
> + return screen->get_device_uuid(screen, uuid);
return is unnecessary
Marek
More information about the mesa-dev
mailing list