Skip to content
Commit 705020b6 authored by Michel Dänzer's avatar Michel Dänzer
Browse files

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: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 15697ee2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment