#jogamp @ irc.freenode.net - 20140626 05:05:28 (UTC)


20140626 05:05:28 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20140625050527.html
20140626 05:05:28 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20140626050528.html
20140626 06:10:13 * monsieur_max (~maxime@anon) has joined #jogamp
20140626 06:58:27 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20140626 07:17:51 * [Mike] (~Mike]@anon) has joined #jogamp
20140626 10:10:49 * rmk0 fights eclipse
20140626 11:21:51 * eclesia (~husky@anon) has joined #jogamp
20140626 11:21:55 <eclesia> hi
20140626 11:38:46 <sgothel> good morning :)
20140626 11:43:30 <rmk0> lo
20140626 11:48:30 <rmk0> sgothel: in JNILibLoaderBase.addNativeJarLibs, i notice that it iterates over the classesFromJavaJars array but stops if any element is null... is there any reason for this? i notice in the javadoc comment, an array with a null element at the end is passed in, but ... don't know why
20140626 11:49:01 <sgothel> need to check :)
20140626 11:49:08 <sgothel> hold on
20140626 11:49:13 <rmk0> take your time
20140626 11:51:52 <sgothel> only 'user' of null is GLProfile .. hmm
20140626 11:52:19 <sgothel> it's an optional entry
20140626 11:52:32 <sgothel> due to lack of dynamic use of arrays
20140626 11:52:48 <sgothel> we could also add a branch in that method, instead of stopping
20140626 11:53:55 <sgothel> no further deep meanings :)
20140626 11:54:38 <sgothel> (but that using arrays is faster than lists ofc)
20140626 11:58:00 <zubzub> how big is the array?
20140626 11:58:03 <zubzub> 100 000 elements?
20140626 11:58:57 <rmk0> ah, yeah, i see
20140626 11:59:49 <sgothel> you know, I really need a good reason to use high level and high footprint types :)
20140626 12:02:16 <zubzub> I usually google around
20140626 12:02:25 <zubzub> and end up with using a collection
20140626 12:04:04 <sgothel> the ration net/total gets worse for small sizes ofc
20140626 12:04:08 <sgothel> *ratio*
20140626 12:04:56 <sgothel> plus performance .. ArrayList is not so bad here, if no hash is requires ofc - but array access can't be bet
20140626 12:04:57 <zubzub> if it's a fix sized large amount of data that will never have to add/remove, I usually take an array
20140626 12:05:10 <zubzub> sgothel: idd
20140626 12:10:20 <rmk0> i assume that by removing the aliasing, we'll be producing "-core" "-android", etc, natives?
20140626 12:10:37 <sgothel> yes sir
20140626 12:10:46 <sgothel> hence all this crap can go away :)
20140626 12:10:55 <sgothel> hence I love it :)
20140626 12:10:55 <rmk0> hehe, yes, trying to work out what needs to go
20140626 12:11:18 <rmk0> feels like addNativeJarLibs can be reduced to one parameter... just a list of classes
20140626 12:11:23 <sgothel> I recommend do 'remove aliasing' first
20140626 12:11:29 <rmk0> yeah
20140626 12:11:47 <sgothel> yes .. and then change the build recipe to produce the duplicates (only needed in jogl)
20140626 12:11:55 <rmk0> right
20140626 12:11:59 <sgothel> maybe all modules of jogl ..
20140626 13:12:33 * bbbruce (~bx@anon) Quit (Ping timeout: 244 seconds)
20140626 13:54:48 * zzuegg is now known as zzuegg|afk
20140626 13:56:57 * bbbruce (~bx@anon) has joined #jogamp
20140626 15:21:49 * kermyt (~kermyt@anon) Quit (Excess Flood)
20140626 15:21:57 * kermyt (~kermyt@anon) has joined #jogamp
20140626 15:22:11 * kermyt (~kermyt@anon) Quit (Changing host)
20140626 15:22:11 * kermyt (~kermyt@anon) has joined #jogamp
20140626 16:02:55 * juank_prada (~juank_pra@anon) has joined #jogamp
20140626 16:04:45 * eclesia (~husky@anon) has left #jogamp
20140626 17:20:22 <juank_prada> Jow do you prevent newt GLWindow from being resized if decorated?
20140626 17:20:26 <juank_prada> *how
20140626 17:20:48 <sgothel> we have a feature req. AFAIK
20140626 17:21:14 <sgothel> https://jogamp.org/bugzilla/show_bug.cgi?id=940 ?
20140626 17:21:25 <juank_prada> I can't find a way other than using AWT Frame and setting the frame.setResizable(false)
20140626 17:21:27 <juank_prada> ahh ok
20140626 17:21:59 <sgothel> if not matching .. well, will be done this year .. not too high of a prio
20140626 17:22:10 <sgothel> but anybody is welcome to add this feature for all platforms!
20140626 17:22:35 <juank_prada> is it something a newbie could help to do? or is it complex enough to be a headache for a noob :P?
20140626 17:22:41 <juank_prada> by noob I mean me
20140626 17:22:56 <sgothel> give it a try .. if you like to dive in .. why not ?
20140626 17:23:18 <sgothel> git, ansi-c .. X11, Windows + OSX
20140626 17:23:25 <sgothel> and java ofc ..
20140626 17:23:39 <sgothel> but not too much ansi-c is required ..
20140626 17:23:54 <juank_prada> well OSX would be the issue in my case, I dont have mac
20140626 17:24:08 <sgothel> 2 of 3 would be excellent
20140626 17:25:02 <juank_prada> I'll see what I can get :P
20140626 17:25:15 <juank_prada> I'll be bugging you from time to time then :D
20140626 17:25:33 <juank_prada> I mean asking questions and directions :P
20140626 17:25:34 <sgothel> sure
20140626 17:25:36 <sgothel> ofc
20140626 17:27:50 <juank_prada> now, I have other question. I just tried my application in fullscreen. My FPS dropes quite a lot (around 30%). Is that normal?. When using GLFW and other C based solutions I actually got an fps increase when in fullscreen
20140626 17:28:15 <juank_prada> so I think i might be doing something wrong
20140626 17:28:57 <sgothel> not necessarily ..
20140626 17:29:20 <sgothel> in general framerate may drop, since more pixels must be filled .. ofc
20140626 17:29:31 <sgothel> if you keep the resolution that is
20140626 17:29:44 <sgothel> so w/ GLFW do you keep the monitor resolution ?
20140626 17:30:22 <sgothel> ping
20140626 17:31:38 <juank_prada> well i think the monitor resolution is adjusted to the window size i create in GLFW (can't really remember right now, I used it a lot time ago)
20140626 17:32:06 <sgothel> you can adjust the monitor resolution w/ NEWT as well
20140626 17:32:19 <sgothel> there is a thing called getMainMonitor() AFAIK ..
20140626 17:32:28 <juank_prada> oh, didnt know that
20140626 17:32:30 <sgothel> you can set it's mode ..
20140626 17:32:39 <juank_prada> thanks, gonna try that out
20140626 17:32:42 <sgothel> you may want to do that before entering fullscreen
20140626 17:32:47 <juank_prada> yup
20140626 17:32:52 <juank_prada> :D awesome
20140626 17:33:52 <sgothel> there are unit tests showing you how to .. 'find src/test -name \*ScreenMode\*'
20140626 17:34:04 <sgothel> within jogl's source tree
20140626 17:36:38 <juank_prada> thankyou
20140626 17:36:40 <juank_prada> :D
20140626 17:39:35 * [Mike] (~Mike]@anon) Quit ()
20140626 18:07:08 <juank_prada> yup changing resolution with ScreenModes helped a lot :D
20140626 18:07:10 <juank_prada> thanks
20140626 18:07:49 <juank_prada> love JOGL :)
20140626 18:08:17 <sgothel> great you like it
20140626 18:32:49 * zzuegg|afk is now known as zzuegg
20140626 18:45:33 -tomaw- [Global Notice] Hi all. I'm going to reroute a hub and then restart a client server for a few updates. It'll be noisy but should be brief!
20140626 18:46:07 * masterzen (~masterzen@anon) Quit (*.net *.split)
20140626 18:46:10 * zzuegg (zzuegg@anon) Quit (*.net *.split)
20140626 18:46:10 * odin_ (~Odin@anon) Quit (*.net *.split)
20140626 18:46:11 * kermyt (~kermyt@anon) Quit (*.net *.split)
20140626 18:46:15 * jk4 (~jk4@anon) Quit (*.net *.split)
20140626 18:46:16 * zubzub (~zubzub@anon) Quit (*.net *.split)
20140626 18:46:16 * bbbruce (~bx@anon) Quit (*.net *.split)
20140626 18:46:17 * magaio (~magaio@anon) Quit (*.net *.split)
20140626 18:46:21 * sgothel (~sgothel@anon) Quit (*.net *.split)
20140626 18:47:08 * kermyt (~kermyt@anon) has joined #jogamp
20140626 18:47:08 * bbbruce (~bx@anon) has joined #jogamp
20140626 18:47:08 * magaio (~magaio@anon) has joined #jogamp
20140626 18:47:08 * zzuegg (zzuegg@anon) has joined #jogamp
20140626 18:47:08 * odin_ (~Odin@anon) has joined #jogamp
20140626 18:47:08 * masterzen (~masterzen@anon) has joined #jogamp
20140626 18:47:08 * jk4 (~jk4@anon) has joined #jogamp
20140626 18:47:08 * zubzub (~zubzub@anon) has joined #jogamp
20140626 18:47:08 * sgothel (~sgothel@anon) has joined #jogamp
20140626 18:55:44 * [Mike] (~Mike]@anon) has joined #jogamp
20140626 19:10:13 * juank_prada (~juank_pra@anon) Quit (Ping timeout: 240 seconds)
20140626 19:13:55 * juank_prada (~juank_pra@anon) has joined #jogamp
20140626 20:20:46 * juank_prada (~juank_pra@anon) Quit (Quit: Leaving)
20140626 21:58:10 * zzuegg (zzuegg@anon) Quit (Read error: Connection reset by peer)
20140626 22:21:53 * jogamp (~jogamp@anon) Quit (Ping timeout: 264 seconds)
20140626 22:21:53 * Disconnected.