Lines Matching defs:mask
954 _mesa_IndexMask( GLuint mask )
958 if (ctx->Color.IndexMask == mask)
963 ctx->Color.IndexMask = mask;
970 * \param red whether to mask writing of the red color component.
971 * \param green whether to mask writing of the green color component.
972 * \param blue whether to mask writing of the blue color component.
973 * \param alpha whether to mask writing of the alpha color component.
991 GLbitfield mask = (!!red) |
995 mask = _mesa_replicate_colormask(mask, ctx->Const.MaxDrawBuffers);
997 if (ctx->Color.ColorMask == mask)
1002 ctx->Color.ColorMask = mask;
1025 GLbitfield mask = (!!red) |
1030 if (GET_COLORMASK(ctx->Color.ColorMask, buf) == mask)
1036 ctx->Color.ColorMask |= mask << (4 * buf);