Home
last modified time | relevance | path

Searched refs:Blend (Results 1 – 25 of 35) sorted by relevance

12

/external/mesa3d/src/mesa/main/
Dblend.c188 ctx->Color.Blend[buf]._UsesDualSrc = in update_uses_dual_src()
189 (blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcRGB) || in update_uses_dual_src()
190 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstRGB) || in update_uses_dual_src()
191 blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcA) || in update_uses_dual_src()
192 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstA)); in update_uses_dual_src()
230 if (ctx->Color.Blend[buf].SrcRGB != sfactorRGB || in _mesa_BlendFuncSeparateEXT()
231 ctx->Color.Blend[buf].DstRGB != dfactorRGB || in _mesa_BlendFuncSeparateEXT()
232 ctx->Color.Blend[buf].SrcA != sfactorA || in _mesa_BlendFuncSeparateEXT()
233 ctx->Color.Blend[buf].DstA != dfactorA) { in _mesa_BlendFuncSeparateEXT()
244 ctx->Color.Blend[buf].SrcRGB = sfactorRGB; in _mesa_BlendFuncSeparateEXT()
[all …]
Dattrib.c73 GLboolean Blend; member
266 attr->Blend = ctx->Color.BlendEnabled; in _mesa_PushAttrib()
500 if (ctx->Color.BlendEnabled != enable->Blend) { in pop_enable_group()
504 _mesa_set_enablei(ctx, GL_BLEND, i, (enable->Blend >> i) & 1); in pop_enable_group()
508 _mesa_set_enable(ctx, GL_BLEND, (enable->Blend & 1)); in pop_enable_group()
950 _mesa_BlendFuncSeparatei(buf, color->Blend[buf].SrcRGB, in _mesa_PopAttrib()
951 color->Blend[buf].DstRGB, in _mesa_PopAttrib()
952 color->Blend[buf].SrcA, in _mesa_PopAttrib()
953 color->Blend[buf].DstA); in _mesa_PopAttrib()
955 color->Blend[buf].EquationRGB, in _mesa_PopAttrib()
[all …]
Dget.c414 { GL_BLEND_SRC, CONTEXT_ENUM(Color.Blend[0].SrcRGB), NO_EXTRA },
476 { GL_BLEND_SRC_RGB_EXT, CONTEXT_ENUM(Color.Blend[0].SrcRGB), NO_EXTRA },
477 { GL_BLEND_DST_RGB_EXT, CONTEXT_ENUM(Color.Blend[0].DstRGB), NO_EXTRA },
478 { GL_BLEND_SRC_ALPHA_EXT, CONTEXT_ENUM(Color.Blend[0].SrcA), NO_EXTRA },
479 { GL_BLEND_DST_ALPHA_EXT, CONTEXT_ENUM(Color.Blend[0].DstA), NO_EXTRA },
483 { GL_BLEND_EQUATION, CONTEXT_ENUM(Color.Blend[0].EquationRGB), NO_EXTRA },
484 { GL_BLEND_EQUATION_ALPHA_EXT, CONTEXT_ENUM(Color.Blend[0].EquationA), NO_EXTRA },
565 { GL_BLEND_DST, CONTEXT_ENUM(Color.Blend[0].DstRGB), NO_EXTRA },
2543 v->value_int = ctx->Color.Blend[index].SrcRGB; in find_value_indexed()
2550 v->value_int = ctx->Color.Blend[index].SrcA; in find_value_indexed()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_blend.c78 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD); in blend_noop()
79 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD); in blend_noop()
80 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_ZERO); in blend_noop()
81 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ONE); in blend_noop()
104 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD); in blend_replace()
105 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD); in blend_replace()
106 ASSERT(ctx->Color.Blend[0].SrcRGB == GL_ONE); in blend_replace()
107 ASSERT(ctx->Color.Blend[0].DstRGB == GL_ZERO); in blend_replace()
128 ASSERT(ctx->Color.Blend[0].EquationRGB == GL_FUNC_ADD); in blend_transparency_ubyte()
129 ASSERT(ctx->Color.Blend[0].EquationA == GL_FUNC_ADD); in blend_transparency_ubyte()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_blend.c218 translate_blend(ctx->Color.Blend[j].EquationRGB); in update_blend()
220 if (ctx->Color.Blend[i].EquationRGB == GL_MIN || in update_blend()
221 ctx->Color.Blend[i].EquationRGB == GL_MAX) { in update_blend()
228 translate_blend(ctx->Color.Blend[j].SrcRGB); in update_blend()
230 translate_blend(ctx->Color.Blend[j].DstRGB); in update_blend()
234 translate_blend(ctx->Color.Blend[j].EquationA); in update_blend()
236 if (ctx->Color.Blend[i].EquationA == GL_MIN || in update_blend()
237 ctx->Color.Blend[i].EquationA == GL_MAX) { in update_blend()
244 translate_blend(ctx->Color.Blend[j].SrcA); in update_blend()
246 translate_blend(ctx->Color.Blend[j].DstA); in update_blend()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_pixel.c70 (effective_func(ctx->Color.Blend[0].SrcRGB, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops()
71 effective_func(ctx->Color.Blend[0].DstRGB, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops()
72 ctx->Color.Blend[0].EquationRGB != GL_FUNC_ADD || in intel_check_blit_fragment_ops()
73 effective_func(ctx->Color.Blend[0].SrcA, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops()
74 effective_func(ctx->Color.Blend[0].DstA, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops()
75 ctx->Color.Blend[0].EquationA != GL_FUNC_ADD)) { in intel_check_blit_fragment_ops()
Dgen6_cc.c98 GLenum eqRGB = ctx->Color.Blend[b].EquationRGB; in gen6_upload_blend_state()
99 GLenum eqA = ctx->Color.Blend[b].EquationA; in gen6_upload_blend_state()
100 GLenum srcRGB = ctx->Color.Blend[b].SrcRGB; in gen6_upload_blend_state()
101 GLenum dstRGB = ctx->Color.Blend[b].DstRGB; in gen6_upload_blend_state()
102 GLenum srcA = ctx->Color.Blend[b].SrcA; in gen6_upload_blend_state()
103 GLenum dstA = ctx->Color.Blend[b].DstA; in gen6_upload_blend_state()
182 if (ctx->Color.Blend[b]._UsesDualSrc) in gen6_upload_blend_state()
Dbrw_cc.c150 GLenum eqRGB = ctx->Color.Blend[0].EquationRGB; in upload_cc_unit()
151 GLenum eqA = ctx->Color.Blend[0].EquationA; in upload_cc_unit()
152 GLenum srcRGB = ctx->Color.Blend[0].SrcRGB; in upload_cc_unit()
153 GLenum dstRGB = ctx->Color.Blend[0].DstRGB; in upload_cc_unit()
154 GLenum srcA = ctx->Color.Blend[0].SrcA; in upload_cc_unit()
155 GLenum dstA = ctx->Color.Blend[0].DstA; in upload_cc_unit()
Dgen6_wm_state.c165 ctx->Color.Blend[0]._UsesDualSrc) { in upload_wm_state()
Dgen7_wm_state.c191 ctx->Color.Blend[0]._UsesDualSrc) { in upload_ps_state()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel.c70 (effective_func(ctx->Color.Blend[0].SrcRGB, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops()
71 effective_func(ctx->Color.Blend[0].DstRGB, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops()
72 ctx->Color.Blend[0].EquationRGB != GL_FUNC_ADD || in intel_check_blit_fragment_ops()
73 effective_func(ctx->Color.Blend[0].SrcA, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops()
74 effective_func(ctx->Color.Blend[0].DstA, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops()
75 ctx->Color.Blend[0].EquationA != GL_FUNC_ADD)) { in intel_check_blit_fragment_ops()
Di915_state.c250 if (dw != i915->state.Blend[I915_BLENDREG_BLENDCOLOR1]) { in i915BlendColor()
251 i915->state.Blend[I915_BLENDREG_BLENDCOLOR1] = dw; in i915BlendColor()
287 GLuint iab = (i915->state.Blend[I915_BLENDREG_IAB] & in i915UpdateBlendState()
296 GLuint eqRGB = ctx->Color.Blend[0].EquationRGB; in i915UpdateBlendState()
297 GLuint eqA = ctx->Color.Blend[0].EquationA; in i915UpdateBlendState()
298 GLuint srcRGB = ctx->Color.Blend[0].SrcRGB; in i915UpdateBlendState()
299 GLuint dstRGB = ctx->Color.Blend[0].DstRGB; in i915UpdateBlendState()
300 GLuint srcA = ctx->Color.Blend[0].SrcA; in i915UpdateBlendState()
301 GLuint dstA = ctx->Color.Blend[0].DstA; in i915UpdateBlendState()
322 if (iab != i915->state.Blend[I915_BLENDREG_IAB]) { in i915UpdateBlendState()
[all …]
Di830_state.c295 SRC_BLND_FACT(intel_translate_blend_factor(ctx->Color.Blend[0].SrcRGB)) in i830_set_blend_state()
296 | DST_BLND_FACT(intel_translate_blend_factor(ctx->Color.Blend[0].DstRGB)); in i830_set_blend_state()
298 switch (ctx->Color.Blend[0].EquationRGB) { in i830_set_blend_state()
318 __FUNCTION__, __LINE__, ctx->Color.Blend[0].EquationRGB); in i830_set_blend_state()
323 funcA = SRC_ABLEND_FACT(intel_translate_blend_factor(ctx->Color.Blend[0].SrcA)) in i830_set_blend_state()
324 | DST_ABLEND_FACT(intel_translate_blend_factor(ctx->Color.Blend[0].DstA)); in i830_set_blend_state()
326 switch (ctx->Color.Blend[0].EquationA) { in i830_set_blend_state()
346 __FUNCTION__, __LINE__, ctx->Color.Blend[0].EquationA); in i830_set_blend_state()
Di915_vtbl.c261 sz += sizeof(state->Blend); in get_state_size()
384 emit(intel, state->Blend, sizeof(state->Blend)); in i915_emit_state()
Di915_context.h220 GLuint Blend[I915_BLEND_SETUP_SIZE]; member
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_pixel.c70 (effective_func(ctx->Color.Blend[0].SrcRGB, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops()
71 effective_func(ctx->Color.Blend[0].DstRGB, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops()
72 ctx->Color.Blend[0].EquationRGB != GL_FUNC_ADD || in intel_check_blit_fragment_ops()
73 effective_func(ctx->Color.Blend[0].SrcA, src_alpha_is_one) != GL_ONE || in intel_check_blit_fragment_ops()
74 effective_func(ctx->Color.Blend[0].DstA, src_alpha_is_one) != GL_ZERO || in intel_check_blit_fragment_ops()
75 ctx->Color.Blend[0].EquationA != GL_FUNC_ADD)) { in intel_check_blit_fragment_ops()
/external/opencv3/doc/tutorials/highgui/trackbar/
Dtrackbar.markdown53 imshow( "Linear Blend", dst );
69 namedWindow("Linear Blend", 1);
75 createTrackbar( TrackbarName, "Linear Blend", &alpha_slider, alpha_slider_max, on_trackbar );
98 namedWindow("Linear Blend", 1);
102 createTrackbar( TrackbarName, "Linear Blend", &alpha_slider, alpha_slider_max, on_trackbar );
107 - The Trackbar is located in the window named **"Linear Blend"**
122 imshow( "Linear Blend", dst );
/external/opencv3/modules/cudaimgproc/test/
Dtest_blend.cpp79 PARAM_TEST_CASE(Blend, cv::cuda::DeviceInfo, cv::Size, MatType, UseRoi) in PARAM_TEST_CASE() argument
97 CUDA_TEST_P(Blend, Accuracy) in CUDA_TEST_P() argument
118 INSTANTIATE_TEST_CASE_P(CUDA_ImgProc, Blend, testing::Combine(
/external/mesa3d/src/mesa/drivers/common/
Ddriverfuncs.c228 ctx->Color.Blend[0].EquationRGB, in _mesa_init_driver_state()
229 ctx->Color.Blend[0].EquationA); in _mesa_init_driver_state()
232 ctx->Color.Blend[0].SrcRGB, in _mesa_init_driver_state()
233 ctx->Color.Blend[0].DstRGB, in _mesa_init_driver_state()
234 ctx->Color.Blend[0].SrcA, in _mesa_init_driver_state()
235 ctx->Color.Blend[0].DstA); in _mesa_init_driver_state()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_raster.c68 PUSH_DATA (push, nvgl_blend_eqn(ctx->Color.Blend[0].EquationRGB)); in nv10_emit_blend_equation()
77 PUSH_DATA (push, nvgl_blend_func(ctx->Color.Blend[0].SrcRGB)); in nv10_emit_blend_func()
78 PUSH_DATA (push, nvgl_blend_func(ctx->Color.Blend[0].DstRGB)); in nv10_emit_blend_func()
Dnv04_state_raster.c205 nv04->blend |= get_blend_func(ctx->Color.Blend[0].DstRGB) << 28 | in nv04_emit_blend()
206 get_blend_func(ctx->Color.Blend[0].SrcRGB) << 24; in nv04_emit_blend()
/external/opencv3/doc/tutorials/core/adding_images/
Dadding_images.markdown62 namedWindow("Linear Blend", 1);
67 imshow( "Linear Blend", dst );
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state.c141 && ctx->Color.Blend[0].EquationRGB == GL_LOGIC_OP)) ) { in radeonBlendEquationSeparate()
158 switch ( ctx->Color.Blend[0].SrcRGB ) { in radeonBlendFuncSeparate()
205 switch ( ctx->Color.Blend[0].DstRGB ) { in radeonBlendFuncSeparate()
1533 && ctx->Color.Blend[0].EquationRGB == GL_LOGIC_OP)) ) { in radeonEnable()
1543 ctx->Color.Blend[0].EquationRGB, in radeonEnable()
1544 ctx->Color.Blend[0].EquationA ); in radeonEnable()
1545 ctx->Driver.BlendFuncSeparate( ctx, ctx->Color.Blend[0].SrcRGB, in radeonEnable()
1546 ctx->Color.Blend[0].DstRGB, in radeonEnable()
1547 ctx->Color.Blend[0].SrcA, in radeonEnable()
1548 ctx->Color.Blend[0].DstA ); in radeonEnable()
[all …]
/external/mesa3d/src/gallium/docs/source/cso/
Dblend.rst3 Blend title
9 Blend Factors
/external/deqp/doc/testspecs/GLES31/
Dfunctional.blend_equation_advanced.txt19 Blend Equation Advanced (GL_KHR_blend_equation_advanced)

12