Home | History | Annotate | Download | only in libpixelflinger

Lines Matching full:mask

518     int mask = 0;
519 if (a) mask |= 1 << GGLFormat::ALPHA;
520 if (r) mask |= 1 << GGLFormat::RED;
521 if (g) mask |= 1 << GGLFormat::GREEN;
522 if (b) mask |= 1 << GGLFormat::BLUE;
523 if (c->state.mask.color != mask) {
524 c->state.mask.color = mask;
532 if (c->state.mask.depth != flag?1:0) {
533 c->state.mask.depth = flag?1:0;
538 static void ggl_stencilMask(void* con, GGLuint mask)
541 if (c->state.mask.stencil != mask) {
542 c->state.mask.stencil = mask;
716 const uint32_t mask = 1UL << tmu;
717 if (enable) c->state.enabled_tmu |= mask;
718 else c->state.enabled_tmu &= ~mask;
798 c->state.mask.color = 0xF;
799 c->state.mask.depth = 0;
800 c->state.mask.stencil = 0xFFFFFFFF;