On Sun, 5 Dec 2010 16:38:52 -0800, Aaron Plattner <[email protected]> wrote:

> The crtc shadow functions seem obsolete given the new scanout pixmap
> creation function, but they can be removed in a later ABI.

So, I was thinking about what happens when your compositing manager
creates a PCP and then promptly crashes. With the current spec (and
implementation), you're left staring at a static image of whatever the
compositing manager stuck into the scanout pixmap. Not very useful.

Would it make sense to have the system revert to some sensible state
when the scanout pixmap was destroyed by the client (either explicitly
or through disconnecting from the server)? If so, what state should it
revert to? I can envision a fairly simple option:

 1) Resize the screen to be no smaller than the current crtc mode.
 2) Configure the crtc to scanout from the screen pixmap at 0,0

I don't think it will be all that difficult to make this happen, does it
seem like a better plan than leaving garbage on the screen?

-- 
[email protected]

Attachment: pgpGIckqumU8X.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