You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Strigun (JIRA)" <ji...@apache.org> on 2007/10/29 12:07:50 UTC

[jira] Created: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation

[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


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.


[jira] Updated: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation

Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
     [ 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.patch )

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


[jira] Updated: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation

Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment:     (was: h-5039_update.patch)

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


[jira] Updated: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation

Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: 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.


[jira] Resolved: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko resolved HARMONY-5039.
--------------------------------------

    Resolution: Fixed

The patch has been applied.
Please verify.

> [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: GDIGraphics.zip, Harmony-5039.diff
>
>
> 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.


[jira] Assigned: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko reassigned HARMONY-5039:
----------------------------------------

    Assignee: Alexey Petrenko

> [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: GDIGraphics.patch , 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.


[jira] Updated: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation

Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: Harmony-5039.diff

New patch for current sources. Some fields was added to GraphicsInfor structure, so both GDI+ and GDI versions works normally.

> [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: GDIGraphics.zip, Harmony-5039.diff
>
>
> 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.


[jira] Updated: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation

Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation

Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: GDIGraphics.patch 

Patch for current sources

> [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
>         Attachments: GDIGraphics.patch , 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.


[jira] Updated: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation

Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: gdi_part2.diff

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


[jira] Updated: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation

Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: GDIGraphics.zip

additional source files

> [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
>         Attachments: GDIGraphics.patch , 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.


[jira] Commented: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation

Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Updated: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation

Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment:     (was: gdi_part1.diff)

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


[jira] Updated: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation

Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: h-5039_update.patch

Resolved some clipping issues, added createGraphicsInfoFor method

> [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, h-5039_update.patch
>
>
> 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.


[jira] Updated: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation

Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment:     (was: gdi_part2.diff)

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


[jira] Updated: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation

Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: gdi_part1.diff

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