Hi Jasper, Jasper Potts wrote: > I am writing a serious graphics intensive application with Java/Swing > and Java2D my feelings so far is that with the right "-D" settings Java > can match any native application I have come across. In my case I am > using "-Dsun.java2d.ddscale=true -Dsun.java2d.translaccel=true > -Dsun.java2d.ddforcevram=true". > > Recently I have been looking at pushing this futher by using MMX/SSE etc > for improving Image scaling and Jpeg decomression speed. Are you guys > using or thinking of using MMX/SSE etc in Java to get better perfomance? > I was reading the source to VirtualDub http://www.virtualdub.org/ they > are using MMX/SSE/AMD64 and other prcessor optimisations to get very > nice real time bicubic scaling of video. And real-time decoding of > motion-jpeg so if the same techniques could be apllied to java standard > libiaries then Java would be in an amazing position to be the best > environment for programing graphics apps. >
Yes, using MMX/SSE instructions to improve performance is something that we've explored. In JDK 5.0 we've already added a number of rendering loops that leverage the VIS instruction set on the Solaris/SPARC platform, which resulted in some nice performance gains in compositing and transforming. We'd like to apply the same concepts (and much of that code) to leverage MMX/SSE on the x86/x64, but that work is still in the investigative stage. No specifics on a release date, but it's definitely something in which we are interested. Thanks, Chris > Thanks for all the great Java2D work, > > Jasper > http://www.xerto.com/imagery > > =========================================================================== > 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".
