Patch: FYI: xlib peer update to get sixlegs PNG decoder to work

Scott Gilbertson scottg@mantatest.com
Tue Jul 13 19:06:00 GMT 2004


I just committed this patch, which allowed me to run the sixlegs
(http://www.sixlegs.com/) PNG decoder to display PNG files with the xlib
peers.

Index: libjava/ChangeLog
from Scott Gilbertson <scottg@mantatest.com>
* gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
* gnu/awt/xlib/XOffScreenImage.java
(XOffScreenImage): Add ImageConsumer interface. Add ColorModel
constructor argument. Add constructor using ImageProducer.
(getSource): Implement.
(imageComplete): New method.
(setColorModel): New method.
(setDimensions): New method.
(setHints): New method.
(setPixels): New method.
(setProperties): New method.
* gnu/gcj/xlib/GC.java (drawPoint): New native method.
* gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20040712_createGraphics.patch.txt
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040713/5255eace/attachment.txt>


More information about the Java-patches mailing list