Lines Matching defs:cap
13 GLenum cap, GLboolean val)
16 i = cap - GL_CLIP_PLANE0;
23 i = cap - GL_LIGHT0;
32 switch (cap) {
192 crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "glEnable/glDisable(0x%x)", cap);
239 crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "glEnable/glDisable(0x%x)", cap);
278 g->eval.enable1D[cap - GL_MAP1_COLOR_4] = val;
279 DIRTY(sb->eval.enable1D[cap - GL_MAP1_COLOR_4], neg_bitid);
298 g->eval.enable2D[cap - GL_MAP2_COLOR_4] = val;
299 DIRTY(sb->eval.enable2D[cap - GL_MAP2_COLOR_4], neg_bitid);
337 crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "glEnable/glDisable(0x%x)", cap);
353 crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "glEnable/glDisable(0x%x)", cap);
369 crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "glEnable/glDisable(0x%x)", cap);
391 const GLint i = cap - GL_MAP1_VERTEX_ATTRIB0_4_NV;
414 const GLint i = cap - GL_MAP2_VERTEX_ATTRIB0_4_NV;
429 crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "glEnable/glDisable(0x%x)", cap);
442 crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "glEnable/glDisable(0x%x)", cap);
495 crStateEnableClientState(cap);
497 crStateDisableClientState(cap);
507 crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "glEnable/glDisable called with bogus cap: 0x%x", cap);
513 void STATE_APIENTRY crStateEnable (GLenum cap)
526 __enableSet(g, sb, g->neg_bitid, cap, GL_TRUE);
530 void STATE_APIENTRY crStateDisable (GLenum cap)
543 __enableSet(g, sb, g->neg_bitid, cap, GL_FALSE);