/external/mesa3d/src/mesa/swrast/ |
s_masking.c | 60 const GLuint srcMask = *((GLuint *) ctx->Color.ColorMask[buf]); 72 const GLushort rMask = ctx->Color.ColorMask[buf][RCOMP] ? 0xffff : 0x0; 73 const GLushort gMask = ctx->Color.ColorMask[buf][GCOMP] ? 0xffff : 0x0; 74 const GLushort bMask = ctx->Color.ColorMask[buf][BCOMP] ? 0xffff : 0x0; 75 const GLushort aMask = ctx->Color.ColorMask[buf][ACOMP] ? 0xffff : 0x0; 88 const GLuint rMask = ctx->Color.ColorMask[buf][RCOMP] ? ~0x0 : 0x0; 89 const GLuint gMask = ctx->Color.ColorMask[buf][GCOMP] ? ~0x0 : 0x0; 90 const GLuint bMask = ctx->Color.ColorMask[buf][BCOMP] ? ~0x0 : 0x0; 91 const GLuint aMask = ctx->Color.ColorMask[buf][ACOMP] ? ~0x0 : 0x0;
|
s_clear.c | 44 const GLubyte colorMask[4]) 51 const GLboolean doMasking = (colorMask[0] == 0 || 52 colorMask[1] == 0 || 53 colorMask[2] == 0 || 54 colorMask[3] == 0); 81 _mesa_pack_colormask(rb->Format, colorMask, &pixelMask); \ 109 _mesa_pack_colormask(rb->Format, colorMask, pixelMask); \ 190 clear_rgba_buffer(ctx, rb, ctx->Color.ColorMask[buf]);
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_blend.c | 164 if (memcmp(ctx->Color.ColorMask[0], ctx->Color.ColorMask[i], 4)) { 254 /* Colormask - maybe reverse these bits? */ 256 if (ctx->Color.ColorMask[i][0]) 257 blend->rt[i].colormask |= PIPE_MASK_R; 258 if (ctx->Color.ColorMask[i][1]) 259 blend->rt[i].colormask |= PIPE_MASK_G; 260 if (ctx->Color.ColorMask[i][2]) 261 blend->rt[i].colormask |= PIPE_MASK_B; 262 if (ctx->Color.ColorMask[i][3] [all...] |
st_cb_clear.c | 238 if (ctx->Color.ColorMask[0][0]) 239 blend.rt[0].colormask |= PIPE_MASK_R; 240 if (ctx->Color.ColorMask[0][1]) 241 blend.rt[0].colormask |= PIPE_MASK_G; 242 if (ctx->Color.ColorMask[0][2]) 243 blend.rt[0].colormask |= PIPE_MASK_B; 244 if (ctx->Color.ColorMask[0][3]) 245 blend.rt[0].colormask |= PIPE_MASK_A; 345 if (!ctx->Color.ColorMask[0][0] || 346 !ctx->Color.ColorMask[0][1] | [all...] |
/external/mesa3d/src/mesa/drivers/common/ |
driverfuncs.c | 125 driver->ColorMask = NULL; 241 ctx->Color.ColorMask[i][RCOMP], 242 ctx->Color.ColorMask[i][GCOMP], 243 ctx->Color.ColorMask[i][BCOMP], 244 ctx->Color.ColorMask[i][ACOMP]); 248 ctx->Driver.ColorMask(ctx, 249 ctx->Color.ColorMask[0][RCOMP], 250 ctx->Color.ColorMask[0][GCOMP], 251 ctx->Color.ColorMask[0][BCOMP], 252 ctx->Color.ColorMask[0][ACOMP]) [all...] |
/external/mesa3d/src/gallium/drivers/nv30/ |
nv30_state.c | 63 cmask[0] = !!(cso->rt[0].colormask & PIPE_MASK_A) << 24 | 64 !!(cso->rt[0].colormask & PIPE_MASK_R) << 16 | 65 !!(cso->rt[0].colormask & PIPE_MASK_G) << 8 | 66 !!(cso->rt[0].colormask & PIPE_MASK_B); 72 cmask[1] |= !!(cso->rt[i].colormask & PIPE_MASK_A) << (0 + (i * 4)) | 73 !!(cso->rt[i].colormask & PIPE_MASK_R) << (1 + (i * 4)) | 74 !!(cso->rt[i].colormask & PIPE_MASK_G) << (2 + (i * 4)) | 75 !!(cso->rt[i].colormask & PIPE_MASK_B) << (3 + (i * 4));
|
/external/deqp/framework/referencerenderer/ |
rrFragmentOperations.cpp | [all...] |
rrRenderState.hpp | 257 tcu::BVec4 colorMask; 288 , colorMask (true)
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_pixel.c | 85 if (!(ctx->Color.ColorMask[0][0] && 86 ctx->Color.ColorMask[0][1] && 87 ctx->Color.ColorMask[0][2] && 88 ctx->Color.ColorMask[0][3])) {
|
intel_pixel_copy.c | 63 !ctx->Color.ColorMask[0][0] || 64 !ctx->Color.ColorMask[0][1] || 65 !ctx->Color.ColorMask[0][2] || 66 !ctx->Color.ColorMask[0][3] ||
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv04_context.c | 60 !(ctx->Color.ColorMask[0][RCOMP] && 61 ctx->Color.ColorMask[0][GCOMP] && 62 ctx->Color.ColorMask[0][BCOMP] && 63 ctx->Color.ColorMask[0][ACOMP]))
|
nv04_state_raster.c | 163 if (ctx->Color.ColorMask[0][RCOMP]) 165 if (ctx->Color.ColorMask[0][GCOMP]) 167 if (ctx->Color.ColorMask[0][BCOMP]) 169 if (ctx->Color.ColorMask[0][ACOMP])
|
nv10_state_raster.c | 87 PUSH_DATA (push, ((ctx->Color.ColorMask[0][3] ? 1 << 24 : 0) | 88 (ctx->Color.ColorMask[0][0] ? 1 << 16 : 0) | 89 (ctx->Color.ColorMask[0][1] ? 1 << 8 : 0) | 90 (ctx->Color.ColorMask[0][2] ? 1 << 0 : 0)));
|
/external/mesa3d/src/mapi/glapi/gen/ |
gles_api.py | 54 'ColorMask', 306 "ColorMask",
|
/external/mesa3d/src/mesa/main/ |
accum.c | 362 const GLboolean masking = (!ctx->Color.ColorMask[buffer][RCOMP] || 363 !ctx->Color.ColorMask[buffer][GCOMP] || 364 !ctx->Color.ColorMask[buffer][BCOMP] || 365 !ctx->Color.ColorMask[buffer][ACOMP]); 404 if (ctx->Color.ColorMask[buffer][RCOMP] == 0) { 408 if (ctx->Color.ColorMask[buffer][GCOMP] == 0) { 412 if (ctx->Color.ColorMask[buffer][BCOMP] == 0) { 416 if (ctx->Color.ColorMask[buffer][ACOMP] == 0) {
|
blend.c | 695 * Sets the appropriate value of gl_colorbuffer_attrib::ColorMask. On a 697 * dd_function_table::ColorMask callback. 723 if (!TEST_EQ_4V(tmp, ctx->Color.ColorMask[i])) { 728 COPY_4UBV(ctx->Color.ColorMask[i], tmp); 732 if (ctx->Driver.ColorMask) 733 ctx->Driver.ColorMask( ctx, red, green, blue, alpha ); 765 if (TEST_EQ_4V(tmp, ctx->Color.ColorMask[buf])) 769 COPY_4UBV(ctx->Color.ColorMask[buf], tmp); 828 memset(ctx->Color.ColorMask, 0xff, sizeof(ctx->Color.ColorMask)); [all...] |
format_pack.h | 103 _mesa_pack_colormask(gl_format format, const GLubyte colorMask[4], void *dst);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_wm_state.c | 59 (ctx->Color.ColorMask[i][0] || 60 ctx->Color.ColorMask[i][1] || 61 ctx->Color.ColorMask[i][2] || 62 ctx->Color.ColorMask[i][3])) {
|
gen6_cc.c | 163 blend[b].blend1.write_disable_r = !ctx->Color.ColorMask[b][0]; 164 blend[b].blend1.write_disable_g = !ctx->Color.ColorMask[b][1]; 165 blend[b].blend1.write_disable_b = !ctx->Color.ColorMask[b][2]; 166 blend[b].blend1.write_disable_a = !ctx->Color.ColorMask[b][3];
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
intel_clear.c | 84 const GLuint colorMask = *((GLuint *) & ctx->Color.ColorMask[0]); 116 if (colorMask == ~0) {
|
/external/deqp/modules/gles2/functional/ |
es2fRandomFragmentOpTests.cpp | 107 dst.colorMask = src.colorMask; 205 wrapper.glColorMask(state.colorMask[0] ? GL_TRUE : GL_FALSE, 206 state.colorMask[1] ? GL_TRUE : GL_FALSE, 207 state.colorMask[2] ? GL_TRUE : GL_FALSE, 208 state.colorMask[3] ? GL_TRUE : GL_FALSE); 322 gl.colorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
|
/external/deqp/modules/gles3/functional/ |
es3fRandomFragmentOpTests.cpp | 107 dst.colorMask = src.colorMask; 205 wrapper.glColorMask(state.colorMask[0] ? GL_TRUE : GL_FALSE, 206 state.colorMask[1] ? GL_TRUE : GL_FALSE, 207 state.colorMask[2] ? GL_TRUE : GL_FALSE, 208 state.colorMask[3] ? GL_TRUE : GL_FALSE); 322 gl.colorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
|
/external/deqp/framework/common/ |
tcuTexLookupVerifier.hpp | 48 BVec4 colorMask; //!< Channel mask for comparison. 54 , colorMask (true) 64 BVec4 colorMask; //!< Channel mask for comparison. 70 , colorMask (true)
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format.h | 521 * Give the RGBA colormask of the channels that can be represented in this 529 unsigned colormask; local 536 colormask = 0; 539 colormask |= (1 << chan); 542 return colormask; 555 * @param desc a format description to check colormask with 556 * @param colormask a bit mask for channels, matches format of PIPE_MASK_RGBA 559 util_format_colormask_full(const struct util_format_description *desc, unsigned colormask) 561 return (~colormask & util_format_colormask(desc)) == 0;
|
/external/mesa3d/src/gallium/docs/source/cso/ |
blend.rst | 98 color gets passed unmodified (but colormask still applies). 111 colormask
|