Login  Register

Re: method not implemented: gluScaleImage

Posted by Sven Gothel on Jan 25, 2011; 4:16pm
URL: https://forum.jogamp.org/method-not-implemented-gluScaleImage-tp2304656p2331438.html

On Tuesday, January 25, 2011 17:04:47 Wade Walker [via jogamp] wrote:

>
> Submitted this fix and a unit test at
> https://github.com/sgothel/jogl/pull/20.
>
> Julien, I totally agree that allocating one big direct buffer and slicing it
> would be faster. However, since we're trying to fix bugs to finalize the
> JOGL 2 release, I don't want to change any more code than the absolute
> minimum right now. We can submit an enhancement later if users say they
> could benefit from improved speed here
>

There would be another tool useful in this regard,
nio lazy buffers (nlb).
nlb would
- instantiate NIO lazy when needed
- use common nio mem pool

this would enhance things a lot, as seen in a prev project.

~Sven