harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Strigun (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation
Date Thu, 08 Nov 2007 12:04:50 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vladimir Strigun updated HARMONY-5039:
--------------------------------------

    Attachment:     (was: GDIGraphics.zip)

> [classlib][awt] GDI Graphics2D implementation
> ---------------------------------------------
>
>                 Key: HARMONY-5039
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5039
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>            Reporter: Vladimir Strigun
>            Assignee: Alexey Petrenko
>         Attachments: gdi_part1.diff, gdi_part2.diff, GDIGraphics.zip
>
>
> I'd like to suggest additional Graphics2D implemenation. It's based on current GDI+ Graphics,
but use GDI functions instead of GDI+ API. 
> This implementation works fine with all tests, I have good speedup for drawing primities
as well. Here are the test results:
> GDI version:
> Draw rectangle: 18190.4 T/s
> Draw transformed rectangle: 14502.6 T/s
> FIll rectangle: 34235.4 T/s
> Fill transformed rectangle: 20982.0 T/s
> Draw ellipse: 5469.990029910269 T/s
> Draw transformed ellipse: 7432.2 T/s
> FIll ellipse: 6139.4 T/s
> Fill transformed ellipse: 7254.6 T/s
> Draw quadric curve use opaque color: 3052.0 T/s
> Draw polygon use opaque color: 9585.2 T/S
> Fill quadric curve use opaque color: 3172.6 T/s
> Fill polygon use opaque color: 13642.8 T/S
> GDI+ version:
> Draw rectangle: 9831.6 T/s
> Draw transformed rectangle: 7914.8 T/s
> FIll rectangle: 3286.4 T/s
> Fill transformed rectangle: 4254.2 T/s
> Draw ellipse: 4245.0 T/s
> Draw transformed ellipse: 5114.8 T/s
> FIll ellipse: 2494.2 T/s
> Fill transformed ellipse: 3335.8 T/s
> Draw quadric curve use opaque color: 2084.0 T/s
> Draw polygon use opaque color: 5230.4 T/S
> Fill quadric curve use opaque color: 2108.8 T/s
> Fill polygon use opaque color: 3624.4 T/S
> To enable GDI drawing, please use -Djava2d.gdi=true parameter. Several features is not
implemented yet, but I hope to finish it soon. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message