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

Michel Dänzer michel at daenzer.net
Wed Jun 15 03:00:38 UTC 2016


On 15.06.2016 06:02, Keith Packard wrote:
> Under glamor, we need to re-create the screen pixmap at the new size
> so that we can ask glamor for the associated texture. Fortunately, we
> can simply use ephyr_glamor_create_screen_resources to create the new
> pixmap.
> 
> Because this is being done after the server has started, we need to
> walk the window heirarchy and reset any windows pointing at the old
> pixmap. I could easily be convinced that this TraverseTree should be
> moved to miSetScreenPixmap.

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


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the xorg-devel mailing list