Lines Matching refs:gc
42 struct glx_context *gc = __glXGetCurrentContext();
43 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
51 __glXSetError(gc, GL_INVALID_ENUM);
72 struct glx_context *gc = __glXGetCurrentContext();
73 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
74 __GLXattribute **spp = gc->attributes.stackPointer, *sp;
76 if (spp < &gc->attributes.stack[__GL_CLIENT_ATTRIB_STACK_DEPTH]) {
82 gc->attributes.stackPointer = spp + 1;
92 __glXSetError(gc, GL_STACK_OVERFLOW);
100 struct glx_context *gc = __glXGetCurrentContext();
101 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
102 __GLXattribute **spp = gc->attributes.stackPointer, *sp;
105 if (spp > &gc->attributes.stack[0]) {
110 gc->attributes.stackPointer = spp;
123 __glXSetError(gc, GL_STACK_UNDERFLOW);
130 __glFreeAttributeState(struct glx_context * gc)
134 for (spp = &gc->attributes.stack[0];
135 spp < &gc->attributes.stack[__GL_CLIENT_ATTRIB_STACK_DEPTH]; spp++) {