#jogamp @ irc.freenode.net - 20160815 05:05:49 (UTC)


20160815 05:05:49 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20160814050547.html
20160815 05:05:49 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20160815050549.html
20160815 07:03:34 * elect (~elect@anon) has joined #jogamp
20160815 07:03:42 <elect> hi
20160815 08:12:51 * SHC (~quassel@anon) has joined #jogamp
20160815 08:16:00 * SHC (~quassel@anon) Quit (Read error: Connection reset by peer)
20160815 08:20:12 * SHC (~quassel@anon) has joined #jogamp
20160815 08:53:00 * monsieur_max (~maxime@anon) has joined #jogamp
20160815 09:52:57 * hija (~hija@anon) Quit (Read error: Connection reset by peer)
20160815 09:54:55 * hija (~hija@anon) has joined #jogamp
20160815 10:07:35 * jvanek (jvanek@anon) has joined #jogamp
20160815 11:13:53 * hija (~hija@anon) Quit (Quit: hija)
20160815 11:14:15 * hija (~hija@anon) has joined #jogamp
20160815 11:14:15 * hija (~hija@anon) Quit (Client Quit)
20160815 11:14:49 * hija (~hija@anon) has joined #jogamp
20160815 11:37:18 * hija (~hija@anon) Quit (Quit: hija)
20160815 11:40:41 * hija (~hija@anon) has joined #jogamp
20160815 11:53:20 * hija (~hija@anon) Quit (Ping timeout: 244 seconds)
20160815 12:06:23 * hija (~hija@anon) has joined #jogamp
20160815 12:41:57 * SHC (~quassel@anon) Quit (Ping timeout: 276 seconds)
20160815 15:17:20 * SHC (~quassel@anon) has joined #jogamp
20160815 15:24:48 * elect (~elect@anon) Quit (Ping timeout: 265 seconds)
20160815 15:37:50 * SHC (~quassel@anon) Quit (Read error: Connection reset by peer)
20160815 16:02:51 * jvanek (jvanek@anon) Quit (Quit: Leaving)
20160815 17:00:24 * spaceemotion (~spaceemot@anon) has joined #jogamp
20160815 17:02:06 * spaceemotion (~spaceemot@anon) Quit (Client Quit)
20160815 17:43:38 <rmk0> so... creating an opengl context with glfw is orders of magnitude faster than creating a context with jogl
20160815 17:43:53 <rmk0> as in a few ms compared to a few seconds
20160815 17:46:24 * SHC (~quassel@anon) has joined #jogamp
20160815 17:55:30 <monsieur_max> rmk0: on some configuration, it could take 30s or even a whole minute
20160815 17:55:40 <rmk0> egh!
20160815 17:56:54 <rmk0> impressively excessive
20160815 18:02:15 <monsieur_max> yeah,i filled a bug for that...
20160815 18:04:43 <monsieur_max> https://jogamp.org/bugzilla/show_bug.cgi?id=1301
20160815 18:05:57 * rmk0 kicks automatic native library loading
20160815 18:40:18 * SHC (~quassel@anon) Quit (Remote host closed the connection)
20160815 19:45:57 <rmk0> the jogamp package namespace is a mess (._.)
20160815 19:47:38 <rmk0> no clue what should be exported in an OSGi bundle
20160815 19:47:51 <rmk0> tons of implementation mixed in with interface in an apparently random arrangement
20160815 19:50:23 <zubzub> rmk0: yuuuup :)
20160815 19:50:46 <rmk0> https://github.com/io7m/org.lwjgl
20160815 19:50:56 <rmk0> somewhat easier!
20160815 19:51:45 <zubzub> rmk0: that's you?
20160815 19:52:02 <rmk0> that's me
20160815 19:54:39 <zubzub> One day I'm going to convert robovm to my own vm with java8 or 9 compatability and completely optimized/compatible with posix features
20160815 19:54:59 <zubzub> finally able to use setuid on a java binary
20160815 19:55:04 <zubzub> finally able to use native os signals
20160815 19:55:16 <zubzub> finally able to properly use fork & exec*
20160815 19:55:32 <zubzub> finally able to seamelesly integrate with native (C) libs
20160815 19:57:26 <zubzub> finally able to run on arm with hotspot speed without paying to oracle
20160815 20:12:38 <rmk0> http://ataxia.io7m.com/2016/08/15/manifest.txt
20160815 20:13:02 <rmk0> i hope that's the public api, because that's what i'm exporting
20160815 20:15:55 <zubzub> export all the thingz!1
20160815 20:16:12 <zubzub> but yeah, you really don't have a chocie
20160815 20:27:39 <rmk0> suspect not exporting any of the gluegen packages would be a good idea
20160815 21:01:01 <rmk0> hm, the osgi spec defines two names for ARM... arm_le and arm_be
20160815 21:01:14 <rmk0> "libgluegen-rt.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, stripped"
20160815 21:01:20 <rmk0> i'm not sure which applies for that binary
20160815 21:04:09 <zubzub> rmk0: osgi native lib loading for arm is a bit of a mess
20160815 21:04:19 <zubzub> mostly because java can not distinguish between soft & hard float
20160815 21:04:36 <rmk0> right
20160815 21:04:49 <rmk0> suspect i'll leave it out for now
20160815 21:05:06 <zubzub> the trick is to define your own arch id to your native osgi manifest header
20160815 21:05:19 * rmk0 sweats
20160815 21:05:23 <zubzub> armv6_hf armv7_hf
20160815 21:05:31 <zubzub> or whatever
20160815 21:05:41 <zubzub> and then define your native arch when starting the jvm
20160815 21:05:55 <zubzub> -Dsomethigsomethingosginativearchgoogleit
20160815 21:06:01 <rmk0> hehe
20160815 21:06:13 <rmk0> yeah, i think i'll ... do nothing
20160815 21:06:24 <rmk0> at least until someone complains
20160815 21:06:49 <zubzub> for my jna clone, I didn't try to guess the native arch or whatever
20160815 21:06:57 <zubzub> I just supsect the user to define it at startup
20160815 21:07:01 <zubzub> *expect
20160815 21:07:10 <zubzub> people usually know which arch they're running
20160815 21:07:27 <zubzub> if they don't define it, I just try all until one loads
20160815 21:07:35 <zubzub> with a fat warning that things might crash/not work
20160815 21:26:16 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20160815 21:43:20 <rmk0> https://github.com/io7m/org.jogamp
20160815 21:43:22 <rmk0> not too awful
20160815 21:43:46 <rmk0> it seems like you can basically hide com.jogamp.common.*
20160815 21:44:03 <rmk0> then for jogl, expose com.jogamp.opengl.* com.jogamp.newt.* etc
20160815 21:44:07 <rmk0> hide jogamp.*
20160815 21:44:21 <rmk0> the exposed package list isn't too nasty
20160815 21:46:11 <rmk0> need to add a bundle activator that sets the property that turns off the automatic library loading
20160816 00:31:42 * hija_ (~hija@anon) has joined #jogamp
20160816 00:33:23 * hija (~hija@anon) Quit (Ping timeout: 250 seconds)
20160816 00:33:23 * hija_ is now known as hija
20160816 05:04:45 * hija (~hija@anon) Quit (Remote host closed the connection)
20160816 05:05:52 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20160816050552.html