Home
last modified time | relevance | path

Searched refs:GL_SRC_COLOR (Results 1 - 25 of 71) sorted by relevance

123

/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fNegativeFragmentApiTests.cpp178 glBlendFuncSeparate(-1, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR); in init()
180 glBlendFuncSeparate(GL_ZERO, -1, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR); in init()
184 glBlendFuncSeparate(GL_ZERO, GL_ONE, GL_SRC_COLOR, -1); in init()
252 glBlendFuncSeparatei(0, -1, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR); in init()
254 glBlendFuncSeparatei(0, GL_ZERO, -1, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR); in init()
258 glBlendFuncSeparatei(0, GL_ZERO, GL_ONE, GL_SRC_COLOR, -1); in init()
262 glBlendFuncSeparatei(-1, GL_ONE, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR); in init()
264 glBlendFuncSeparatei(maxDrawBuffers, GL_ONE, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR); in init()
H A Des3fIndexedStateQueryTests.cpp728 GL_SRC_COLOR, in iterate()
787 gl.glBlendFuncSeparate(GL_SRC_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_DST_COLOR, GL_ONE_MINUS_DST_ALPHA); in iterate()
790 verifyStateIndexedInteger(result, gl, GL_BLEND_SRC_RGB, ndx, GL_SRC_COLOR, m_verifierType); in iterate()
864 gl.glBlendFuncSeparate(GL_SRC_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_DST_COLOR, GL_ONE_MINUS_DST_ALPHA); in iterate()
872 gl.glBlendFuncSeparate(GL_SRC_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_DST_COLOR, GL_ONE_MINUS_DST_ALPHA); in iterate()
875 verifyStateIndexedInteger(result, gl, GL_BLEND_SRC_RGB, ndx, GL_SRC_COLOR, m_verifierType); in iterate()
H A Des3fBlendTests.cpp385 { GL_SRC_COLOR, "src_color" }, 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()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fNegativeFragmentApiTests.cpp224 ctx.glBlendFuncSeparate(-1, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR); in blend_func_separate()
226 ctx.glBlendFuncSeparate(GL_ZERO, -1, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR); in blend_func_separate()
230 ctx.glBlendFuncSeparate(GL_ZERO, GL_ONE, GL_SRC_COLOR, -1); in blend_func_separate()
266 ctx.glBlendFuncSeparatei(0, -1, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR); in blend_func_separatei()
268 ctx.glBlendFuncSeparatei(0, GL_ZERO, -1, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR); in blend_func_separatei()
272 ctx.glBlendFuncSeparatei(0, GL_ZERO, GL_ONE, GL_SRC_COLOR, -1); in blend_func_separatei()
276 ctx.glBlendFuncSeparatei(-1, GL_ONE, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR); in blend_func_separatei()
278 ctx.glBlendFuncSeparatei(maxDrawBuffers, GL_ONE, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR); in blend_func_separatei()
H A Des31fIndexedStateQueryTests.cpp964 GL_SRC_COLOR, in iterate()
1023 gl.glBlendFuncSeparate(GL_SRC_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_DST_COLOR, GL_ONE_MINUS_DST_ALPHA); in iterate()
1026 verifyStateIndexedInteger(result, gl, GL_BLEND_SRC_RGB, ndx, GL_SRC_COLOR, m_verifierType); in iterate()
1100 gl.glBlendFuncSeparate(GL_SRC_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_DST_COLOR, GL_ONE_MINUS_DST_ALPHA); in iterate()
1108 gl.glBlendFuncSeparate(GL_SRC_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_DST_COLOR, GL_ONE_MINUS_DST_ALPHA); in iterate()
1111 verifyStateIndexedInteger(result, gl, GL_BLEND_SRC_RGB, ndx, GL_SRC_COLOR, m_verifierType); in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fNegativeFragmentApiTests.cpp159 glBlendFuncSeparate(-1, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR); in init()
161 glBlendFuncSeparate(GL_ZERO, -1, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR); in init()
165 glBlendFuncSeparate(GL_ZERO, GL_ONE, GL_SRC_COLOR, -1); in init()
H A Des2fBlendTests.cpp326 { GL_SRC_COLOR, "src_color" }, 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()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
H A DTextureEnvTest.cpp152 GL_SRC_COLOR, // op0Rgb in TEST_P()
154 GL_SRC_COLOR, // op1Rgb in TEST_P()
219 glTexEnvf(GL_TEXTURE_ENV, GL_OPERAND0_ALPHA, (GLfloat)GL_SRC_COLOR); in TEST_P()
223 glTexEnvf(GL_TEXTURE_ENV, GL_OPERAND1_ALPHA, (GLfloat)GL_SRC_COLOR); in TEST_P()
227 glTexEnvf(GL_TEXTURE_ENV, GL_OPERAND2_ALPHA, (GLfloat)GL_SRC_COLOR); in TEST_P()
280 GL_SRC_COLOR, in TEST_P()
/third_party/vk-gl-cts/modules/gles2/performance/
H A Des2pStateChangeCallTests.cpp421 GL_SRC_COLOR, in init()
438 GL_SRC_COLOR, in init()
744 GL_SRC_COLOR, in init()
761 GL_SRC_COLOR, in init()
778 GL_SRC_COLOR, in init()
795 GL_SRC_COLOR, in init()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Dangletypes_unittest.cpp167 blendStateExt.setFactors(GL_SRC_COLOR, GL_DST_COLOR, GL_SRC_ALPHA, GL_DST_ALPHA); in TEST()
174 blendStateExt.setFactorsIndexed(3, GL_SRC_COLOR, GL_ONE, GL_SRC_ALPHA, GL_DST_ALPHA); in TEST()
175 blendStateExt.setFactorsIndexed(5, GL_SRC_COLOR, GL_DST_COLOR, GL_ONE, GL_DST_ALPHA); in TEST()
176 blendStateExt.setFactorsIndexed(7, GL_SRC_COLOR, GL_DST_COLOR, GL_SRC_ALPHA, GL_ONE); in TEST()
210 ASSERT_EQ(blendStateExt.getSrcColorIndexed(1), static_cast<GLenum>(GL_SRC_COLOR)); in TEST()
217 ASSERT_EQ(blendStateExt.getSrcColorIndexed(1), static_cast<GLenum>(GL_SRC_COLOR)); in TEST()
224 ASSERT_EQ(blendStateExt.getSrcColorIndexed(1), static_cast<GLenum>(GL_SRC_COLOR)); in TEST()
/third_party/vk-gl-cts/modules/gles3/performance/
H A Des3pStateChangeCallTests.cpp456 GL_SRC_COLOR, in init()
473 GL_SRC_COLOR, in init()
806 GL_SRC_COLOR, in init()
823 GL_SRC_COLOR, in init()
840 GL_SRC_COLOR, in init()
857 GL_SRC_COLOR, in init()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/
H A DesextcDrawBuffersIndexedSetGet.cpp84 state.SetBlendFuncSeparatei(2, GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_DST_COLOR); in iterate()
H A DesextcDrawBuffersIndexedCoverage.cpp82 gl.blendFunci(i, GL_ZERO, GL_SRC_COLOR); in iterate()
H A DesextcDrawBuffersIndexedNegative.cpp82 gl.blendFunci(maxDrawBuffers, GL_ZERO, GL_SRC_COLOR); in iterate()
83 success &= ExpectedError(GL_INVALID_VALUE, "glBlendFunci(maxDrawBuffers, GL_ZERO, GL_SRC_COLOR)"); in iterate()
/third_party/vk-gl-cts/modules/glshared/
H A DglsInteractionTestUtil.cpp109 GL_SRC_COLOR, in computeRandomRenderState()
135 GL_SRC_COLOR, in computeRandomRenderState()
/third_party/mesa3d/src/mesa/main/
H A Dtexstate.c57 { GL_SRC_COLOR, GL_SRC_COLOR, GL_SRC_ALPHA, GL_SRC_ALPHA },
268 state->OperandRGB[2] = GL_SRC_COLOR; in calculate_derived_texenv()
481 case GL_SRC_COLOR: return TEXENV_OPR_COLOR; in tex_combine_translate_operand()
H A Dblend.c52 case GL_SRC_COLOR: in legal_src_factor()
93 case GL_SRC_COLOR: in legal_dst_factor()
H A Dtexenv.c305 case GL_SRC_COLOR: in set_combiner_operand()
/third_party/skia/third_party/externals/angle2/src/common/
H A DPackedEnums.h412 if (from >= GL_SRC_COLOR && from <= GL_SRC_ALPHA_SATURATE) in FromGLenum()
413 return static_cast<BlendFactorType>(from - GL_SRC_COLOR + 2); in FromGLenum()
429 return value - 2 + GL_SRC_COLOR; in ToGLenum()
439 ANGLE_VALIDATE_PACKED_ENUM(BlendFactorType, SrcColor, GL_SRC_COLOR);
H A DPackedGLEnums_autogen.cpp1886 case GL_SRC_COLOR: in FromGLenum()
1904 return GL_SRC_COLOR; in ToGLenum()
1925 os << "GL_SRC_COLOR"; in operator <<()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_atom_blend.c70 case GL_SRC_COLOR: in translate_blend()
/third_party/vk-gl-cts/framework/opengl/simplereference/
H A DsglrReferenceUtils.cpp297 case GL_SRC_COLOR: return rr::BLENDFUNC_SRC_COLOR; in mapGLBlendFunc()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DRenderPipelineGL.cpp67 return GL_SRC_COLOR; in GLBlendFactor()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A Drenderer9_utils.cpp84 case GL_SRC_COLOR: in ConvertBlendFunc()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DBlendFuncExtendedTest.cpp28 if (factor == GL_SRC_COLOR) in Weight()

Completed in 22 milliseconds

123