summaryrefslogtreecommitdiffstats
path: root/src/glx/single2.c
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-05-06 10:01:37 -0700
committerPaul Berry <[email protected]>2012-05-22 15:19:00 -0700
commit1b87a93983c4f217bf7cb4e422de39e418291e39 (patch)
tree9dc597ba03f07601390c02811416ad24fb4d634f /src/glx/single2.c
parent7a75e7d6e85d27e102ff7e15583c33b1ce282fe4 (diff)
intel: When AUB dumping, flush before emitting final bitmap command.
When we are generating an AUB dump, we make a final call to aub_dump_bmp() as the context is being destroyed, to ensure that any rendering performed before the application exits can be seen during a simulation run. However, we were doing this before flushing the batch buffer; as a result simulation runs would not always see the effect of all rendering commands. This patch flushes the batch buffer just before making the final call to aub_dump_bmp(), to ensure that all rendering is properly captured in the final bitmap.
Diffstat (limited to 'src/glx/single2.c')
0 files changed, 0 insertions, 0 deletions