classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Fixes to ImageObserver calls


From: Sven de Marothy
Subject: [cp-patches] Fixes to ImageObserver calls
Date: Thu, 24 Mar 2005 00:09:02 +0100

Hi, 
Here's for review. This, I hope, should fix some bugs related to
ImageObserver. On doing a Graphics.drawImage() the observer gets too
many imageUpdate() calls, and this causes too many repaints when the
ImageObserver in question is a Component.


2005-03-24  Sven de Marothy  <address@hidden>

        * gnu/java/awt/peer/gtk/GdkGraphics.java:
        (drawImage): Don't notify the image observer for offscreen images.
        * gnu/java/awt/peer/gtk/GtkImagePainter.java:
        (setPixels): Don't notify the image observer if all
        pixels are set at once.

Attachment: observercalls.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]