/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | gen8_blend_state.c | 108 GLenum srcRGB = ctx->Color.Blend[i].SrcRGB; in gen8_upload_blend_state() local 114 srcRGB = dstRGB = GL_ONE; in gen8_upload_blend_state() 127 srcRGB = brw_fix_xRGB_alpha(srcRGB); in gen8_upload_blend_state() 136 SET_FIELD(blend_factor(srcRGB), GEN8_BLEND_SRC_BLEND_FACTOR) | in gen8_upload_blend_state() 142 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) in gen8_upload_blend_state() 246 GLenum srcRGB = ctx->Color.Blend[0].SrcRGB; in gen8_upload_ps_blend() local 252 srcRGB = dstRGB = GL_ONE; in gen8_upload_ps_blend() 265 srcRGB = brw_fix_xRGB_alpha(srcRGB); in gen8_upload_ps_blend() 274 SET_FIELD(blend_factor(srcRGB), GEN8_PS_BLEND_SRC_BLEND_FACTOR) | in gen8_upload_ps_blend() 278 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) in gen8_upload_ps_blend()
|
D | gen6_cc.c | 111 GLenum srcRGB = ctx->Color.Blend[b].SrcRGB; in gen6_upload_blend_state() local 117 srcRGB = dstRGB = GL_ONE; in gen6_upload_blend_state() 133 srcRGB = brw_fix_xRGB_alpha(srcRGB); in gen6_upload_blend_state() 140 blend[b].blend0.source_blend_factor = brw_translate_blend_factor(srcRGB); in gen6_upload_blend_state() 148 blend[b].blend0.ia_blend_enable = (srcA != srcRGB || in gen6_upload_blend_state()
|
D | brw_cc.c | 169 GLenum srcRGB = ctx->Color.Blend[0].SrcRGB; in upload_cc_unit() local 179 srcRGB = brw_fix_xRGB_alpha(srcRGB); in upload_cc_unit() 186 srcRGB = dstRGB = GL_ONE; in upload_cc_unit() 194 cc->cc6.src_blend_factor = brw_translate_blend_factor(srcRGB); in upload_cc_unit() 202 cc->cc3.ia_blend_enable = (srcA != srcRGB || in upload_cc_unit()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_state.c | 59 static boolean blend_discard_if_src_alpha_0(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_alpha_0() argument 66 return (srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_0() 67 srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE || in blend_discard_if_src_alpha_0() 68 srcRGB == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_alpha_0() 80 static boolean blend_discard_if_src_alpha_1(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_alpha_1() argument 87 return (srcRGB == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_1() 88 srcRGB == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_alpha_1() 99 static boolean blend_discard_if_src_color_0(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_color_0() argument 106 return (srcRGB == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_color_0() 107 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/gallium/drivers/i915/ |
D | i915_state_emit.c | 180 uint srcRGB; in emit_immediate_s6() local 183 srcRGB = (imm >> S6_CBUF_SRC_BLEND_FACT_SHIFT) & BLENDFACT_MASK; in emit_immediate_s6() 184 if (srcRGB == BLENDFACT_DST_ALPHA) in emit_immediate_s6() 185 srcRGB = BLENDFACT_DST_COLR; in emit_immediate_s6() 186 else if (srcRGB == BLENDFACT_INV_DST_ALPHA) in emit_immediate_s6() 187 srcRGB = BLENDFACT_INV_DST_COLR; in emit_immediate_s6() 189 imm |= SRC_BLND_FACT(srcRGB); in emit_immediate_s6()
|
D | i915_state.c | 108 unsigned srcRGB = blend->rt[0].rgb_src_factor; in i915_create_blend_state() local 119 if (srcA != srcRGB || in i915_create_blend_state() 165 unsigned srcRGB = blend->rt[0].rgb_src_factor; in i915_create_blend_state() local 169 SRC_BLND_FACT(i915_translate_blend_factor(srcRGB)) | in i915_create_blend_state()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_blend.c | 904 const GLenum srcRGB = ctx->Color.Blend[0].SrcRGB; in _swrast_choose_blend_func() local 932 else if (srcRGB != srcA || dstRGB != dstA) { in _swrast_choose_blend_func() 935 else if (eq == GL_FUNC_ADD && srcRGB == GL_SRC_ALPHA in _swrast_choose_blend_func() 952 else if (eq == GL_FUNC_ADD && srcRGB == GL_ONE && dstRGB == GL_ONE) { in _swrast_choose_blend_func() 962 && (srcRGB == GL_ZERO && dstRGB == GL_SRC_COLOR)) in _swrast_choose_blend_func() 965 && (srcRGB == GL_DST_COLOR && dstRGB == GL_ZERO))) { in _swrast_choose_blend_func() 974 else if (eq == GL_FUNC_ADD && srcRGB == GL_ZERO && dstRGB == GL_ONE) { in _swrast_choose_blend_func() 977 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/amd/vulkan/ |
D | radv_pipeline.c | 842 VkBlendFactor srcRGB = att->srcColorBlendFactor; in radv_pipeline_init_blend_state() local 859 if (is_dual_src(srcRGB) || is_dual_src(dstRGB) || is_dual_src(srcA) || is_dual_src(dstA)) in radv_pipeline_init_blend_state() 864 srcRGB = VK_BLEND_FACTOR_ONE; in radv_pipeline_init_blend_state() 875 blend_cntl |= S_028780_COLOR_SRCBLEND(si_translate_blend_factor(srcRGB)); in radv_pipeline_init_blend_state() 877 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in radv_pipeline_init_blend_state() 887 if (srcRGB == VK_BLEND_FACTOR_SRC_ALPHA || in radv_pipeline_init_blend_state() 889 srcRGB == VK_BLEND_FACTOR_SRC_ALPHA_SATURATE || in radv_pipeline_init_blend_state() 891 srcRGB == VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA || in radv_pipeline_init_blend_state()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_state.c | 300 GLuint srcRGB = ctx->Color.Blend[0].SrcRGB; in i915UpdateBlendState() local 306 srcRGB = dstRGB = GL_ONE; in i915UpdateBlendState() 313 lis6 |= SRC_BLND_FACT(intel_translate_blend_factor(srcRGB)); in i915UpdateBlendState() 321 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) in i915UpdateBlendState() 339 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()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state.c | 442 unsigned srcRGB = state->rt[j].rgb_src_factor; in si_create_blend_state_mode() local 490 si_blend_remove_dst(&eqRGB, &srcRGB, &dstRGB, in si_create_blend_state_mode() 501 srcRGB_opt = si_translate_blend_opt_factor(srcRGB, false); in si_create_blend_state_mode() 507 if (si_blend_factor_uses_dst(srcRGB)) in si_create_blend_state_mode() 512 if (srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE && in si_create_blend_state_mode() 530 blend_cntl |= S_028780_COLOR_SRCBLEND(si_translate_blend_factor(srcRGB)); in si_create_blend_state_mode() 533 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in si_create_blend_state_mode() 544 if (srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA || in si_create_blend_state_mode() 546 srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE || in si_create_blend_state_mode() 548 srcRGB == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in si_create_blend_state_mode()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | main.cpp | 162 void BlendFuncSeparateOES(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 164 void BlendFuncSeparateOES(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 596 GL_API void GL_APIENTRY glBlendFuncSeparateOES(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenu… in glBlendFuncSeparateOES() argument 598 return es1::BlendFuncSeparateOES(srcRGB, dstRGB, srcAlpha, dstAlpha); in glBlendFuncSeparateOES()
|
D | libGLES_CM.cpp | 248 void BlendFuncSeparateOES(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 255 void BlendFuncSeparateOES(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) in BlendFuncSeparateOES() argument 258 srcRGB, dstRGB, srcAlpha, dstAlpha); in BlendFuncSeparateOES() 260 switch(srcRGB) in BlendFuncSeparateOES() 334 context->setBlendFactors(srcRGB, dstRGB, srcAlpha, dstAlpha); in BlendFuncSeparateOES()
|
D | libGLES_CM.hpp | 54 void (*glBlendFuncSeparateOES)(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
|
/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);
|
/external/swiftshader/third_party/PowerVR_SDK/Builds/Include/GLES/ |
D | glext.h | 574 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLen… 576 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum src…
|
/external/mesa3d/include/GLES/ |
D | glext.h | 574 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLen… 576 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum src…
|
/external/swiftshader/include/GLES/ |
D | glext.h | 91 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum src… 93 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLen…
|