/external/mesa3d/src/mesa/swrast/ |
D | s_masking.c | 60 const GLuint srcMask = *((GLuint *) ctx->Color.ColorMask[buf]); 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_clear.c | 190 clear_rgba_buffer(ctx, rb, ctx->Color.ColorMask[buf]); in clear_color_buffers()
|
/external/mesa3d/src/mesa/drivers/common/ |
D | driverfuncs.c | 125 driver->ColorMask = NULL; in _mesa_init_driver_functions() 241 ctx->Color.ColorMask[i][RCOMP], in _mesa_init_driver_state() 242 ctx->Color.ColorMask[i][GCOMP], in _mesa_init_driver_state() 243 ctx->Color.ColorMask[i][BCOMP], in _mesa_init_driver_state() 244 ctx->Color.ColorMask[i][ACOMP]); in _mesa_init_driver_state() 248 ctx->Driver.ColorMask(ctx, in _mesa_init_driver_state() 249 ctx->Color.ColorMask[0][RCOMP], in _mesa_init_driver_state() 250 ctx->Color.ColorMask[0][GCOMP], in _mesa_init_driver_state() 251 ctx->Color.ColorMask[0][BCOMP], in _mesa_init_driver_state() 252 ctx->Color.ColorMask[0][ACOMP]); in _mesa_init_driver_state()
|
D | meta.c | 102 GLubyte ColorMask[MAX_DRAW_BUFFERS][4]; member 541 memcpy(save->ColorMask, ctx->Color.ColorMask, in _mesa_meta_begin() 542 sizeof(ctx->Color.ColorMask)); in _mesa_meta_begin() 543 if (!ctx->Color.ColorMask[0][0] || in _mesa_meta_begin() 544 !ctx->Color.ColorMask[0][1] || in _mesa_meta_begin() 545 !ctx->Color.ColorMask[0][2] || in _mesa_meta_begin() 546 !ctx->Color.ColorMask[0][3]) in _mesa_meta_begin() 863 if (!TEST_EQ_4V(ctx->Color.ColorMask[i], save->ColorMask[i])) { in _mesa_meta_end() 865 _mesa_ColorMask(save->ColorMask[i][0], save->ColorMask[i][1], in _mesa_meta_end() 866 save->ColorMask[i][2], save->ColorMask[i][3]); in _mesa_meta_end() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_pixel.c | 85 if (!(ctx->Color.ColorMask[0][0] && in intel_check_blit_fragment_ops() 86 ctx->Color.ColorMask[0][1] && in intel_check_blit_fragment_ops() 87 ctx->Color.ColorMask[0][2] && in intel_check_blit_fragment_ops() 88 ctx->Color.ColorMask[0][3])) { in intel_check_blit_fragment_ops()
|
D | intel_pixel_copy.c | 63 !ctx->Color.ColorMask[0][0] || in intel_check_copypixel_blit_fragment_ops() 64 !ctx->Color.ColorMask[0][1] || in intel_check_copypixel_blit_fragment_ops() 65 !ctx->Color.ColorMask[0][2] || in intel_check_copypixel_blit_fragment_ops() 66 !ctx->Color.ColorMask[0][3] || in intel_check_copypixel_blit_fragment_ops()
|
D | gen6_cc.c | 163 blend[b].blend1.write_disable_r = !ctx->Color.ColorMask[b][0]; in gen6_upload_blend_state() 164 blend[b].blend1.write_disable_g = !ctx->Color.ColorMask[b][1]; in gen6_upload_blend_state() 165 blend[b].blend1.write_disable_b = !ctx->Color.ColorMask[b][2]; in gen6_upload_blend_state() 166 blend[b].blend1.write_disable_a = !ctx->Color.ColorMask[b][3]; in gen6_upload_blend_state()
|
D | brw_wm_state.c | 59 (ctx->Color.ColorMask[i][0] || in brw_color_buffer_write_enabled() 60 ctx->Color.ColorMask[i][1] || in brw_color_buffer_write_enabled() 61 ctx->Color.ColorMask[i][2] || in brw_color_buffer_write_enabled() 62 ctx->Color.ColorMask[i][3])) { in brw_color_buffer_write_enabled()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_pixel.c | 85 if (!(ctx->Color.ColorMask[0][0] && in intel_check_blit_fragment_ops() 86 ctx->Color.ColorMask[0][1] && in intel_check_blit_fragment_ops() 87 ctx->Color.ColorMask[0][2] && in intel_check_blit_fragment_ops() 88 ctx->Color.ColorMask[0][3])) { in intel_check_blit_fragment_ops()
|
D | intel_pixel_copy.c | 63 !ctx->Color.ColorMask[0][0] || in intel_check_copypixel_blit_fragment_ops() 64 !ctx->Color.ColorMask[0][1] || in intel_check_copypixel_blit_fragment_ops() 65 !ctx->Color.ColorMask[0][2] || in intel_check_copypixel_blit_fragment_ops() 66 !ctx->Color.ColorMask[0][3] || in intel_check_copypixel_blit_fragment_ops()
|
D | intel_clear.c | 84 const GLuint colorMask = *((GLuint *) & ctx->Color.ColorMask[0]); in intelClear()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_pixel.c | 85 if (!(ctx->Color.ColorMask[0][0] && in intel_check_blit_fragment_ops() 86 ctx->Color.ColorMask[0][1] && in intel_check_blit_fragment_ops() 87 ctx->Color.ColorMask[0][2] && in intel_check_blit_fragment_ops() 88 ctx->Color.ColorMask[0][3])) { in intel_check_blit_fragment_ops()
|
D | intel_pixel_copy.c | 63 !ctx->Color.ColorMask[0][0] || in intel_check_copypixel_blit_fragment_ops() 64 !ctx->Color.ColorMask[0][1] || in intel_check_copypixel_blit_fragment_ops() 65 !ctx->Color.ColorMask[0][2] || in intel_check_copypixel_blit_fragment_ops() 66 !ctx->Color.ColorMask[0][3] || in intel_check_copypixel_blit_fragment_ops()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_blend.c | 164 if (memcmp(ctx->Color.ColorMask[0], ctx->Color.ColorMask[i], 4)) { in colormask_per_rt() 256 if (ctx->Color.ColorMask[i][0]) in update_blend() 258 if (ctx->Color.ColorMask[i][1]) in update_blend() 260 if (ctx->Color.ColorMask[i][2]) in update_blend() 262 if (ctx->Color.ColorMask[i][3]) in update_blend()
|
D | st_cb_clear.c | 238 if (ctx->Color.ColorMask[0][0]) in clear_with_quad() 240 if (ctx->Color.ColorMask[0][1]) in clear_with_quad() 242 if (ctx->Color.ColorMask[0][2]) in clear_with_quad() 244 if (ctx->Color.ColorMask[0][3]) in clear_with_quad() 345 if (!ctx->Color.ColorMask[0][0] || in check_clear_color_with_quad() 346 !ctx->Color.ColorMask[0][1] || in check_clear_color_with_quad() 347 !ctx->Color.ColorMask[0][2] || in check_clear_color_with_quad() 348 !ctx->Color.ColorMask[0][3]) in check_clear_color_with_quad()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv04_state_raster.c | 163 if (ctx->Color.ColorMask[0][RCOMP]) in nv04_emit_control() 165 if (ctx->Color.ColorMask[0][GCOMP]) in nv04_emit_control() 167 if (ctx->Color.ColorMask[0][BCOMP]) in nv04_emit_control() 169 if (ctx->Color.ColorMask[0][ACOMP]) in nv04_emit_control()
|
D | nv10_state_raster.c | 87 PUSH_DATA (push, ((ctx->Color.ColorMask[0][3] ? 1 << 24 : 0) | in nv10_emit_color_mask() 88 (ctx->Color.ColorMask[0][0] ? 1 << 16 : 0) | in nv10_emit_color_mask() 89 (ctx->Color.ColorMask[0][1] ? 1 << 8 : 0) | in nv10_emit_color_mask() 90 (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 | 117 mask = pack_rgba_i(s->format, ctx->Color.ColorMask[0]); in nouveau_clear()
|
/external/mesa3d/src/mesa/main/ |
D | accum.c | 362 const GLboolean masking = (!ctx->Color.ColorMask[buffer][RCOMP] || in accum_return() 363 !ctx->Color.ColorMask[buffer][GCOMP] || in accum_return() 364 !ctx->Color.ColorMask[buffer][BCOMP] || in accum_return() 365 !ctx->Color.ColorMask[buffer][ACOMP]); in accum_return() 404 if (ctx->Color.ColorMask[buffer][RCOMP] == 0) { in accum_return() 408 if (ctx->Color.ColorMask[buffer][GCOMP] == 0) { in accum_return() 412 if (ctx->Color.ColorMask[buffer][BCOMP] == 0) { in accum_return() 416 if (ctx->Color.ColorMask[buffer][ACOMP] == 0) { in accum_return()
|
D | blend.c | 723 if (!TEST_EQ_4V(tmp, ctx->Color.ColorMask[i])) { in _mesa_ColorMask() 728 COPY_4UBV(ctx->Color.ColorMask[i], tmp); in _mesa_ColorMask() 732 if (ctx->Driver.ColorMask) in _mesa_ColorMask() 733 ctx->Driver.ColorMask( ctx, red, green, blue, alpha ); in _mesa_ColorMask() 765 if (TEST_EQ_4V(tmp, ctx->Color.ColorMask[buf])) in _mesa_ColorMaskIndexed() 769 COPY_4UBV(ctx->Color.ColorMask[buf], tmp); in _mesa_ColorMaskIndexed() 828 memset(ctx->Color.ColorMask, 0xff, sizeof(ctx->Color.ColorMask)); in _mesa_init_color()
|
D | attrib.c | 887 _mesa_ColorMask((GLboolean) (color->ColorMask[0][0] != 0), in _mesa_PopAttrib() 888 (GLboolean) (color->ColorMask[0][1] != 0), in _mesa_PopAttrib() 889 (GLboolean) (color->ColorMask[0][2] != 0), in _mesa_PopAttrib() 890 (GLboolean) (color->ColorMask[0][3] != 0)); in _mesa_PopAttrib() 896 (GLboolean) (color->ColorMask[i][0] != 0), in _mesa_PopAttrib() 897 (GLboolean) (color->ColorMask[i][1] != 0), in _mesa_PopAttrib() 898 (GLboolean) (color->ColorMask[i][2] != 0), in _mesa_PopAttrib() 899 (GLboolean) (color->ColorMask[i][3] != 0)); in _mesa_PopAttrib()
|
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
D | wmesa.c | 263 if (!ctx->Color.ColorMask[0][0] || in clear() 264 !ctx->Color.ColorMask[0][1] || in clear() 265 !ctx->Color.ColorMask[0][2] || in clear() 266 !ctx->Color.ColorMask[0][3]) { in clear()
|