|
RE: Hardware Accelerated PtMTrend widget
|
04/24/2009 3:05 AM
post27951
|
RE: Hardware Accelerated PtMTrend widget
Hi Malte,
grid:
if line_width > 1, then the "stroke" are polylines, which get converted to spans, which in turn goes to rectangles.
if line_width == 1, then it practically goes straight to rectangles.
irect:
same as above
polygon:
polygon to spans to rectangles
In all these cases, the rectangles are the accelerated "part". There is possibility on 642 for accelerated polygons,
but most GPUs don't offer this anyhow, so it's a toss up ...
-Derek
________________________________
From: Misha Nefedov [mailto:community-noreply@qnx.com]
Sent: Thu 23/04/2009 11:14 AM
To: photon-graphics
Subject: Re: Hardware Accelerated PtMTrend widget
This is a list of PgDraw calls performed by PtMTrend:
PgDrawGridCx();
PgDrawIRectCx(); -- filled
PgDrawPolygonCx();
_______________________________________________
Photon microGUI
http://community.qnx.com/sf/go/post27902
|
|
|