Il giorno gio, 27/03/2008 alle 11.40 +0100, Denis Oliver Kropp ha
scritto:
> Claudio Ciccani wrote:
> > Some weeks ago I announced to the mailing list that I was working on a 
> > DirectFB based OpenVG implementation (i.e. DirectVG).
> > Well, now it's time to prove that it was not a bullshit and that I made 
> > some progresses in the meanwhile.
> > 
> > Below is a screenshot of the well known tiger sample rendered by DirectVG:
> > http://img160.imagevenue.com/img.php?image=63785_DirectVG3_Tiger_122_898lo.jpg
> > 
> > As you can see, there is still some work to do on the strokes 
> > (stroke styles are completely missing and so is line scaling), but the hard 
> > part is done.
> 
> Just looked at it again. It's really beautiful :)
> 
> > Regarding the performance, well... at this stage it simply sucks!
> > 
> > Testing Hardware: ATI Radeon 9250
> > Testing Resolution: 612x622
> > Runtime Speed: ~ 11 fps
> 
> Actually, I don't have anything to compare against, but such a scalable 
> vector graphics at 11 fps
> with the old public interface, isn't that great already?

At least it works. ;)

> 
> Guess it uses SetMatrix() and lots of SetSourceMask().

Actually I'm not using SetSourceMask().
The API specification is incomplete. For example, how should it behave
when mask size differs from source size? In the Radeon driver the mask
gets scaled, but OpenVG requires not scaling.

Regarding SetMatrix(), the API needs to be changed. OpenVG requires
projective transformations too (3x3 matrix) and we need a way to
separate matrix transformation form coordinates scaling (i.e. adding a
method to specify a scaling factor for each coordinate, something like
SetPixelZoom(16.16)).

> 
> How many public API calls (roughly) are needed for this graphics?
> 

Below is the number of drawing calls required to render the tiger.

FillRectangle: 261
FillTriangle:  6949
DrawLines:     78
Blit:          261


-- 
Claudio Ciccani
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://directfb.org


_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to