Lines Matching full:pc
41 ** Fetch the context-id out of a SingleReq request pointed to by pc.
43 #define __GLX_GET_SINGLE_CONTEXT_TAG(pc) (((xGLXSingleReq*)pc)->contextTag) argument
44 #define __GLX_GET_VENDPRIV_CONTEXT_TAG(pc) (((xGLXVendorPrivateReq*)pc)->contextTag) argument
129 #define __GLX_SWAP_INT(pc) \ argument
130 sw = ((GLbyte *)(pc))[0]; \
131 ((GLbyte *)(pc))[0] = ((GLbyte *)(pc))[3]; \
132 ((GLbyte *)(pc))[3] = sw; \
133 sw = ((GLbyte *)(pc))[1]; \
134 ((GLbyte *)(pc))[1] = ((GLbyte *)(pc))[2]; \
135 ((GLbyte *)(pc))[2] = sw;
137 #define __GLX_SWAP_SHORT(pc) \ argument
138 sw = ((GLbyte *)(pc))[0]; \
139 ((GLbyte *)(pc))[0] = ((GLbyte *)(pc))[1]; \
140 ((GLbyte *)(pc))[1] = sw;
142 #define __GLX_SWAP_DOUBLE(pc) \ argument
143 sw = ((GLbyte *)(pc))[0]; \
144 ((GLbyte *)(pc))[0] = ((GLbyte *)(pc))[7]; \
145 ((GLbyte *)(pc))[7] = sw; \
146 sw = ((GLbyte *)(pc))[1]; \
147 ((GLbyte *)(pc))[1] = ((GLbyte *)(pc))[6]; \
148 ((GLbyte *)(pc))[6] = sw; \
149 sw = ((GLbyte *)(pc))[2]; \
150 ((GLbyte *)(pc))[2] = ((GLbyte *)(pc))[5]; \
151 ((GLbyte *)(pc))[5] = sw; \
152 sw = ((GLbyte *)(pc))[3]; \
153 ((GLbyte *)(pc))[3] = ((GLbyte *)(pc))[4]; \
154 ((GLbyte *)(pc))[4] = sw;
156 #define __GLX_SWAP_FLOAT(pc) \ argument
157 sw = ((GLbyte *)(pc))[0]; \
158 ((GLbyte *)(pc))[0] = ((GLbyte *)(pc))[3]; \
159 ((GLbyte *)(pc))[3] = sw; \
160 sw = ((GLbyte *)(pc))[1]; \
161 ((GLbyte *)(pc))[1] = ((GLbyte *)(pc))[2]; \
162 ((GLbyte *)(pc))[2] = sw;
164 #define __GLX_SWAP_INT_ARRAY(pc, count) \ argument
165 swapPC = ((GLbyte *)(pc)); \
166 swapEnd = ((GLbyte *)(pc)) + (count)*__GLX_SIZE_INT32;\
172 #define __GLX_SWAP_SHORT_ARRAY(pc, count) \ argument
173 swapPC = ((GLbyte *)(pc)); \
174 swapEnd = ((GLbyte *)(pc)) + (count)*__GLX_SIZE_INT16;\
180 #define __GLX_SWAP_DOUBLE_ARRAY(pc, count) \ argument
181 swapPC = ((GLbyte *)(pc)); \
182 swapEnd = ((GLbyte *)(pc)) + (count)*__GLX_SIZE_FLOAT64;\
188 #define __GLX_SWAP_FLOAT_ARRAY(pc, count) \ argument
189 swapPC = ((GLbyte *)(pc)); \
190 swapEnd = ((GLbyte *)(pc)) + (count)*__GLX_SIZE_FLOAT32;\