diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2019-03-01 18:23:30 +0100 |
---|---|---|
committer | Michel Dänzer <michel.daenzer@amd.com> | 2019-03-01 18:23:30 +0100 |
commit | 705020b6247eaa062edc9c88e6ad52f8c5468051 (patch) | |
tree | 04203c3dca9fbdcb0f6c936e1407f41cb2278a7f /src/r600_state.h | |
parent | 15697ee242c30b9ea6775624e8282e0171a113a7 (diff) |
present: Check that flip and screen pixmap pitches match
If they don't, flipping will result in corrupted display.
Test case:
* Run Xorg at 1920x1080 with no window manager
* glxgears -geometry 2048x1080
The Present extension code in xserver 1.21 will check for this.
(Ported from amdgpu commit a636f42b496b0604ca00a144690ece61d1a88a27)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/r600_state.h')
0 files changed, 0 insertions, 0 deletions