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] Commented: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation
Date Thu, 08 Nov 2007 12:07:50 GMT

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

Vladimir Strigun commented on HARMONY-5039:
-------------------------------------------

New version of GDI graphics attached. Several clipping issues were fixed, pen functionality
was implemented. To enable new graphics please apply gdi_part1.diff patch first. gdi_part2.diff
enable gdi graphics usage for WinVolatileImage, but unfortunately broke support of GDIPGraphics.
So, the second patch could be applied only for testing purpose yet.
I'm working on correct enabling of GDI version.

> [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