<br>Hi,<br>> Yes, Kdrive was written to accelerate todays desktop and embedded device<br>> graphics. Not lines and rectangles from the 80th.<br> <br> 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. <br><br>>Check the mach64 or savage drivers, they provide acceleration support<br>>using the available infrastructure.<br><br>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.<br>kaaCopyArea,<br>kaaPolyFillRect,<br>kaaImageGlyphBlt.<br><br>static const GCOps kaaOps = {
<br> kaaFillSpans,<br> KdCheckSetSpans,<br> KdCheckPutImage, <br> kaaCopyArea,<br> KdCheckCopyPlane,<br> KdCheckPolyPoint,<br> KdCheckPolylines,<br> KdCheckPolySegment,<br> miPolyRectangle,<br> KdCheckPolyArc,
<br> miFillPolygon,<br> kaaPolyFillRect,<br> miPolyFillArc,<br> miPolyText8, <br> miPolyText16,<br> miImageText8,<br> miImageText16,<br> kaaImageGlyphBlt,<br> KdCheckPolyGlyphBlt, <br> KdCheckPushPixels,
<br>#ifdef NEED_LINEHELPER<br> ,NULL<br>#endif<br>};<br> <span class="gmail_quote"></span><br><br>