[PATCH xserver 3/5] ephyr: Handle window resize when using glamor

Keith Packard keithp at keithp.com
Wed Jun 15 03:10:08 UTC 2016


Michel Dänzer <michel at daenzer.net> writes:

> Couldn't the existing screen pixmap be modified, instead of creating a
> new one, as is done in Xorg drivers?

Not easily -- glamor doesn't expose an API for this. Given that all we'd
be saving is the pixmap header, I'd say that this change is the easier
one, and doesn't require any fussing down inside the tender pixmap
management bits of glamor.

We could have miSetScreenPixmap do the TraverseTree bit, which would
make pScreen->SetScreenPixmap actually work after the server had
started.

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20160614/e8d77f54/attachment.sig>


More information about the xorg-devel mailing list