New acceleration architecture

Eric Anholt eta at lclark.edu
Wed Jun 29 04:35:48 PDT 2005


On Wed, 2005-06-29 at 04:17 -0700, Eric Anholt wrote:
> On Wed, 2005-06-29 at 11:29 +0200, Thomas Winischhofer wrote:
> > - - memorySize/memoryBase: Does this refer to the card's entire video
> > memory, or only the *off*screen memory? While the comments in exa.h
> > suggest the former, usage of these values in exaPixmapIsOffscreen() and
> > this very routine's name suggest the latter. The latter doesn't really
> > make sense since you use exaPixmapIsOffscreen also for checking if the
> > *destination* is "offscreen" in order to eventually sync the accelerator
> > (which looks somewhat odd for fills - or do these always go into
> > *off*screen?). If the former, the name is at least misleading.
> 
> The offscreen allocator will allocate linear areas between
> (card->memorybase + card->offscreenbase) to (card->memorybase +
> card->size).  Your visiable screen (and 3d back buffer) are expected to
> be somewhere between (card->memorybase) and (card->memorybase +
> card->memorysize).
        ^--- Argh, offscreenBase.

It's really time for bed.

-- 
Eric Anholt                                     eta at lclark.edu
http://people.freebsd.org/~anholt/              anholt at FreeBSD.org



More information about the xorg mailing list