Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #35838
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2018-11-19 15:37 -0800 |
| Message-ID | <82218f1d-5297-4423-aaca-bca4487da7fc@googlegroups.com> (permalink) |
| Subject | Canvas resources |
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
My script has one rendering canvas, but also a few more or less static information canvases. Editing, settings, instruments etc. These static cavases are "hidden?" in button contexts, and only shown when repective button pressed. Now i wonder a bit about canvases, does all the canvases i created take up memory weither visible or not on screen? And does a static canvas also use any of the cpu? Can one, and should i, create and remove/revoke and reload the static canvases every time button the button for it pressed or is it just unnecessary work? If so how do one revoke "garbage collect?" a created canvas each time button closed?
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
Canvas resources Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-11-19 15:37 -0800 Re: Canvas resources JJ <jj4public@vfemail.net> - 2018-11-20 10:39 +0700
csiph-web