Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/graphics/ShaderProgram.cpp
Show All 14 Lines | |||||
* along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | * along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | ||||
*/ | */ | ||||
#include "precompiled.h" | #include "precompiled.h" | ||||
#include "ShaderProgram.h" | #include "ShaderProgram.h" | ||||
#include "graphics/Color.h" | #include "graphics/Color.h" | ||||
#include "graphics/PreprocessorWrapper.h" | |||||
#include "graphics/ShaderManager.h" | #include "graphics/ShaderManager.h" | ||||
#include "graphics/TextureManager.h" | #include "graphics/TextureManager.h" | ||||
#include "lib/res/graphics/ogl_tex.h" | #include "lib/res/graphics/ogl_tex.h" | ||||
#include "maths/Matrix3D.h" | #include "maths/Matrix3D.h" | ||||
#include "maths/Vector3D.h" | #include "maths/Vector3D.h" | ||||
#include "ps/CLogger.h" | #include "ps/CLogger.h" | ||||
#include "ps/Filesystem.h" | #include "ps/Filesystem.h" | ||||
#include "ps/PreprocessorWrapper.h" | |||||
#if !CONFIG2_GLES | #if !CONFIG2_GLES | ||||
class CShaderProgramARB : public CShaderProgram | class CShaderProgramARB : public CShaderProgram | ||||
{ | { | ||||
public: | public: | ||||
CShaderProgramARB(const VfsPath& vertexFile, const VfsPath& fragmentFile, | CShaderProgramARB(const VfsPath& vertexFile, const VfsPath& fragmentFile, | ||||
const CShaderDefines& defines, | const CShaderDefines& defines, | ||||
▲ Show 20 Lines • Show All 854 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator