Lines Matching refs:param
40 _mesa_PixelStorei( GLenum pname, GLint param ) in _mesa_PixelStorei() argument
50 if (param == (GLint)ctx->Pack.SwapBytes) in _mesa_PixelStorei()
53 ctx->Pack.SwapBytes = param ? GL_TRUE : GL_FALSE; in _mesa_PixelStorei()
58 if (param == (GLint)ctx->Pack.LsbFirst) in _mesa_PixelStorei()
61 ctx->Pack.LsbFirst = param ? GL_TRUE : GL_FALSE; in _mesa_PixelStorei()
66 if (param<0) { in _mesa_PixelStorei()
70 if (ctx->Pack.RowLength == param) in _mesa_PixelStorei()
73 ctx->Pack.RowLength = param; in _mesa_PixelStorei()
78 if (param<0) { in _mesa_PixelStorei()
82 if (ctx->Pack.ImageHeight == param) in _mesa_PixelStorei()
85 ctx->Pack.ImageHeight = param; in _mesa_PixelStorei()
90 if (param<0) { in _mesa_PixelStorei()
94 if (ctx->Pack.SkipPixels == param) in _mesa_PixelStorei()
97 ctx->Pack.SkipPixels = param; in _mesa_PixelStorei()
102 if (param<0) { in _mesa_PixelStorei()
106 if (ctx->Pack.SkipRows == param) in _mesa_PixelStorei()
109 ctx->Pack.SkipRows = param; in _mesa_PixelStorei()
114 if (param<0) { in _mesa_PixelStorei()
118 if (ctx->Pack.SkipImages == param) in _mesa_PixelStorei()
121 ctx->Pack.SkipImages = param; in _mesa_PixelStorei()
124 if (param!=1 && param!=2 && param!=4 && param!=8) { in _mesa_PixelStorei()
128 if (ctx->Pack.Alignment == param) in _mesa_PixelStorei()
131 ctx->Pack.Alignment = param; in _mesa_PixelStorei()
140 if (ctx->Pack.Invert == param) in _mesa_PixelStorei()
143 ctx->Pack.Invert = param; in _mesa_PixelStorei()
149 if (param == (GLint)ctx->Unpack.SwapBytes) in _mesa_PixelStorei()
151 if ((GLint)ctx->Unpack.SwapBytes == param) in _mesa_PixelStorei()
154 ctx->Unpack.SwapBytes = param ? GL_TRUE : GL_FALSE; in _mesa_PixelStorei()
159 if (param == (GLint)ctx->Unpack.LsbFirst) in _mesa_PixelStorei()
161 if ((GLint)ctx->Unpack.LsbFirst == param) in _mesa_PixelStorei()
164 ctx->Unpack.LsbFirst = param ? GL_TRUE : GL_FALSE; in _mesa_PixelStorei()
169 if (param<0) { in _mesa_PixelStorei()
173 if (ctx->Unpack.RowLength == param) in _mesa_PixelStorei()
176 ctx->Unpack.RowLength = param; in _mesa_PixelStorei()
181 if (param<0) { in _mesa_PixelStorei()
185 if (ctx->Unpack.ImageHeight == param) in _mesa_PixelStorei()
189 ctx->Unpack.ImageHeight = param; in _mesa_PixelStorei()
194 if (param<0) { in _mesa_PixelStorei()
198 if (ctx->Unpack.SkipPixels == param) in _mesa_PixelStorei()
201 ctx->Unpack.SkipPixels = param; in _mesa_PixelStorei()
206 if (param<0) { in _mesa_PixelStorei()
210 if (ctx->Unpack.SkipRows == param) in _mesa_PixelStorei()
213 ctx->Unpack.SkipRows = param; in _mesa_PixelStorei()
218 if (param < 0) { in _mesa_PixelStorei()
222 if (ctx->Unpack.SkipImages == param) in _mesa_PixelStorei()
225 ctx->Unpack.SkipImages = param; in _mesa_PixelStorei()
228 if (param!=1 && param!=2 && param!=4 && param!=8) { in _mesa_PixelStorei()
232 if (ctx->Unpack.Alignment == param) in _mesa_PixelStorei()
235 ctx->Unpack.Alignment = param; in _mesa_PixelStorei()
250 _mesa_PixelStoref( GLenum pname, GLfloat param ) in _mesa_PixelStoref() argument
252 _mesa_PixelStorei( pname, IROUND(param) ); in _mesa_PixelStoref()