1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 15:07:44 +00:00

LibAccelGfx: Compile all needed shaders during Painter construction

Instead of recompiling shaders on each paint command call we can
compile them once.
This commit is contained in:
Aliaksandr Kalenik 2023-11-02 00:48:32 +01:00 committed by Andreas Kling
parent 1e85bf221d
commit b7f8d7e357
5 changed files with 139 additions and 58 deletions

View file

@ -5,6 +5,7 @@ if (HAS_ACCELERATED_GRAPHICS)
Canvas.cpp
Context.cpp
Painter.cpp
Program.cpp
)
serenity_lib(LibAccelGfx accelgfx)