Claudio Ciccani wrote: > Il giorno mer, 20/02/2008 alle 19.01 +0100, Denis Oliver Kropp ha >> SH7722 supports quadrangles directly and for the 3D enhanced DirectFB >> drivers it >> would be a triangle fan. >> > > Either if the hardware still only supports triangle primitives and > actually has to decompose complex objects into triangles, that doesn't > imply that FillQuadrangles() is faster than FillPolygon(). > For example, in the Radeon driver I can implement an antialiased polygon > by emitting an antialiased line loop (border) and a non-antialiased > polygon (contents). Of course, this is faster (and easier) than drawing > a bunch of trapezoids!
True :) > So, to definitively resolve this dispute, why don't we add both these > functions? My only concern would be the size of the interface, but as (one of?) the last addition(s) to the API it's not making any noticable difference. > I could use FillQuadrangles in the cairo backend and FillPolygon in my > upcoming OpenVG implementation (aka DirectVG)... ;-) I'm looking forward to it! :) -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev