This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [cp-patches] Performance improvement for FreetypeGlyphVector.java


Mark Wielaard wrote:
> Hi Andrew,
> 
> On Wed, 2008-11-05 at 14:17 +0000, Andrew Haley wrote:
>> 2008-11-05  Andrew Haley  <aph@redhat.com>
>>
>> 	* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java (getKerning):
>> 	Return result in a float[], not a Point2D.
>> 	(performDefaultLayout): Call getKerning with a float[].
>> 	* native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
>> 	(getKerning): Return result in a float[], not a Point2D.
> 
> Thanks. This seems like a good speed improvement.
> One nit. The default classpath build uses -Werror to keep the native
> sources as clean as possible and with this it gave:
> 
> cc1: warnings being treated as errors

Ah, right.  We should do that in the gcj build too.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]