summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/getstring.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Directly include mfeatures.h in files that perform feature tests.Vinson Lee2011-01-071-0/+1
|
* 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-2/+2
|
* mesa: don't advertise bogus GL_ARB_shading_language_120 extensionBrian Paul2010-09-211-9/+25
| | | | | | | | | | | Instead of using the invalid GL_ARB_shading_language_120 extension to determine the GLSL version, use a new ctx->Const.GLSLVersion field. Updated the intel and r600 drivers, but untested. See fd.o bug 29910 NOTE: This is a candidate for the 7.9 branch (but let's wait and see if there's any regressions).
* Fix typo in function name "shading_laguage_version".Kenneth Graunke2010-08-261-2/+2
|
* mesa: initialize extension string when context is first boundBrian Paul2010-06-251-2/+0
| | | | | | | | ...instead of waiting until glGetString(GL_EXTENSIONS) is called. This fixes a problem where the MESA_EXTENSION_OVERRIDE env var is ignored if the app never calls glGetString(GL_EXTENSIONS). NOTE: this is a candidate patch for the 7.8 branch.
* mesa: remove driver hooks for GetFloat/Integer/Doublev, etcBrian Paul2010-05-071-4/+0
| | | | | Once upon a time some drivers hooked into these for GL_HP_occlusion_test and GL_OES_read_format. They're not being used anymore so get rid of them.
* main: Report GL_SHADING_LANGUAGE_VERSION according to APIKristian Høgsberg2010-04-221-10/+27
|
* mesa: Remove unnecessary headers.Vinson Lee2010-01-311-1/+0
|
* Merge branch 'master' into opengl-es-v2Chia-I Wu2010-01-121-80/+29
|\ | | | | | | | | Conflicts: src/mesa/main/dd.h
| * mesa: call _mesa_compute_version() to set context's version infoBrian Paul2010-01-051-80/+1
| |
| * mesa: implement _mesa_GetStringi() for GL3Brian Paul2009-12-301-0/+28
| | | | | | | | Note: not plugged into the dispatch table yet.
* | mesa/main: Add support for point size array in _mesa_GetPointerv.Chia-I Wu2009-11-051-0/+5
|/ | | | Signed-off-by: Chia-I Wu <[email protected]>
* mesa: reset ErrorDebugCount to zero in glGetString()Brian Paul2009-08-041-0/+1
|
* mesa: remove GL_MESA_program_debug extensionBrian Paul2009-03-071-30/+0
| | | | This was never fully fleshed out and hasn't been used.
* mesa: turn on reporting of GLSL version 1.20Brian Paul2009-02-171-1/+1
| | | | | | The new array features, precision/invariant/centroid qualifiers, etc. were done a while back. The glGetString(GL_SHADING_LANGUAGE_VERSION) query returns "1.20" now (for drivers that support it anyway).
* Track two sets of back-face stencil stateIan Romanick2009-01-231-1/+10
| | | | | | | | | | | | Track separate back-face stencil state for OpenGL 2.0 / GL_ATI_separate_stencil and GL_EXT_stencil_two_side. This allows all three to be enabled in a driver. One set of state is set via the 2.0 or ATI functions and is used when STENCIL_TEST_TWO_SIDE_EXT is disabled. The other is set by StencilFunc and StencilOp when the active stencil face is set to BACK. The GL_EXT_stencil_two_side spec has more details. http://opengl.org/registry/specs/EXT/stencil_two_side.txt
* mesa: remove unneeded includesBrian Paul2008-10-101-1/+0
|
* mesa: don't check for GLSL 1.2 to advertise GL 2.1Brian Paul2008-08-261-9/+5
| | | | The GLSL 1.2 features are minor...
* mesa: move extensions->version code into separate functionBrian Paul2008-07-241-70/+72
|
* mesa: don't include Mesa version in GL_SHADING_LANGUAGE_VERSION stringBrian Paul2008-07-241-3/+5
|
* commentsBrian Paul2008-04-111-2/+7
|
* Remove test for EXT_blend_logic_op in glGetString when determining GL version.Brian2007-09-281-1/+0
| | | | | EXT_blend_logic_op is slightly different from GL 1.1's RGBA logicop mode and does not have to be supported. Per conversation with Roland.
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵Brian2007-03-101-1/+2
|\ | | | | | | into glsl-compiler-1
| * check for EXT_blend_equation_separate for 2.0Brian2007-03-101-1/+2
| |
* | use 2.0, 2.1 version stringsBrian2007-03-071-2/+2
|/
* Minor changes to get ready for OpenGL 2.1.Brian Paul2006-11-031-1/+9
|
* check for shader extensions for OpenGL 2.0Brian Paul2006-11-021-2/+4
|
* Add ATI_separate_stencil and use it in preference to EXT_stencil_two_sideBrian Paul2006-11-021-2/+2
| | | | since the former is what's used for OpenGL 2.0.
* return null if no contextBrian Paul2006-10-021-2/+5
|
* Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.Michal Krol2006-08-011-0/+5
|
* Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick2006-06-121-8/+8
| | | | | | | and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required.
* Remove carriage returns.Michal Krol2006-04-251-8/+8
|
* Return GLSL version string (1.10).Michal Krol2006-04-041-3/+11
|
* mesa-main-0-NULL.patch from Jeff MuizelaarKeith Whitwell2005-02-111-1/+1
|
* _mesa_GetInteger/Float/Boolean/Doublev() are now generated with the newBrian Paul2005-01-161-0/+261
get_gen.py Python script. Moved GetString(), GetPointer(), GetError() into new getstring.c file.