/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_state.c | 58 static boolean blend_discard_if_src_alpha_0(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_alpha_0() argument 65 return (srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_0() 66 srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE || in blend_discard_if_src_alpha_0() 67 srcRGB == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_alpha_0() 79 static boolean blend_discard_if_src_alpha_1(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_alpha_1() argument 86 return (srcRGB == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_1() 87 srcRGB == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_alpha_1() 98 static boolean blend_discard_if_src_color_0(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_color_0() argument 105 return (srcRGB == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_color_0() 106 srcRGB == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_color_0() [all …]
|
/external/deqp/modules/gles2/performance/ |
D | es2pBlendTests.cpp | 46 … name, const char* description, GLenum modeRGB, GLenum modeAlpha, GLenum srcRGB, GLenum dstRGB, GL… 62 … name, const char* description, GLenum modeRGB, GLenum modeAlpha, GLenum srcRGB, GLenum dstRGB, GL… in BlendCase() argument 66 , m_srcRGB (srcRGB) in BlendCase() 139 GLenum srcRGB; in init() member 164 …me, "", cases[caseNdx].modeRGB, cases[caseNdx].modeAlpha, cases[caseNdx].srcRGB, cases[caseNdx].ds… in init()
|
/external/deqp/modules/gles3/performance/ |
D | es3pBlendTests.cpp | 46 … name, const char* description, GLenum modeRGB, GLenum modeAlpha, GLenum srcRGB, GLenum dstRGB, GL… 62 … name, const char* description, GLenum modeRGB, GLenum modeAlpha, GLenum srcRGB, GLenum dstRGB, GL… in BlendCase() argument 66 , m_srcRGB (srcRGB) in BlendCase() 142 GLenum srcRGB; in init() member 171 …me, "", cases[caseNdx].modeRGB, cases[caseNdx].modeAlpha, cases[caseNdx].srcRGB, cases[caseNdx].ds… in init()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_cc.c | 152 GLenum srcRGB = ctx->Color.Blend[0].SrcRGB; in upload_cc_unit() local 162 srcRGB = fix_xRGB_alpha(srcRGB); in upload_cc_unit() 169 srcRGB = dstRGB = GL_ONE; in upload_cc_unit() 177 cc->cc6.src_blend_factor = brw_translate_blend_factor(srcRGB); in upload_cc_unit() 185 cc->cc3.ia_blend_enable = (srcA != srcRGB || in upload_cc_unit()
|
D | gen6_cc.c | 100 GLenum srcRGB = ctx->Color.Blend[b].SrcRGB; in gen6_upload_blend_state() local 106 srcRGB = dstRGB = GL_ONE; in gen6_upload_blend_state() 114 blend[b].blend0.source_blend_factor = brw_translate_blend_factor(srcRGB); in gen6_upload_blend_state() 122 blend[b].blend0.ia_blend_enable = (srcA != srcRGB || in gen6_upload_blend_state()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_emit.c | 162 uint32_t srcRGB = (imm >> S6_CBUF_SRC_BLEND_FACT_SHIFT) & BLENDFACT_MASK; in emit_immediate() local 163 if (srcRGB == BLENDFACT_DST_ALPHA) in emit_immediate() 164 srcRGB = BLENDFACT_DST_COLR; in emit_immediate() 165 else if (srcRGB == BLENDFACT_INV_DST_ALPHA) in emit_immediate() 166 srcRGB = BLENDFACT_INV_DST_COLR; in emit_immediate() 168 imm |= SRC_BLND_FACT(srcRGB); in emit_immediate()
|
D | i915_state.c | 107 unsigned srcRGB = blend->rt[0].rgb_src_factor; in i915_create_blend_state() local 118 if (srcA != srcRGB || in i915_create_blend_state() 164 unsigned srcRGB = blend->rt[0].rgb_src_factor; in i915_create_blend_state() local 168 SRC_BLND_FACT(i915_translate_blend_factor(srcRGB)) | in i915_create_blend_state()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_blend.c | 907 const GLenum srcRGB = ctx->Color.Blend[0].SrcRGB; in _swrast_choose_blend_func() local 935 else if (srcRGB != srcA || dstRGB != dstA) { in _swrast_choose_blend_func() 938 else if (eq == GL_FUNC_ADD && srcRGB == GL_SRC_ALPHA in _swrast_choose_blend_func() 955 else if (eq == GL_FUNC_ADD && srcRGB == GL_ONE && dstRGB == GL_ONE) { in _swrast_choose_blend_func() 965 && (srcRGB == GL_ZERO && dstRGB == GL_SRC_COLOR)) in _swrast_choose_blend_func() 968 && (srcRGB == GL_DST_COLOR && dstRGB == GL_ZERO))) { in _swrast_choose_blend_func() 977 else if (eq == GL_FUNC_ADD && srcRGB == GL_ZERO && dstRGB == GL_ONE) { in _swrast_choose_blend_func() 980 else if (eq == GL_FUNC_ADD && srcRGB == GL_ONE && dstRGB == GL_ZERO) { in _swrast_choose_blend_func()
|
D | s_texcombine.c | 141 const GLenum srcRGB = combine->SourceRGB[term]; in texture_combine() local 144 switch (srcRGB) { in texture_combine() 190 const GLuint srcUnit = srcRGB - GL_TEXTURE0; in texture_combine()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_state.c | 298 GLuint srcRGB = ctx->Color.Blend[0].SrcRGB; in i915UpdateBlendState() local 304 srcRGB = dstRGB = GL_ONE; in i915UpdateBlendState() 311 lis6 |= SRC_BLND_FACT(intel_translate_blend_factor(srcRGB)); in i915UpdateBlendState() 319 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) in i915UpdateBlendState() 337 i915BlendFuncSeparate(struct gl_context * ctx, GLenum srcRGB, in i915BlendFuncSeparate() argument
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrContextWrapper.cpp | 334 void ContextWrapper::glBlendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUi… in glBlendFuncSeparate() argument 336 m_curCtx->blendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); in glBlendFuncSeparate()
|
D | sglrGLContext.hpp | 141 …virtual void blendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint3…
|
D | sglrContext.hpp | 129 …virtual void blendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint32 ds…
|
D | sglrGLContext.cpp | 570 void GLContext::blendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint32 ds… in blendFuncSeparate() argument 572 m_wrapper->glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); in blendFuncSeparate()
|
D | sglrContextWrapper.hpp | 59 …void glBlendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint32 dst…
|
D | sglrReferenceContext.hpp | 692 …virtual void blendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint32 d…
|
D | sglrReferenceContext.cpp | 2926 void ReferenceContext::blendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUi… in blendFuncSeparate() argument 2928 RC_IF_ERROR(!isValidBlendFactor(srcRGB) || in blendFuncSeparate() 2934 m_blendFactorSrcRGB = srcRGB; in blendFuncSeparate()
|
/external/mesa3d/include/GLES/ |
D | glext.h | 470 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLen… 472 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum src…
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state.c | 162 unsigned srcRGB = state->rt[j].rgb_src_factor; in si_create_blend_state() local 180 blend_cntl |= S_028780_COLOR_SRCBLEND(si_translate_blend_factor(srcRGB)); in si_create_blend_state() 183 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in si_create_blend_state()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFboColorbufferTests.cpp | 725 …int32 format, IVec2 size, deUint32 funcRGB, deUint32 funcAlpha, deUint32 srcRGB, deUint32 dstRGB, … in FboBlendCase() argument 730 , m_srcRGB (srcRGB) in FboBlendCase()
|
/external/deqp/doc/ |
D | GLES2 Negative API Functions.txt | 73 o glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
|
D | GLES3 Negative API Functions.txt | 128 o glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_state.c | 750 unsigned srcRGB = state->rt[j].rgb_src_factor; in r600_create_blend_state_mode() local 762 bc |= S_028804_COLOR_SRCBLEND(r600_translate_blend_factor(srcRGB)); in r600_create_blend_state_mode() 765 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in r600_create_blend_state_mode()
|
D | evergreen_state.c | 733 unsigned srcRGB = state->rt[j].rgb_src_factor; in evergreen_create_blend_state_mode() local 745 blend_cntl[i] |= S_028780_COLOR_SRCBLEND(r600_translate_blend_factor(srcRGB)); in evergreen_create_blend_state_mode() 748 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in evergreen_create_blend_state_mode()
|
/external/mesa3d/include/GLES2/ |
D | gl2.h | 485 GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAl…
|