Home
last modified time | relevance | path

Searched refs:eqRGB (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_cc.c98 GLenum eqRGB = ctx->Color.Blend[b].EquationRGB; in gen6_upload_blend_state() local
105 if (eqRGB == GL_MIN || eqRGB == GL_MAX) { in gen6_upload_blend_state()
115 blend[b].blend0.blend_func = brw_translate_blend_equation(eqRGB); in gen6_upload_blend_state()
124 eqA != eqRGB); in gen6_upload_blend_state()
Dbrw_cc.c150 GLenum eqRGB = ctx->Color.Blend[0].EquationRGB; in upload_cc_unit() local
168 if (eqRGB == GL_MIN || eqRGB == GL_MAX) { in upload_cc_unit()
178 cc->cc6.blend_function = brw_translate_blend_equation(eqRGB); in upload_cc_unit()
187 eqA != eqRGB); in upload_cc_unit()
/external/deqp/modules/gles2/functional/
Des2fBlendTests.cpp429 const EnumGL& eqRGB = blendEquations[equationRGBNdx]; in init() local
432 string name = string("") + eqRGB.nameStr + "_" + eqAlpha.nameStr; in init()
434 "RGB equation " + getBlendEquationName(eqRGB.glValue) + in init()
438 …paramSets.push_back(BlendParams(eqRGB.glValue, GL_ONE, GL_ONE, eqAlpha.glValue, GL_ONE, GL_ONE, de… in init()
/external/deqp/modules/gles3/functional/
Des3fBlendTests.cpp494 const EnumGL& eqRGB = blendEquations[equationRGBNdx]; in init() local
497 string name = string("") + eqRGB.nameStr + "_" + eqAlpha.nameStr; in init()
499 "RGB equation " + getBlendEquationName(eqRGB.glValue) + in init()
503 …paramSets.push_back(BlendParams(eqRGB.glValue, GL_ONE, GL_ONE, eqAlpha.glValue, GL_ONE, GL_ONE, de… in init()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_state.c239 unsigned eqRGB = state->rt[0].rgb_func; in r300_create_blend_state() local
254 r300_translate_blend_function(eqRGB, TRUE); in r300_create_blend_state()
256 r300_translate_blend_function(eqRGB, FALSE); in r300_create_blend_state()
263 if (eqRGB == PIPE_BLEND_MIN || eqA == PIPE_BLEND_MIN || in r300_create_blend_state()
264 eqRGB == PIPE_BLEND_MAX || eqA == PIPE_BLEND_MAX || in r300_create_blend_state()
283 if (eqRGB != PIPE_BLEND_MIN && eqA != PIPE_BLEND_MIN && in r300_create_blend_state()
284 eqRGB != PIPE_BLEND_MAX && eqA != PIPE_BLEND_MAX) { in r300_create_blend_state()
324 if ((eqRGB == PIPE_BLEND_ADD || eqRGB == PIPE_BLEND_REVERSE_SUBTRACT) && in r300_create_blend_state()
360 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in r300_create_blend_state()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_state.c296 GLuint eqRGB = ctx->Color.Blend[0].EquationRGB; in i915UpdateBlendState() local
303 if (eqRGB == GL_MIN || eqRGB == GL_MAX) { in i915UpdateBlendState()
313 lis6 |= translate_blend_equation(eqRGB) << S6_CBUF_BLEND_FUNC_SHIFT; in i915UpdateBlendState()
319 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) in i915UpdateBlendState()
345 i915BlendEquationSeparate(struct gl_context * ctx, GLenum eqRGB, GLenum eqA) in i915BlendEquationSeparate() argument
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c106 unsigned eqRGB = blend->rt[0].rgb_func; in i915_create_blend_state() local
120 eqA != eqRGB) { in i915_create_blend_state()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c161 unsigned eqRGB = state->rt[j].rgb_func; in si_create_blend_state() local
179 blend_cntl |= S_028780_COLOR_COMB_FCN(si_translate_blend_function(eqRGB)); in si_create_blend_state()
183 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in si_create_blend_state()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c749 unsigned eqRGB = state->rt[j].rgb_func; in r600_create_blend_state_mode() local
761 bc |= S_028804_COLOR_COMB_FCN(r600_translate_blend_function(eqRGB)); in r600_create_blend_state_mode()
765 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in r600_create_blend_state_mode()
Devergreen_state.c732 unsigned eqRGB = state->rt[j].rgb_func; in evergreen_create_blend_state_mode() local
744 blend_cntl[i] |= S_028780_COLOR_COMB_FCN(r600_translate_blend_function(eqRGB)); in evergreen_create_blend_state_mode()
748 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in evergreen_create_blend_state_mode()