[PATCH] RandR version 1.4 additions

Daniel Stone daniel at fooishbar.org
Tue Dec 7 03:02:28 PST 2010


On Mon, Dec 06, 2010 at 02:33:17PM -0800, Keith Packard wrote:
> On Mon, 6 Dec 2010 10:09:00 -0800, Aaron Plattner <aplattner at nvidia.com> wrote:
> > I like the idea of not freezing the screen when the CM crashes.
> 
> Yeah, the only trick will be to automagically resize the screen pixmap
> to hold the crtc, but I think even that's pretty easy. This will also
> encourage me to create a scanout pixmap structure, which will allow DIX
> to validate the SetCrtcConfigs pixmap. It currently leaves that
> validation up to the DDX.
> 
> How about this:
> 
> 	If 'pixmap' is destroyed while still being used as a scanout
> 	pixmap, then the associated CRTC will have its scanout pixmap
> 	set back to None, the CRTC origin set back to 0,0 (to make
> 	sure it fits) and the screen pixmap width and height increased
> 	to be at least as big as the current CRTC mode.

Or, rather than listing the exact semantics, just state that the
configuration may be changed to attempt to make the CRTC visible in an
implementation-defined manner.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101207/2c1b2cc9/attachment.pgp>


More information about the xorg-devel mailing list