Login  Register

Re: Initializing a NEWT Window in Java and Rendering Natively

Posted by Michael Bien on Mar 04, 2011; 2:40pm
URL: https://forum.jogamp.org/Initializing-a-NEWT-Window-in-Java-and-Rendering-Natively-tp2631445p2633352.html

  offtopic:
GPGPU...
have you taken a look at JOCL? GPGPU is more or less dead if you really
mean with GPGPU the (ab)use of shaders for general purpose tasks ;)

(best case: no copy at all, compute and display using the GPU)

best regards,
michael

On 03/04/2011 07:34 AM, void-pointer [via jogamp] wrote:

>
> Greetings everyone!
>
> I have had great success with developing cross-platform applications which
> render GPU-based simulations in the past using Java to initialize the GUI
> and native code to render onto the Canvas. However, performance is an
> important factor in many of the GPGPU algorithms I implement now, and I
> would like to avoid the latency inherent in using either AWT or JNI by
> rendering natively using NEWT. This was quite straightforward to accomplish
> using AWT, since the Java API comes with headers which define functions
> using which I can obtain an OpenGL context; I was wondering if I could do
> the same with NEWT, since I could not find any functions with allow for
> native interoperability. I would be more than happy to contribute some code
> to accomplish this task if a solution does not currently exist and if doing
> so would not involve a large undertaking. Whether the case is the former or
> the latter, would someone please provide me with some more information and
> point me in the right direction?
>
> Thank you very much for your help!
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://forum.jogamp.org/Initializing-a-NEWT-Window-in-Java-and-Rendering-Natively-tp2631445p2631445.html
> To start a new topic under jogamp, email [hidden email]
> To unsubscribe from jogamp, visit
http://michael-bien.com/