mesa: Remove support for GL_EXT_blend_logic_op
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 9 Sep 2011 21:14:42 +0000 (14:14 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 19 Sep 2011 19:02:20 +0000 (12:02 -0700)
commit113e8167de4500ea8b12176a938cbc4753f3a923
treef58b3776805554cde05fdcc406af0ced5dc2c895
parent3538bffa7287ebef5f2dc4d2e4491aaf6e68b09e
mesa: Remove support for GL_EXT_blend_logic_op

Support is removed for four reasons:

1. The implementation was broken with respect to separate blend
equations.  The GL_EXT_blend_equation_separate spec says:

    "If EXT_blend_logic_op and EXT_blend_equation_separate are both
    supported, the logic op blend equation should be supported separately
    for RGB and alpha as with the other blend equation modes."

But Mesa's implementation of GL_LOGIC_OP specifically forbids this.

2. No hardware supported by Mesa can support separate blend equations
involving GL_LOGIC_OP.

3. No applications could be found that use this extension.

4. No other Linux OpenGL drivers support this extension.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Cc: Brian Paul <brianp@vmware.com>
src/mesa/main/blend.c
src/mesa/main/extensions.c
src/mesa/main/mtypes.h
src/mesa/main/state.h