• Home
  • Raw
  • Download

Lines Matching refs:enables

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