Lines Matching full:pc

37 ** Fetch the context-id out of a SingleReq request pointed to by pc.
39 #define __GLX_GET_SINGLE_CONTEXT_TAG(pc) (((xGLXSingleReq*)pc)->contextTag) argument
40 #define __GLX_GET_VENDPRIV_CONTEXT_TAG(pc) (((xGLXVendorPrivateReq*)pc)->contextTag) argument
146 #define __GLX_SWAP_INT(pc) \ argument
147 sw = ((GLbyte *)(pc))[0]; \
148 ((GLbyte *)(pc))[0] = ((GLbyte *)(pc))[3]; \
149 ((GLbyte *)(pc))[3] = sw; \
150 sw = ((GLbyte *)(pc))[1]; \
151 ((GLbyte *)(pc))[1] = ((GLbyte *)(pc))[2]; \
152 ((GLbyte *)(pc))[2] = sw;
154 #define __GLX_SWAP_SHORT(pc) \ argument
155 sw = ((GLbyte *)(pc))[0]; \
156 ((GLbyte *)(pc))[0] = ((GLbyte *)(pc))[1]; \
157 ((GLbyte *)(pc))[1] = sw;
159 #define __GLX_SWAP_DOUBLE(pc) \ argument
160 sw = ((GLbyte *)(pc))[0]; \
161 ((GLbyte *)(pc))[0] = ((GLbyte *)(pc))[7]; \
162 ((GLbyte *)(pc))[7] = sw; \
163 sw = ((GLbyte *)(pc))[1]; \
164 ((GLbyte *)(pc))[1] = ((GLbyte *)(pc))[6]; \
165 ((GLbyte *)(pc))[6] = sw; \
166 sw = ((GLbyte *)(pc))[2]; \
167 ((GLbyte *)(pc))[2] = ((GLbyte *)(pc))[5]; \
168 ((GLbyte *)(pc))[5] = sw; \
169 sw = ((GLbyte *)(pc))[3]; \
170 ((GLbyte *)(pc))[3] = ((GLbyte *)(pc))[4]; \
171 ((GLbyte *)(pc))[4] = sw;
173 #define __GLX_SWAP_FLOAT(pc) \ argument
174 sw = ((GLbyte *)(pc))[0]; \
175 ((GLbyte *)(pc))[0] = ((GLbyte *)(pc))[3]; \
176 ((GLbyte *)(pc))[3] = sw; \
177 sw = ((GLbyte *)(pc))[1]; \
178 ((GLbyte *)(pc))[1] = ((GLbyte *)(pc))[2]; \
179 ((GLbyte *)(pc))[2] = sw;
181 #define __GLX_SWAP_INT_ARRAY(pc, count) \ argument
182 swapPC = ((GLbyte *)(pc)); \
183 swapEnd = ((GLbyte *)(pc)) + (count)*__GLX_SIZE_INT32;\
189 #define __GLX_SWAP_SHORT_ARRAY(pc, count) \ argument
190 swapPC = ((GLbyte *)(pc)); \
191 swapEnd = ((GLbyte *)(pc)) + (count)*__GLX_SIZE_INT16;\
197 #define __GLX_SWAP_DOUBLE_ARRAY(pc, count) \ argument
198 swapPC = ((GLbyte *)(pc)); \
199 swapEnd = ((GLbyte *)(pc)) + (count)*__GLX_SIZE_FLOAT64;\
205 #define __GLX_SWAP_FLOAT_ARRAY(pc, count) \ argument
206 swapPC = ((GLbyte *)(pc)); \
207 swapEnd = ((GLbyte *)(pc)) + (count)*__GLX_SIZE_FLOAT32;\