Login  Register

Re: DirectBuffer deallocation

Posted by gouessej on Jan 12, 2016; 3:14pm
URL: https://forum.jogamp.org/DirectBuffer-deallocation-tp4035990p4035994.html

Hi

My class already supports short, int, float, char, long, ... direct buffers. Maybe you have found a bug. Keep in mind that my class is under GPL v2 which is a viral license.

The cleaner is often null, when it is no longer needed because the native resource has been released or in tons of cases, it's specific to each implementation, for example when using views on a direct byte buffer (asFloatBuffer(), ...).
Julien Gouesse | Personal blog | Website