Commit graph

21 commits

Author SHA1 Message Date
Leon Styhre 27be4007a2 Added workarounds for some mobile GPUs which do not support all OpenGL operations when using the BGRA pixel format 2023-12-07 17:56:27 +01:00
Leon Styhre 848d19a80b Added support for binding multiple texture units for use in the shaders 2023-09-07 21:02:38 +02:00
Leon Styhre 8c9ebc2dcd Renamed the textureSize shader uniform to texSize to avoid collision with the GLSL keyword
Also some additional minor renderer code cleanup
2023-08-31 17:11:32 +02:00
Leon Styhre 170d8e3791 Added rounded corner support to the image, video, animation, carousel and grid elements 2023-08-20 19:41:07 +02:00
Leon Styhre b33c7603bb Added support for rotating the application screen contents 0, 90, 180 or 270 degrees.
Also improved post processing shader rendering when running in vertical orientation.
2023-02-06 23:38:35 +01:00
Leon Styhre c63fd2e72b Fixed a premultiplied alpha shader issue that lead to artifacting when brightness was adjusted. 2022-12-15 19:13:37 +01:00
Leon Styhre f195ba72a2 Changed the brightness shaders from exposure to actual brightness calculations. 2022-12-14 23:09:17 +01:00
Leon Styhre f4d4abb33b Added theme support for defining relative brightness for images, videos and animations. 2022-12-14 20:17:41 +01:00
Leon Styhre 59d5e1b5b8 Changed the color channel mix for grayscale conversions. 2022-12-13 22:45:05 +01:00
Leon Styhre 6037e80bf1 Added color shift support to VideoComponent. 2022-12-12 21:51:27 +01:00
Leon Styhre 1517826b23 Fixed an issue where lowered saturation would not work correctly when combined with scanline rendering. 2022-12-12 20:24:16 +01:00
Leon Styhre 5de2855d60 Added theme support for defining color saturation for the image, video and animation components. 2022-03-17 19:33:09 +01:00
Leon Styhre f859fd828d Cleaned up the GLSL shader files and related code. 2022-03-15 00:14:06 +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 5ac6bcb902 Added opacity support to the scanline shader. 2022-02-15 22:13:11 +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 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 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