Login  Register

Re: Improvements: API, Support, ..

Posted by gouessej on Feb 11, 2014; 12:18pm
URL: https://forum.jogamp.org/Improvements-API-Support-tp4031509p4031541.html

I agree with you. At first, maybe AWTTextureIO should be redesigned to use AWTGLPixelBuffer. Then, as Sven suggests, why not adding a method that returns a Texture and another one that returns TextureData into it? After that, add a constructor with less parameters into it. Finally, decide whether removing this class is still necessary. I like allowing the interoperability between UI and windowing toolkits, it's more flexible than being forced to write everything with or without NEWT.
Julien Gouesse | Personal blog | Website