Home
last modified time | relevance | path

Searched refs:BlendEnabled (Results 1 – 25 of 29) sorted by relevance

12

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_blend.c178 if (ctx->Color.BlendEnabled && in blend_per_rt()
179 (ctx->Color.BlendEnabled != ((1U << ctx->Const.MaxDrawBuffers) - 1))) { in blend_per_rt()
209 else if (ctx->Color.BlendEnabled && !ctx->Color._AdvancedBlendMode) { in st_update_blend()
213 blend->rt[i].blend_enable = (ctx->Color.BlendEnabled >> i) & 0x1; in st_update_blend()
Dst_cb_drawpixels.c1313 !ctx->Color.BlendEnabled && in blit_copy_pixels()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel.c70 if (ctx->Color.BlendEnabled && in intel_check_blit_fragment_ops()
Dintel_pixel_copy.c128 ctx->Color.BlendEnabled) { in do_blit_copypixels()
Di830_state.c244 else if (ctx->Color.BlendEnabled) { in i830EvalLogicOpBlendState()
383 (ctx->Color.BlendEnabled) ? "en" : "dis"); in i830_set_blend_state()
Di915_state.c221 if (ctx->Color.BlendEnabled) { in i915EvalLogicOpBlendState()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_pixel.c67 if (ctx->Color.BlendEnabled && in intel_check_blit_fragment_ops()
Dintel_pixel_copy.c132 ctx->Color.BlendEnabled) { in do_blit_copypixels()
Dbrw_wm.c536 (ctx->Color.BlendEnabled & 1) && ctx->Color.Blend[0]._UsesDualSrc; in brw_wm_populate_key()
DgenX_state_upload.c1885 wm_prog_data->dual_src_blend && (ctx->Color.BlendEnabled & 1) &&
2830 ctx->Color.BlendEnabled & (1 << i) : ctx->Color.BlendEnabled;
3867 (ctx->Color.BlendEnabled & 1) &&
4587 if (rb && !buffer0_is_integer && (color->BlendEnabled & 1)) {
Dbrw_draw.c551 bool blend_enabled = ctx->Color.BlendEnabled & (1 << i); in brw_predraw_resolve_framebuffer()
Dbrw_wm_surface_state.c921 (ctx->Color.BlendEnabled & (1 << unit))) in gen4_update_renderbuffer_surface()
/external/mesa3d/src/mesa/main/
Denable.c326 if (newEnabled != ctx->Color.BlendEnabled) { in _mesa_set_enable()
328 ctx->Color.BlendEnabled = newEnabled; in _mesa_set_enable()
1195 if (((ctx->Color.BlendEnabled >> index) & 1) != state) { in _mesa_set_enablei()
1198 ctx->Color.BlendEnabled |= (1 << index); in _mesa_set_enablei()
1200 ctx->Color.BlendEnabled &= ~(1 << index); in _mesa_set_enablei()
1259 return (ctx->Color.BlendEnabled >> index) & 1; in _mesa_IsEnabledi()
1327 return ctx->Color.BlendEnabled & 1; /* return state for buffer[0] */ in _mesa_IsEnabled()
Dattrib.c325 attr->Blend = ctx->Color.BlendEnabled; in _mesa_PushAttrib()
583 if (ctx->Color.BlendEnabled != enable->Blend) { in pop_enable_group()
1016 if (ctx->Color.BlendEnabled != color->BlendEnabled) { in _mesa_PopAttrib()
1021 (color->BlendEnabled >> i) & 1); in _mesa_PopAttrib()
1025 _mesa_set_enable(ctx, GL_BLEND, (color->BlendEnabled & 1)); in _mesa_PopAttrib()
Dapi_validate.c64 if (ctx->Color.BlendEnabled && ctx->Color._AdvancedBlendMode) { in check_blend_func_error()
Dblend.c1178 ctx->Color.BlendEnabled = 0x0; in _mesa_init_color()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_raster.c210 if (ctx->Color.BlendEnabled) in nv04_emit_blend()
Dnv10_state_raster.c68 PUSH_DATAb(push, ctx->Color.BlendEnabled); in nv10_emit_blend_equation()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state.c132 if (ctx->Color.BlendEnabled) in radeonBlendEquationSeparate()
143 if ( (ctx->Color.ColorLogicOpEnabled || (ctx->Color.BlendEnabled in radeonBlendEquationSeparate()
199 if (ctx->Color.BlendEnabled) in radeonBlendFuncSeparate()
243 if (ctx->Color.BlendEnabled) in radeonBlendFuncSeparate()
1480 if ( (ctx->Color.ColorLogicOpEnabled || (ctx->Color.BlendEnabled in radeonEnable()
1619 if ( (ctx->Color.ColorLogicOpEnabled || (ctx->Color.BlendEnabled in radeonEnable()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c496 save->BlendEnabled = ctx->Color.BlendEnabled; in _mesa_meta_begin()
497 if (ctx->Color.BlendEnabled) { in _mesa_meta_begin()
862 if (ctx->Color.BlendEnabled != save->BlendEnabled) { in _mesa_meta_end()
866 _mesa_set_enablei(ctx, GL_BLEND, i, (save->BlendEnabled >> i) & 1); in _mesa_meta_end()
870 _mesa_set_enable(ctx, GL_BLEND, (save->BlendEnabled & 1)); in _mesa_meta_end()
Ddriverfuncs.c245 ctx->Driver.Enable(ctx, GL_BLEND, ctx->Color.BlendEnabled); in _mesa_init_driver_state()
Dmeta.h86 GLbitfield BlendEnabled; member
/external/mesa3d/src/mesa/swrast/
Ds_context.c62 if (ctx->Color.BlendEnabled) rasterMask |= BLEND_BIT; in _swrast_update_rasterflags()
Ds_span.c1367 else if ((ctx->Color.BlendEnabled >> buf) & 1) { in _swrast_write_rgba_span()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c601 val[0].i = ctx->Color.BlendEnabled ? ctx->Color._AdvancedBlendMode : 0; in _mesa_fetch_state()

12