1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 18:17:34 +00:00
serenity/Userland/Libraries/LibAccelGfx
Aliaksandr Kalenik f6a9f613c7 LibAccelGfx+LibWeb: Add basic support for linear gradients painting
Linear gradient painting is implemented in the following way:
1. The rectangle is divided into segments where each segment represents
   a simple linear gradient between an adjacent pair of stops.
2. Each quad is filled separately using a fragment shader that
   interpolates between two colors.

For now `angle` and `repeat_length` parameters are ignored.
2023-11-16 18:02:51 +01:00
..
CMakeLists.txt LibAccelGfx+LibWeb: Use framebuffer object instead of EGLs PBuffer 2023-11-11 22:19:43 +01:00
Context.cpp LibAccelGfx+WebContent: Add GPU painter support on macOS 2023-11-16 15:13:16 +01:00
Context.h LibAccelGfx+WebContent: Add GPU painter support on macOS 2023-11-16 15:13:16 +01:00
Forward.h LibAccelGfx+LibWeb: Use framebuffer object instead of EGLs PBuffer 2023-11-11 22:19:43 +01:00
GL.cpp LibAccelGfx+LibWeb: Implement SetClipRect and ClearClipRect commands 2023-11-13 19:22:27 +01:00
GL.h LibAccelGfx+WebContent: Add GPU painter support on macOS 2023-11-16 15:13:16 +01:00
Painter.cpp LibAccelGfx+LibWeb: Add basic support for linear gradients painting 2023-11-16 18:02:51 +01:00
Painter.h LibAccelGfx+LibWeb: Add basic support for linear gradients painting 2023-11-16 18:02:51 +01:00
Program.cpp LibAccelGfx: Use wrapping functions with error check for OpenGL calls 2023-11-11 08:47:12 +01:00
Program.h LibAccelGfx: Use wrapping functions with error check for OpenGL calls 2023-11-11 08:47:12 +01:00