summaryrefslogtreecommitdiff
path: root/src/mesa/main/getstring.c
AgeCommit message (Collapse)Author
2011-01-07mesa: Directly include mfeatures.h in files that perform feature tests.Vinson Lee
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
2010-09-21mesa: don't advertise bogus GL_ARB_shading_language_120 extensionBrian Paul
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).
2010-08-26Fix typo in function name "shading_laguage_version".Kenneth Graunke
2010-06-25mesa: initialize extension string when context is first boundBrian Paul
...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.
2010-05-07mesa: remove driver hooks for GetFloat/Integer/Doublev, etcBrian Paul
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.
2010-04-22main: Report GL_SHADING_LANGUAGE_VERSION according to APIKristian Høgsberg
2010-01-31mesa: Remove unnecessary headers.Vinson Lee
2010-01-12Merge branch 'master' into opengl-es-v2Chia-I Wu
Conflicts: src/mesa/main/dd.h
2010-01-05mesa: call _mesa_compute_version() to set context's version infoBrian Paul
2009-12-30mesa: implement _mesa_GetStringi() for GL3Brian Paul
Note: not plugged into the dispatch table yet.
2009-11-05mesa/main: Add support for point size array in _mesa_GetPointerv.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-04mesa: reset ErrorDebugCount to zero in glGetString()Brian Paul
2009-03-07mesa: remove GL_MESA_program_debug extensionBrian Paul
This was never fully fleshed out and hasn't been used.
2009-02-17mesa: turn on reporting of GLSL version 1.20Brian Paul
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).
2009-01-23Track two sets of back-face stencil stateIan Romanick
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
2008-10-10mesa: remove unneeded includesBrian Paul
2008-08-26mesa: don't check for GLSL 1.2 to advertise GL 2.1Brian Paul
The GLSL 1.2 features are minor...
2008-07-24mesa: move extensions->version code into separate functionBrian Paul
2008-07-24mesa: don't include Mesa version in GL_SHADING_LANGUAGE_VERSION stringBrian Paul
2008-04-11commentsBrian Paul
2007-09-28Remove test for EXT_blend_logic_op in glGetString when determining GL version.Brian
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.
2007-03-10Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa ↵Brian
into glsl-compiler-1
2007-03-10check for EXT_blend_equation_separate for 2.0Brian
2007-03-07use 2.0, 2.1 version stringsBrian
2006-11-03Minor changes to get ready for OpenGL 2.1.Brian Paul
2006-11-02check for shader extensions for OpenGL 2.0Brian Paul
2006-11-02Add ATI_separate_stencil and use it in preference to EXT_stencil_two_sideBrian Paul
since the former is what's used for OpenGL 2.0.
2006-10-02return null if no contextBrian Paul
2006-08-01Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.Michal Krol
2006-06-12Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick
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.
2006-04-25Remove carriage returns.Michal Krol
2006-04-04Return GLSL version string (1.10).Michal Krol
2005-02-11mesa-main-0-NULL.patch from Jeff MuizelaarKeith Whitwell
2005-01-16_mesa_GetInteger/Float/Boolean/Doublev() are now generated with the newBrian Paul
get_gen.py Python script. Moved GetString(), GetPointer(), GetError() into new getstring.c file.