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 (290)
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  
  what's up with the pipeline???  (Read 569 times)
0 Members and 1 Guest are viewing this topic.
Offline No_Germs

Junior Member





« Posted 2005-09-10 16:07:07 »

as mentioned in my few previous posts, the rendering of my game is dog slow.
after i've posted the results of -Dsun.java2d.trace=count, i was told that the d3d\opengl pipeline isn't enabled.
well, here are the results of -Dsun.java2d.trace=count now:

1696 calls to sun.java2d.loops.MaskBlit::MaskBlit(IntArgb, SrcOver, Ushort565Rgb)
1696 calls to sun.java2d.loops.Blit$GeneralMaskBlit::Blit(IntArgb, SrcOverNoEa, "D3D texture destination")
36 calls to sun.awt.windows.Win32BlitLoops::Blit("Short 565 RGB DirectDraw", SrcNoEa, "Short 565 RGB DirectDraw")
630 calls to sun.java2d.loops.MaskFill::MaskFill(AnyColor, Src, IntArgb)
41180 calls to sun.java2d.loops.Blit::Blit(Ushort565Rgb, SrcNoEa, IntArgb)
37 calls to sun.java2d.loops.Blit::Blit(IntRgb, SrcNoEa, IntArgb)
449 calls to sun.java2d.loops.MaskBlit$General::MaskBlit(Ushort565Rgb, SrcNoEa, IntArgb)
37 calls to sun.java2d.loops.MaskBlit::MaskBlit(IntArgb, AnyAlpha, IntArgbBm)
52 calls to sun.java2d.loops.DrawGlyphList::DrawGlyphList(OpaqueColor, SrcNoEa, AnyShort)
43 calls to D3DDrawRect
2625 calls to GDIFillShape
14 calls to sun.java2d.loops.Blit::Blit(IntRgb, SrcNoEa, Ushort565Rgb)
3 calls to GDIFillRect
37 calls to sun.java2d.loops.Blit$GeneralMaskBlit::Blit(IntRgb, SrcNoEa, IntArgbBm)
38006 calls to sun.java2d.loops.Blit::Blit(IntArgbBm, SrcOverNoEa, Ushort565Rgb)
9759 calls to DDFillRect
37 calls to sun.java2d.loops.MaskBlit$General::MaskBlit(IntRgb, SrcNoEa, IntArgbBm)
41 calls to GDIDrawShape
57 calls to sun.java2d.loops.DrawPolygons::DrawPolygons(OpaqueColor, SrcNoEa, AnyInt)
449 calls to sun.java2d.loops.MaskBlit::MaskBlit(IntArgb, AnyAlpha, IntArgb)
96884 total calls to 20 different primitives

as you can see by the line :"43 calls to D3DDrawRect" there are d3d calls. i thought this means the pipeline is enabled, isn't it?
Offline Ask_Hjorth_Larsen

Junior Member




Java games rock!


« Reply #1 - Posted 2005-09-11 00:14:43 »

I think some of the fancy D3D stuff happens even though pipeline isn't enabled. Some operations are accelerated even if no pipeline is used. The pipeline is just a way to get more stuff accelerated, at the possible cost of some compatibility (the OGL pipeline makes a lot of fuss on my laptop, for example). Besides, the D3D pipeline won't exist till Mustang, while the OGL one which you probably want to use is in Tiger (1.5.0).
Offline trembovetski

Senior Member




If only I knew what I'm talking about!


« Reply #2 - Posted 2005-09-11 08:27:18 »

Could you please post a bit more details.

Was that with 6.0 or 5.0?
Was that with -Dsun.java2d.d3d=true?
Could you try 6.0 with -Dsun.java2d.opengl=true ?

And, it'd be really nice if you posted the code for your app somewhere.
We keep playing this guess game here.

If this was 5.0 - there were no such thing as d3d pipeline there, but a couple
of primitives (lines, for exampe, I'm not sure about rects) were going through d3d.

Dmitri
Java2D Team
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!
 
Browse for soundtracks 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 (63 views)
2013-05-17 21:29:12

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

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

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

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

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

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

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

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

UnluckyDevil (176 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.095 seconds with 20 queries.