On Die, 2002-09-24 at 15:19, Keith Whitwell wrote:
> Michel Dänzer wrote:
> > On Die, 2002-09-24 at 13:11, Keith Whitwell wrote: 
> >>
> >>I think all my problems can be solved if I do two things:
> >>    1) always have X draw to the *current* front buffer (buffer zero or buffer 
>one, 
> >>depending)
> >>    2) subtract the 3d window from the dirty regions before blitting to the 
>current 
> >>back buffer.
> >>
> >>I can probably figure out 2) without to much effort.
> >>
> >>For 1), I can adjust the accelerated functions fairly easily to get them to 
> >>draw to buffer zero/one as appropriate.
> >>
> > 
> > How do you deal with offscreen access?
> 
> They should remain exactly as they are:  I want to change the offset of the 
> front buffer - I would hope that the two are decoupled, maybe that's a mistake 
> on my behalf.

You can't change the offset in the chip or offscreen access goes after
whatever buffer is front. You'd have to use coordinate deltas, but only
if the coordinates are within the virtual resolution, and even then I'm
not sure that would always work. Try and see I guess. :)


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to