aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/pixelstore.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa/es: Validate glPixelStore pname in Mesa code rather than the ES wrapperIan Romanick2012-08-291-2/+37
| | | | | | v2: Add proper core-profile and GLES3 filtering. Signed-off-by: Ian Romanick <[email protected]>
* mesa: Round the argument to PixelStoref instead of truncating.Eric Anholt2011-10-201-1/+1
| | | | | | | | | | | | | | | From the GL 2.1 specification, page 114 (page 128 of the PDF): "The version of PixelStore that takes a floating-point value may be used to set any type of parameter; if the parameter is boolean, then it is set to FALSE if the passed value is 0.0 and TRUE otherwise, while if the parameter is an integer, then the passed value is rounded to the nearest integer." Fixes piglit roundmode-pixelstore. Note: This is a candidate for the 7.11 branch. Reviewed-by: Brian Paul <[email protected]>
* mesa: remove support for GL_APPLE_client_storage extensionBrian Paul2011-09-221-9/+0
| | | | | | | AFAIK, there are few users of this extension and I can see a couple reasons why this is probably broken in Mesa anyway. Reviewed-by: Ian Romanick <[email protected]>
* mesa: Directly include mfeatures.h in files that perform feature tests.Vinson Lee2011-01-071-0/+1
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-1/+1
|
* mesa: Remove unnecessary headers from pixelstore.c.Vinson Lee2010-01-181-3/+0
|
* mesa: move the NullBufferObj from GLcontext to gl_shared_stateBrian Paul2009-05-071-3/+6
| | | | | Since shared array objects may point to the null/default buffer object, the null/default buffer object should be part of the shared state.
* mesa: refactor: move initialization of DefaultPacking state.Brian Paul2008-09-211-0/+20
|
* mesa: refactor: new _mesa_init_pixelstore() functionBrian Paul2008-09-211-0/+37
| | | | (cherry picked from commit 5f91007f996d0b7e3233f221a6b0056203e356d2)
* mesa: refactor: move glPixelStore function into new pixelstore.c fileBrian Paul2008-09-211-0/+226