gallium/hud: add HUD sharing within a context share group
authorMarek Olšák <marek.olsak@amd.com>
Sun, 19 Nov 2017 20:29:46 +0000 (21:29 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 25 Nov 2017 16:16:56 +0000 (17:16 +0100)
commitbd57f45168188caabce3aebed287a9d32bc00537
tree935da2ae073a1890e39dcc554e7e096a33c1562b
parent11e25eb7f4538ab7f1ca5d06e8e1ae09be10ad45
gallium/hud: add HUD sharing within a context share group

This is needed for profiling multi-context applications like Chrome.
One context can record queries and another context can draw the HUD.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/hud/hud_context.c
src/gallium/auxiliary/hud/hud_context.h
src/gallium/auxiliary/hud/hud_private.h
src/gallium/state_trackers/dri/dri_context.c