summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/viewport.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Add support for glDepthRangef and glClearDepthf.Eric Anholt2011-01-141-1/+5
| | | | | These are ARB_ES2_compatibility float variants of the core double entrypoints. Fixes arb_es2_compatibility-depthrangef.
* mesa: Include mtypes.h in files that use gl_context struct.Vinson Lee2011-01-051-0/+1
| | | | | | Directly include mtypes.h if a file uses a gl_context struct. This allows future removal of headers that are not strictly necessary but indirectly include mtypes.h for a file.
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-3/+3
|
* mesa: short-circuit no-change in _mesa_DepthRange()Brian Paul2009-08-131-0/+4
|
* mesa: fix incorrect viewport clamping in _mesa_set_viewport()Brian Paul2009-06-161-2/+2
| | | | | A 0 by 0 viewport size is legal. Don't clamp against lower bound of one. The error checking earlier in the function prevents negative values.
* mesa: move glViewport and glDepthRange functions into new viewport.c fileBrian Paul2009-03-071-0/+176
A bit of refactoring with an eye toward ES2 and GL 3.1