summaryrefslogtreecommitdiff
path: root/sys/dev/rd.c
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2010-04-25 22:16:20 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2010-04-25 22:16:20 +0000
commit69d3b1499f2fcd8b35e56e77aebf4dc0803acb4f (patch)
tree2a6b62dac825f351279ba4c21008fc4df0d6950a /sys/dev/rd.c
parent6f7d74c41cc3fd485ad725207555fb0530936d39 (diff)
When querying if an object is busy, it is if it is marked active (being
accessed by the gpu or needing a flush). Since this implies that the object is wanted, emit the flush then to save time. Makes things a lot smoother than before in some GL applications, since before we were claiming that object needing a flush were unbusy so the next map stalled the gpu waiting on a flush. From daniel vetter on intel-gfx.
Diffstat (limited to 'sys/dev/rd.c')
0 files changed, 0 insertions, 0 deletions