Home
last modified time | relevance | path

Searched refs:SPShader (Results 1 – 17 of 17) sorted by relevance

/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/graphics/sp/
H A Dsp_shader.cpp33 bool SPShader::m_sp_shader_debug = false;
35 SPShader::SPShader(const std::string& name, in SPShader() function in SP::SPShader
36 const std::function<void(SPShader*)>& init_func, in SPShader()
84 void SPShader::linkShaderFiles(RenderPass rp) in linkShaderFiles()
125 void SPShader::addAllTextures(RenderPass rp) in addAllTextures()
194 void SPShader::bindPrefilledTextures(RenderPass rp) const in bindPrefilledTextures()
217 void SPShader::bindTextures(const std::array<GLuint, 6>& tex, in bindTextures()
231 void SPShader::addAllUniforms(RenderPass rp) in addAllUniforms()
281 void SPShader::setUniformsPerObject(SPPerObjectUniform* sppou, in setUniformsPerObject()
313 void SPShader::unload() in unload()
[all …]
H A Dsp_shader_manager.hpp35 class SPShader;
83 std::unordered_map<std::string, std::shared_ptr<SPShader> > m_shaders;
85 std::vector<std::shared_ptr<SPShader> > m_official_shaders;
107 std::shared_ptr<SPShader> buildSPShader(const ShaderInfo& si,
129 static void addPrefilledTexturesToShader(SPShader* s,
137 std::shared_ptr<SPShader> getSPShader(const std::string& name) in getSPShader()
150 std::shared_ptr<SPShader> shader) in addSPShader()
H A Dsp_shader.hpp80 class SPShader : public NoCopy, public SPPerObjectUniform class
101 const std::function<void(SPShader*)> m_init_function;
119 SPShader(const std::string& name,
120 const std::function<void(SPShader*)>& init_func,
126 ~SPShader() in ~SPShader()
H A Dsp_base.hpp86 class SPShader;
109 SPShader* getNormalVisualizer();
111 SPShader* getGlowShader();
H A Dsp_shader_manager.cpp217 std::shared_ptr<SPShader> fallback_shader = in loadEachShader()
229 std::shared_ptr<SPShader> fallback_skinned_shader = in loadEachShader()
375 std::shared_ptr<SPShader> SPShaderManager::buildSPShader(const ShaderInfo& si, in buildSPShader()
379 std::shared_ptr<SPShader> sps; in buildSPShader()
381 sps = std::make_shared<SPShader>(si.m_shader_name, in buildSPShader()
382 [this, pi, ua, skinned](SPShader* shader) in buildSPShader()
459 void SPShaderManager::addPrefilledTexturesToShader(SPShader* s, in addPrefilledTexturesToShader()
H A Dsp_base.cpp76 SPShader* g_normal_visualizer = NULL;
78 SPShader* g_glow_shader = NULL;
175 void displaceShaderInit(SPShader* shader) in displaceShaderInit()
350 std::shared_ptr<SPShader> sps; in loadShaders()
371 sps = std::make_shared<SPShader> in loadShaders()
392 sps = std::make_shared<SPShader> in loadShaders()
633 SPShader* getGlowShader() in getGlowShader()
639 SPShader* getNormalVisualizer() in getNormalVisualizer()
810 SPShader* shader = node->getShader(m); in addObject()
984 SPShader* shader = dydc->getShader(); in handleDynamicDrawCall()
[all …]
H A Dsp_mesh_node.hpp36 class SPShader;
127 SPShader* getShader(unsigned mesh_buffer_id) const;
H A Dsp_dynamic_draw_call.hpp39 class SPShader;
67 std::shared_ptr<SPShader> shader, Material* m);
H A Dsp_mesh_node.cpp191 SPShader* SPMeshNode::getShader(unsigned mesh_buffer_id) const in getShader()
196 SPShader* shader = in getShader()
H A Dsp_mesh_buffer.hpp44 class SPShader;
50 std::shared_ptr<SPShader> m_shaders[2];
286 SPShader* getShader(bool skinned = false) const in getShader()
H A Dsp_dynamic_draw_call.cpp31 std::shared_ptr<SPShader> shader, in SPDynamicDrawCall()
H A Dsp_texture.cpp542 std::shared_ptr<SPShader> sps = in getMask()
/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/graphics/
H A Dskid_marks.hpp35 class SPShader;
68 std::shared_ptr<SP::SPShader> m_shader;
91 std::shared_ptr<SP::SPShader> shader,
H A Dskid_marks.cpp222 std::shared_ptr<SP::SPShader> shader, in SkidMarkQuads()
H A Dpost_processing.cpp1084 SP::SPShader* glow_shader = SP::getGlowShader(); in renderGodRays()
/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/utils/
H A Ddebug.cpp266 SP::SPShader* nv = NULL; in handleContextMenuAction()
/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/
H A Dmain.cpp768 SP::SPShader::m_sp_shader_debug = true; in handleCmdLinePreliminary()