Antialiased Fonts Acceleration
Michel Dänzer
michel at tungstengraphics.com
Mon Sep 24 23:44:09 PDT 2007
On Mon, 2007-09-24 at 18:10 +0200, sshachar at t2.technion.ac.il wrote:
> Quoting Michel Dהnzer <michel at tungstengraphics.com>:
>
> > Right, if the driver PrepareAccess hook always returns FALSE, EXA will
> > always download the pixmap contents from offscreen to system (using the
> > driver DownloadFromScreen hook when available) and perform software
> > operations on the system copy.
>
> Ok, but still - won't I have issues with EXA's memory manager when, for
> instance, EXA allocates an 8bpp pixmap 10x10 but when the CPU accesses it I
> expand it to 32bpp internally, meaning it takes up 10x40 so more linear
> addresses are actually used.
You're right, I didn't think of this. Sorry.
> How can I bypass this? are there hooks in the memory manager too?
Not at this time. It might make sense to add some mechanism for the
driver to override the size of offscreen pixmaps.
--
Earthling Michel Dänzer | http://tungstengraphics.com
Libre software enthusiast | Debian, X and DRI developer
More information about the xorg
mailing list