diff options
author | Gert Wollny <[email protected]> | 2019-06-20 15:38:30 +0200 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2019-06-21 08:54:57 +0200 |
commit | ef4429d9c5cfa33ca8d468182e1085f655609341 (patch) | |
tree | d5ede8c6126935d97e4d598a1fdb0c0889f68420 /src/gallium/state_trackers | |
parent | 4d8f82946b22396c90ca102a44de7bdebd8838d6 (diff) |
gallium/st: Add Gallium hud to swrast drivers
Signed-off-by: Gert Wollny <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/dri/drisw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/dri/drisw.c b/src/gallium/state_trackers/dri/drisw.c index 927ac39ce65..cf1e662f00c 100644 --- a/src/gallium/state_trackers/dri/drisw.c +++ b/src/gallium/state_trackers/dri/drisw.c @@ -246,6 +246,9 @@ drisw_swap_buffers(__DRIdrawable *dPriv) if (ctx->pp) pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); + if (ctx->hud) + hud_run(ctx->hud, ctx->st->cso_context, ptex); + ctx->st->flush(ctx->st, ST_FLUSH_FRONT, NULL); drisw_copy_to_front(dPriv, ptex); |