Hello,
[EMAIL PROTECTED] wrote:
Dmitri -
Thanks for all the suggestions (Jan - you might be interested in what I found):
1) Tried this and made no difference
2) This was what I was doing! Sorry that was my bad post. I am copying
everything to a BufferedImage and then writing this to the screen.
3) I tried using non-default pipelines - no difference
4) I tried disabling directdraw - no difference
Well, this is indeed something strange.
Could you please run your app with -Dsun.java2d.trace=count flag for a
bit and send out
the output?
Since you say you copy the loaded images into another BufferedImages
and then
copy them to a back-buffer (again, I'm assuming it's opaque), the
changes in
loading png files should not have made any difference (unless you copy
then on every frame).
Thank you,
Dmitri
I knew that before I reinstalled the PC, everything worked fine. So, I tried
my program on my flat mate's PC with JRE 1.5.0_07... and it worked perfectly.
Images were rendered almost instantaneously. I then uninstalled Netbeans 5.5
and the JDK and JRE 6 on my PC and installed Netbeans 5.5 with JRE/JDK 1.5.0_11
and... perfect. Everything works exactly as it should and there is no
difference in speed between jpg and png or png with transparency. In my mind,
that can only mean that between 1.5.0_11 and version 6, something has gone
wrong with the handling of transparent .png files.
Could you please tell me what happens now? I don't want to have a program that
only works under 1.5.0_11 and below. Why would this have happened? Is there
anything I can do on my end (apart from using the 1.5.0_11 JRE)?
Thanks
Olly
[Message sent by forum member 'olly_olly' (olly_olly)]
http://forums.java.net/jive/thread.jspa?messageID=204903
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".