Home
last modified time | relevance | path

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

1234

/external/mesa3d/src/gallium/drivers/r300/
Dr300_state.c59 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/
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/gallium/drivers/i915/
Di915_state_emit.c180 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()
Di915_state.c108 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/angle/src/libANGLE/
DvalidationESEXT.cpp326 GLenum srcRGB, in ValidateBlendFuncSeparateiEXT() argument
337 return ValidateBlendFuncSeparatei(context, buf, srcRGB, dstRGB, srcAlpha, dstAlpha); in ValidateBlendFuncSeparateiEXT()
427 GLenum srcRGB, in ValidateBlendFuncSeparateiOES() argument
438 return ValidateBlendFuncSeparatei(context, buf, srcRGB, dstRGB, srcAlpha, dstAlpha); in ValidateBlendFuncSeparateiOES()
DvalidationES32.cpp72 GLenum srcRGB, in ValidateBlendFuncSeparatei() argument
83 if (!ValidateBlendFuncSeparate(context, srcRGB, dstRGB, srcAlpha, dstAlpha)) in ValidateBlendFuncSeparatei()
DContext_gles_3_2_autogen.h17 void blendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, \
DvalidationES32_autogen.h28 GLenum srcRGB,
/external/mesa3d/src/mesa/swrast/
Ds_blend.c904 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()
Ds_texcombine.c142 const GLenum srcRGB = combine->SourceRGB[term]; in texture_combine() local
145 switch (srcRGB) { in texture_combine()
191 const GLuint srcUnit = srcRGB - GL_TEXTURE0; in texture_combine()
/external/v4l2_codec2/common/
DFormatConverter.cpp272 const uint8_t* srcRGB = (idMap) ? idMap->addr() : inputView.data()[C2PlanarLayout::PLANE_R]; in convertBlock() local
279 libyuv::ABGRToI420(srcRGB, srcStrideRGB, dstY, dstStrideY, dstU, dstStrideU, dstV, in convertBlock()
288 libyuv::ABGRToI420(srcRGB, srcStrideRGB, dstY, dstStrideY, mTempPlaneU.get(), in convertBlock()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_state.c300 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/angle/src/libGL/
Dentry_points_gl_4_0_autogen.cpp112 BlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) in BlendFuncSeparatei() argument
118 CID(context), buf, GLenumToString(GLenumGroup::BlendingFactor, srcRGB), in BlendFuncSeparatei()
128 ValidateBlendFuncSeparatei(context, buf, srcRGB, dstRGB, srcAlpha, dstAlpha)); in BlendFuncSeparatei()
131 context->blendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); in BlendFuncSeparatei()
133 ANGLE_CAPTURE(BlendFuncSeparatei, isCallValid, context, buf, srcRGB, dstRGB, srcAlpha, in BlendFuncSeparatei()
Dentry_points_gl_4_0_autogen.h24 BlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
/external/mesa3d/src/mesa/drivers/dri/i965/
DgenX_state_upload.c2857 GLenum srcRGB = ctx->Color.Blend[i].SrcRGB; local
2863 srcRGB = dstRGB = GL_ONE;
2877 srcRGB = brw_fix_xRGB_alpha(srcRGB);
2890 srcRGB = fix_dual_blend_alpha_to_one(srcRGB);
2917 entry->SourceBlendFactor = blend_factor(srcRGB);
2923 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB)
4793 GLenum srcRGB = color->Blend[0].SrcRGB; local
4799 srcRGB = dstRGB = GL_ONE;
4813 srcRGB = brw_fix_xRGB_alpha(srcRGB);
4823 srcRGB = fix_dual_blend_alpha_to_one(srcRGB);
[all …]
/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()
/external/angle/src/libGLESv2/
Dentry_points_gles_3_2_autogen.cpp81 BlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) in BlendFuncSeparatei() argument
87 CID(context), buf, GLenumToString(GLenumGroup::BlendingFactor, srcRGB), in BlendFuncSeparatei()
97 ValidateBlendFuncSeparatei(context, buf, srcRGB, dstRGB, srcAlpha, dstAlpha)); in BlendFuncSeparatei()
100 context->blendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); in BlendFuncSeparatei()
102 ANGLE_CAPTURE(BlendFuncSeparatei, isCallValid, context, buf, srcRGB, dstRGB, srcAlpha, in BlendFuncSeparatei()
Dentry_points_gles_3_2_autogen.h23 BlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
/external/angle/include/GLES3/
Dgl32ext_explicit_context_autogen.inc14 …BLENDFUNCSEPARATEICONTEXTANGLEPROC)(GLeglContext ctx, GLuint buf, GLenum srcRGB, GLenum dstRGB, GL…
59 …RY glBlendFuncSeparateiContextANGLE(GLeglContext ctx, GLuint buf, GLenum srcRGB, GLenum dstRGB, GL…
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c680 VkBlendFactor srcRGB = att->srcColorBlendFactor; in radv_pipeline_init_blend_state() local
704 if (is_dual_src(srcRGB) || is_dual_src(dstRGB) || is_dual_src(srcA) || is_dual_src(dstA)) in radv_pipeline_init_blend_state()
709 srcRGB = VK_BLEND_FACTOR_ONE; in radv_pipeline_init_blend_state()
717 radv_blend_check_commutativity(&blend, eqRGB, srcRGB, dstRGB, in radv_pipeline_init_blend_state()
728 si_blend_remove_dst(&eqRGB, &srcRGB, &dstRGB, in radv_pipeline_init_blend_state()
741 srcRGB_opt = si_translate_blend_opt_factor(srcRGB, false); in radv_pipeline_init_blend_state()
747 if (si_blend_factor_uses_dst(srcRGB)) in radv_pipeline_init_blend_state()
752 if (srcRGB == VK_BLEND_FACTOR_SRC_ALPHA_SATURATE && in radv_pipeline_init_blend_state()
769 blend_cntl |= S_028780_COLOR_SRCBLEND(si_translate_blend_factor(srcRGB)); in radv_pipeline_init_blend_state()
771 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in radv_pipeline_init_blend_state()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c483 unsigned srcRGB = state->rt[j].rgb_src_factor; in si_create_blend_state_mode() local
525 si_blend_check_commutativity(sctx->screen, blend, eqRGB, srcRGB, dstRGB, 0x7 << (4 * i)); in si_create_blend_state_mode()
534 si_blend_remove_dst(&eqRGB, &srcRGB, &dstRGB, PIPE_BLENDFACTOR_DST_COLOR, in si_create_blend_state_mode()
542 srcRGB_opt = si_translate_blend_opt_factor(srcRGB, false); in si_create_blend_state_mode()
548 if (util_blend_factor_uses_dest(srcRGB, false)) in si_create_blend_state_mode()
553 if (srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE && in si_create_blend_state_mode()
568 blend_cntl |= S_028780_COLOR_SRCBLEND(si_translate_blend_factor(srcRGB)); in si_create_blend_state_mode()
571 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in si_create_blend_state_mode()
585 if (srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA || dstRGB == PIPE_BLENDFACTOR_SRC_ALPHA || in si_create_blend_state_mode()
586 srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE || in si_create_blend_state_mode()
[all …]

1234