summaryrefslogtreecommitdiff
path: root/src/mesa/main/viewport.c
AgeCommit message (Collapse)Author
2011-01-14mesa: Add support for glDepthRangef and glClearDepthf.Eric Anholt
These are ARB_ES2_compatibility float variants of the core double entrypoints. Fixes arb_es2_compatibility-depthrangef.
2011-01-05mesa: Include mtypes.h in files that use gl_context struct.Vinson Lee
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.
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2009-08-13mesa: short-circuit no-change in _mesa_DepthRange()Brian Paul
2009-06-16mesa: fix incorrect viewport clamping in _mesa_set_viewport()Brian Paul
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.
2009-03-07mesa: move glViewport and glDepthRange functions into new viewport.c fileBrian Paul
A bit of refactoring with an eye toward ES2 and GL 3.1