Mesa (main): gallium/noop: use threaded_query
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Aug 9 13:14:25 UTC 2021
Module: Mesa
Branch: main
Commit: 5133524a62a49f659f082c4bff208fa43d12d328
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5133524a62a49f659f082c4bff208fa43d12d328
Author: Marek Olšák <marek.olsak at amd.com>
Date: Fri Aug 6 16:02:34 2021 -0400
gallium/noop: use threaded_query
to enable threaded_context later
Acked-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12255>
---
src/gallium/auxiliary/driver_noop/noop_pipe.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/auxiliary/driver_noop/noop_pipe.c b/src/gallium/auxiliary/driver_noop/noop_pipe.c
index 29a52d33002..0beb0c13dc1 100644
--- a/src/gallium/auxiliary/driver_noop/noop_pipe.c
+++ b/src/gallium/auxiliary/driver_noop/noop_pipe.c
@@ -30,6 +30,7 @@
#include "util/u_inlines.h"
#include "util/format/u_format.h"
#include "util/u_upload_mgr.h"
+#include "util/u_threaded_context.h"
#include "noop_public.h"
DEBUG_GET_ONCE_BOOL_OPTION(noop, "GALLIUM_NOOP", false)
@@ -45,6 +46,7 @@ struct noop_pipe_screen {
* query
*/
struct noop_query {
+ struct threaded_query b;
unsigned query;
};
static struct pipe_query *noop_create_query(struct pipe_context *ctx, unsigned query_type, unsigned index)
More information about the mesa-commit
mailing list