Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  AffineTransform bug id 4916948 has been fixed !  (Read 1149 times)
0 Members and 1 Guest are viewing this topic.
Offline javazoid

Junior Member




Where's Flender?


« Posted 2003-12-18 16:52:56 »

Yes, that's true, the bug has been fixed and there's some OpenGL talking...

"There were quite a few changes, but in making them we also took
the time to simplify a lot of the logic in the image pipeline so
that the existing logic was easier to debug and change to be
compliant with the new decisions.  A side benefit is faster
sub-image scaling in the OpenGL pipelines for the dxy12,sxy12
variant of the drawImage call.

The change will not appear in beta1, but is now in the beta2
workspace and will receive extensive testing there for release
in the beta2 time frame."

But .... someone told me that OpenGL will be used only in the Linux version of Java2D. Am I wrong ?

Offline kevglass
« League of Dukes »

JGO Kernel


Medals: 54
Projects: 20


Mentally unstable, best avoided.


« Reply #1 - Posted 2003-12-18 16:58:32 »

It was reported in other threads that the OpenGL pipeline definitely won't be the default on windows.
Mostly because on average DirectDraw is more likely to give better performance (based on lots of crap graphics cards in existence on which DirectDraw is accelerated and OpenGL is software mode only). So, you are correct.

However, there was at least one post from the Sun chaps saying that the OpenGL pipeline might be available as a configuration option on windows.

Kev

Offline javazoid

Junior Member




Where's Flender?


« Reply #2 - Posted 2003-12-18 19:50:06 »

I think that SUN is on the right path. Using DDraw/DirectX is definitely a good choice, at least for the Windows JVM.

If they also give us the option to use OpenGL.. well, it's simply perfect!

Games published by our own members! Check 'em out!
Try the Free Demo of Revenge of the Titans
Offline trembovetski

Senior Member




If only I knew what I'm talking about!


« Reply #3 - Posted 2003-12-19 02:52:24 »

The fix was in the shared code, so all platforms benefited, some more than others.
Offline javazoid

Junior Member




Where's Flender?


« Reply #4 - Posted 2003-12-19 10:15:48 »

Did you test it ?

If you're not under NDA, can you tell us something about the performance of the forthcoming (?) implementation of java2D ?

Cheers!

Offline pepe

Junior Member




Nothing unreal exists


« Reply #5 - Posted 2004-02-06 04:43:59 »

according to that page:
http://java.sun.com/developer/technicalArticles/releases/j2se15/#dc
the opengl pipeline is in beta1 and not beta2, as quoted.
I tried the opengl flag under XP to see if trembovetski's post was right.
I saw no change in perfs or rendering quality.
the question is now:
- is the opengl rendering in the shared code, thus on windows also
- is the opengl pipeline wrongly advertised for beta1 ?

Thanks for any information.

Home page: http://frederic.barachant.com
------------------------------------------------------
GoSub: java2D gamechmark http://frederic.barachant.com/GoSub/GoSub.jnlp
Offline trembovetski

Senior Member




If only I knew what I'm talking about!


« Reply #6 - Posted 2004-02-06 05:02:04 »

The quote from the bugreport meant that the changes related to that particular bug are in beta2.

OpenGL pipeline is indeed in beta1 (on solaris/linux), and it's turned off by default. Check out the 'new features in java2D' page for requirements.
Offline pepe

Junior Member




Nothing unreal exists


« Reply #7 - Posted 2004-02-06 05:57:52 »

thx for the quick reply..
so, if i read correctly what you just wrote, the openGL pipeline is not included in windows version, contrarly  t o what was said in 'an other thread'
Any hint  on its inclusion, if ever it becomes reality?

Home page: http://frederic.barachant.com
------------------------------------------------------
GoSub: java2D gamechmark http://frederic.barachant.com/GoSub/GoSub.jnlp
Offline javazoid

Junior Member




Where's Flender?


« Reply #8 - Posted 2004-02-06 12:13:51 »

Right question, Pepe.

I did some raw tests on jdk1.5 overall desktop and java2d performace an it seems that something changed. Looks like the auto-VRAMMING of some images is finally here (at least I suspect..).

The server jvm gives a nice performance boost to my computational intensive code and that's really positive. Sadly the server JVM is not in the JRE distribution...

Well, to be sincere I expected improvements in alpha blending both for speed (drawImage still use software loops) and quality (see the bug at http://developer.java.sun.com/developer/bugParade/bugs/4950176.html)

I expected better shapes stroking quality (antialiased outline text looks ugly on win32 (and not on MacOSX)).

I also expected hardware accelerated AffineTransforms.

I keep dreamin'...

Mik

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (83 views)
2013-05-17 21:29:12

alaslipknot (91 views)
2013-05-16 21:24:48

gouessej (122 views)
2013-05-16 00:53:38

gouessej (114 views)
2013-05-16 00:17:58

theagentd (126 views)
2013-05-15 15:01:13

theagentd (113 views)
2013-05-15 15:00:54

StreetDoggy (158 views)
2013-05-14 15:56:26

kutucuk (180 views)
2013-05-12 17:10:36

kutucuk (180 views)
2013-05-12 15:36:09

UnluckyDevil (187 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.09 seconds with 20 queries.