Home | History | Annotate | Download | only in glx

Lines Matching refs:param

41  * \param gc     Current GLX context
42 * \param sop Either \c X_GLsop_PixelStoref or \c X_GLsop_PixelStorei
43 * \param pname Selector of which pixel parameter is to be set.
44 * \param param Value that \c pname is set to.
50 const void *param)
57 (void) memcpy((void *) (pc + 4), param, 4);
68 __indirect_glPixelStoref(GLenum pname, GLfloat param)
80 a = (GLuint) (param + 0.5);
88 a = (GLuint) (param + 0.5);
96 a = (GLuint) (param + 0.5);
104 a = (GLuint) (param + 0.5);
112 a = (GLuint) (param + 0.5);
120 a = (GLint) (param + 0.5);
134 state->storePack.swapEndian = (param != 0);
137 state->storePack.lsbFirst = (param != 0);
141 a = (GLuint) (param + 0.5);
149 a = (GLuint) (param + 0.5);
157 a = (GLuint) (param + 0.5);
165 a = (GLuint) (param + 0.5);
173 a = (GLuint) (param + 0.5);
181 a = (GLint) (param + 0.5);
195 state->storeUnpack.swapEndian = (param != 0);
198 state->storeUnpack.lsbFirst = (param != 0);
208 send_PixelStore(gc, X_GLsop_PixelStoref, pname, &param);
218 __indirect_glPixelStorei(GLenum pname, GLint param)
229 if (param < 0) {
233 state->storePack.rowLength = param;
236 if (param < 0) {
240 state->storePack.imageHeight = param;
243 if (param < 0) {
247 state->storePack.skipRows = param;
250 if (param < 0) {
254 state->storePack.skipPixels = param;
257 if (param < 0) {
261 state->storePack.skipImages = param;
264 switch (param) {
269 state->storePack.alignment = param;
277 state->storePack.swapEndian = (param != 0);
280 state->storePack.lsbFirst = (param != 0);
284 if (param < 0) {
288 state->storeUnpack.rowLength = param;
291 if (param < 0) {
295 state->storeUnpack.imageHeight = param;
298 if (param < 0) {
302 state->storeUnpack.skipRows = param;
305 if (param < 0) {
309 state->storeUnpack.skipPixels = param;
312 if (param < 0) {
316 state->storeUnpack.skipImages = param;
319 switch (param) {
324 state->storeUnpack.alignment = param;
332 state->storeUnpack.swapEndian = (param != 0);
335 state->storeUnpack.lsbFirst = (param != 0);
345 send_PixelStore(gc, X_GLsop_PixelStorei, pname, &param);