summaryrefslogtreecommitdiff
path: root/src/brw_structs.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2010-03-04 10:07:26 -0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-03-05 12:52:47 -0800
commitb6e0b92f398823629ba8a1ea8f5e62fbf959e725 (patch)
treec3dbbb204c0b253154a65e88d0eb5190067a0e9c /src/brw_structs.h
parent54ac4e2df987b72529a523ffbde357bec27e3658 (diff)
DRI2: handle offscreen drawables better at swap time
If a drawable isn't visible due to DPMS or redirection, we'll just blit it rather than schedule a swap event. However, we didn't reset the target_msc, so the swap target we receive from the server could get out of sync with the vblank count of the drawable's display. So at DPMS on time, the swap target would be the last good vblank count plus some large number (since the swaps won't have been throttled). Solve this by zeroing out the swap target like we should when we fall back to a blit. Also make the kernel error cases more friendly by making them fall back to blits too. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'src/brw_structs.h')
0 files changed, 0 insertions, 0 deletions