#jogamp @ irc.freenode.net - 20140520 05:05:15 (UTC)
20140520 05:05:15 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20140519050515.html
20140520 05:05:15 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20140520050515.html
20140520 05:10:44 * [Mike] (~Mike]@anon) Quit ()
20140520 05:40:31 * guardianp (~gp@anon) has joined #jogamp
20140520 06:35:47 * guardianp (~gp@anon) Quit (Ping timeout: 252 seconds)
20140520 07:24:55 * kermyt (~kermyt@anon) Quit (Ping timeout: 252 seconds)
20140520 07:29:03 * jvanek (jvanek@anon) has joined #jogamp
20140520 07:39:01 * kermyt (~kermyt@anon) has joined #jogamp
20140520 08:00:00 * kermyt (~kermyt@anon) Quit (Ping timeout: 258 seconds)
20140520 08:09:34 * kermyt (~kermyt@anon) has joined #jogamp
20140520 08:14:13 * guardianp (~gp@anon) has joined #jogamp
20140520 08:28:48 * hija (~hija@anon) Quit (Quit: hija)
20140520 08:47:11 * guardianp is now known as pet
20140520 08:48:34 * rmk0 (~rmk0@anon) has joined #jogamp
20140520 09:17:22 * hija (~hija@anon) has joined #jogamp
20140520 11:13:48 * xranby (~xranby@anon) has joined #jogamp
20140520 11:43:25 * pet (~gp@anon) Quit (Ping timeout: 252 seconds)
20140520 11:53:17 * guardianp (~gp@anon) has joined #jogamp
20140520 12:15:08 * odin_ (~Odin@anon) has joined #jogamp
20140520 13:13:08 * jvanek (jvanek@anon) Quit (Quit: Leaving)
20140520 13:18:58 * xranby (~xranby@anon) Quit (Ping timeout: 240 seconds)
20140520 13:33:00 * xranby (~xranby@anon) has joined #jogamp
20140520 13:55:51 * guardianp (~gp@anon) has left #jogamp
20140520 15:56:50 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20140520 16:29:40 * monsieur_max (~maxime@anon) has joined #jogamp
20140520 17:26:32 * hija (~hija@anon) Quit (Quit: hija)
20140520 17:58:42 <sgothel> API collisions w/ HiDPI, e.g. 'AWT Component' and 'GL[Auto]Drawable] getWidth()
20140520 17:59:02 <sgothel> drawn to rename it to getPixelWidth() .. yes, this would be a bad thing ..
20140520 17:59:11 <sgothel> in OSX HiDPI: AWT getWidth() == getPixelWidth()/scale ..
20140520 17:59:32 <sgothel> e.g. collisions in GLCanvas and GLJPanel
20140520 18:00:20 <sgothel> right now AWT Component and GL[Auto]Drawable shares same API entry for getWidth()/getHeight() ..
20140520 18:00:37 <sgothel> a getPixelWidth()/getPixelHeight() would solve this .. well
20140520 18:00:55 <sgothel> or getWidth()*getScaleX() .. etc
20140520 18:01:09 <sgothel> both would require a rewrite or adoption
20140520 18:01:26 <sgothel> I favor getPixelWidth() .. have to think ..
20140520 18:01:29 <sgothel> opinions ?
20140520 18:01:40 <sgothel> @Mark, @Xerxes, anybody ?
20140520 18:20:58 <sgothel> exposing the detail of 'scale' to GLDrawable would be bad .. i.e. one would need to consider such detail
20140520 18:24:27 <sgothel> getPixelWidth, getPWidth, getSurfWidth ...
20140520 18:24:41 <sgothel> Surf == Surface
20140520 18:25:29 <sgothel> This change would need to be aligned w/ NativeSurface and GLDrawable, i.e. the new method name would need to apply for both
20140520 18:25:53 <sgothel> hence .. I favor getPixWidth getPixelWidth .. etc
20140520 18:54:55 <sgothel> https://jogamp.org/bugzilla/show_bug.cgi?id=741#c1
20140520 19:04:28 * [Mike] (~Mike]@anon) has joined #jogamp
20140520 19:13:19 <sgothel> going ahead w/ API change proposal in branch 'bug742_hidpi': getPixelWidth() and getWindowWidth() .. etc
20140520 19:16:31 <sgothel> bug741_hidpi ..
20140520 20:44:39 * hija (~hija@anon) has joined #jogamp
20140520 21:02:08 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20140520 21:30:15 * xranby (~xranby@anon) Quit (Ping timeout: 240 seconds)
20140520 21:45:14 * xranby (~xranby@anon) has joined #jogamp
20140520 22:04:55 * xranby (~xranby@anon) Quit (Ping timeout: 252 seconds)
20140520 22:07:26 * xranby (~xranby@anon) has joined #jogamp
20140520 22:15:40 * hharrison (~chatzilla@anon) has joined #jogamp
20140520 22:16:09 <hharrison> sgothel: your API seems reasonable, unfortunate to change jogl core API
20140520 22:16:25 <hharrison> But it is pretty nice to be unambiguous with the AWT methods now
20140520 22:18:49 <hharrison> Although I suppose having the old API just wrap getWinWidth/getWinHeight is a nice answer
20140520 22:19:09 <hharrison> stay compatible API-wise, deprecate the old methods
20140520 22:19:52 <hharrison> ALso...have you pushed out the bug741_hidpi branch yet?
20140520 22:40:29 * hija (~hija@anon) Quit (Quit: hija)
20140520 22:40:29 * xranby (~xranby@anon) Quit (Ping timeout: 252 seconds)
20140520 22:40:30 <sgothel> not yet ..
20140520 22:40:35 <sgothel> still refactoring ..
20140520 22:40:47 <hharrison> OK...thought I might have looked in the wrong place
20140520 22:41:09 <hharrison> we're working on getting a mavericks machine set up over here
20140520 22:41:14 <sgothel> regarding compatibility .. well, will drop getWidth/Height in GLDrawable .. to point to the change, otherwise ..
20140520 22:41:38 <sgothel> btw .. NewtCanvasAWT tests are working here w/ a retina OSX
20140520 22:41:52 * xranby (~xranby@anon) has joined #jogamp
20140520 22:41:59 <sgothel> then .. the mouse events of NEWT ..
20140520 22:42:11 <sgothel> window coordinates I assume ?
20140520 22:42:21 <sgothel> all those details :-/
20140520 22:42:23 <hharrison> seems reasonable
20140520 22:43:09 <hharrison> darn, WTF can we be doing in jaamsim then that's different....
20140520 22:43:47 <hharrison> We just got it running, no GL errors, window is there...just blank grey for the whole thing
20140520 22:43:59 <sgothel> since in NEWT we do deliver events per window .. inside a window, pixel coord. would be fine as well
20140520 22:44:26 <sgothel> hmm .. but we can debate all this while going on ..
20140520 22:44:40 <sgothel> a jaamsim latest-jogl + HiDPI ?
20140520 22:44:48 <hharrison> yeah
20140520 22:45:16 <hharrison> I'm off to look at that unit test to compare it to our window setup code
20140520 22:45:43 <sgothel> HiDPI: I will code things like: 'always use native resolution, i.e. HiDPI' for now ..
20140520 22:46:00 <sgothel> I did it for GLJPanel for a test .. works nice
20140520 22:46:26 <sgothel> allowing the user-scale .. if we will do that .. will be a bit more work later-on
20140520 22:47:04 * hija (~hija@anon) has joined #jogamp
20140520 22:47:15 <sgothel> com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NewtCanvasAWT <- I was testing this one
20140520 22:49:16 <hharrison> yeah, you noted that one for me earlier, still haven't gotten that fired up yet
20140520 22:50:13 <sgothel> @Xerxes: W/ GraphUI's new GLEventListenerButton one could create a 'live demo' menu, i.e. w/ running demos inside the buttons
20140520 22:53:46 <sgothel> contemplating about those GraphUI buttons .. they can become windows w/ event fwd... :)
20140520 23:11:38 <sgothel> HiDPI + NEWT: Will focus an making window-dim == pixel-dim .. hence using pixel-units all the way, should make life easier. Only w/ 'alien' toolkits like AWT, we actually need to avoid API collision and 'window unit' awareness .. hmm
20140520 23:19:04 * hija (~hija@anon) Quit (Quit: hija)
20140520 23:58:13 * kermyt (~kermyt@anon) Quit (Ping timeout: 252 seconds)
20140521 00:01:16 * kermyt (~kermyt@anon) has joined #jogamp
20140521 00:07:26 * hija (~hija@anon) has joined #jogamp
20140521 00:32:24 * rmk0 (~rmk0@anon) Quit (Ping timeout: 276 seconds)
20140521 01:13:06 * hija (~hija@anon) Quit (Quit: hija)
20140521 02:24:13 * guardianp (~gp@anon) has joined #jogamp
20140521 05:05:15 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20140521050515.html