Skip to content
Snippets Groups Projects
Commit 0732f81a authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer
Browse files

glamor: Make pixmap scanout compatible if its dimensions are

Namely, if its dimensions match those of the screen pixmap (enough that
it could stand in for it). When that's the case, the pixmap may end up
being scanned out directly due to page flipping via the Present
extension, e.g. with xfwm4 --vblank=xpresent .

v2:
* Use AMDGPU_CREATE_PIXMAP_SCANOUT instead of second-guessing in
  amdgpu_alloc_pixmap_bo, fixes corruption when resizing from smaller
  to larger virtual size via RandR.

Closes: xorg/driver/xf86-video-amdgpu#10
parent cb27a5b1
No related branches found
No related tags found
No related merge requests found
Pipeline #135379 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment