On Sat, 2003-07-12 at 00:44, Alex Deucher wrote:
> --- Brian Paul <[EMAIL PROTECTED]> wrote:
> > 
> > The DRI drivers query the cliprect list for a window with the 
> > XF86DRIGetDrawableInfo() function (defined in xc/lib/GL/dri/XF86dri.c)
> 
> Oh!  I think it's starting to come together in my head.  basically what
> I need to do is add a cliprect if the window is larger than 2048 in
> either dimension.  

s/the window/a cliprect/

> now, since this would be radeon specific, which radeon file should I 
> look in...or...I guess I should check the radeon driver and when it 
> calls XF86DRIGetDrawableInfo() check the size of each cliprect.  if 
> it's larger then 2048, then I'd delete that cliprect and replace it 
> with two or more smaller ones or change the size of the offending 
> cliprect and add another.  is this sort of behavior allowed at that 
> stage?

I doubt there's anything stopping you from doing this, but this way it
only works with a fixed 3D driver. If the split is done in the X server
OTOH, it works with any old 3D driver. Maybe you even want to do both,
such that it works if either side is fixed.


-- 
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \     http://svcs.affero.net/rm.php?r=daenzer



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to