public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug AWT/20630] New: Image APIs should use BufferedImage exclusively
@ 2005-03-26 18:21 fitzsim at redhat dot com
  2005-03-26 18:25 ` [Bug AWT/20630] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fitzsim at redhat dot com @ 2005-03-26 18:21 UTC (permalink / raw)
  To: java-prs

The Java 1.1 imaging APIs were designed to be asynchronous, for loading images
over slow networks.  The design is very complicated and hard to implement.  In
1.2 BufferedImages seem to have replaced Images.  So, for example,
Component.createImage() is declared to return an Image, but actually returns a
BufferedImage.  This makes the APIs synchronous -- which should make them much
simpler to implement.

We should do the same in our AWT implementation.  This will involve the following:

- removing all uses of ImageObserver, except when reporting errors in image
loading, and when reporting a new frame in animated gifs

- replacing GtkImage with BufferedImage

- merging GtkImagePainter into GdkGraphics2D

- making the switch to using GdkGraphics2D exclusively

-- 
           Summary: Image APIs should use BufferedImage exclusively
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: AWT
        AssignedTo: fitzsim at redhat dot com
        ReportedBy: fitzsim at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20630


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-09-10  1:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-26 18:21 [Bug AWT/20630] New: Image APIs should use BufferedImage exclusively fitzsim at redhat dot com
2005-03-26 18:25 ` [Bug AWT/20630] " pinskia at gcc dot gnu dot org
2005-06-01  8:06 ` sven at physto dot se
2005-08-04  5:05 ` [Bug awt/20630] " sven at physto dot se
2005-08-24 19:32 ` fitzsim at redhat dot com
2005-09-10  1:15 ` [Bug awt/20630] GTK 2.8 peer Image and Graphics API reorganization fitzsim at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).