[whatwg] Typed numeric 'input'

2014-08-04 Thread Christoph Päper
Imagine a text layout GUI made with HTML. It would probably feature a font size selection control. There are different ways to do such a thing: 1 input type=number min=0 id=value!--unit implied-- 2 input type=text id=value pattern=\d+([.,]\d+)? *(pts?|px|mm)\.? 3 input type=number min=0

[whatwg] [2D Canvas] Proposal: batch variants of drawImage

2014-08-04 Thread Justin Novosad
Greetings all, In a drive to satisfy some the most demanding performance critical applications--2d platformer games--, browser vendors have put a lot of effort into optimizing CanvasRenderingContext2D, and the drawImage method in particular. In a world where browsers have GPU-accelerated graphics

Re: [whatwg] [2D Canvas] Proposal: batch variants of drawImage

2014-08-04 Thread Robert O'Callahan
It looks reasonable to me. How do these calls interact with globalAlpha etc? You talk about decomposing them to individual drawImage calls; does that mean each image draw is treated as a separate composite operation? Currently you have to choose between using a single image or passing an array

Re: [whatwg] [2D Canvas] Proposal: batch variants of drawImage

2014-08-04 Thread Katelyn Gadd
Many, many uses of drawImage involve transform and/or other state changes per-blit (composite mode, global alpha). I think some of those state changes could be viably batched for most games (composite mode) but others absolutely cannot (global alpha, transform). I see that you handle transform

[whatwg] Question on server side api

2014-08-04 Thread L2L 2L
... Here's a question that will get a huh? Do the browser have an api that is use This is a stupid question Do the browser have an api that I can use to preform --I'm still a novice-- simple server side action? E-S4L

Re: [whatwg] Question on server side api

2014-08-04 Thread Tab Atkins Jr.
On Aug 4, 2014 7:08 PM, L2L 2L emanuelal...@hotmail.com wrote: ... Here's a question that will get a huh? Do the browser have an api that is use This is a stupid question Do the browser have an api that I can use to preform --I'm still a novice-- simple server side action? No.

Re: [whatwg] Typed numeric 'input'

2014-08-04 Thread Jukka K. Korpela
2014-08-04 20:06, Christoph Päper wrote: Imagine a text layout GUI made with HTML. It would probably feature a font size selection control. There are different ways to do such a thing: There are, and they are preferred in different ways by different people, as programmers or as end users.