Home
last modified time | relevance | path

Searched refs:srcRGB (Results 1 – 25 of 32) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/r300/
Dr300_state.c58 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/
Des2pBlendTests.cpp46 … 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/
Des3pBlendTests.cpp46 … 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/
Dbrw_cc.c152 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()
Dgen6_cc.c100 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/
Di915_state_emit.c162 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()
Di915_state.c107 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/
Ds_blend.c907 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()
Ds_texcombine.c141 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/
Di915_state.c298 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/
DsglrContextWrapper.cpp334 void ContextWrapper::glBlendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUi… in glBlendFuncSeparate() argument
336 m_curCtx->blendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); in glBlendFuncSeparate()
DsglrGLContext.hpp141 …virtual void blendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint3…
DsglrContext.hpp129 …virtual void blendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint32 ds…
DsglrGLContext.cpp570 void GLContext::blendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint32 ds… in blendFuncSeparate() argument
572 m_wrapper->glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); in blendFuncSeparate()
DsglrContextWrapper.hpp59 …void glBlendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint32 dst…
DsglrReferenceContext.hpp692 …virtual void blendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint32 d…
DsglrReferenceContext.cpp2926 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/
Dglext.h470 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/
Dsi_state.c162 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/
Des3fFboColorbufferTests.cpp725 …int32 format, IVec2 size, deUint32 funcRGB, deUint32 funcAlpha, deUint32 srcRGB, deUint32 dstRGB, … in FboBlendCase() argument
730 , m_srcRGB (srcRGB) in FboBlendCase()
/external/deqp/doc/
DGLES2 Negative API Functions.txt73 o glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
DGLES3 Negative API Functions.txt128 o glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c750 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()
Devergreen_state.c733 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/
Dgl2.h485 GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAl…

12