Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (517)
Games in Android Showcase (123)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  JOGLAppletLauncher and slow repaint on Firefox/Mozilla  (Read 8167 times)
0 Members and 1 Guest are viewing this topic.
Offline Ken Russell

JGO Coder




Java games rock!


« Reply #30 - Posted 2006-02-19 21:37:57 »

That swapinterval bit is more like a hint. You can also call it without a param to get the currently used value... well, thats how its supposed to work, but currently only Nvidia actually supports that (havent tested it for more than a year tho... eventually it works now with ATI, too)

On the driver side you usually have 4 possible settings for vsync. Always on, on by default, off by default and always off. Only if its #2 or #3 you can change it from your application.

I'm aware of the semantics of wglSetSwapIntervalEXT. What I don't understand is why code run inside of Mozilla/Firefox would behave differently from the exact same code running inside of IE. On my machine I can see slower performance in Mozilla 100% of the time with no changes to the driver settings. As I said it looks like wglSetSwapIntervalEXT is being silently ignored. I don't know of any bits that can be set in the WNDCLASS or during CreateWindowEx that could affect SwapBuffers, and neither Mozilla or the Java Plug-In is using either DirectDraw or OpenGL itself. I've looked through the Firefox source code and didn't find anything obviously suspicious in how it was setting up its window, and have also looked through the Java Plug-In sources and didn't see anything that I thought could affect the behavior one way or another.

I'll post about this on the NVidia forums this week after the holiday.
Offline c_lilian

Senior Duke


Projects: 1


Java games will probably rock someday...


« Reply #31 - Posted 2007-01-22 13:19:40 »

waking up this topic as there are news on the mozilla bugtracking system :

https://bugzilla.mozilla.org/show_bug.cgi?id=326381

I don't know what's this Talkback component, but may be somebody here can help, Ken ? Smiley

Lilian Smiley

Offline GKW

Senior Duke




Revenge is mine!


« Reply #32 - Posted 2007-01-22 16:06:38 »

Apparently all you have to do is turn off the talkback bug reporting agent.  If you are using windows you just have to find talkback.exe, run it and follow the instructions to turn it off.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline c_lilian

Senior Duke


Projects: 1


Java games will probably rock someday...


« Reply #33 - Posted 2007-01-22 17:47:00 »

Incredible !

On my basic test case : from 50 to 1300 FPS !!!

!!!!!!!!!!!!!  Cheesy Cheesy Cheesy

Offline Ken Russell

JGO Coder




Java games rock!


« Reply #34 - Posted 2007-01-22 23:06:57 »

Wow! Thanks all for tracking this down. I've filed and fixed Issue 263 against JOGL and documented the root cause of the slowdown in the JOGLAppletLauncher. Great detective work!!!
Offline aldacron

Senior Duke


Medals: 9
Exp: 16 years


Java games rock!


« Reply #35 - Posted 2007-01-23 04:46:18 »

Apparently all you have to do is turn off the talkback bug reporting agent.  If you are using windows you just have to find talkback.exe, run it and follow the instructions to turn it off.

Or you can go to Tools->Add-ons->Extensions and click the Disable button next to the Talkback entry. Or you can uninstall it altogether from the same place. For Firefox, anyway. I've no idea about Mozilla.
Offline GKW

Senior Duke




Revenge is mine!


« Reply #36 - Posted 2007-01-23 07:13:22 »

Sure, if you want to do it the easy way.  Certainly a little easier than doing it manually.
Pages: 1 [2]
  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.

TehJavaDev (34 views)
2014-10-27 03:28:38

TehJavaDev (27 views)
2014-10-27 03:27:51

DarkCart (41 views)
2014-10-26 19:37:11

Luminem (22 views)
2014-10-26 10:17:50

Luminem (27 views)
2014-10-26 10:14:04

theagentd (33 views)
2014-10-25 15:46:29

Longarmx (61 views)
2014-10-17 03:59:02

Norakomi (59 views)
2014-10-16 15:22:06

Norakomi (48 views)
2014-10-16 15:20:20

lcass (43 views)
2014-10-15 16:18:58
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!