#jogamp @ irc.freenode.net - 20151115 11:57:09 (UTC)


20151115 11:57:09 -NickServ- This nickname is registered. Please choose a different nickname, or identify via /msg NickServ identify <password>.
20151115 11:57:15 * jogamp (~jogamp@anon) has joined #jogamp
20151115 11:57:15 * Topic is 'http://jogamp.org | Hacking 3D Graphics, Multimedia and Processing across Devices | logs: http://jogamp.org/log/irc/?C=M;O=D'
20151115 11:57:15 * Set by rmk0 on 20141110 16:19:10
20151115 11:57:15 -NickServ- You are now identified for jogamp.
20151115 16:18:41 * odin_ (~Odin@anon) Quit (Ping timeout: 272 seconds)
20151115 22:01:16 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20151115 22:59:18 * xranby_ (~familjen@anon) has joined #jogamp
20151115 23:34:55 * badshah400 (~badshah40@anon) Quit (Quit: badshah400)
20151116 00:13:41 * rmk0 (~rmk0@anon) Quit (Ping timeout: 276 seconds)
20151116 03:09:25 * badshah400 (~badshah40@anon) has joined #jogamp
20151116 04:10:53 * badshah400 (~badshah40@anon) Quit (Quit: badshah400)
20151116 04:39:25 * badshah400 (~badshah40@anon) has joined #jogamp
20151116 05:53:37 * monsieur_max (~maxime@anon) has joined #jogamp
20151116 06:30:00 * bigpet (uid25664@anon) has joined #jogamp
20151116 07:13:16 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20151116 07:32:21 * badshah400_ (~badshah40@anon) has joined #jogamp
20151116 07:32:27 * badshah400_ (~badshah40@anon) Quit (Remote host closed the connection)
20151116 07:34:09 * badshah400 (~badshah40@anon) Quit (Ping timeout: 255 seconds)
20151116 07:54:44 * elect (~GBarbieri@anon) has joined #jogamp
20151116 07:56:31 * elect (~GBarbieri@anon) Quit (Read error: Connection reset by peer)
20151116 08:12:10 * monsieur_max (~maxime@anon) has joined #jogamp
20151116 08:17:36 * elect (~GBarbieri@anon) has joined #jogamp
20151116 10:34:38 * badshah400 (~badshah40@anon) has joined #jogamp
20151116 10:34:42 * badshah400 is now known as badshah400_
20151116 10:44:21 * rmk0 (~rmk0@anon) has joined #jogamp
20151116 11:32:29 * badshah400_ is now known as badshah400
20151116 11:43:47 * elect (~GBarbieri@anon) Quit (Ping timeout: 244 seconds)
20151116 11:44:21 * elect (~GBarbieri@anon) has joined #jogamp
20151116 12:03:06 <rmk0> something that may interest people here: http://io7m.github.io/jpra/
20151116 12:03:47 <rmk0> still in the very early stages, but work is ongoing
20151116 12:04:03 <monsieur_max> nice :)
20151116 12:04:07 <monsieur_max> thanks rmk0
20151116 12:05:11 <rmk0> this came about because i realized that about 60% of the code in jcanephora was this sort of thing, and that it wasn't really an "opengl" problem
20151116 12:22:46 <zubzub> you know what would be nice?
20151116 12:23:04 <zubzub> a fast, clean simple C only pure runtime Java library to access native code
20151116 12:23:36 <zubzub> that works on x86(_64) and arm hf, sf, 64
20151116 12:23:49 <zubzub> and has support for function pointers
20151116 12:23:59 <zubzub> such a thing does not exist
20151116 12:24:12 <zubzub> the only thing that is a functional candidate is jna
20151116 12:24:19 <zubzub> but it's not a simple api and it's slow
20151116 12:24:50 <zubzub> second in line is BridJ, but it's bloated (objc and cpp) and does not support arm hf
20151116 12:25:01 <zubzub> but it's fast and has a simple api
20151116 12:39:48 <rmk0> the main problem is maintaining the infrastructure needed to produce binaries for all platforms
20151116 12:41:01 <rmk0> it's the main reason i don't touch native code anymore... i can't put up with the distribution headache
20151116 12:41:21 <zubzub> that's why I don't want to write jni
20151116 12:41:27 <zubzub> or have a lib that produces jni for me
20151116 12:41:53 <zubzub> and instead have a lib that allows me to access native code without needing to write jni
20151116 12:42:03 <rmk0> right
20151116 12:42:03 <zubzub> ofcourse that lib needs to have jni
20151116 12:42:18 <zubzub> but it would be the only part needing it
20151116 12:43:09 <zubzub> major hurdles are implemting C's sizeof(..) operator in java
20151116 12:43:26 <zubzub> and implementing the offset of members in C structs
20151116 12:43:57 <zubzub> another major hurdle is to allow a generic C function to be used as any function pointer
20151116 12:47:59 <rmk0> not sure what you mean there
20151116 12:48:12 <rmk0> about the function pointers
20151116 12:49:47 <zubzub> a generic function, get it's pointer and use it in all methods requiring a function pointer
20151116 12:50:07 <zubzub> generic is in one C function that can be used like it were any function
20151116 12:50:33 <rmk0> sounds type-unsafe
20151116 12:51:27 <zubzub> you can't make it typesafe because you don't know the function it will be used for
20151116 12:52:01 <zubzub> it's only function (ha!) is to be called and call a java method
20151116 12:52:22 <zubzub> and pass/convert the C arguments to proper Java args
20151116 12:54:52 <zubzub> ideally this library should do as much as possible at compile time
20151116 12:55:08 <zubzub> using compile time annotation processing
20151116 13:18:00 * badshah400 (~badshah40@anon) Quit (Quit: badshah400)
20151116 13:22:01 * badshah400 (~badshah40@anon) has joined #jogamp
20151116 13:42:53 * Eclesia (~husky@anon) has joined #jogamp
20151116 13:43:02 <Eclesia> hi
20151116 13:57:32 * badshah400 (~badshah40@anon) Quit (Quit: badshah400)
20151116 13:57:51 * badshah400 (~badshah40@anon) has joined #jogamp
20151116 14:05:07 * badshah400 (~badshah40@anon) Quit (Quit: badshah400)
20151116 14:07:05 * badshah400 (~badshah40@anon) has joined #jogamp
20151116 16:39:47 * elect (~GBarbieri@anon) Quit (Ping timeout: 264 seconds)
20151116 16:53:38 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20151116 17:01:10 * bruce-_ is now known as bruce-
20151116 17:01:26 * Eclesia (~husky@anon) has left #jogamp
20151116 17:14:23 * badshah400 (~badshah40@anon) Quit (Read error: Connection reset by peer)
20151116 17:22:41 * badshah400 (~badshah40@anon) has joined #jogamp
20151116 17:31:25 * monsieur_max (~maxime@anon) has joined #jogamp
20151116 17:49:30 * ctrueden (~ctrueden@anon) has joined #jogamp
20151116 18:17:53 * odin_ (~Odin@anon) has joined #jogamp
20151116 19:16:08 * badshah400 (~badshah40@anon) Quit (Quit: badshah400)
20151116 19:48:01 * Dan_ (059212d3@anon) has joined #jogamp
20151116 19:48:40 * Dan_ is now known as Guest32498
20151116 19:49:35 <ctrueden> So, there is a new wrinkle in the Java 3D support: OS X 10.11 El Capitan's new System Integrity Protection feature disallows any changes to /System.
20151116 19:50:13 <ctrueden> So /System/Library/Java/Extensions cannot be modified by users (without rigamarole), meaning the old Java 3D 1.3 libraries are perma-stuck in there.
20151116 19:51:13 <ctrueden> I'd be curious if anyone has ideas on the best way to deal with that issue. Shade Java 3D 1.6's package prefix to something else, perhaps?
20151116 19:53:50 <Guest32498> I'm trying to use gluegen to emit code for binding to libusb.h - only managed to emit ----- BEGIN EMISSION OF GLUE CODE ----- #define LIBUSB_API_VERSION 0x01000103 #define LIBUSBX_API_VERSION 0x01000103 ----- END EMISSION OF GLUE CODE -----
20151116 19:54:17 <Guest32498> java -jar ../build/gluegen.jar -I./stubout:../make/stub_includes/gluegen -Ecom.jogamp.gluegen.DebugEmitter -Clibusb.cfg /usr/include/libusb-1.0/libusb.h
20151116 19:54:49 <Guest32498> my config looks like:
20151116 19:54:50 <Guest32498> Package testlibusb Style AllStatic JavaClass TestLibUsb JavaOutputDir gensrc/java NativeOutputDir gensrc/native # Include the libusb.h header in the generated glue code CustomCCode #include "libusb.h"
20151116 19:55:32 <Guest32498> perhaps I should just use http://libusb-java.ch/?
20151116 20:05:59 * bigpet (uid25664@anon) Quit (Quit: Connection closed for inactivity)
20151116 20:07:30 * Guest32498 (059212d3@anon) Quit (Ping timeout: 246 seconds)
20151116 20:19:29 * badshah400 (~badshah40@anon) has joined #jogamp
20151116 20:40:55 * bigpet (uid25664@anon) has joined #jogamp
20151116 21:23:35 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20151116 21:46:50 * ctrueden (~ctrueden@anon) Quit (Quit: Leaving.)
20151116 21:49:42 * ctrueden (~ctrueden@anon) has joined #jogamp
20151116 21:53:25 * ctrueden (~ctrueden@anon) Quit (Client Quit)
20151116 22:21:50 * dan_ (059212d3@anon) has joined #jogamp
20151116 22:22:14 * dan_ is now known as Guest47746
20151116 22:24:52 * Guest47746 (059212d3@anon) has left #jogamp
20151117 01:02:35 * badshah400 (~badshah40@anon) Quit (Ping timeout: 240 seconds)
20151117 01:11:42 * badshah400 (~badshah40@anon) has joined #jogamp
20151117 01:51:50 * badshah400 (~badshah40@anon) Quit (Quit: badshah400)
20151117 03:26:07 * badshah400 (~badshah40@anon) has joined #jogamp
20151117 05:05:10 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20151117050510.html