Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Graphics much slower under Leopard



On Oct 29, 2007, at 8:22 AM, Emmanuel Puybaret wrote:

Hi,

A user reported to me that Sweet Home 3D (available at
http://sweethome3d.sourceforge.net ) was much slower under Leopard than it
used to be under Tiger.
Could it because the property "apple.awt.graphics.UseQuartz" is now equal to
"false" by default ? Could this property change the drawing speed of texts
*and* Java 2D objects (Sweet Home 3D doesn't draw that much text) ?
Any other idea ?

This is a very cool application! You have given me a very dangerous tool to justify me re-arranging my whole living room. :)


Yes, the Quartz vs. Sun 2D issue definitely affects far more that just text - it is the whole Java 2D graphics pipeline that gets swapped out. It's possible that your app found a "sweet spot" that Quartz was highly optimized for (rendering into the ARGB_PRE images, for example), and now it's using essentially the same software loops that run on Windows and Linux.

I'd recommend trying out apple.awt.graphics.UseQuartz=true system property, and filing a bug with us if you notice a significant discrepancy. I also noticed the text in the JTree and JTable also had some weird artifacts on them that don't reproduce in a simple app, like SwingSet. Are you setting some kind of property on the text in the cell renderer?

Thanks much, and keep up the great work,
Mike Swingler
Java Frameworks Engineer
Apple Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Graphics much slower under Leopard (From: Emmanuel Puybaret <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.