[cp-patches] fix image handling on big endian systems

Andreas Tobler toa at pop.agri.ch
Wed Jun 28 19:54:49 UTC 2006


Andreas Tobler wrote:
> Hello all,
> 
> this patch brings the image handling back to work on big endian systems.
> 
> Please check on a little endian system!
> 
> I hope the comments in the code are ok.
> 
> Ok to commit?

Commited after review & test by Sven.

Thanks
Andreas

> 
> Andreas
> 
> 2006-06-27  Andreas Tobler  <a.tobler at schweiz.ch>
> 
>     * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
>     GdkPixbuf correctly on big endian systems. Fix a typo in the little
>     endian swapping code.
> 
>     * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
>     (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
>     without alpha information correctly on big endian systems.




More information about the Classpath-patches mailing list