#jogamp @ irc.freenode.net - 20130627 05:05:42 (UTC)


20130627 05:05:42 -CatOut- Previous @ http://jogamp.org/log/irc/jogamp_20130626050542.html
20130627 05:05:42 -CatOut- This channel is logged @ http://jogamp.org/log/irc/jogamp_20130627050542.html
20130627 06:31:18 * monsieur_max (~maxime@anon) has joined #jogamp
20130627 06:32:02 <monsieur_max> a fine day to you, gentlemen
20130627 07:29:18 <sgothel> good morning & day ladies (?) and gentleman
20130627 07:35:35 * xranby (~xranby@anon) Quit (*.net *.split)
20130627 07:37:20 * odin_ (~Odin@anon) Quit (*.net *.split)
20130627 07:37:25 * monsieur_max (~maxime@anon) Quit (*.net *.split)
20130627 07:37:26 * [Mike] (~Mike]@anon) Quit (*.net *.split)
20130627 07:37:48 * jk4 (~jk4@anon) Quit (*.net *.split)
20130627 07:40:22 * monsieur_max (~maxime@anon) has joined #jogamp
20130627 07:40:22 * [Mike] (~Mike]@anon) has joined #jogamp
20130627 07:40:22 * xranby (~xranby@anon) has joined #jogamp
20130627 07:40:22 * jk4 (~jk4@anon) has joined #jogamp
20130627 07:40:22 * odin_ (~Odin@anon) has joined #jogamp
20130627 07:42:40 * olamedia_ (~olamedia@anon) Quit (Ping timeout: 256 seconds)
20130627 07:43:44 * [Mike] (~Mike]@anon) Quit (Read error: Connection reset by peer)
20130627 11:15:00 <sgothel> Dominik says: He tries his best squeezing the T-Shirts in this weekend. If fails .. well, we need Plan-B :)
20130627 11:15:26 <sgothel> SVG editor anybody ? :)
20130627 11:52:20 * xranby (~xranby@anon) Quit (Ping timeout: 256 seconds)
20130627 12:23:46 * xranby (~xranby@anon) has joined #jogamp
20130627 12:40:01 * xranby (~xranby@anon) Quit (Ping timeout: 248 seconds)
20130627 12:49:02 * xranby (~xranby@anon) has joined #jogamp
20130627 12:53:19 * jk4 (~jk4@anon) Quit (Ping timeout: 256 seconds)
20130627 12:54:11 * jk4 (~jk4@anon) has joined #jogamp
20130627 13:29:28 <xranby> sgothel: inkscape fix all my svg needs
20130627 13:29:51 <xranby> there is some good svg editors for kde but i have not investigated them
20130627 13:30:48 <xranby> all in all inkscape with EPS export have enabled me to send prints for pencils and pack-tape rolls.. its an awesome tool
20130627 14:07:38 <xranby> sgothel: ahh. LWJGL 2.9.0 contains a complete rewrite of the OS X backend.. you should then talk to "Kappa" https://github.com/kappaOne who implements most of the LWJGL OSX fixes
20130627 14:08:14 <xranby> http://lwjgl.org/forum/index.php/topic,4974.0.html - LWJGL 2.9.0 released on April 21 2013
20130627 14:11:27 <xranby> http://www.lwjgl.org/changelogs/2.9.0-changelog.txt
20130627 14:11:39 <xranby> that log contains all email adresses
20130627 14:43:37 <sgothel> I have seen those patches yesterday, they are similar to ours, I guess add the version check.
20130627 14:44:04 <sgothel> not sure .. will do the OSX test and disable workaround respecting java version
20130627 14:44:34 <sgothel> inkspape ? thx will check later
20130627 14:44:41 <sgothel> jake2 fixes are out
20130627 14:47:17 <sgothel> "you should then talk" -> "you may want to talk" :)
20130627 14:58:39 <sgothel> .. making an Applet now .. sign and add to page
20130627 15:22:59 <xranby> thank you for suggesting grammar fix, it was not my intention to force you :)
20130627 15:23:16 <sgothel> hehe .. kicking ole Sven
20130627 15:23:46 <sgothel> Q: We removed that ole javascript bridge from Jake2 AFAIK ..
20130627 15:23:59 <sgothel> currently commented out .. i.e. to resize applet space
20130627 15:24:15 <sgothel> are those (netscape packages I assume) non standard ?
20130627 15:24:20 <xranby> i am working on a 2.0.2-rc12 blog post, i find this release notable since it include the largest security review in the 10-year history of JOGL!
20130627 15:24:36 <sgothel> hohoho :)
20130627 15:25:15 <sgothel> thx .. sounds dramatic, it sure is
20130627 15:25:47 <sgothel> guess those netscape javascript-bridge stuff is n/a in openjdk ?
20130627 15:26:15 <xranby> the javascript bridge is a major feature of icedtea-web
20130627 15:26:22 <xranby> and working
20130627 15:26:37 <sgothel> so we could re-enable it ?
20130627 15:26:49 <sgothel> tools.jar ?
20130627 15:28:00 <xranby> it have been working since 2009 http://dbhole.wordpress.com/2009/08/14/new-support-including-facebook-applet-in-the-np-java-plugin/
20130627 15:28:13 <sgothel> well .. so why did we remove it ?
20130627 15:28:26 <sgothel> AFAIK .. you were saying .. n/a or something :)
20130627 15:28:51 <xranby> we used a jar name only found inside the properitary plugin release
20130627 15:29:08 <sgothel> ahh .. so whats the 'proper way' ?
20130627 15:29:38 <xranby> hmm.. good question since icedtea-web jars are installed separately compared to the JDK
20130627 15:29:49 <xranby> and is usually found outside the JDK
20130627 15:29:57 <sgothel> oh dear :)
20130627 15:30:26 <xranby> OpenJDK itself do not contain any plugin jars
20130627 15:30:48 <sgothel> so I will do it like TARGET_RT_JAR, i.e. to be define either as env.var or property for ant
20130627 15:30:57 <sgothel> defaults to j2se tools.jar
20130627 15:32:50 <xranby> on my machine icedtea-web jars are installed in /usr/share/icedtea-web
20130627 15:33:33 <sgothel> /usr/share/icedtea-web/plugin.jar gotcha .. thx
20130627 15:54:02 <xranby> http://labb.zafena.se/?p=799 - please suggest improvements, yes it is a bit dramatic
20130627 15:59:36 <sgothel> just fix the 'Meet us @.. " links :)
20130627 15:59:44 <xranby> whats wrong with it?
20130627 15:59:49 <sgothel> sounds good .. and looks all colorful, great
20130627 15:59:52 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20130627 15:59:52 <xranby> oh
20130627 15:59:57 <xranby> i see
20130627 16:00:00 <xranby> they link to my page
20130627 16:00:30 <sgothel> I have noted that the 'div' id sometimes changes .. so maybe use the siggraph2013 root page .. dunno, will see :)
20130627 16:01:19 <xranby> i had major issues importing your div to my page so i resorted to use and old html table
20130627 16:01:37 <xranby> since i did not have the same css quirks
20130627 16:01:40 <sgothel> right .. major css hacking to vertically align it :)
20130627 16:02:22 <sgothel> but I mean the siggraph bof link's html anchor, I saw it changes once (I updated)
20130627 16:03:13 <xranby> i saw something similar
20130627 16:03:22 <xranby> using the link on the jogamp page
20130627 16:03:36 <sgothel> you can see the div id (the anchor) in the page source
20130627 16:03:42 <xranby> thus.. i dont know if the anchor remember where you last looked at the siggraph page?!
20130627 16:04:01 <xranby> when you follow the link
20130627 16:04:04 <sgothel> http://s2013.siggraph.org/attendees/birds-feather#8a87f553c5a39b2e15f860b1be0f57b89e242dd2
20130627 16:04:11 <sgothel> still works :)
20130627 16:04:56 <xranby> goody thats the link i use
20130627 16:07:19 <xranby> great pushing the link to the masses
20130627 16:08:09 <xranby> looking good http://planet.classpath.org/
20130627 16:21:51 <xranby> sgothel: would it be possible to make the android jogl-test package automatically download and install its dependencies using google play?
20130627 16:21:59 <xranby> or from the jogamp server
20130627 16:26:44 <xranby> is hungry harry still operating? no twitter and blog updates @ https://jogamp.org/blog/
20130627 16:32:26 <xranby> sgothel: sweet! jake2 built using maven and 2.0.2-rc12 like a charm!
20130627 16:33:52 <xranby> with maven2 installed the build instructions for jake2 are: 1: cd jake2 2: mvn install
20130627 16:58:54 <rmk0> \o/
20130627 16:58:58 * monsieur_max (~maxime@anon) has joined #jogamp
20130627 16:58:59 <rmk0> that's as it should be
20130627 16:59:17 <rmk0> is what i like about maven... enforced conventions mean everything looks and builds the same
20130627 16:59:21 <sgothel> back .. nice
20130627 17:07:18 <xranby> hungry harry looks good now.. thanks!
20130627 17:09:19 * [Mike] (~Mike]@anon) has joined #jogamp
20130627 17:26:56 <xranby> sgothel: ah right we should probably send kudos to fuzzmyapp for initializing the security review work
20130627 17:27:10 <xranby> sgothel: do you have contact with them still?
20130627 17:41:34 <sgothel> not ..
20130627 17:41:42 <sgothel> but go ahead, greetings to 'em
20130627 17:41:50 <sgothel> hope they don't find anything else :)
20130627 17:42:05 <sgothel> sure .. if the GL drivers sucks .. well
20130627 17:49:31 <xranby> sgothel: ok i add JogAmp send out thanks to the <a href="http://www.fuzzmyapp.com/">FuzzMyApp</a> researchers for healthy communication that triggered the security review work.
20130627 17:50:00 <sgothel> .. like the last drop ontop the barrel :)
20130627 17:50:13 <sgothel> it was .... on the list .. hehe
20130627 17:51:15 <xranby> its hard to say anything about their work since they probably need to talk to the OpenAL driver creator
20130627 17:51:36 <sgothel> yup .. which we switched .. luckily
20130627 17:52:05 <sgothel> however, all the last security emails .. plus your ass kicking led me to run 1 and then another security review
20130627 17:52:17 <sgothel> so .. good motivation!
20130627 17:53:31 <xranby> sgothel: you have my highest gratitude for performing the review!
20130627 17:53:40 <xranby> awesome
20130627 17:53:47 <sgothel> why we are at ..
20130627 17:54:04 <sgothel> couldn't add the 'sealed' to jogl, due to mixed atomic jar files
20130627 17:54:26 <sgothel> so the Q is .. do we like to drop signed atomic jar files in favor of higher security ?
20130627 17:54:31 <rmk0> apologies for being pretty useless during the review... unfortunately when it comes to jvm security, i don't know when a vulnerability is staring me in the face
20130627 17:54:43 <sgothel> i.e. sealing the jogamp* package namespace (-> no more derivations)
20130627 17:55:11 <xranby> i need to read up on the new sealed jar deployment introduced by the 7 plugin
20130627 17:55:24 <sgothel> i.e. an open unsealed package space would allow re-purpose of what could be a risk
20130627 17:55:40 <sgothel> i.e. derive from GLContextImpl .. for example
20130627 17:55:55 <sgothel> gluegen (most important) is safe though
20130627 17:56:18 <sgothel> ofc .. all this is academic, if the JRE/JVM has a leak :)
20130627 20:12:02 * void256 (~void@anon) has joined #jogamp
20130627 20:12:17 <xranby> void256: welcome
20130627 20:12:45 <void256> welcome like: "you are welcome" or "welcome to the chat"? =)
20130627 20:13:15 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20130627 20:13:17 <xranby> welcome back to the chat..
20130627 20:13:35 * monsieur_max (~maxime@anon) has joined #jogamp
20130627 20:13:42 <void256> alright :)
20130627 20:13:50 <void256> glad to be back ;)
20130627 20:14:06 <xranby> Did you find time to test niftygui with 2.0.2-rc12?
20130627 20:14:30 <xranby> i may try clone your git, update the pom and run maven install
20130627 20:14:31 <void256> unfortunately not yet :/
20130627 20:14:39 <void256> yes please
20130627 20:14:51 <xranby> which branch should i try?
20130627 20:14:56 <void256> did sven shared my readme.txt?
20130627 20:14:56 <xranby> https://github.com/void256/nifty-gui/network
20130627 20:15:08 <void256> 1.3
20130627 20:15:20 <void256> I've not yet merged my latest changes to 1.4
20130627 20:15:29 <xranby> allright, will mvn install run all jogl tests?
20130627 20:15:36 <void256> [22:14:56] void256 did sven shared my readme.txt?
20130627 20:16:02 <void256> because everything is explained in there
20130627 20:16:04 <void256> :)
20130627 20:16:10 <void256> mvn install does not run stuff
20130627 20:16:12 <xranby> ah no i have not seen it
20130627 20:16:19 <void256> then wait a second please
20130627 20:17:19 <void256> https://gist.github.com/void256/0710d7890339e61d145e
20130627 20:17:25 <void256> :)
20130627 20:17:32 <xranby> Thank you!
20130627 20:18:42 <void256> the 1.3 branch has been released some days ago as 1.3.3 so you should be running a 1.3.4-SNAPSHOT when you build the 1.3 branch at the moment
20130627 20:18:54 <void256> should still work the same
20130627 20:22:34 <sgothel> it's under files on server yes
20130627 20:22:56 <sgothel> Jens .. I saw you have some apple programming knowledge etc :)
20130627 20:23:04 <void256> oh oh
20130627 20:23:07 <void256> "some" :)
20130627 20:23:08 <sgothel> hehe
20130627 20:23:25 <void256> we're not doing it on my day job anymore :(
20130627 20:23:35 <void256> but yes, I've been on iOS
20130627 20:23:36 <xranby> uhoh.. i have to upgrade from maven 2.0 to 3.0 to compile niftygui
20130627 20:24:13 <sgothel> maybe you can add / or tell me whats required .. OSX bitmaps (window icon, mouse cursor) .. actually we would need same for X11, Windows, ..
20130627 20:24:19 <sgothel> not right now .. later maybe
20130627 20:24:38 <xranby> hmm.. and maven 3 looks not yet to be available on Ubuntu 12.04 that i run on this machine.. unless i install it manually?!
20130627 20:24:42 <sgothel> yesterday we started to brainstorm lwjgl .. and how to share some knowledge
20130627 20:25:03 <sgothel> hence I saw a few of your commits
20130627 20:25:30 <void256> I fixed the mouse cursor thing that was bugging nifty, yes
20130627 20:25:33 <void256> xranby: o_O
20130627 20:25:52 <void256> xranby: I wasn't aware of that being an issue
20130627 20:26:05 <sgothel> so while not needing to compete .. or which one is better, crap - we may simply can discuss what feature is solved which way ..
20130627 20:26:47 <xranby> void256: when i run mvn install using maven 2 i see http://paste.ubuntu.com/5805857/
20130627 20:27:51 <sgothel> http://jogamp.org/files/siggraph2013/
20130627 20:27:54 <void256> I'm not sure I'm the right one for that sgothel tho ... I know my way around xcode and I managed to compile lwjgl here (with lots of swearing :)
20130627 20:27:58 <sgothel> http://jogamp.org/files/siggraph2013/jens/
20130627 20:28:17 <sgothel> xerxes, mark .. all have write access
20130627 20:28:36 <sgothel> me back to jake2 applet :)
20130627 20:29:27 <void256> sgothel: that's the old presentation and video url. make sure you use the v2 version I sent last weekend :)
20130627 20:29:40 <void256> xranby: hmm, I Use maven 3.0.3 here :/
20130627 20:30:26 <void256> so thats way I'm not aware of that
20130627 20:30:37 <xranby> ok, I will have to study how to setup a 3 version.. later
20130627 20:31:28 <xranby> or if i can disable maven-site-plugin from nifty-controls/pom.xml and nifty-core/pom.xml
20130627 20:32:42 <void256> http://maven.apache.org/plugins/maven-site-plugin/maven-3.html#Using_maven-site-plugin_2.x_with_Maven_2_and_maven-site-plugin_3.x_with_Maven_3
20130627 20:32:51 <void256> I could try to add this for you
20130627 20:33:01 <void256> to see if it makes any difference?
20130627 20:33:27 <xranby> i commented out the two plugins... and now it compile nifty gui a lot
20130627 20:33:37 <void256> nice as well :)
20130627 20:33:56 <xranby> BUILD SUCCESSFUL
20130627 20:34:03 <void256> \m/
20130627 20:34:17 <void256> great, now run the demos to see of they work? :D
20130627 20:35:04 <xranby> yes 60fps using mvn exec:java -Dexec.mainClass=de.lessvoid.nifty.examples.jogl.NiftyTutorialJOGL
20130627 20:35:23 <xranby> a lot of bubbles and text
20130627 20:35:33 <void256> that seems to be right ;)
20130627 20:35:36 <xranby> wow!
20130627 20:35:43 <sgothel> updated
20130627 20:35:43 <xranby> impressive slideshow man!
20130627 20:35:45 <void256> it's a full nifty tutorial :)
20130627 20:35:58 <void256> thatnks sgothel
20130627 20:36:09 <sgothel> nice .. so Xerxes, you have the job showing Nifty .. Ok ?
20130627 20:36:13 <xranby> OK½!
20130627 20:36:16 <sgothel> THX
20130627 20:36:27 <xranby> i mean this is awesome
20130627 20:36:38 <void256> and its about 3 years old ^^
20130627 20:37:07 <void256> but the information it contains is still relevant
20130627 20:37:43 <void256> at that time I thought this would be enough to get people to learn Nifty but somehow they all kinda missed that one ;) the pdf manual was a much better success
20130627 20:38:08 <xranby> if you can deploy this to android store etc you will have an instant sucess
20130627 20:38:15 <xranby> it looks tablet friendly
20130627 20:38:24 <sgothel> .. GL2ES2 ! :)
20130627 20:39:06 <void256> yeah - shouldn't be that hard :P didn't have a lot of time yet for it tho :/
20130627 20:39:30 <sgothel> _that_ would bring your UI across all platforms
20130627 20:40:29 <void256> sure but that really wasn't a goal for nifty ... it was meant for the desktop :) tablets would be nice tho
20130627 20:41:25 <void256> (I'm kinda on the iOS side and don't have any android hardware available - so it hasn't been a top priority until now)
20130627 20:42:18 <void256> and I really believe in the "you have to design for touch-interfaces" kinda attitude and not some cheap port of a desktop version
20130627 20:43:24 <void256> but as a prove of concept having that running on a tablet would sure be great :D
20130627 20:45:55 <xranby> This was my maven 2 quickfix https://gist.github.com/xranby/6397483496cd81ac0142
20130627 20:46:22 <xranby> the only thing that do not work with maven 2 is to pass 2 -D options to mvn exec:java
20130627 20:46:39 <void256> thats bad :(
20130627 20:47:03 <void256> since the idea was to show that in comparison live
20130627 20:47:11 <xranby> then i run into an internal mvn issue Failed to configure plugin parameters for: org.codehaus.mojo:exec-maven-plugin:1.2.1 Cause: Cannot assign configuration entry 'arguments' to 'class [Ljava.lang.String;' from '${exec.arguments}', which is of type class java.lang.String
20130627 20:47:47 <xranby> thus yeah.. i guess i will have to look at how to setup maven 3
20130627 20:48:54 <xranby> void256: Thank you! Impressive with your fluid demo
20130627 20:49:06 <void256> did you try the other one as well?
20130627 20:49:10 <void256> the controls demo?
20130627 20:49:20 <xranby> yes i put the key in the chest
20130627 20:49:21 <void256> and yes, would be great if you could try it with maven 3
20130627 20:49:35 <void256> nice work then @ xranby ;D
20130627 20:50:04 <xranby> The fonts looked a bit funny... are they systemdependent?
20130627 20:50:19 <void256> no, not at all
20130627 20:50:24 <void256> its a bitmap font
20130627 20:50:39 <void256> should look the same actually o_O
20130627 20:50:40 <xranby> hmm ok i will then send you a screenshot for the controls demo
20130627 20:50:46 <void256> yes please
20130627 20:54:05 <xranby> its related to window size the font gets truncated if the window is smaller then the drawable area
20130627 20:54:26 <xranby> i have issues taking a screenshot.. i only get a gray square of the opengl content hmm
20130627 20:55:15 <xranby> ah now its better.. w8
20130627 20:56:22 <void256> http://i.imgur.com/kkPG0fc.png
20130627 20:56:27 <void256> it looks like this here
20130627 20:57:51 <void256> and according to screensize: yes, I had some problems when I switch resolutions to get jogl report the screen/window size correctly
20130627 20:58:34 <void256> but that happend only when I switch the resolutions using the combobox in the left bottom corner
20130627 20:58:54 <void256> the default 1024x768 resolution (which that demo was designed for) looked ok here
20130627 21:00:19 <xranby> ok here is the screenshots http://labb.zafena.se/jogamp/niftygui/
20130627 21:00:31 <xranby> mvn exec:java -Dexec.mainClass=de.lessvoid.nifty.examples.jogl.ControlsDemoJOGL
20130627 21:00:43 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20130627 21:01:24 <void256> that looks indeed broken :/
20130627 21:01:31 <xranby> on this ubuntu machine running unity the window may be 1-2 pixel smaller then it should be.. i have to analyze the images in gimp to see how large the window actually is
20130627 21:01:47 <xranby> but first.. update to 2.0.2-rc12
20130627 21:01:51 <xranby> and recheck
20130627 21:02:33 <xranby> this was using 2.0.2-rc20130404
20130627 21:04:15 <void256> well, the good news is, it still looks the same here with 2.0.2-rc12
20130627 21:04:16 <void256> ;)
20130627 21:04:23 <xranby> excellent!
20130627 21:05:05 <void256> well, there is this "scale resolution" slider at the bottom
20130627 21:05:27 <xranby> i had not touched it for these two screenshots
20130627 21:05:27 <void256> if I drag it one position to the left from its default in the center it looks odd here as well
20130627 21:05:37 <xranby> ofc.. if you do you may end up with odd resolutions
20130627 21:06:08 <void256> I only mentioned it because it looks quite exactly as yours
20130627 21:06:35 <void256> can you try moving it one step to the right?
20130627 21:06:40 <void256> just for the f of it? =)
20130627 21:07:53 <xranby> it dont relayout the window on resize gmm
20130627 21:08:02 <xranby> ok this demo uses AWT
20130627 21:08:05 <void256> yes but thats normal
20130627 21:08:16 <void256> its not supposed to do that
20130627 21:08:33 <void256> would be nice but haven't had the time to get that in for this demo
20130627 21:08:38 <xranby> ok
20130627 21:09:36 <xranby> if make the window a little larger and press 1024x768 in the screenresolution scroller then it looks pixelperfect
20130627 21:10:02 <xranby> nifty will try shrink the window but it all nice inside
20130627 21:10:05 <void256> yes so I suspect the original window size is just a bit smaller than 1024x768
20130627 21:10:09 <void256> aye
20130627 21:10:14 <xranby> i wonder why
20130627 21:11:00 <void256> its probably the same issue I had when I switched resolutions here ... I never got 1024x768 for the window size reported from jogl it was always smaller
20130627 21:11:18 <void256> *a bit smaller
20130627 21:11:31 <void256> which kinda messed up niftys auto scale thing
20130627 21:13:35 <xranby> my window then end up like this: http://labb.zafena.se/jogamp/niftygui/NiftyGui%20after%20resize%20and%20press%20on%201024x768%20..%20then%20it%20looks%20ok%20but%20the%20window%20is%20too%20small%202013-06-27%2023:10:59.png
20130627 21:13:57 <void256> yep
20130627 21:14:01 <void256> I see the same here
20130627 21:14:10 <void256> (when I switch to different resolutions)
20130627 21:14:52 <xranby> ok thats the only think i need to look into for this demo then.. good
20130627 21:15:05 <void256> java.awt.Point[x=1024,y=746]
20130627 21:15:20 <void256> this is what I get from gl.glGetIntegerv(GL.GL_VIEWPORT, viewportBuffer);
20130627 21:15:59 <void256> canvas.setSize(CANVAS_WIDTH, CANVAS_HEIGHT);
20130627 21:16:09 <void256> private static final int CANVAS_HEIGHT = 768;
20130627 21:16:19 <void256> even when I request it to be 768 px height
20130627 21:16:39 <void256> well
20130627 21:16:41 <void256> frame.setSize(CANVAS_WIDTH, CANVAS_HEIGHT);
20130627 21:16:44 <void256> I set the frame to the same size
20130627 21:16:48 <xranby> sounds like a testcase
20130627 21:16:49 <void256> maybe this is wrong?
20130627 21:17:22 <void256> would be nice if we could fix that since it bugged me a lot :)
20130627 21:17:40 <void256> since everything else works pretty well
20130627 21:17:47 <xranby> do you update the frame.setSize on the AWT EDT?
20130627 21:18:21 <void256> nope - well it is set once in my main thread
20130627 21:19:01 <void256> should I do that on the EDT?
20130627 21:19:07 <xranby> yes
20130627 21:20:34 <xranby> The AWT uses a single-threaded painting model in which all screen updates must be performed from a single thread. The event dispatching thread is the only valid thread to update the visual state of visible user interface components
20130627 21:21:09 <xranby> the fix are http://docs.oracle.com/javase/tutorial/uiswing/concurrency/initial.html
20130627 21:23:21 <void256> https://gist.github.com/void256/498c687c7facef4132e0
20130627 21:23:29 <void256> doesn't seem to change anything tho
20130627 21:25:42 <void256> it would be interesting to know if this only happens with my nifty demo or if it happens with a regular jogl example as well
20130627 21:26:02 <void256> set a certain canvas/frame size and then call glGetViewport
20130627 21:26:57 <void256> erm
20130627 21:27:02 <void256> wait a second
20130627 21:27:13 <void256> am I not supposed to call glViewport() ?
20130627 21:27:46 <void256> ah no
20130627 21:27:47 <xranby> you can try do that
20130627 21:27:52 <void256> not necessarily
20130627 21:28:08 <void256> it should by default be set to the width and height of the window
20130627 21:28:24 <void256> glGet(GL_VIEWPORT) I mean
20130627 21:28:44 <void256> I think the actual window is smaller
20130627 21:29:20 <void256> which would make sense since you said when you make the window slightly bigger it fits correctly into the window
20130627 21:29:53 <xranby> we should try create a testcase for this
20130627 21:29:53 <void256> the only thing I could think of is something like the title bar of the window
20130627 21:30:06 <xranby> since you get
20130627 21:30:07 <xranby> (23:15:36) void256: java.awt.Point[x=1024,y=746]
20130627 21:30:07 <xranby> (23:15:51) void256: this is what I get from gl.glGetIntegerv(GL.GL_VIEWPORT, viewportBuffer);
20130627 21:30:20 <void256> so the window is the correct size but the visible area is smaller (by the amount the title bar takes up space)
20130627 21:30:39 <xranby> yes from the picture i sent the title bar looks to be the missing size
20130627 21:30:46 <void256> aye
20130627 21:31:32 <xranby> void256: kudos.. i have to drive home now..
20130627 21:31:38 <xranby> working late after hours
20130627 21:31:42 <void256> yeah, I have to go too
20130627 21:31:51 <void256> early start tommorow
20130627 21:32:02 <void256> I'll be around
20130627 21:32:04 <void256> :)
20130627 21:32:12 <xranby> ok thank you :) i am sure we will figure this one out
20130627 21:32:16 <void256> thanks so far
20130627 21:32:23 <void256> have a great evening :)
20130627 21:32:26 <xranby> you too
20130627 21:32:55 * void256 (~void@anon) Quit (Quit: ChatZilla 0.9.90 [Firefox 21.0/20130511120803])
20130627 22:06:25 * xranby (~xranby@anon) Quit (Ping timeout: 248 seconds)
20130627 22:15:50 * xranby (~xranby@anon) has joined #jogamp
20130628 01:14:42 * juank_prada (~juank_pra@anon) has joined #jogamp
20130628 02:19:45 * xranby (~xranby@anon) Quit (Ping timeout: 252 seconds)
20130628 02:34:25 * xranby (~xranby@anon) has joined #jogamp
20130628 02:52:26 * juank_prada (~juank_pra@anon) Quit (Remote host closed the connection)
20130628 03:06:33 * [Mike] (~Mike]@anon) Quit ()
20130628 03:52:03 * [Mike] (~Mike]@anon) has joined #jogamp
20130628 05:05:42 -CatOut- Continue @ http://jogamp.org/log/irc/jogamp_20130628050542.html