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

Re: [Public WebGL] WebGL extension registry



On Mon, Dec 6, 2010 at 6:23 PM, Kenneth Russell <kbr@google.com> wrote:
> On Mon, Dec 6, 2010 at 5:28 PM, Gregg Tavares (wrk) <gman@google.com> wrote:
>>
>>
>> On Mon, Dec 6, 2010 at 4:53 PM, Kenneth Russell <kbr@google.com> wrote:
>>>
>>> On Mon, Dec 6, 2010 at 4:45 PM, Gregg Tavares (wrk) <gman@google.com>
>>> wrote:
>>> > Should these extensions be marked as "draft" given that not even the
>>> > WebGL
>>> > spec is official yet?
>>>
>>> Hmm, it looks like the "Khronos Working Draft" banner might have
>>> gotten lost during recent CSS changes. Vlad, could we add that back?
>>> (Or did I miss it during the initial commit?)
>>>
>>> > Also, is there any particular reason the specs limit texImage2D and
>>> > texSubImage2D to only using ArrayBufferView? Given all the conversion
>>> > that
>>> > happens already for texImage2D with img/video/canvas it seems like it
>>> > would
>>> > be really simple for implementations to support conversions to float and
>>> > half float like they already convert to 4_4_4_4, 5_6_5 and 5_5_5_1
>>>
>>> It's not completely trivial and would double the number of code paths
>>> in some areas. Also, until browsers have built-in support for high
>>> dynamic range image formats, these conversions will just waste space.
>>
>> What image formats are supported by browsers are not defined. Any browser
>> can add any formats it likes.
>>
>>>
>>> For these reasons I think this should be left to a future revision of
>>> the extension.
>>
>> That seems like a mistake to me. Put it now and things should just work. It
>> would suck if some browser decided to add support for some HDR image format
>> but the WebGL spec requires that it NOT work.
>
> I'll look into it.

The WebGL OES_texture_float extension specification has been updated
to accept pixel type FLOAT for all of the texImage2D and texSubImage2D
entry points, and https://bugs.webkit.org/show_bug.cgi?id=51015 filed
to track this change in the WebKit implementation. Thanks for the
suggestion.

-Ken

> -Ken
>
>>>
>>> -Ken
>>>
>>> > On Mon, Dec 6, 2010 at 10:45 AM, Kenneth Russell <kbr@google.com> wrote:
>>> >>
>>> >> The WebGL working group is pleased to announce the availability of the
>>> >> WebGL extension registry. The preliminary URL is:
>>> >>
>>> >> http://www.khronos.org/registry/webgl/doc/spec/extensions/
>>> >>
>>> >> This URL is likely to change in the coming weeks. A link to the
>>> >> registry has been added to the references section of the
>>> >> specification, and that link will be kept up to date.
>>> >>
>>> >> OES_texture_float is close to being implemented in WebKit, and we'll
>>> >> post to the list once it is.
>>> >>
>>> >> Specifications for a few more extensions (OES_depth24,
>>> >> OES_standard_derivatives, ...) are planned; see comments in the HTML
>>> >> for the extension registry.
>>> >>
>>> >> -Ken
>>> >> -----------------------------------------------------------
>>> >> You are currently subscribed to public_webgl@khronos.org.
>>> >> To unsubscribe, send an email to majordomo@khronos.org with
>>> >> the following command in the body of your email:
>>> >>
>>> >
>>> >
>>
>>
>
-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email: