diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2018-11-13 09:08:01 -0500 |
---|---|---|
committer | Michel Daenzer <michel@daenzer.net> | 2018-11-30 15:40:34 +0000 |
commit | 2d18b37159edc526c73a36143fe9b5d6b75e610a (patch) | |
tree | 8c3080f9635cca6270bc0cf0f5bb0c59efc75e08 /configure.ac | |
parent | 13c94a373b4858a2d2aa14c22b5f98d53c84c0d9 (diff) |
Check last flip window instead of screen root before flipping
A significant amount of time can pass between the X call into
check_flip for a window and when amdgpu_present_flip actually occurs.
To ensure that flipping is still possible there was an additional check
performed on screen->root in amdgpu_present_flip - but what should
be checked instead is the window itself. This only really worked before
because X ensures that the window has the same dimensions as the screen
to allow for present extension flipping.
This patch tracks the flip window between calls to check_flip and flip
and uses that window instead of screen->root.
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions