question about ephyrPreparePipelinedAccess() in ephyr_draw.c
dodji at seketeli.org
Tue May 8 05:21:08 PDT 2007
In hw/kdrive/ephyr/ephyr_draw.c, in
ephyrPreparePipelinedAccess(), I am not sure to understand what this
pPix->devPrivate.ptr = fakexa->exa->memoryBase +
I think it hides (caches) the offset (within framebuffer memory) of the
beginning of pPix, so that subsequent calls to exaGetPixmapOffset(pPix)
return that recently cached offset.
But why is that necessary, since the function
unsigned long exaGetPixmapOffset(PixmapPtr pPix); returns that offset
even if it has not be cached before ?
Thank you in advance.
More information about the xorg