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

[Public WebGL] Re: stencilFuncSeparate and stencilMaskSeparate

On Wed, Nov 3, 2010 at 4:39 PM, Kenneth Russell <kbr@google.com> wrote:
> The WebGL-specific limitations imposed on stencilFuncSeparate and
> stencilMaskSeparate in
> https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/doc/spec/WebGL-spec.html#6.5
> imply that these entry points are now useless. If it isn't possible to
> change the front or back reference or mask value to something
> different than the other, then these entry points can't be used to
> change those values for either face. Doing so must generate
> INVALID_OPERATION. stencilFunc and stencilMask must be used instead.
> Rather than adding useless logic to WebGL implementations (see
> https://bugs.webkit.org/show_bug.cgi?id=48669), should we just remove
> these entry points for the time being?

Zhenyao Mo pointed out separately that the func can be different, so
it's only stencilMaskSeparate that's completely useless. In that case
I suppose we should leave in all of the entry points for symmetry.

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: