bug-classpath
[Top][All Lists]
Advanced

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

[Bug awt/26486] Graphics.fillRect extremely slow


From: hendrich at informatik dot uni-hamburg dot de
Subject: [Bug awt/26486] Graphics.fillRect extremely slow
Date: 8 Mar 2006 13:52:08 -0000


------- Comment #17 from hendrich at informatik dot uni-hamburg dot de  
2006-03-08 13:52 -------
> Created an attachment (id=10986)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10986&action=view) [edit]
> Limit time period between calls to XFlush.

The patch applied cleanly to my classpath tree (cvs 2006.02.28),
and both AWT and Swing still seem to work. 

The GameOfLife animations run about as fast as you posted; with the
Swing version running smoothly and the lightweight AWT version flickering
(PR26594).

The heavyweight AWT variant runs fast, but seems to stop for about 100..200
msecs every few seconds. I suspected garbage collections, but jamvm -verbose:gc
does not report any garbage collections. (Also, the GameOfLife main loop
does not allocate any objects, which leaves the rendering calls as the only
culprits). Do you also observe those pauses?


> By the way, I'd like to include FillRect and GameOfLifeAWT in the GNU
> Classpath AWT demo, and GameOfLife in the Swing demo.  Including them 
> may require a copyright assignment.  Do you have paperwork on file with 
> the FSF?

Please go ahead; consider those three demos as free. Use GPL or GPL+exception 
or BSD or whatever license is best for Classpath.

I personally consider the demos as trivial (the original game is rather simple
and well-known; my random-term modification is also original but very slight.
The animation is straightforward.)

No, I have no FSF paperwork yet. I'll contact Mark if you think that the demos
really need FSF clearance.


-- 


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





reply via email to

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