[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] Addition of texParameteriv and texParameterfv signatures
- To: Cedric Vivier <email@example.com>
- Subject: Re: [Public WebGL] Addition of texParameteriv and texParameterfv signatures
- From: Kenneth Russell <firstname.lastname@example.org>
- Date: Tue, 1 Jun 2010 15:21:49 -0700
- Cc: public webgl <email@example.com>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1275430915; bh=9FeL2xQXrQQ1aRcRt+E/AigkCIk=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type:Content-Transfer-Encoding; b=SPm6gV1pyVkh7qDg72bcQmMaVgDDNzDl+FB9cX1O0lVPtnYFQZ2Jn+ikqaKb9iLep 3sLmwcgiGbxXs2zmqeAAg==
- Domainkey-signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:content-transfer-encoding:x-system-of-record; b=CASDEVhWYNeIsFWmssLyzFDwFDcaNiaga6Nh7sRDtbLg12LquQWpf0o4vEFkiqpVy JbVDZG9oNX2ZYvKleAr6g==
- In-reply-to: <AANLkTik1kLgyvvbpmdDDF9-JidPxCHk8hEM18g1uiaQG@mail.gmail.com>
- References: <AANLkTillJmqeT_ydNKag91STT-MHSss5WX-KzBhkdjLi@mail.gmail.com> <AANLkTinKxQMq2Jz_Bqf2qlkogVOqSbBTzYnieCov58kL@mail.gmail.com> <AANLkTik8l6PplJ0tfqWs1n_5o7Dn3YfFHZmg98G4b2n_@mail.gmail.com> <AANLkTilIcwFguF7LzBtum0Zqm9_OGH5cpUfXWFwKRwJq@mail.gmail.com> <AANLkTik1kLgyvvbpmdDDF9-JidPxCHk8hEM18g1uiaQG@mail.gmail.com>
- Sender: firstname.lastname@example.org
On Wed, May 26, 2010 at 6:47 PM, Cedric Vivier <email@example.com> wrote:
> On Thu, May 27, 2010 at 07:23, Kenneth Russell <firstname.lastname@example.org> wrote:
>> This assumption is incorrect. The core WebGL code will not only have
>> to implement these entry points but also support them for all of the
>> existing enums and values. See
>> http://www.khronos.org/opengles/sdk/docs/man/glTexParameter.xml and
>> note that all of the enums that can be passed to glTexParameter[if]
>> can also be passed to glTexParameter[if]v.
> Right. However this does not disprove the general idea that it requires only
> a minimal stub, passing control to the non-vectored version on the first
> element (ie. "gl.texParameteri(target, pname, param);" ) for the four
> valid enums.
> Is this considered a significantly expensive stub to implement ?
It requires handwritten code, and there is a recent push to eliminate
balancing this against other needed work for WebGL 1.0, it would be
far down on my priority list.
>> What is the justification for adding these entry points? I am not
>> aware of any core OpenGL ES texture parameter, one specified by an
>> OpenGL ES extension, or any planned WebGL-specific texture parameter
>> that would require them.
> Justification is being able to use them in _any_ extension, by your
> assumption that they are useless and always will be, ES would also have
> removed these signatures imho.
> You're right that there is probably no ES extension requiring them
> currently, however this might happen during the lifetime of WebGL 1.0... and
> _there is_ non-ES extensions that requires them (e.g ARB_texture_swizzle is
> an obvious one, core now in 3.3+, but there is probably others), so WebGL
> bindings for desktop-specific extensions would need them.
> Finally, do you imply every potential WebGL-specific extension should be
> been planned already ? ;-) The nice characteristic about an open extension
> system is that it can be used to experiment new ideas anytime, for instance
> a WebGL extension to support non-zero border (and associated
> TEXTURE_BORDER_COLOR parameter) on desktop could worthy to experiment [just
> an idea!].
If an extension comes along which needs these entry points and they
aren't in WebGL 1.0 they can always be supplied on the extension
Does anyone else on the WebGL working group have an opinion on this topic?
You are currently subscribed to email@example.com.
To unsubscribe, send an email to firstname.lastname@example.org with
the following command in the body of your email: