[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] [Patch] image processing fix for BE machine
From: |
Michael Koch |
Subject: |
[cp-patches] [Patch] image processing fix for BE machine |
Date: |
Fri, 8 Oct 2004 20:11:26 +0200 |
User-agent: |
Mutt/1.5.6+20040722i |
Hi list,
I just merged the attached patch from Andreas Tobler from GCC to GNU
classpath. I needed this patch to be able to merge newer patches more
easily. I dont know if this breaks or fixes something. On my x86 (little
endian) all still seems to work. A report from a big endian user might
be really good.
Michael
2004-10-08 Andreas Tobler <address@hidden>
* configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
* native/jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap
pixels.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved
SWAPU32
macro to gtkpeer.h.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
(Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
architectures.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
(area_updated): Likewise.
gtk.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] [Patch] image processing fix for BE machine,
Michael Koch <=