From 11e25eb7f4538ab7f1ca5d06e8e1ae09be10ad45 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 19 Nov 2017 21:04:07 +0100 Subject: gallium/hud: update the HUD interface for multiple contexts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is the boring subset of the following commit. All new parameters are optional. Reviewed-by: Nicolai Hähnle --- src/gallium/auxiliary/hud/hud_context.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/gallium/auxiliary/hud/hud_context.h') 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, -- cgit v1.2.3