Leon Styhre
06a037d8cf
Shader flags are now sent as bit masks instead of via discreet values.
...
Also changed the shader flags to enums.
2022-03-14 22:30:24 +01:00
Leon Styhre
a7db474a64
Unified the OpenGL and OpenGL ES renderers and removed the fixed function pipeline.
...
Also made some other rendering optimizations and cleaned up some code.
2022-03-13 23:52:32 +01:00
Leon Styhre
adb162e0d1
Another go at getting post-processing to work properly with all graphics drivers.
2022-03-12 17:57:59 +01:00
Leon Styhre
32251e0264
Fixed multiple issues with the shader post-processing.
...
Also removed an unnecessary parameter for the createTexture() function.
2022-03-12 14:22:27 +01:00
Leon Styhre
755b2c9f50
Changed some render variables to more verbose names.
...
Also fixed an issue with fade transitions for legacy themes.
2022-03-11 23:51:41 +01:00
Leon Styhre
63af859618
Modernized the OpenGL renderer and replaced most fixed function pipeline code with shaders.
...
Also greatly improved the shader post processing performance and added component dimming support.
2022-03-11 23:17:04 +01:00
Leon Styhre
8f6565b9f0
Code formatted the blur GLSL shaders.
2022-02-15 22:17:24 +01:00
Leon Styhre
5ac6bcb902
Added opacity support to the scanline shader.
2022-02-15 22:13:11 +01:00
Leon Styhre
69c1a1259d
Added opacity support to the BGRA to RGBA shader.
2022-02-12 17:40:25 +01:00
Leon Styhre
0c552dd8fb
Added a GLSL shader to convert the color model BGRA to RGBA.
...
Also added support for specifying a separate format as compared to internalFormat when creating textures, although the shader should be used primarily as this is not really supported by the OpenGL standard.
2022-01-07 18:54:52 +01:00
Leon Styhre
d986fc7eaa
Standardized the header section of the GLSL files and shell scripts.
2021-05-14 18:52:38 +02:00
Leon Styhre
01112408f6
Minor cosmetic GLSL shader code cleanup.
2021-05-14 15:22:14 +02:00
Leon Styhre
fddf099a74
Cosmetic code cleanup of some GLSL shader code.
2021-05-14 15:12:53 +02:00
Leon Styhre
40e04bbf58
Updated some comments in the GLSL shaders.
2021-02-28 15:00:13 +01:00
Leon Styhre
2dbcb6a7d9
Fixed an issue where the GLSL shader alpha values would be handled differently depending on the graphics driver.
2021-02-28 12:59:08 +01:00
Leon Styhre
c38e087b28
Fixed an issue where some pragma directives crashed the GLSL shader compiler on Windows.
2020-11-29 22:42:05 +01:00
Leon Styhre
d1adb313e6
Improved the opacity shader.
2020-09-13 09:57:00 +02:00
Leon Styhre
a34bc45e56
Added an opacity shader.
2020-09-12 19:17:26 +02:00
Leon Styhre
3643c08caf
Updates to the OpenGL shader handling.
2020-09-12 12:14:48 +02:00
Leon Styhre
fd10aba815
Updated the GLSL shader logic and added a postprocessing function.
2020-09-04 18:59:19 +02:00
Leon Styhre
d512c2b11d
Implemented OpenGL GLSL shader support.
2020-08-30 22:19:37 +02:00