Commit graph

43 commits

Author SHA1 Message Date
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 9e277ed1ff Improved the blur shaders to run faster at higher resolutions and to look identical regardless of display resolution
Also improved the blur shaders rendering quality when rotating the screen 90 or 270 degrees
2023-08-18 20:22:08 +02:00
Leon Styhre d9f38dab3e Added support for changing the saturation for font textures. 2023-03-03 22:37:39 +01:00
Leon Styhre 3869a51e9c Improved image quality for the blur shaders when rotating screen 90 or 270 degrees. 2023-02-21 18:43:18 +01: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 0ad339d4c4 Fixed an issue where lowered saturation could not be combined with color shifts. 2022-12-12 20:21:22 +01:00
Leon Styhre ef671580c3 Fixed an issue where grayscale conversion was not done correctly for BGRA textures. 2022-10-30 16:31:43 +01:00
Leon Styhre 064909bf96 Changed some comments in the GLSL core shader file. 2022-10-28 21:41:55 +02:00
Leon Styhre 3c82bb4dfb Changed the renderer pixel format from RGBA to BGRA.
Also implemented premultiplied alpha for all images, animations and videos and improved the carousel reflection falloff logic.
2022-10-28 00:08:41 +02:00
Leon Styhre 496b60fa7d Added support for clipping to the core GLSL shader. 2022-08-30 19:42:37 +02:00
Leon Styhre 1798b96cf8 Added reflections support to CarouselComponent. 2022-04-18 21:37:58 +02: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 29501af68f Changed some variables names and debug logging info for the OpenGL renderer.
Also simplified a pixel conversion in the core.glsl shader.
2022-03-15 17:14:55 +01:00
Leon Styhre 1abfc06038 (macOS) Changed a keyword that made the GLSL compilation fail. 2022-03-15 00:25:02 +01:00
Leon Styhre ddcc542dc9 Removed some deprecated GLSL shader files. 2022-03-15 00:18:34 +01:00
Leon Styhre f859fd828d Cleaned up the GLSL shader files and related code. 2022-03-15 00:14:06 +01:00
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