RandR 1.4 restart

James Jones jajones at nvidia.com
Tue Mar 1 18:11:24 PST 2011


On Tuesday 01 March 2011 14:48:44 Soeren Sandmann wrote:
> Keith Packard <keithp at keithp.com> writes:
> > On Tue, 01 Mar 2011 20:12:14 +0100, Soeren Sandmann <sandmann at cs.au.dk> 
wrote:
> >> Presumably the main use case for this is fullscreen video.
> > 
> > When using a compositing manager, any full-screen window for video or
> > graphics would be 'un-redirected', eliminating any cost of using a
> > compositing manager. And, of course, with DRI2, applications would be
> > using swapping instead of copying for window update.
> 
> I think you can do better than that by scanning out from a YUV
> pixmap. This avoids the RGB conversion on hardware that has the
> capability, and it does so without the application doing anything
> special.
> 
> In any case, if you read the rest of the email, the setup described
> there avoids a whole bunch of copying in all cases, not just he
> fullscreen case.

Also, getting the unredirect/redirect to work without causing a bunch of 
expose events and related flickering is hard.  It's possible now in most cases 
with Ville's patches to avoid the extra mapping in composite, but I'm still 
not convinced it works in the general case.

Thanks,
-James
 
> Soren
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel


More information about the xorg-devel mailing list