Home
last modified time | relevance | path

Searched refs:ColorMask (Results 1 – 25 of 61) sorted by relevance

123

/external/mesa3d/src/mesa/swrast/
Ds_masking.c60 GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 0) ? 0xff : 0, in _swrast_mask_rgba_span()
61 GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 1) ? 0xff : 0, in _swrast_mask_rgba_span()
62 GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 2) ? 0xff : 0, in _swrast_mask_rgba_span()
63 GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 3) ? 0xff : 0, in _swrast_mask_rgba_span()
78 const GLushort rMask = GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 0) ? 0xffff : 0x0; in _swrast_mask_rgba_span()
79 const GLushort gMask = GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 1) ? 0xffff : 0x0; in _swrast_mask_rgba_span()
80 const GLushort bMask = GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 2) ? 0xffff : 0x0; in _swrast_mask_rgba_span()
81 const GLushort aMask = GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 3) ? 0xffff : 0x0; in _swrast_mask_rgba_span()
94 const GLuint rMask = GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 0) ? ~0x0 : 0x0; in _swrast_mask_rgba_span()
95 const GLuint gMask = GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 1) ? ~0x0 : 0x0; in _swrast_mask_rgba_span()
[all …]
Ds_clear.c262 GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 0) ? 0xff : 0, in clear_color_buffers()
263 GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 1) ? 0xff : 0, in clear_color_buffers()
264 GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 2) ? 0xff : 0, in clear_color_buffers()
265 GET_COLORMASK_BIT(ctx->Color.ColorMask, buf, 3) ? 0xff : 0, in clear_color_buffers()
Ds_triangle.c1030 if (GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 0) == 0 && in _swrast_choose_triangle()
1031 GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 1) == 0 && in _swrast_choose_triangle()
1032 GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 2) == 0 && in _swrast_choose_triangle()
1033 GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 3) == 0) { in _swrast_choose_triangle()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_raster.c165 if (GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 0)) in nv04_emit_control()
167 if (GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 1)) in nv04_emit_control()
169 if (GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 2)) in nv04_emit_control()
171 if (GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 3)) in nv04_emit_control()
Dnouveau_driver.c136 GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 0) ? 0xff : 0, in nouveau_clear()
137 GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 1) ? 0xff : 0, in nouveau_clear()
138 GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 2) ? 0xff : 0, in nouveau_clear()
139 GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 3) ? 0xff : 0, in nouveau_clear()
Dnv10_state_raster.c90 PUSH_DATA (push, ((GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 3) ? 1 << 24 : 0) | in nv10_emit_color_mask()
91 (GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 0) ? 1 << 16 : 0) | in nv10_emit_color_mask()
92 (GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 1) ? 1 << 8 : 0) | in nv10_emit_color_mask()
93 (GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 2) ? 1 << 0 : 0))); in nv10_emit_color_mask()
Dnv20_context.c59 if (GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 0)) in nv20_clear()
61 if (GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 1)) in nv20_clear()
63 if (GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 2)) in nv20_clear()
65 if (GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 3)) in nv20_clear()
Dnv04_context.c63 GET_COLORMASK(ctx->Color.ColorMask, 0) != 0xf) in nv04_context_engine()
/external/mesa3d/src/mesa/main/
Daccum.c304 const GLboolean masking = (!GET_COLORMASK_BIT(ctx->Color.ColorMask, buffer, 0) || in accum_return()
305 !GET_COLORMASK_BIT(ctx->Color.ColorMask, buffer, 1) || in accum_return()
306 !GET_COLORMASK_BIT(ctx->Color.ColorMask, buffer, 2) || in accum_return()
307 !GET_COLORMASK_BIT(ctx->Color.ColorMask, buffer, 3)); in accum_return()
347 if (!GET_COLORMASK_BIT(ctx->Color.ColorMask, buffer, 0)) { in accum_return()
351 if (!GET_COLORMASK_BIT(ctx->Color.ColorMask, buffer, 1)) { in accum_return()
355 if (!GET_COLORMASK_BIT(ctx->Color.ColorMask, buffer, 2)) { in accum_return()
359 if (!GET_COLORMASK_BIT(ctx->Color.ColorMask, buffer, 3)) { in accum_return()
Dblend.c990 if (ctx->Color.ColorMask == mask) in _mesa_ColorMask()
995 ctx->Color.ColorMask = mask; in _mesa_ColorMask()
998 if (ctx->Driver.ColorMask) in _mesa_ColorMask()
999 ctx->Driver.ColorMask( ctx, red, green, blue, alpha ); in _mesa_ColorMask()
1026 if (GET_COLORMASK(ctx->Color.ColorMask, buf) == mask) in _mesa_ColorMaski()
1031 ctx->Color.ColorMask &= ~(0xf << (4 * buf)); in _mesa_ColorMaski()
1032 ctx->Color.ColorMask |= mask << (4 * buf); in _mesa_ColorMaski()
1193 ctx->Color.ColorMask = 0xffffffff; in _mesa_init_color()
Dattrib.c1019 _mesa_ColorMask(GET_COLORMASK_BIT(color->ColorMask, 0, 0), in _mesa_PopAttrib()
1020 GET_COLORMASK_BIT(color->ColorMask, 0, 1), in _mesa_PopAttrib()
1021 GET_COLORMASK_BIT(color->ColorMask, 0, 2), in _mesa_PopAttrib()
1022 GET_COLORMASK_BIT(color->ColorMask, 0, 3)); in _mesa_PopAttrib()
1028 GET_COLORMASK_BIT(color->ColorMask, i, 0), in _mesa_PopAttrib()
1029 GET_COLORMASK_BIT(color->ColorMask, i, 1), in _mesa_PopAttrib()
1030 GET_COLORMASK_BIT(color->ColorMask, i, 2), in _mesa_PopAttrib()
1031 GET_COLORMASK_BIT(color->ColorMask, i, 3)); in _mesa_PopAttrib()
Dget.c733 v->value_int_4[0] = GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 0); in find_custom_value()
734 v->value_int_4[1] = GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 1); in find_custom_value()
735 v->value_int_4[2] = GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 2); in find_custom_value()
736 v->value_int_4[3] = GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 3); in find_custom_value()
2525 v->value_int_4[0] = GET_COLORMASK_BIT(ctx->Color.ColorMask, index, 0); in find_value_indexed()
2526 v->value_int_4[1] = GET_COLORMASK_BIT(ctx->Color.ColorMask, index, 1); in find_value_indexed()
2527 v->value_int_4[2] = GET_COLORMASK_BIT(ctx->Color.ColorMask, index, 2); in find_value_indexed()
2528 v->value_int_4[3] = GET_COLORMASK_BIT(ctx->Color.ColorMask, index, 3); in find_value_indexed()
/external/mesa3d/src/mesa/drivers/common/
Ddriverfuncs.c132 driver->ColorMask = NULL; in _mesa_init_driver_functions()
237 ctx->Driver.ColorMask(ctx, in _mesa_init_driver_state()
238 GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 0), in _mesa_init_driver_state()
239 GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 1), in _mesa_init_driver_state()
240 GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 2), in _mesa_init_driver_state()
241 GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 3)); in _mesa_init_driver_state()
Dmeta.c538 save->ColorMask = ctx->Color.ColorMask; in _mesa_meta_begin()
900 if (GET_COLORMASK(ctx->Color.ColorMask, i) != in _mesa_meta_end()
901 GET_COLORMASK(save->ColorMask, i)) { in _mesa_meta_end()
903 _mesa_ColorMask(GET_COLORMASK_BIT(save->ColorMask, i, 0), in _mesa_meta_end()
904 GET_COLORMASK_BIT(save->ColorMask, i, 1), in _mesa_meta_end()
905 GET_COLORMASK_BIT(save->ColorMask, i, 2), in _mesa_meta_end()
906 GET_COLORMASK_BIT(save->ColorMask, i, 3)); in _mesa_meta_end()
910 GET_COLORMASK_BIT(save->ColorMask, i, 0), in _mesa_meta_end()
911 GET_COLORMASK_BIT(save->ColorMask, i, 1), in _mesa_meta_end()
912 GET_COLORMASK_BIT(save->ColorMask, i, 2), in _mesa_meta_end()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_blend.c120 _mesa_replicate_colormask(GET_COLORMASK(ctx->Color.ColorMask, 0), in colormask_per_rt()
123 return (ctx->Color.ColorMask & full_mask) != repl_mask0; in colormask_per_rt()
213 blend->rt[i].colormask = GET_COLORMASK(ctx->Color.ColorMask, i); in st_update_blend()
Dst_cb_clear.c289 blend.rt[i].colormask = GET_COLORMASK(ctx->Color.ColorMask, i); in clear_with_quad()
458 GET_COLORMASK(ctx->Color.ColorMask, colormask_index); in st_Clear()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel.c86 if (GET_COLORMASK(ctx->Color.ColorMask, 0) != 0xf) { in intel_check_blit_fragment_ops()
Dintel_clear.c115 if (GET_COLORMASK(ctx->Color.ColorMask, 0) == 0xf) { in intelClear()
Dintel_pixel_copy.c133 if (GET_COLORMASK(ctx->Color.ColorMask, 0) != 0xf) { in do_blit_copypixels()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_pixel.c83 if (GET_COLORMASK(ctx->Color.ColorMask, 0) != 0xf) { in intel_check_blit_fragment_ops()
Dintel_pixel_copy.c137 if (GET_COLORMASK(ctx->Color.ColorMask, 0) != 0xf) { in do_blit_copypixels()
Dbrw_wm_surface_state.c983 if (!GET_COLORMASK_BIT(ctx->Color.ColorMask, unit, 0)) in gen4_update_renderbuffer_surface()
985 if (!GET_COLORMASK_BIT(ctx->Color.ColorMask, unit, 1)) in gen4_update_renderbuffer_surface()
987 if (!GET_COLORMASK_BIT(ctx->Color.ColorMask, unit, 2)) in gen4_update_renderbuffer_surface()
994 !GET_COLORMASK_BIT(ctx->Color.ColorMask, unit, 3)) { in gen4_update_renderbuffer_surface()
/external/deqp-deps/amber/src/
Dcommand_data.h56 enum ColorMask { enum
/external/skia/src/gpu/gl/
DGrGLAssembleWebGLInterfaceAutogen.cpp75 GET_PROC(ColorMask); in GrGLMakeAssembledWebGLInterface()
/external/mesa3d/docs/relnotes/
D18.1.9.rst66 - radeon: fix ColorMask

123