Lines Matching defs: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]) {
80 __glXSetError(gc, GL_OUT_OF_MEMORY);
86 gc->attributes.stackPointer = spp + 1;
96 __glXSetError(gc, GL_STACK_OVERFLOW);
104 struct glx_context *gc = __glXGetCurrentContext();
105 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
106 __GLXattribute **spp = gc->attributes.stackPointer, *sp;
109 if (spp > &gc->attributes.stack[0]) {
114 gc->attributes.stackPointer = spp;
127 __glXSetError(gc, GL_STACK_UNDERFLOW);