Eric Anholt <[email protected]> writes:

> If you're building a new X Server and trying to light up glamor, one
> of the first things you want to do is get it rendering the screen to a
> texture so you can later draw that to some real output (or possibly
> not draw it at all, if it's Xvfb-like).  Don't just leave it in a
> segfaulting MEMORY state.

This smashes pixmap->devPrivate.ptr, which was pointing at pixmap
memory.  Ephyr keeps running because it saves another copy of this
pointer elsewhere, but I don't think glamor should count on that.

I think ephyr should have a special CreateScreenResources for glamor
mode that creates a real glamor pixmap and uses that. Then, it shouldn't
be setting the fb parameters in ephyrMapFramebuffer.

-- 
[email protected]

Attachment: pgpTLaJrnXTle.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to