/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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 | 149 const GLenum srcRGB = combine->SourceRGB[term]; in texture_combine() local 152 switch (srcRGB) { in texture_combine() 198 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/chromium_org/third_party/mesa/src/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()
|
/external/chromium_org/mojo/public/c/gles2/ |
D | gles2_call_visitor_autogen.h | 51 (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha), 52 (srcRGB, dstRGB, srcAlpha, 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/chromium_org/ppapi/lib/gl/gles2/ |
D | gles2.c | 72 void GL_APIENTRY glBlendFuncSeparate(GLenum srcRGB, in glBlendFuncSeparate() argument 77 glGetCurrentContextPPAPI(), srcRGB, dstRGB, srcAlpha, dstAlpha); in glBlendFuncSeparate()
|