summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/hud/hud_context.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-11-19 21:04:07 +0100
committerMarek Olšák <[email protected]>2017-11-25 17:16:56 +0100
commit11e25eb7f4538ab7f1ca5d06e8e1ae09be10ad45 (patch)
treef5068d29dcca17e1bdc53ffffe5589c06f8f593e /src/gallium/auxiliary/hud/hud_context.h
parent9c5b4eb6b4ea46af274927a0af5907e996bcdcfe (diff)
gallium/hud: update the HUD interface for multiple contexts
This is the boring subset of the following commit. All new parameters are optional. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/hud/hud_context.h')
-rw-r--r--src/gallium/auxiliary/hud/hud_context.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/hud/hud_context.h b/src/gallium/auxiliary/hud/hud_context.h
index 97aa709f061..128d4ef9ab8 100644
--- a/src/gallium/auxiliary/hud/hud_context.h
+++ b/src/gallium/auxiliary/hud/hud_context.h
@@ -35,13 +35,14 @@ struct pipe_resource;
struct util_queue_monitoring;
struct hud_context *
-hud_create(struct cso_context *cso);
+hud_create(struct cso_context *cso, struct hud_context *share);
void
-hud_destroy(struct hud_context *hud);
+hud_destroy(struct hud_context *hud, struct cso_context *cso);
void
-hud_run(struct hud_context *hud, struct pipe_resource *tex);
+hud_run(struct hud_context *hud, struct cso_context *cso,
+ struct pipe_resource *tex);
void
hud_add_queue_for_monitoring(struct hud_context *hud,