aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/shader.cpp
AgeCommit message (Collapse)Author
2017-07-10Revert "COMMON: Change way the Singleton instances are instantiated"Eugene Sandulenko
This reverts commit eefa72afa1978a9dea10f5b1833fcc8f58a3468e. With this patch ConfigManager is broken.
2017-07-10COMMON: Change way the Singleton instances are instantiatedThierry Crozat
This fixes tons of warnings with clang from a recent xcode version on macOS (and possibly other systems) complaining that an instantiation of _singleton is required but no definition is available.
2016-05-02OPENGL: Fix potential crashEugene Sandulenko
2016-03-16OPENGL: Do not keep uniform state for nonexistent uniforms.Johannes Schickel
2016-03-16OPENGL: Do not hardcode any uniform/attribute handling in Shader.Johannes Schickel
2016-03-16OPENGL: Let Shader store the uniform state.Johannes Schickel
2016-03-16OPENGL: Introduce ShaderManager to handle builtin shaders.Johannes Schickel
2016-03-16OPENGL: Handle GLES2 and GL shaders uniformly.Johannes Schickel
GLES2 requires precision qualifiers to be set and allows use of precision qualifiers. For GLES2 we define a default precision now. Since precision qualifiers are not supported in the GLSL version we use for GL, we introduce compatibility #defines.
2016-03-16OPENGL: Accelerate palette lookups with shaders.Johannes Schickel
This currently is limited to GL contexts.
2016-03-16OPENGL: Unify shader implementation for GL and GLES2.Johannes Schickel
2016-03-16OPENGL: Slightly cleanup programmable pipeline handling.Johannes Schickel
2016-03-16OPENGL: Handle destruction gracefully when no context is setup.Johannes Schickel
2016-03-16OPENGL: Add support for shaders with GL contexts.Johannes Schickel
2016-03-16OPENGL: Support GLES2 contexts.Johannes Schickel