summaryrefslogtreecommitdiff
path: root/src/mesa/main/shaders.c
AgeCommit message (Collapse)Author
2010-06-10mesa: refactor shader api / object codeBrian Paul
Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/.
2010-05-31mesa: Fix/add feature test to shader.c.Chia-I Wu
Those macros used by _mesa_init_shader_dispatch are not available when FEATURE_GL is not defined.
2010-05-26Revert the 'make static' part of 962f92611216e304c95e7c089b38d58066236014Kristian Høgsberg
The es1 and es2 dispath table initialization code is generated from the API XML files and we can't easily share the dispatch table code setup. Keep the _mesa_init_shader_dispatch() part of the patch, but roll back the static-ization of shader entrypoints so es1 and es2 dispatch initialization still works.
2010-05-25mesa: make a bunch of shader API functions staticBrian Paul
2010-05-25mesa: unsigned int uniform functions (GL3)Brian Paul
2010-05-02Merge branch 'gles2-2'Kristian Høgsberg
Conflicts: src/mesa/drivers/dri/common/dri_util.h
2010-05-02mesa: s/sprintf/_mesa_snprintf/Vinson Lee
2010-04-27mesa: Move GLES2 shader stubs to main/shaders.cKristian Høgsberg
2010-02-19Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2010-02-19Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-19Remove _mesa_strlen in favor of plain strlen.Kenneth Graunke
2009-10-29glsl: make shader substitution a little betterBrian Paul
2009-10-13mesa: rework _mesa_read_shader() debug hookBrian Paul
Look for shaders named "newshader_<CHECKSUM>" to replace the incoming shader text. For debug purposes.
2009-04-14mesa: remove unused matrixType param from ctx->Driver.UniformMatrix() functionsBrian Paul
2009-03-06mesa: added _mesa_read_shader() function to read shaders from filesBrian Paul
Useful for debugging to override an application's shader.
2008-10-16mesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861Brian Paul
2008-10-10mesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861Brian Paul
2008-09-29GLSL: Implement GL_OBJECT_TYPE_ARB queryIan Romanick
The GL_OBJECT_TYPE_ARB query is handled directly in _mesa_GetObjectParamterivARB because it is only supported in the extension version of the shanding language API. glGetProgramiv and glGetShaderiv should not accept this enum.
2008-09-21mesa: remove debug codeBrian Paul
2008-09-21mesa: implement glGetUniformiv() with new ctx->Driver functionBrian Paul
The old implementation could overwrite the caller's param buffer.
2008-07-08mesa: remove debug codeBrian Paul
2008-07-08mesa: implement glGetUniformiv() with new ctx->Driver functionBrian Paul
The old implementation could overwrite the caller's param buffer.
2008-07-03mesa: fix some error codes in _mesa_ShaderSourceARB()Brian Paul
2007-07-21Fix a number of MINGW32 issuesZhang
2007-03-15silently ignore DeleteProgram/Shader(id=0)Brian
2007-03-13alloc an extra byte in _mesa_ShaderSourceARB() to silence a valgrind warningBrian
2007-02-26fix mem leak in _mesa_ShaderSourceARB()Brian
2006-12-19Massive re-org of GLSL-related API functions.Brian
Added new GLSL functions to struct dd_function_table. main/shaders.c calls GLSL functions through the dd_function_table. shader/shader_api.c implements the API functions. Other assorted changes, fixes everywhere else.