Lines Matching refs:enables
202 if (c->state.enables & GGL_ENABLE_SMOOTH) {
203 c->state.enables &= ~GGL_ENABLE_SMOOTH;
208 if (!(c->state.enables & GGL_ENABLE_SMOOTH)) {
209 c->state.enables |= GGL_ENABLE_SMOOTH;
292 const int e = (c->state.enables & GGL_ENABLE_FOG)?1:0;
294 if (enable) c->state.enables |= GGL_ENABLE_FOG;
295 else c->state.enables &= ~GGL_ENABLE_FOG;
310 if (c->state.enables & GGL_ENABLE_BLENDING) {
325 if (c->state.enables & GGL_ENABLE_BLENDING) {
598 if (c->state.enables & GGL_ENABLE_SCISSOR_TEST) {
617 const int e = (c->state.enables & GGL_ENABLE_BLENDING)?1:0;
619 if (enable) c->state.enables |= GGL_ENABLE_BLENDING;
620 else c->state.enables &= ~GGL_ENABLE_BLENDING;
627 const int e = (c->state.enables & GGL_ENABLE_SCISSOR_TEST)?1:0;
629 if (enable) c->state.enables |= GGL_ENABLE_SCISSOR_TEST;
630 else c->state.enables &= ~GGL_ENABLE_SCISSOR_TEST;
637 const int e = (c->state.enables & GGL_ENABLE_ALPHA_TEST)?1:0;
639 if (enable) c->state.enables |= GGL_ENABLE_ALPHA_TEST;
640 else c->state.enables &= ~GGL_ENABLE_ALPHA_TEST;
647 const int e = (c->state.enables & GGL_ENABLE_LOGIC_OP)?1:0;
649 if (enable) c->state.enables |= GGL_ENABLE_LOGIC_OP;
650 else c->state.enables &= ~GGL_ENABLE_LOGIC_OP;
657 const int e = (c->state.enables & GGL_ENABLE_DITHER)?1:0;
659 if (enable) c->state.enables |= GGL_ENABLE_DITHER;
660 else c->state.enables &= ~GGL_ENABLE_DITHER;
673 const int e = (c->state.enables & GGL_ENABLE_DEPTH_TEST)?1:0;
675 if (enable) c->state.enables |= GGL_ENABLE_DEPTH_TEST;
676 else c->state.enables &= ~GGL_ENABLE_DEPTH_TEST;
683 const int e = (c->state.enables & GGL_ENABLE_AA)?1:0;
685 if (enable) c->state.enables |= GGL_ENABLE_AA;
686 else c->state.enables &= ~GGL_ENABLE_AA;
693 const int e = (c->state.enables & GGL_ENABLE_POINT_AA_NICE)?1:0;
695 if (enable) c->state.enables |= GGL_ENABLE_POINT_AA_NICE;
696 else c->state.enables &= ~GGL_ENABLE_POINT_AA_NICE;
703 const int e = (c->state.enables & GGL_ENABLE_W)?1:0;
705 if (enable) c->state.enables |= GGL_ENABLE_W;
706 else c->state.enables &= ~GGL_ENABLE_W;
719 if (c->state.enabled_tmu) c->state.enables |= GGL_ENABLE_TMUS;
720 else c->state.enables &= ~GGL_ENABLE_TMUS;