Johannes Schickel
8ff5329b49
OPENGL: Assure color attributes for shader pipeline are always set.
2016-05-03 20:43:18 +02:00
Johannes Schickel
8161effc68
OPENGL: Add assertions to check for valid attribute state.
2016-03-23 22:37:16 +01:00
Johannes Schickel
2ebffd2da5
OPENGL: Fix black screen for some GL implementations with shaders.
...
For compatibility location 0 is used to decide whether fixed function style
vertex information is used in old GL contexts. In some cases drivers might
assign the color information to be passed through attribute 0. This caused
the array attribute status for location 0 to be disabled and resulted in
wrong vertex data to be used.
2016-03-23 22:30:25 +01:00
Johannes Schickel
39100b6132
OPENGL: Do not hardcode any uniform/attribute handling in Shader.
2016-03-16 20:29:31 +01:00
Johannes Schickel
baca885cfc
OPENGL: Let Shader store the uniform state.
2016-03-16 20:29:31 +01:00
Johannes Schickel
6dacc96d1f
OPENGL: Only set projection matrix once on pipeline activation.
2016-03-16 20:29:31 +01:00
Johannes Schickel
3f9852eb20
OPENGL: Make shader pipelines use fixed shaders.
2016-03-16 20:29:31 +01:00
Johannes Schickel
26f106497a
OPENGL: Implement CLUT8 look up as Pipeline.
2016-03-16 20:29:30 +01:00
Johannes Schickel
8a4938f82b
OPENGL: Move pipeline code to pipelines/.
2016-03-16 20:29:30 +01:00