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

Re: [Public WebGL] Adding internalformat param to all texImage2d variants

On May 18, 2010, at 11:00 AM, Kenneth Russell wrote:

> On Tue, May 18, 2010 at 12:27 AM, Mark Callow <callow_mark@hicorp.co.jp> wrote:
>> On 2010/05/18 2:37, Kenneth Russell wrote:
>>> I'd also really like to understand why glGetTexLevelParameter[fi]v was
>>> removed from OpenGL ES. Mark Callow, can you comment on this?
>> I did explain this once before.
> Sorry, I must have forgotten.
>> OpenGL ES removed format conversions; internal format must match format.
>> Therefore there was no need for the query as the internal format could
>> not be different from what the application specified.
> glGetTexLevelParameter[fi]v also provides useful queries like the
> level's width and height. Its removal seems contrary to the principle
> that any parameter which can be set can also be queried.

But the fact is that it doesn't exist in OpenGL ES 2.0, and if we don't absolutely need it (which I don't think we do), we shouldn't add it.


You are currently subscribe to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email: