Sprite transforms in RandR

Keith Packard keithp at keithp.com
Sun Dec 5 20:47:15 PST 2010


On Sun, 5 Dec 2010 16:38:52 -0800, Aaron Plattner <aplattner at nvidia.com> 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?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101205/439475ab/attachment.pgp>


More information about the xorg-devel mailing list