[PATCH] RandR version 1.4 additions

Keith Packard keithp at keithp.com
Mon Dec 6 14:33:17 PST 2010


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.

-- 
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/20101206/5db6c204/attachment.pgp>


More information about the xorg-devel mailing list