Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 66248 invoked from network); 8 Nov 2007 12:05:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2007 12:05:12 -0000 Received: (qmail 46419 invoked by uid 500); 8 Nov 2007 12:05:00 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 46393 invoked by uid 500); 8 Nov 2007 12:05:00 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 46378 invoked by uid 99); 8 Nov 2007 12:05:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 04:05:00 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 12:05:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4CA53714233 for ; Thu, 8 Nov 2007 04:04:51 -0800 (PST) Message-ID: <24302545.1194523491311.JavaMail.jira@brutus> Date: Thu, 8 Nov 2007 04:04:51 -0800 (PST) From: "Vladimir Strigun (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5039) [classlib][awt] GDI Graphics2D implementation In-Reply-To: <24759814.1193656070570.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on 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.