Lines Matching refs:pc

58    GLubyte *pc, *pixelHeaderPC;                 \
63 pc = gc->pc; \
77 if (pc + (size) > gc->bufEnd) { \
78 pc = __glXFlushRenderBuffer(gc, pc); \
84 pc = __glXFlushRenderBuffer(gc, pc); \
89 if (pc + (size) > gc->bufEnd) { \
90 pc = __glXFlushRenderBuffer(gc, pc); \
94 pc += __GLX_RENDER_HDR_SIZE; \
95 pixelHeaderPC = pc; \
96 pc += __GLX_PIXEL_HDR_SIZE
99 pc = __glXFlushRenderBuffer(gc, pc); \
102 pc += __GLX_RENDER_LARGE_HDR_SIZE; \
103 pixelHeaderPC = pc; \
104 pc += __GLX_PIXEL_HDR_SIZE
107 if (pc + (size) > gc->bufEnd) { \
108 pc = __glXFlushRenderBuffer(gc, pc); \
112 pc += __GLX_RENDER_HDR_SIZE; \
113 pixelHeaderPC = pc; \
114 pc += __GLX_PIXEL_3D_HDR_SIZE
117 pc = __glXFlushRenderBuffer(gc, pc); \
120 pc += __GLX_RENDER_LARGE_HDR_SIZE; \
121 pixelHeaderPC = pc; \
122 pc += __GLX_PIXEL_3D_HDR_SIZE
136 ** Finish a rendering command by advancing the pc. If the pc is now past
144 pc += size; \
145 if (pc > gc->limit) { \
146 (void) __glXFlushRenderBuffer(gc, pc); \
148 gc->pc = pc; \
158 *((INT8 *) (pc + offset)) = a
162 *((INT16 *) (pc + offset)) = a
165 *((INT32 *) (pc + offset)) = a
168 *((FLOAT32 *) (pc + offset)) = a
172 { GLubyte *cp = (pc+offset); \
177 { GLubyte *cp = (pc+offset); \
182 gl_put_float((pc + offset),a)
185 gl_put_double(pc + offset, a)
199 __GLX_MEM_COPY(pc + offset, &a, 8)
202 *((FLOAT64 *) (pc + offset)) = a
208 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT8)
212 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT16)
215 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_INT32)
218 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_FLOAT32)
221 __GLX_MEM_COPY(pc + offset, a, alen * __GLX_SIZE_FLOAT64)
225 gl_put_short_array((GLubyte *)(pc + offset), a, alen * __GLX_SIZE_INT16)
228 gl_put_long_array((GLubyte *)(pc + offset), (long *)a, alen * __GLX_SIZE_INT32)
231 gl_put_float_array((GLubyte *)(pc + offset), (float *)a, alen * __GLX_SIZE_FLOAT32)
234 gl_put_double_array((GLubyte *)(pc + offset), (double *)a, alen * __GLX_SIZE_FLOAT64)