[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] Lifetime of WebGL objects in Firefox and Webkit
There are 2 issues being conflated here
1) Freeing the object known as WebGLTexture (or WebGLBuffer, etc...)
2) Freeing the texture managed by WebGLTexture object.
It looks like Glenn is correct that there's a bug in current implementations. This code looks like it will run out of memory eventually.
var tex = gl.createTexture();
That bug is issue #1 above and should be fixed assuming it is a bug in current browsers.
Issue #2 can be debated.