#jogamp @ irc.freenode.net - 20140622 05:05:27 (UTC)


20140622 05:05:27 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20140621050527.html
20140622 05:05:27 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20140622050527.html
20140622 05:27:17 * [Mike] (~Mike]@anon) Quit ()
20140622 07:18:17 * monsieur_max (~maxime@anon) has joined #jogamp
20140622 08:36:42 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20140622 08:39:07 * [Mike] (~Mike]@anon) has joined #jogamp
20140622 10:07:31 * odin_ (~Odin@anon) has joined #jogamp
20140622 18:29:36 * monsieur_max (~maxime@anon) has joined #jogamp
20140622 19:52:21 * void256 (~void@anon) has joined #jogamp
20140622 20:23:30 <zubzub> when the fpscounter interface talks about 'time' is the the OS dependent user time eg System.currentTimeMillis() which is subject to time changes, or the System.nanoTime() which is the monotonic high accuracy user independent kernel time?
20140622 20:25:01 <sgothel> yeah .. should be .. at least the latter, however .. I added Platform.get<Time>() to be sure :)
20140622 20:25:36 <sgothel> i.e. precision vs accuracy
20140622 20:25:46 <sgothel> Platform.currentTimeMillis()
20140622 20:26:17 <sgothel> AFAIK the System variant may choose to use 'cached' values .. or sort of .. for performance reasons
20140622 20:26:25 <sgothel> (i.e. lacks accuracy)
20140622 20:26:40 <sgothel> I had troubles w/ our GLMediaPlayer .. a/v sync
20140622 20:27:00 <zubzub> errr
20140622 20:27:01 <sgothel> hence the Platform variation .. which simply issues a native call .. yes, expensive
20140622 20:27:11 <zubzub> what do you mean with Platform getTime?
20140622 20:27:30 <zubzub> I'm thinking of implementing my own custom animator
20140622 20:27:37 <sgothel> then others said .. System variant should be accurate .. but I stopped investigating then .. maybe depends on some JVM implementation
20140622 20:28:07 <sgothel> com.jogamp.common.os.Platform.currentTimeMillis() .. and the Micro variation
20140622 20:28:37 <sgothel> We can enhance our Animator .. by setting a flag for using our Platform 'accurate' time, if you like
20140622 20:28:50 <sgothel> I thought about it .. but missed it .. not tackled yet
20140622 20:30:15 <zubzub> well it's not that important to me :)
20140622 20:30:18 <zubzub> I was just wondering
20140622 20:30:27 <zubzub> what I should use if I implement my own animator
20140622 20:30:44 <sgothel> So .. AnimatorBase currently [still] uses System.currentTimeMillis(),
20140622 20:30:45 <zubzub> or maybe it doesn't matter as long as I'm consistent?
20140622 20:30:57 <sgothel> assuming that high accuracy .. is not yet required
20140622 20:31:16 <sgothel> if you need to sync w/ hardware, you would need high accuracy and resolution
20140622 20:31:33 <zubzub> well I'm planning on doing vsync
20140622 20:31:47 <zubzub> instead of doing my own fps
20140622 20:31:51 <sgothel> is you simply need something to get an estimate but be monotonic .. etc .. this would be enough
20140622 20:32:13 <sgothel> usually vsync is done via GL itself, utilizing hardware interrupts
20140622 20:32:45 <sgothel> trying to do it yourself .. via polling .. is tricky, if not impossible
20140622 20:33:08 <sgothel> however .. in this case accuracy is important ofc
20140622 20:33:23 <sgothel> GL sync -> swap-interval > 0
20140622 20:34:27 <sgothel> in our A/V sync case .. (~10ms accuracy required) .. it seems that System was not good enough to compare timestamps .. in some cases
20140622 21:27:09 * bgroenks (~chatzilla@anon) has joined #jogamp
20140622 21:27:40 * void256_ (~void@anon) has joined #jogamp
20140622 21:30:18 * void256 (~void@anon) Quit (Ping timeout: 244 seconds)
20140622 21:30:21 * void256_ is now known as void256
20140622 21:53:18 * bgroenks (~chatzilla@anon) Quit (Remote host closed the connection)
20140622 22:03:52 * void256 (~void@anon) Quit (Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243])
20140622 22:11:07 * void256 (~void@anon) has joined #jogamp
20140622 23:31:40 * zzuegg is now known as zzuegg|afk
20140622 23:46:19 * void256 (~void@anon) Quit (Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243])
20140623 02:12:57 * rmk0 (~rmk0@anon) Quit (Remote host closed the connection)
20140623 02:12:57 * rmk0 (~rmk0@anon) has joined #jogamp
20140623 02:12:58 * rmk0 (~rmk0@anon) Quit (Changing host)
20140623 02:12:58 * rmk0 (~rmk0@anon) has joined #jogamp
20140623 05:05:27 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20140623050527.html