/third_party/vk-gl-cts/modules/gles2/performance/ |
H A D | es2pBlendTests.cpp | 146 { "add", GL_FUNC_ADD, GL_FUNC_ADD, GL_ONE, GL_ONE, GL_ONE, GL_ONE }, in init() 151 { "dst_atop", GL_FUNC_ADD, GL_FUNC_ADD, GL_ONE_MINUS_DST_ALPHA, GL_SRC_ALPHA, GL_ONE, GL_ZERO }, in init() 152 { "dst_in", GL_FUNC_ADD, GL_FUNC_ADD, GL_ZERO, GL_SRC_ALPHA, GL_ZERO, GL_SRC_ALPHA }, in init() 153 { "dst_out", GL_FUNC_ADD, GL_FUNC_ADD, GL_ZERO, GL_ONE_MINUS_SRC_ALPHA, GL_ZERO, GL_ONE_MINUS_SRC_ALPHA }, in init() 154 { "dst_over", GL_FUNC_ADD, GL_FUNC_ADD, GL_ONE_MINUS_DST_ALPH in init() [all...] |
H A D | es2pStateChangeCallTests.cpp | 306 GL_FUNC_ADD, in init() 457 GL_FUNC_ADD, in init() 463 GL_FUNC_ADD, in init()
|
H A D | es2pTextureCases.cpp | 212 gl.blendEquation(GL_FUNC_ADD); in setupRenderState()
|
/third_party/vk-gl-cts/modules/gles3/performance/ |
H A D | es3pBlendTests.cpp | 149 { "add", GL_FUNC_ADD, GL_FUNC_ADD, GL_ONE, GL_ONE, GL_ONE, GL_ONE }, in init() 156 { "dst_atop", GL_FUNC_ADD, GL_FUNC_ADD, GL_ONE_MINUS_DST_ALPHA, GL_SRC_ALPHA, GL_ONE, GL_ZERO }, in init() 157 { "dst_in", GL_FUNC_ADD, GL_FUNC_ADD, GL_ZERO, GL_SRC_ALPHA, GL_ZERO, GL_SRC_ALPHA }, in init() 158 { "dst_out", GL_FUNC_ADD, GL_FUNC_ADD, GL_ZERO, GL_ONE_MINUS_SRC_ALPHA, GL_ZERO, GL_ONE_MINUS_SRC_ALPHA }, in init() 159 { "dst_over", GL_FUNC_ADD, GL_FUNC_ADD, GL_ONE_MINUS_DST_ALPH in init() [all...] |
H A D | es3pStateChangeCallTests.cpp | 341 GL_FUNC_ADD, in init() 492 GL_FUNC_ADD, in init() 498 GL_FUNC_ADD, in init()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fNegativeFragmentApiTests.cpp | 150 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if mode is not GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MAX or GL_MIN."); in init() 157 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if modeRGB is not GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MAX or GL_MIN."); in init() 158 glBlendEquationSeparate(-1, GL_FUNC_ADD); in init() 161 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if modeAlpha is not GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MAX or GL_MIN."); in init() 162 glBlendEquationSeparate(GL_FUNC_ADD, -1); in init() 194 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if mode is not GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MAX or GL_MIN."); in init() 199 glBlendEquationi(-1, GL_FUNC_ADD); in init() 201 glBlendEquationi(maxDrawBuffers, GL_FUNC_ADD); in init() 211 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if modeRGB is not GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MAX or GL_MIN."); in init() 212 glBlendEquationSeparatei(0, -1, GL_FUNC_ADD); in init() [all...] |
H A D | es3fBlendTests.cpp | 374 { GL_FUNC_ADD, "add" }, in init() 470 paramSets.push_back(BlendParams(GL_FUNC_ADD, funcRGB.glValue, GL_ONE, GL_FUNC_ADD, funcAlpha.glValue, GL_ONE, defaultBlendColor)); in init() 471 paramSets.push_back(BlendParams(GL_FUNC_ADD, funcRGB.glValue, GL_ZERO, GL_FUNC_ADD, funcAlpha.glValue, GL_ZERO, defaultBlendColor)); in init() 472 paramSets.push_back(BlendParams(GL_FUNC_ADD, funcRGB.glValue, GL_SRC_COLOR, GL_FUNC_ADD, funcAlpha.glValue, GL_SRC_COLOR, defaultBlendColor)); in init() 473 paramSets.push_back(BlendParams(GL_FUNC_ADD, funcRGB.glValue, GL_DST_COLOR, GL_FUNC_ADD, funcAlpha.glValue, GL_DST_COLOR, defaultBlendColor)); in init()
|
H A D | es3fFboInvalidateTests.cpp | 191 glBlendEquation (GL_FUNC_ADD); in render() 285 glBlendEquation (GL_FUNC_ADD); in render() 340 glBlendEquation (GL_FUNC_ADD); in render() 430 glBlendEquation (GL_FUNC_ADD); in render() 540 glBlendEquation (GL_FUNC_ADD); in render() 794 glBlendEquation (GL_FUNC_ADD); in render() 896 glBlendEquation (GL_FUNC_ADD); in render() 1179 glBlendEquation (GL_FUNC_ADD); in render() 1306 glBlendEquation (GL_FUNC_ADD); in render()
|
H A D | es3fIndexedStateQueryTests.cpp | 918 GL_FUNC_ADD, in iterate() 938 verifyStateIndexedInteger(result, gl, GL_BLEND_EQUATION_RGB, ndx, GL_FUNC_ADD, m_verifierType); in iterate() 941 verifyStateIndexedInteger(result, gl, GL_BLEND_EQUATION_ALPHA, ndx, GL_FUNC_ADD, m_verifierType); in iterate() 1050 GL_FUNC_ADD, in iterate()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fNegativeFragmentApiTests.cpp | 142 ctx.beginSection("GL_INVALID_ENUM is generated if mode is not GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MAX or GL_MIN."); in blend_equation() 150 ctx.beginSection("GL_INVALID_ENUM is generated if modeRGB is not GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MAX or GL_MIN."); in blend_equation_separate() 151 ctx.glBlendEquationSeparate(-1, GL_FUNC_ADD); in blend_equation_separate() 154 ctx.beginSection("GL_INVALID_ENUM is generated if modeAlpha is not GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MAX or GL_MIN."); in blend_equation_separate() 155 ctx.glBlendEquationSeparate(GL_FUNC_ADD, -1); in blend_equation_separate() 175 ctx.beginSection("GL_INVALID_ENUM is generated if mode is not GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MAX or GL_MIN."); in blend_equationi() 180 ctx.glBlendEquationi(-1, GL_FUNC_ADD); in blend_equationi() 182 ctx.glBlendEquationi(maxDrawBuffers, GL_FUNC_ADD); in blend_equationi() 195 ctx.beginSection("GL_INVALID_ENUM is generated if modeRGB is not GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MAX or GL_MIN."); in blend_equation_separatei() 196 ctx.glBlendEquationSeparatei(0, -1, GL_FUNC_ADD); in blend_equation_separatei() [all...] |
H A D | es31fFboSRGBWriteControlTests.cpp | 298 blendConfigs[0].equation = GL_FUNC_ADD; in getBlendingConfigList() 299 blendConfigs[1].equation = GL_FUNC_ADD; in getBlendingConfigList() 300 blendConfigs[2].equation = GL_FUNC_ADD; in getBlendingConfigList() 301 blendConfigs[3].equation = GL_FUNC_ADD; in getBlendingConfigList() 1087 if (m_blendConfigList[m_blendIteration].equation == GL_FUNC_ADD) in setShaderBlendFunctionType() 1198 if (m_blendConfigList[m_blendIteration].equation == GL_FUNC_ADD) in enableFramebufferBlend() 1199 equation = "GL_FUNC_ADD"; in enableFramebufferBlend()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fBlendTests.cpp | 317 { GL_FUNC_ADD, "add" }, in init() 405 paramSets.push_back(BlendParams(GL_FUNC_ADD, funcRGB.glValue, GL_ONE, GL_FUNC_ADD, funcAlpha.glValue, GL_ONE, defaultBlendColor)); in init() 406 paramSets.push_back(BlendParams(GL_FUNC_ADD, funcRGB.glValue, GL_ZERO, GL_FUNC_ADD, funcAlpha.glValue, GL_ZERO, defaultBlendColor)); in init() 407 paramSets.push_back(BlendParams(GL_FUNC_ADD, funcRGB.glValue, GL_SRC_COLOR, GL_FUNC_ADD, funcAlpha.glValue, GL_SRC_COLOR, defaultBlendColor)); in init() 408 paramSets.push_back(BlendParams(GL_FUNC_ADD, funcRGB.glValue, GL_DST_COLOR, GL_FUNC_ADD, funcAlpha.glValue, GL_DST_COLOR, defaultBlendColor)); in init()
|
H A D | es2fNegativeFragmentApiTests.cpp | 142 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if mode is not one of GL_FUNC_ADD, GL_FUNC_SUBTRACT, or GL_FUNC_REVERSE_SUBTRACT."); in init() 149 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if either modeRGB or modeAlpha is not one of GL_FUNC_ADD, GL_FUNC_SUBTRACT, or GL_FUNC_REVERSE_SUBTRACT."); in init() 150 glBlendEquationSeparate(-1, GL_FUNC_ADD); in init() 152 glBlendEquationSeparate(GL_FUNC_ADD, -1); in init()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/ |
H A D | esextcDrawBuffersIndexedNegative.cpp | 164 gl.enablei(GL_FUNC_ADD, 0); in iterate() 165 success &= ExpectedError(GL_INVALID_ENUM, "glEnablei(GL_FUNC_ADD, 0)"); in iterate() 167 gl.disablei(GL_FUNC_ADD, 0); in iterate() 168 success &= ExpectedError(GL_INVALID_ENUM, "glDisablei(GL_FUNC_ADD, 0)"); in iterate() 170 gl.isEnabledi(GL_FUNC_ADD, 0); in iterate() 171 success &= ExpectedError(GL_INVALID_ENUM, "glIsEnabledi(GL_FUNC_ADD, 0)"); in iterate()
|
H A D | esextcDrawBuffersIndexedBase.hpp | 72 , mode_rgb(GL_FUNC_ADD) in BlendMaskState() 73 , mode_a(GL_FUNC_ADD) in BlendMaskState()
|
H A D | esextcDrawBuffersIndexedSetGet.cpp | 83 state.SetBlendEquationSeparatei(2, GL_MAX, GL_FUNC_ADD); in iterate()
|
H A D | esextcDrawBuffersIndexedCoverage.cpp | 92 gl.blendEquation(GL_FUNC_ADD); in iterate()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | angletypes_unittest.cpp | 35 ASSERT_EQ(blendStateExt.getEquationColorIndexed(i), static_cast<GLenum>(GL_FUNC_ADD)); in checkInitState() 36 ASSERT_EQ(blendStateExt.getEquationAlphaIndexed(i), static_cast<GLenum>(GL_FUNC_ADD)); in checkInitState() 133 blendStateExt.setEquationsIndexed(5, GL_MIN, GL_FUNC_ADD); in TEST() 137 ASSERT_EQ(blendStateExt.getEquationAlphaIndexed(5), static_cast<GLenum>(GL_FUNC_ADD)); in TEST() 159 ASSERT_EQ(blendStateExt.getEquationAlphaIndexed(0), static_cast<GLenum>(GL_FUNC_ADD)); in TEST()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | BlendPackedTest.cpp | 61 glBlendEquation(GL_FUNC_ADD); in runTest()
|
H A D | SamplersTest.cpp | 160 glBlendEquation(GL_FUNC_ADD); in TEST_P()
|
H A D | BlendIntegerTest.cpp | 92 glBlendEquation(GL_FUNC_ADD); in runTest()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsInteractionTestUtil.cpp | 98 GL_FUNC_ADD, in computeRandomRenderState() 126 GL_FUNC_ADD, in computeRandomRenderState()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | blend.c | 447 case GL_FUNC_ADD: in legal_simple_blend_equation() 1193 ctx->Color.Blend[i].EquationRGB = GL_FUNC_ADD; in _mesa_init_color() 1194 ctx->Color.Blend[i].EquationA = GL_FUNC_ADD; in _mesa_init_color()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | PackedEnums.h | 351 const GLenum scaled = (from - GL_FUNC_ADD); in FromGLenum() 360 return static_cast<GLenum>(from) + GL_FUNC_ADD; in ToGLenum() 363 ANGLE_VALIDATE_PACKED_ENUM(BlendEquationType, Add, GL_FUNC_ADD);
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_blend.c | 56 case GL_FUNC_ADD: in translate_blend()
|