summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2017-03-28 21:32:22 +0200
committerThomas Hellstrom <[email protected]>2017-03-29 09:17:21 +0200
commitba8df2286a50117011925e915cd832b4a79f126e (patch)
tree416458acd7759f4922b2a5f1ee5248ef93a6e710 /src/mesa/tnl
parent3df410069a610de5b3fd8965fb99b994516a5d13 (diff)
gbm/dri: Flush after unmap
Drivers may queue dma operations on the context at unmap time so we need to flush to make sure the data gets to the bo. Ideally the application would take care of this, but since there appears to be no exported gbm flush functionality we need to explicitly flush at unmap time. This fixes a problem where kmscube on vmwgfx in rgba textured mode would render using an uninitialized texture rather than the intended rgba pattern. Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/tnl')
0 files changed, 0 insertions, 0 deletions