Redirected XV (proposed API change)

Aaron Plattner aplattner at nvidia.com
Thu Feb 23 02:42:50 PST 2006


Michel Dänzer wrote:
> On Wed, 2006-02-22 at 16:35 -0800, Aaron Plattner wrote:
>>Now that you mention it, that might be a better approach: add a new
>>PutImagePixmap function pointer to the AdaptorRec and have xf86XVPutImage call
>>that when its pDraw argument is a pixmap or redirected window.  This would have
>>the advantage of allowing drivers to expose blit or texture adaptors supporting
>>pixmap and redirected window rendering, while also exposing an overlay adaptor
>>that only works for unredirected windows.  The downside to that is that people
>>will have to explicitly request the right port in their apps.
> 
> I suspect most apps will just use the first adaptor, so the driver could
> make that the overlay when Composite is disabled and the texture engine
> otherwise.

Sure.

> This certainly sounds much better to me than breaking the ABI.

The ABI's already broken due to David Reveman's glyph private changes
(http://webcvs.freedesktop.org/xorg/xserver/xorg/render/glyphstr.h?r1=1.7&r2=1.8)

-- Aaron



More information about the xorg mailing list