Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/mesa/main/
Daccum.c305 const GLboolean masking = (!GET_COLORMASK_BIT(ctx->Color.ColorMask, buffer, 0) || in accum_return()
306 !GET_COLORMASK_BIT(ctx->Color.ColorMask, buffer, 1) || in accum_return()
307 !GET_COLORMASK_BIT(ctx->Color.ColorMask, buffer, 2) || in accum_return()
308 !GET_COLORMASK_BIT(ctx->Color.ColorMask, buffer, 3)); in accum_return()
348 if (!GET_COLORMASK_BIT(ctx->Color.ColorMask, buffer, 0)) { in accum_return()
352 if (!GET_COLORMASK_BIT(ctx->Color.ColorMask, buffer, 1)) { in accum_return()
356 if (!GET_COLORMASK_BIT(ctx->Color.ColorMask, buffer, 2)) { in accum_return()
360 if (!GET_COLORMASK_BIT(ctx->Color.ColorMask, buffer, 3)) { in accum_return()
Dblend.c997 if (ctx->Color.ColorMask == mask) in _mesa_ColorMask()
1002 ctx->Color.ColorMask = mask; in _mesa_ColorMask()
1030 if (GET_COLORMASK(ctx->Color.ColorMask, buf) == mask) in _mesa_ColorMaski()
1035 ctx->Color.ColorMask &= ~(0xf << (4 * buf)); in _mesa_ColorMaski()
1036 ctx->Color.ColorMask |= mask << (4 * buf); in _mesa_ColorMaski()
1181 ctx->Color.ColorMask = 0xffffffff; in _mesa_init_color()
Dattrib.c709 if (ctx->Color.ColorMask != attr->Color.ColorMask) { in _mesa_PopAttrib()
711 _mesa_ColorMask(GET_COLORMASK_BIT(attr->Color.ColorMask, 0, 0), in _mesa_PopAttrib()
712 GET_COLORMASK_BIT(attr->Color.ColorMask, 0, 1), in _mesa_PopAttrib()
713 GET_COLORMASK_BIT(attr->Color.ColorMask, 0, 2), in _mesa_PopAttrib()
714 GET_COLORMASK_BIT(attr->Color.ColorMask, 0, 3)); in _mesa_PopAttrib()
718 GET_COLORMASK_BIT(attr->Color.ColorMask, i, 0), in _mesa_PopAttrib()
719 GET_COLORMASK_BIT(attr->Color.ColorMask, i, 1), in _mesa_PopAttrib()
720 GET_COLORMASK_BIT(attr->Color.ColorMask, i, 2), in _mesa_PopAttrib()
721 GET_COLORMASK_BIT(attr->Color.ColorMask, i, 3)); in _mesa_PopAttrib()
Dget.c760 v->value_int_4[0] = GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 0); in find_custom_value()
761 v->value_int_4[1] = GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 1); in find_custom_value()
762 v->value_int_4[2] = GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 2); in find_custom_value()
763 v->value_int_4[3] = GET_COLORMASK_BIT(ctx->Color.ColorMask, 0, 3); in find_custom_value()
2568 v->value_int_4[0] = GET_COLORMASK_BIT(ctx->Color.ColorMask, index, 0); in find_value_indexed()
2569 v->value_int_4[1] = GET_COLORMASK_BIT(ctx->Color.ColorMask, index, 1); in find_value_indexed()
2570 v->value_int_4[2] = GET_COLORMASK_BIT(ctx->Color.ColorMask, index, 2); in find_value_indexed()
2571 v->value_int_4[3] = GET_COLORMASK_BIT(ctx->Color.ColorMask, index, 3); in find_value_indexed()
Dstate.c135 (!ctx->Color.ColorMask || in _mesa_update_allow_draw_out_of_order()
Dclear.c126 if (GET_COLORMASK_BIT(ctx->Color.ColorMask, idx, c) && in color_buffer_writes_enabled()
/third_party/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.c279 blend.rt[i].colormask = GET_COLORMASK(ctx->Color.ColorMask, i); in clear_with_quad()
447 GET_COLORMASK(ctx->Color.ColorMask, colormask_index); in st_Clear()
/third_party/openGLES/extensions/EXT/
DEXT_draw_buffers2.txt125 void ColorMask(boolean r, boolean g, boolean b, boolean a);
137 In RGBA mode, ColorMask and ColorMaskIndexedEXT are used to mask
147 the mask is applied to all of the buffers. ColorMask sets the mask
364 3. How should ColorMask() affect the per color buffer write masks?
366 RESOLVED: ColorMask() should set all color buffer write masks
368 ColorMask() behaves in the absence of this extension.
396 similar to the way that ColorMask() affects the per draw
DEXT_draw_buffers_indexed.txt250 void ColorMask(boolean r, boolean g, boolean b, boolean a);
256 ColorMask and ColorMaskiEXT are used to mask
266 ColorMask sets the mask for all draw buffers to the same values as
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_draw_buffers2.txt125 void ColorMask(boolean r, boolean g, boolean b, boolean a);
137 In RGBA mode, ColorMask and ColorMaskIndexedEXT are used to mask
147 the mask is applied to all of the buffers. ColorMask sets the mask
364 3. How should ColorMask() affect the per color buffer write masks?
366 RESOLVED: ColorMask() should set all color buffer write masks
368 ColorMask() behaves in the absence of this extension.
396 similar to the way that ColorMask() affects the per draw
DEXT_draw_buffers_indexed.txt250 void ColorMask(boolean r, boolean g, boolean b, boolean a);
256 ColorMask and ColorMaskiEXT are used to mask
266 ColorMask sets the mask for all draw buffers to the same values as
/third_party/vk-gl-cts/external/amber/src/src/
Dcommand_data.h56 enum ColorMask { enum
/third_party/openGLES/extensions/SGIX/
DSGIX_calligraphic_fragment.txt76 If color buffer updates are disabled using ColorMask or DrawBuffer,
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/
DSGIX_calligraphic_fragment.txt76 If color buffer updates are disabled using ColorMask or DrawBuffer,
/third_party/skia/src/gpu/gl/
DGrGLAssembleWebGLInterfaceAutogen.cpp75 GET_PROC(ColorMask); in GrGLMakeAssembledWebGLInterface()
DGrGLAssembleGLESInterfaceAutogen.cpp68 GET_PROC(ColorMask); in GrGLMakeAssembledGLESInterface()
DGrGLAssembleGLInterfaceAutogen.cpp71 GET_PROC(ColorMask); in GrGLMakeAssembledGLInterface()
/third_party/skia/third_party/externals/opengl-registry/extensions/OES/
DOES_draw_buffers_indexed.txt251 void ColorMask(boolean r, boolean g, boolean b, boolean a);
257 ColorMask and ColorMaskiOES are used to mask
267 ColorMask sets the mask for all draw buffers to the same values as
/third_party/openGLES/extensions/OES/
DOES_draw_buffers_indexed.txt266 void ColorMask(boolean r, boolean g, boolean b, boolean a);
272 ColorMask and ColorMaskiOES are used to mask
282 ColorMask sets the mask for all draw buffers to the same values as
/third_party/mesa3d/docs/relnotes/
D18.1.9.rst66 - radeon: fix ColorMask
D18.2.1.rst81 - radeon: fix ColorMask
D3.5144 The ctx->Driver.IndexMask() and ctx->Driver.ColorMask() functions
/third_party/skia/third_party/externals/angle2/src/tests/gles1_conformance_tests/
DCovglTests.cpp308 TEST_P(GLES1CovglTest, ColorMask) in TEST_P() argument
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DRenderPipelineGL.cpp142 gl.ColorMask(state->writeMask & wgpu::ColorWriteMask::Red, in ApplyColorState()

123