/external/mesa3d/src/mesa/swrast/ |
D | s_masking.c | 60 memcpy(&srcMask, ctx->Color.ColorMask[buf], sizeof(srcMask)); in _swrast_mask_rgba_span() 72 const GLushort rMask = ctx->Color.ColorMask[buf][RCOMP] ? 0xffff : 0x0; in _swrast_mask_rgba_span() 73 const GLushort gMask = ctx->Color.ColorMask[buf][GCOMP] ? 0xffff : 0x0; in _swrast_mask_rgba_span() 74 const GLushort bMask = ctx->Color.ColorMask[buf][BCOMP] ? 0xffff : 0x0; in _swrast_mask_rgba_span() 75 const GLushort aMask = ctx->Color.ColorMask[buf][ACOMP] ? 0xffff : 0x0; in _swrast_mask_rgba_span() 88 const GLuint rMask = ctx->Color.ColorMask[buf][RCOMP] ? ~0x0 : 0x0; in _swrast_mask_rgba_span() 89 const GLuint gMask = ctx->Color.ColorMask[buf][GCOMP] ? ~0x0 : 0x0; in _swrast_mask_rgba_span() 90 const GLuint bMask = ctx->Color.ColorMask[buf][BCOMP] ? ~0x0 : 0x0; in _swrast_mask_rgba_span() 91 const GLuint aMask = ctx->Color.ColorMask[buf][ACOMP] ? ~0x0 : 0x0; in _swrast_mask_rgba_span()
|
D | s_context.c | 68 if (!ctx->Color.ColorMask[i][0] || in _swrast_update_rasterflags() 69 !ctx->Color.ColorMask[i][1] || in _swrast_update_rasterflags() 70 !ctx->Color.ColorMask[i][2] || in _swrast_update_rasterflags() 71 !ctx->Color.ColorMask[i][3]) { in _swrast_update_rasterflags() 99 if (ctx->Color.ColorMask[i][0] + in _swrast_update_rasterflags() 100 ctx->Color.ColorMask[i][1] + in _swrast_update_rasterflags() 101 ctx->Color.ColorMask[i][2] + in _swrast_update_rasterflags() 102 ctx->Color.ColorMask[i][3] == 0) { in _swrast_update_rasterflags()
|
D | s_triangle.c | 1030 if (ctx->Color.ColorMask[0][0] == 0 && in _swrast_choose_triangle() 1031 ctx->Color.ColorMask[0][1] == 0 && in _swrast_choose_triangle() 1032 ctx->Color.ColorMask[0][2] == 0 && in _swrast_choose_triangle() 1033 ctx->Color.ColorMask[0][3] == 0) { in _swrast_choose_triangle()
|
D | s_clear.c | 190 clear_rgba_buffer(ctx, rb, ctx->Color.ColorMask[buf]); in clear_color_buffers()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_clear.c | 229 if (ctx->Color.ColorMask[i][0]) in clear_with_quad() 231 if (ctx->Color.ColorMask[i][1]) in clear_with_quad() 233 if (ctx->Color.ColorMask[i][2]) in clear_with_quad() 235 if (ctx->Color.ColorMask[i][3]) in clear_with_quad() 346 return !ctx->Color.ColorMask[i][0] && in is_color_disabled() 347 !ctx->Color.ColorMask[i][1] && in is_color_disabled() 348 !ctx->Color.ColorMask[i][2] && in is_color_disabled() 349 !ctx->Color.ColorMask[i][3]; in is_color_disabled() 359 return !ctx->Color.ColorMask[i][0] || in is_color_masked() 360 !ctx->Color.ColorMask[i][1] || in is_color_masked() [all …]
|
D | st_atom_blend.c | 165 if (memcmp(ctx->Color.ColorMask[0], ctx->Color.ColorMask[i], 4)) { in colormask_per_rt() 257 if (ctx->Color.ColorMask[i][0]) in st_update_blend() 259 if (ctx->Color.ColorMask[i][1]) in st_update_blend() 261 if (ctx->Color.ColorMask[i][2]) in st_update_blend() 263 if (ctx->Color.ColorMask[i][3]) in st_update_blend()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_pixel.c | 86 if (!(ctx->Color.ColorMask[0][0] && in intel_check_blit_fragment_ops() 87 ctx->Color.ColorMask[0][1] && in intel_check_blit_fragment_ops() 88 ctx->Color.ColorMask[0][2] && in intel_check_blit_fragment_ops() 89 ctx->Color.ColorMask[0][3])) { in intel_check_blit_fragment_ops()
|
D | intel_pixel_copy.c | 133 if (!ctx->Color.ColorMask[0][0] || in do_blit_copypixels() 134 !ctx->Color.ColorMask[0][1] || in do_blit_copypixels() 135 !ctx->Color.ColorMask[0][2] || in do_blit_copypixels() 136 !ctx->Color.ColorMask[0][3]) { in do_blit_copypixels()
|
D | intel_clear.c | 92 memcpy(&colorMask, &ctx->Color.ColorMask[0], sizeof(colorMask)); in intelClear()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_pixel.c | 83 if (!(ctx->Color.ColorMask[0][0] && in intel_check_blit_fragment_ops() 84 ctx->Color.ColorMask[0][1] && in intel_check_blit_fragment_ops() 85 ctx->Color.ColorMask[0][2] && in intel_check_blit_fragment_ops() 86 ctx->Color.ColorMask[0][3])) { in intel_check_blit_fragment_ops()
|
D | intel_pixel_copy.c | 137 if (!ctx->Color.ColorMask[0][0] || in do_blit_copypixels() 138 !ctx->Color.ColorMask[0][1] || in do_blit_copypixels() 139 !ctx->Color.ColorMask[0][2] || in do_blit_copypixels() 140 !ctx->Color.ColorMask[0][3]) { in do_blit_copypixels()
|
D | brw_wm_surface_state.c | 924 if (!ctx->Color.ColorMask[unit][0]) in gen4_update_renderbuffer_surface() 926 if (!ctx->Color.ColorMask[unit][1]) in gen4_update_renderbuffer_surface() 928 if (!ctx->Color.ColorMask[unit][2]) in gen4_update_renderbuffer_surface() 935 !ctx->Color.ColorMask[unit][3]) { in gen4_update_renderbuffer_surface()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv04_state_raster.c | 165 if (ctx->Color.ColorMask[0][RCOMP]) in nv04_emit_control() 167 if (ctx->Color.ColorMask[0][GCOMP]) in nv04_emit_control() 169 if (ctx->Color.ColorMask[0][BCOMP]) in nv04_emit_control() 171 if (ctx->Color.ColorMask[0][ACOMP]) in nv04_emit_control()
|
D | nv10_state_raster.c | 90 PUSH_DATA (push, ((ctx->Color.ColorMask[0][3] ? 1 << 24 : 0) | in nv10_emit_color_mask() 91 (ctx->Color.ColorMask[0][0] ? 1 << 16 : 0) | in nv10_emit_color_mask() 92 (ctx->Color.ColorMask[0][1] ? 1 << 8 : 0) | in nv10_emit_color_mask() 93 (ctx->Color.ColorMask[0][2] ? 1 << 0 : 0))); in nv10_emit_color_mask()
|
D | nv04_context.c | 60 !(ctx->Color.ColorMask[0][RCOMP] && in nv04_context_engine() 61 ctx->Color.ColorMask[0][GCOMP] && in nv04_context_engine() 62 ctx->Color.ColorMask[0][BCOMP] && in nv04_context_engine() 63 ctx->Color.ColorMask[0][ACOMP])) in nv04_context_engine()
|
D | nv20_context.c | 58 if (ctx->Color.ColorMask[0][RCOMP]) in nv20_clear() 60 if (ctx->Color.ColorMask[0][GCOMP]) in nv20_clear() 62 if (ctx->Color.ColorMask[0][BCOMP]) in nv20_clear() 64 if (ctx->Color.ColorMask[0][ACOMP]) in nv20_clear()
|
D | nouveau_driver.c | 135 mask = pack_rgba_i(s->format, ctx->Color.ColorMask[0]); in nouveau_clear()
|
/external/mesa3d/src/mesa/main/ |
D | accum.c | 301 const GLboolean masking = (!ctx->Color.ColorMask[buffer][RCOMP] || in accum_return() 302 !ctx->Color.ColorMask[buffer][GCOMP] || in accum_return() 303 !ctx->Color.ColorMask[buffer][BCOMP] || in accum_return() 304 !ctx->Color.ColorMask[buffer][ACOMP]); in accum_return() 343 if (ctx->Color.ColorMask[buffer][RCOMP] == 0) { in accum_return() 347 if (ctx->Color.ColorMask[buffer][GCOMP] == 0) { in accum_return() 351 if (ctx->Color.ColorMask[buffer][BCOMP] == 0) { in accum_return() 355 if (ctx->Color.ColorMask[buffer][ACOMP] == 0) { in accum_return()
|
D | blend.c | 974 if (!TEST_EQ_4V(tmp, ctx->Color.ColorMask[i])) { in _mesa_ColorMask() 980 COPY_4UBV(ctx->Color.ColorMask[i], tmp); in _mesa_ColorMask() 984 if (ctx->Driver.ColorMask) in _mesa_ColorMask() 985 ctx->Driver.ColorMask( ctx, red, green, blue, alpha ); in _mesa_ColorMask() 1016 if (TEST_EQ_4V(tmp, ctx->Color.ColorMask[buf])) in _mesa_ColorMaski() 1021 COPY_4UBV(ctx->Color.ColorMask[buf], tmp); in _mesa_ColorMaski() 1172 memset(ctx->Color.ColorMask, 0xff, sizeof(ctx->Color.ColorMask)); in _mesa_init_color()
|
D | attrib.c | 970 _mesa_ColorMask((GLboolean) (color->ColorMask[0][0] != 0), in _mesa_PopAttrib() 971 (GLboolean) (color->ColorMask[0][1] != 0), in _mesa_PopAttrib() 972 (GLboolean) (color->ColorMask[0][2] != 0), in _mesa_PopAttrib() 973 (GLboolean) (color->ColorMask[0][3] != 0)); in _mesa_PopAttrib() 979 (GLboolean) (color->ColorMask[i][0] != 0), in _mesa_PopAttrib() 980 (GLboolean) (color->ColorMask[i][1] != 0), in _mesa_PopAttrib() 981 (GLboolean) (color->ColorMask[i][2] != 0), in _mesa_PopAttrib() 982 (GLboolean) (color->ColorMask[i][3] != 0)); in _mesa_PopAttrib()
|
D | get.c | 678 v->value_int_4[0] = ctx->Color.ColorMask[0][RCOMP] ? 1 : 0; in find_custom_value() 679 v->value_int_4[1] = ctx->Color.ColorMask[0][GCOMP] ? 1 : 0; in find_custom_value() 680 v->value_int_4[2] = ctx->Color.ColorMask[0][BCOMP] ? 1 : 0; in find_custom_value() 681 v->value_int_4[3] = ctx->Color.ColorMask[0][ACOMP] ? 1 : 0; in find_custom_value() 2250 v->value_int_4[0] = ctx->Color.ColorMask[index][RCOMP] ? 1 : 0; in find_value_indexed() 2251 v->value_int_4[1] = ctx->Color.ColorMask[index][GCOMP] ? 1 : 0; in find_value_indexed() 2252 v->value_int_4[2] = ctx->Color.ColorMask[index][BCOMP] ? 1 : 0; in find_value_indexed() 2253 v->value_int_4[3] = ctx->Color.ColorMask[index][ACOMP] ? 1 : 0; in find_value_indexed()
|
/external/mesa3d/src/mesa/drivers/common/ |
D | driverfuncs.c | 128 driver->ColorMask = NULL; in _mesa_init_driver_functions() 234 ctx->Driver.ColorMask(ctx, in _mesa_init_driver_state() 235 ctx->Color.ColorMask[0][RCOMP], in _mesa_init_driver_state() 236 ctx->Color.ColorMask[0][GCOMP], in _mesa_init_driver_state() 237 ctx->Color.ColorMask[0][BCOMP], in _mesa_init_driver_state() 238 ctx->Color.ColorMask[0][ACOMP]); in _mesa_init_driver_state()
|
D | meta.c | 519 memcpy(save->ColorMask, ctx->Color.ColorMask, in _mesa_meta_begin() 520 sizeof(ctx->Color.ColorMask)); in _mesa_meta_begin() 883 if (!TEST_EQ_4V(ctx->Color.ColorMask[i], save->ColorMask[i])) { in _mesa_meta_end() 885 _mesa_ColorMask(save->ColorMask[i][0], save->ColorMask[i][1], in _mesa_meta_end() 886 save->ColorMask[i][2], save->ColorMask[i][3]); in _mesa_meta_end() 890 save->ColorMask[i][0], in _mesa_meta_end() 891 save->ColorMask[i][1], in _mesa_meta_end() 892 save->ColorMask[i][2], in _mesa_meta_end() 893 save->ColorMask[i][3]); in _mesa_meta_end() 1639 return !ctx->Color.ColorMask[i][0] && in is_color_disabled() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_state.c | 507 ctx->Color.ColorMask[0][RCOMP], in radeonColorMask() 508 ctx->Color.ColorMask[0][GCOMP], in radeonColorMask() 509 ctx->Color.ColorMask[0][BCOMP], in radeonColorMask() 510 ctx->Color.ColorMask[0][ACOMP] ); in radeonColorMask() 2144 ctx->Driver.ColorMask = radeonColorMask; in radeonInitStateFuncs()
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | xm_dd.c | 248 const GLuint *colorMask = (GLuint *) &ctx->Color.ColorMask[0]; in clear_buffers() 842 driver->ColorMask = color_mask; in xmesa_init_driver_functions()
|