f129f618fe8a5397774484f1b7afb42d4be809a0 |
|
07-Jul-2011 |
Paul Berry <stereotype441@gmail.com> |
glsl: Move functions into standalone_scaffolding.cpp for later reuse. 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).
/external/mesa3d/src/glsl/standalone_scaffolding.h
|