[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Some WebGL draft feedback



Khronos has developed an extension for supporting video in GL textures. I'm not sure if it is public yet. Whatever we do needs to be compatible.

Regards

    -Mark

Kenneth Russell wrote:
On Wed, Jan 13, 2010 at 7:22 AM, Chris Marrin <cmarrin@apple.com> wrote:

...

This is something I have been thinking about for Video elements as well. "Use" semantics would allow a hardware video buffer to be used as a texture source (given the proper support in the implementation. For instance:

       gl.useTexture(videoElement);

Now whenever this texture is used as an image source the implementation would need to make the video frame available. On some impementations this would be pretty much the equivalent of texImage2D (copying pixels). But on some a hardware video buffer could be made available. The same is true of Canvas elements.

But all of this should be left till the second release of the spec.

I agree that a proposal such as this should be left for a future revision of the spec. It seems to me that it would introduce even worse synchronization problems than supporting multiple rendering contexts on a single canvas.

begin:vcard
fn:Mark Callow
n:Callow;Mark
org:HI Corporation;Graphics Lab, Research & Development
adr:Higashiyama 1-4-4, Meguro-ku;;Meguro Higashiyama Bldg 5F;Tokyo;;153-0043;Japan
email;internet:callow_mark@hicorp.co.jp
title:Chief Architect
tel;work:+81 3 3710 9367 x228
tel;fax:+81 3 5773 8660
x-mozilla-html:TRUE
url:http://www.hicorp.co.jp,  http://www.mascotcapsule.com
version:2.1
end:vcard