#jogamp @ irc.freenode.net - 20130321 05:06:06 (UTC)


20130321 05:06:06 -CatOut- Previous @ http://jogamp.org/log/irc/jogamp_20130320050553.html
20130321 05:06:06 -CatOut- This channel is logged @ http://jogamp.org/log/irc/jogamp_20130321050606.html
20130321 05:12:51 * jk4 (~jk4@anon) Quit (Ping timeout: 276 seconds)
20130321 06:02:40 * [Mike] (~Mike]@anon) Quit ()
20130321 06:12:22 * hharrison (~chatzilla@anon) has joined #jogamp
20130321 06:56:25 * DemoscenePassiv (~Lutsche@anon) has joined #jogamp
20130321 07:37:24 * DemoscenePassiv (~Lutsche@anon) Quit (Ping timeout: 264 seconds)
20130321 07:42:39 * hharrison (~chatzilla@anon) Quit (Quit: ChatZilla 0.9.90 [Firefox 18.0.2/20130206104040])
20130321 13:52:47 * Jeff_ (c13766ea@anon) has joined #jogamp
20130321 13:53:03 <Jeff_> Hello
20130321 13:53:10 * Jeff_ is now known as Guest72825
20130321 13:53:23 <Guest72825> Hi Sven
20130321 13:53:39 <sgothel> Hi Jeff and 'Guest*'
20130321 13:54:15 <Guest72825> I wanted to know if there is any way of mapping a (char *) to a StringBuffer in gluegen, I've already covered the (const char*) to String
20130321 13:55:38 <sgothel> hmm .. we haven't performed such mapping yet, and it seems to be a bit odd for a 1:1 native/java mapping , since the resulting (char*) is of fixed length
20130321 13:56:30 <sgothel> why not adding a Java 'wrapper' ? .. Maybe you can do the pre-/post- code ? I would need to look into it myself how to do it most easily/automated
20130321 13:56:58 <Guest72825> a Java Wrapper for a C-String?
20130321 13:57:21 <sgothel> a Java StringBuffer wrapper for a Java String :)
20130321 13:57:41 <sgothel> const char * -> Java-String is supported
20130321 13:57:48 <sgothel> in both directions
20130321 14:01:29 <Guest72825> Right now I'm getting a ByteBuffer for a (char *) basically the only thing that It lacks is proper charset encoding?
20130321 14:02:04 <sgothel> Oh .. I see, you have to define it in your gluegen config
20130321 14:02:05 <Guest72825> So if It passes through the encoding process it could be converted to a CharBuffer
20130321 14:02:32 <Guest72825> with Opaque?
20130321 14:03:10 <sgothel> jogl/glx-x11.cfg:ArgumentIsString XOpenDisplay 0
20130321 14:03:28 <sgothel> jogl/gl-common.cfg:ReturnsString glGetString
20130321 14:03:35 <Guest72825> oh but that's to get a String
20130321 14:03:48 <sgothel> thats a good start, isn't it ?
20130321 14:03:57 <sgothel> read my statement above
20130321 14:03:57 <Guest72825> yes indeed :)
20130321 14:04:25 * ebrayet (~Adium@anon) has joined #jogamp
20130321 14:04:57 <sgothel> If you like (and need) a StringBuffer .. extra code would be needed .. and AFAIK not int the JNI part, which 'only' supports Java Strings
20130321 14:05:17 <sgothel> so IMHO .. a pre- post- Java glue part for mapping StringBuffer/String
20130321 14:06:56 <Guest72825> well, my real problem is handing (char *) as an output parameter, I thought It would be easier to get a StringBuffer or a CharBuffer, but might be a better solution?
20130321 14:07:57 <sgothel> public final class String
20130321 14:07:57 <sgothel> implements java.io.Serializable, Comparable<String>, CharSequence
20130321 14:08:08 <sgothel> .. so at least, it is a CharSequence !
20130321 14:08:25 <sgothel> .. as StringBuffer
20130321 14:09:26 <sgothel> we use this characteristics in our ShaderCode class, which deals w/ strings .. mutable/ StringBuffer or immutable (String)
20130321 14:10:04 <Guest72825> I have to take a look at it
20130321 14:17:24 <Guest72825> thanks !
20130321 14:17:32 * Guest72825 (c13766ea@anon) Quit (Quit: Page closed)
20130321 17:12:42 * [Mike] (~Mike]@anon) has joined #jogamp
20130321 17:16:01 * [Mike] is now known as aaaaa
20130321 17:16:29 * [Mike] (~Mike]@anon) has joined #jogamp
20130321 17:17:04 * ___m___ (~Mike]@anon) has joined #jogamp
20130321 17:18:24 * ___m___ (~Mike]@anon) Quit (Client Quit)
20130321 17:21:02 * aaaaa (~Mike]@anon) Quit (Ping timeout: 272 seconds)
20130321 17:21:11 * [Mike] (~Mike]@anon) Quit (Ping timeout: 255 seconds)
20130321 17:22:04 * ebrayet (~Adium@anon) Quit (Ping timeout: 258 seconds)
20130321 19:05:50 * rmk0_ (~rmk0@anon) has joined #jogamp
20130321 19:05:50 * rmk0 (~rmk0@anon) Quit (Read error: Connection reset by peer)
20130321 20:10:42 * rmk0_ is now known as rmk0
20130321 20:11:11 * rmk0 is now known as Guest56011
20130321 20:11:45 * Guest56011 (~rmk0@anon) Quit (Quit: leaving)
20130321 20:12:03 * rmk0_ (~rmk0@anon) has joined #jogamp
20130321 20:13:46 * rmk0_ (~rmk0@anon) Quit (Changing host)
20130321 20:13:46 * rmk0_ (~rmk0@anon) has joined #jogamp
20130321 20:14:16 * rmk0_ is now known as rmk0
20130321 20:25:50 * ebrayet (~Adium@anon) has joined #jogamp
20130321 20:34:12 * gouessej (52794867@anon) has joined #jogamp
20130321 20:53:36 * gouessej (52794867@anon) Quit (Quit: Page closed)
20130321 21:08:28 * gouessej (52794867@anon) has joined #jogamp
20130321 21:09:44 * DemoscenePassiv (~Lutsche@anon) has joined #jogamp
20130321 21:11:45 <gouessej> Hi
20130321 21:12:25 <gouessej> Why are OpenAL-Soft DLLs absent of the latest aggregated builds?
20130321 21:12:33 <gouessej> under Windows
20130321 21:22:01 <gouessej> Sven, what do you think about the bug 696? https://jogamp.org/bugzilla/show_bug.cgi?id=696 it is very trivial
20130321 21:22:25 <gouessej> glClipPlane is in GL2 whereas its constants are in GL2ES1 :s
20130321 22:42:55 * DemoscenePassiv (~Lutsche@anon) Quit (Ping timeout: 260 seconds)
20130321 23:04:31 <gouessej> Good night
20130321 23:04:40 * gouessej (52794867@anon) Quit (Quit: Page closed)
20130321 23:26:55 * ebrayet (~Adium@anon) Quit (Ping timeout: 260 seconds)
20130322 01:20:31 * [Mike] (~Mike]@anon) has joined #jogamp
20130322 02:46:33 * [Mike] (~Mike]@anon) Quit ()
20130322 04:03:01 * [Mike] (~Mike]@anon) has joined #jogamp
20130322 05:06:20 -CatOut- Continue @ http://jogamp.org/log/irc/jogamp_20130322050620.html