Re: [whatwg] Canvas 2D memory management

2013-07-19 Thread Ashley Gullen
FWIW, imageBitmap.discard() wouldn't be unprecedented - WebGL allows you to explicitly release memory with deleteTexture() rather than letting the GC collect unused textures. Ashley On 18 July 2013 17:50, Ian Hickson i...@hixie.ch wrote: On Wed, 9 Jan 2013, Ashley Gullen wrote: Some

Re: [whatwg] Proposal: Media element - add attributes for discovery of playback rate support

2013-07-19 Thread Ian Hickson
On Wed, 17 Jul 2013, Edward O'Connor wrote: On Wed, 30 Jan 2013, Peter Carlson (carlsop) wrote: Problem: The problem is that the supported playback speeds of a media element may vary per media item (e.g., an on-demand movie) and as […] Recommendation: We suggest that the application

Re: [whatwg] Proposal: createImageBitmap should return a Promise instead of using a callback

2013-07-19 Thread Tab Atkins Jr.
Please don't top-post. On Thu, Jul 18, 2013 at 6:28 PM, Silvia Pfeiffer silviapfeiff...@gmail.com wrote: Promises are new to browsers and people who have used them before have raised issues about the extra resources they require. It may be a non-issue in the browser, but it's still something

Re: [whatwg] Alignment of empty buttons

2013-07-19 Thread Ian Hickson
On Thu, 25 Apr 2013, Christian Biesinger wrote: I had to recently investigate issues with the alignment of empty buttons, i.e. button/button, and I noticed some browser differences. Specifically, take this testcase:

Re: [whatwg] [Rendering] zero width attributes on table, th, td should be ignored

2013-07-19 Thread Ian Hickson
On Wed, 2 Jan 2013, L. David Baron wrote: http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#tables says: # The table element's width attribute maps to the dimension # property 'width' on the table element. ... # The td and th elements' width attributes

Re: [whatwg] Canvas 2D memory management

2013-07-19 Thread Justin Novosad
On Fri, Jul 19, 2013 at 7:09 AM, Ashley Gullen ash...@scirra.com wrote: FWIW, imageBitmap.discard() wouldn't be unprecedented - WebGL allows you to explicitly release memory with deleteTexture() rather than letting the GC collect unused textures. A related issue we have now is with canvas

Re: [whatwg] Proposal: Media element - add attributes for discovery of playback rate support

2013-07-19 Thread Brendan Long
On Jul 19, 2013 3:14 PM, Ian Hickson i...@hixie.ch wrote: What if we added a supportedPlaybackRates attribute, which holds an array of playback rates supported by the server, plus (optionally) any rates the user agent can support due to the currently buffered data (possibly requiring that

Re: [whatwg] Canvas 2D memory management

2013-07-19 Thread K. Gadd
Some of my applications would definitely benefit from this as well. A port of one client's game managed to hit around 1GB of backing store/bitmap data combined when preloading all their image assets using img. Even though browsers then discard the bitmap data, it made it difficult to get things