5/14/2015 2:43 AM, Kenneth Russell:
> Using the ANGLE_instanced_arrays extension is a good suggestion. It
> should be widely supported and significantly reduce your resource
> usage.
yes I know, but 40 instanced and non-instanced apple trees had the same
fps (quite acceptable).
> Separately, Evgeny, it isn't clear from your email whether you're
> running out of JavaScript heap memory, or video memory on the graphics
> card. I couldn't reproduce your report on Firefox 37.0.2 on Windows
> 8.1. If you're running out of GPU resources, you may want to file a
> bug against Firefox's WebGL implementation. In Chrome, when the user
> navigates away from a page containing WebGL, or reloads such a page,
> the GPU resources are deleted immediately. Otherwise they'll likely
> only be reclaimed when the JavaScript engine collects garbage, and
> this isn't guaranteed to happen promptly.
I think they have enough of work without my trees :)
congratulations. I get 40 trees (640MB VRAM) in Chrome.
Windows still swapped something (more 5 min) after 1280MB (> 1GB GPU
VRAM) script,
but I can close Chrome and PC (mail program) is stable.
On Nexus 10 Chrome is crashed (once, no extensive tests) by 320 MB
script, but is stable for 10 trees (160MB).
I think 10 trees is the "golden mean" :) But "Mighty maple" (5 "trees",
80MB)
http://www.ibiblio.org/e-notes/Splines/tree/mighty_maple.htm
may be too heavy for 1MB RAM smartphones. Not sure if I shall put it on
the main "maple" page and
shall I warn "Caution! Mighty Maple may hurt you" (really, this was my
main question)
Evgeny