Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (753)
Games in Android Showcase (228)
games submitted by our members
Games in WIP (842)
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 1616 times)
0 Members and 1 Guest are viewing this topic.
Offline No_Germs

Junior Devvie

« Posted 2005-09-10 14: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"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 Devvie

Java games rock!

« Reply #1 - Posted 2005-09-10 22: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 Devvie

If only I knew what I'm talking about!

« Reply #2 - Posted 2005-09-11 06: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.

Java2D Team
Pages: [1]
  ignore  |  Print  

nelsongames (19 views)
2018-04-24 18:15:36

nelsongames (17 views)
2018-04-24 18:14:32

ivj94 (607 views)
2018-03-24 14:47:39

ivj94 (51 views)
2018-03-24 14:46:31

ivj94 (400 views)
2018-03-24 14:43:53

Solater (65 views)
2018-03-17 05:04:08

nelsongames (110 views)
2018-03-05 17:56:34

Gornova (175 views)
2018-03-02 22:15:33

buddyBro (746 views)
2018-02-28 16:59:18

buddyBro (93 views)
2018-02-28 16:45:17
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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‑
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!