summaryrefslogtreecommitdiffstats
path: root/src/glsl/standalone_scaffolding.h
Commit message (Collapse)AuthorAgeFilesLines
* glsl: report errors via GL_ARB_debug_outputDylan Noblesmith2012-05-021-0/+4
| | | | Reviewed-by: Brian Paul <[email protected]>
* glsl: Move functions into standalone_scaffolding.cpp for later reuse.Paul Berry2011-07-221-0/+54
This patch moves the following functions from main.cpp (the main cpp file for the standalone executable that is used to create the built-in functions) to standalone_scaffolding.cpp, so that they can be re-used in other standalone executables: - initialize_context()* - _mesa_new_shader() - _mesa_reference_shader() *initialize_context contained some code that was specific to main.cpp, so it was split into two functions: initialize_context() (which remains in main.cpp), and initialize_context_from_defaults() (which is in standalone_scaffolding.cpp).