[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] Lifetime of WebGL objects in Firefox and Webkit
On Tue, Jun 28, 2011 at 5:08 PM, Glenn Maynard <email@example.com>
On Tue, Jun 28, 2011 at 7:42 PM, Gregg Tavares (wrk) <firstname.lastname@example.org>
My point is, since it's browser dependent when GC happens then fixing this doesn't fix the problem. If you have 256meg of vram. You allocate 200 of it, let 100meg of it lose all references and then try to allocate 150meg more there is NO GUARANTEE that your GC is going to free those objects in time for your request and therefore free up that 100meg so your 150meg allocation will happen.
If you want a solution fine. My point was the thing you were suggesting (weak references on WebGL resources from the WebGLContext) is not a solution. You want a solution then argue for something that would actually solve the problem (like the 3 suggestions I gave)