Acceleration of 2D operations for kdrive
Abhinav Duggal
abhinavduggal at gmail.com
Fri Feb 2 01:49:02 PST 2007
Hi,
> Yes, Kdrive was written to accelerate todays desktop and embedded device
> graphics. Not lines and rectangles from the 80th.
But in an embedded device acceleration of drawing lines,rectangles etc can
be useful.My SGA supports acceleration of these primitive operations.So you
are saying that it cannot be done in kdrive.After going through the kdrive
code i also think that its framework does not provide way of accelerating
these primitives.Is it so?Correct me if i am wrong.I have to use kdrive as
th xserver.
>Check the mach64 or savage drivers, they provide acceleration support
>using the available infrastructure.
The mach64 driver also shows accleration for copying ,drawing solid etc. Is
there any way to accelerate 2D drawing primitives using kdrive framework
because it looks like it is being done by software.The functions for
primitive drawing in the kdrive/src/kaa.c cannot b overriden.Only 3
functions look like being overriden.
kaaCopyArea,
kaaPolyFillRect,
kaaImageGlyphBlt.
static const GCOps kaaOps = {
kaaFillSpans,
KdCheckSetSpans,
KdCheckPutImage,
kaaCopyArea,
KdCheckCopyPlane,
KdCheckPolyPoint,
KdCheckPolylines,
KdCheckPolySegment,
miPolyRectangle,
KdCheckPolyArc,
miFillPolygon,
kaaPolyFillRect,
miPolyFillArc,
miPolyText8,
miPolyText16,
miImageText8,
miImageText16,
kaaImageGlyphBlt,
KdCheckPolyGlyphBlt,
KdCheckPushPixels,
#ifdef NEED_LINEHELPER
,NULL
#endif
};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20070202/bbde4410/attachment.html>
More information about the xorg
mailing list