Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (582)
games submitted by our members
Games in WIP (503)
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 687 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.

 

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

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (72 views)
2014-04-15 18:08:23

BurntPizza (68 views)
2014-04-15 03:46:01

UprightPath (79 views)
2014-04-14 17:39:50

UprightPath (65 views)
2014-04-14 17:35:47

Porlus (80 views)
2014-04-14 15:48:38

tom_mai78101 (104 views)
2014-04-10 04:04:31

BurntPizza (164 views)
2014-04-08 23:06:04

tom_mai78101 (260 views)
2014-04-05 13:34:39

trollwarrior1 (210 views)
2014-04-04 12:06:45

CJLetsGame (220 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!