Re: Shrinking existing libraries as a goal

2012-05-16 Thread Dimitri Glazkov
On Tue, May 15, 2012 at 9:32 PM, Yehuda Katz wyc...@gmail.com wrote: In the past year or so, I've participated in a number of threads that were implicitly about adding features to browsers that would shrink the size of existing libraries. Inevitably, those discussions end up litigating

Re: Shrinking existing libraries as a goal

2012-05-16 Thread John J Barton
On Wed, May 16, 2012 at 9:53 AM, Dimitri Glazkov dglaz...@chromium.org wrote: I think it's a great idea. Shipping less code over the wire seems like a win from any perspective. How about a cross-site secure (even pre-compiled) cache for JS libraries as well? We almost have this with CDN now,

Re: exposing CANVAS or something like it to Web Workers

2012-05-16 Thread
So how to take this forward? My #1 priority is to get WebGL in workers. Lots of developers have expressed a need for this from decoding compressed textures in a worker to offloading thousands of draw calls per frame to a worker. WebGL already defines sharing mechanisms so at least for the WebGL

Re: exposing CANVAS or something like it to Web Workers

2012-05-16 Thread Kenneth Russell
On Wed, May 16, 2012 at 12:30 PM, Gregg Tavares (勤) g...@google.com wrote: So how to take this forward? My #1 priority is to get WebGL in workers. Lots of developers have expressed a need for this from decoding compressed textures in a worker to offloading thousands of draw calls per frame to

Re: exposing CANVAS or something like it to Web Workers

2012-05-16 Thread
On Wed, May 16, 2012 at 12:42 PM, Kenneth Russell k...@google.com wrote: On Wed, May 16, 2012 at 12:30 PM, Gregg Tavares (勤) g...@google.com wrote: So how to take this forward? My #1 priority is to get WebGL in workers. Lots of developers have expressed a need for this from decoding

Re: Implied Context Parsing (DocumentFragment.innerHTML, or similar) proposal details to be sorted out

2012-05-16 Thread Rafael Weinstein
Ok. I think I'm convinced on all points. I've uploaded a webkit patch which implements what we've agreed on here: https://bugs.webkit.org/show_bug.cgi?id=84646 I'm happy to report that this patch is nicer than the queued-token approach. Good call, Henri. On Tue, May 15, 2012 at 9:39 PM, Yehuda

Re: exposing CANVAS or something like it to Web Workers

2012-05-16 Thread Kenneth Russell
On Wed, May 16, 2012 at 1:11 PM, Gregg Tavares (勤) g...@google.com wrote: On Wed, May 16, 2012 at 12:42 PM, Kenneth Russell k...@google.com wrote: On Wed, May 16, 2012 at 12:30 PM, Gregg Tavares (勤) g...@google.com wrote: So how to take this forward? My #1 priority is to get WebGL in

Re: Implied Context Parsing (DocumentFragment.innerHTML, or similar) proposal details to be sorted out

2012-05-16 Thread Jonas Sicking
On Wed, May 16, 2012 at 4:29 PM, Rafael Weinstein rafa...@google.com wrote: Ok. I think I'm convinced on all points. I've uploaded a webkit patch which implements what we've agreed on here: https://bugs.webkit.org/show_bug.cgi?id=84646 I'm happy to report that this patch is nicer than the

Re: Implied Context Parsing (DocumentFragment.innerHTML, or similar) proposal details to be sorted out

2012-05-16 Thread Rafael Weinstein
On Wed, May 16, 2012 at 4:49 PM, Jonas Sicking jo...@sicking.cc wrote: On Wed, May 16, 2012 at 4:29 PM, Rafael Weinstein rafa...@google.com wrote: Ok. I think I'm convinced on all points. I've uploaded a webkit patch which implements what we've agreed on here:

Re: Implied Context Parsing (DocumentFragment.innerHTML, or similar) proposal details to be sorted out

2012-05-16 Thread Jonas Sicking
On Wed, May 16, 2012 at 4:52 PM, Rafael Weinstein rafa...@google.com wrote: On Wed, May 16, 2012 at 4:49 PM, Jonas Sicking jo...@sicking.cc wrote: On Wed, May 16, 2012 at 4:29 PM, Rafael Weinstein rafa...@google.com wrote: Ok. I think I'm convinced on all points. I've uploaded a webkit patch

Re: exposing CANVAS or something like it to Web Workers

2012-05-16 Thread Glenn Maynard
On Wed, May 16, 2012 at 2:30 PM, Gregg Tavares (勤) g...@google.com wrote: Some Ideas **) Create context in main page, pass to worker* Transferring an active context from one thread to another (at the implementation level) can be hard. It's much simpler to only create new the contexts in the

Re: Shrinking existing libraries as a goal

2012-05-16 Thread Ojan Vafai
In principle, I agree with this as a valid goal. It's one among many though, so the devil is in the details of each specific proposal to balance out this goal with others (e.g. keeping the platform consistent). I'd love to see your list of proposals of what it would take to considerably shrink