mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
LibAccelGfx+LibWeb: Support non-translation transforms in GPU painter
This change introduces GPU painter support for rotate(), skew(), scale(), and other transformations that could be applied to stacking context.
This commit is contained in:
parent
45d81dceed
commit
c28f6828c9
4 changed files with 52 additions and 25 deletions
|
@ -67,6 +67,7 @@ private:
|
|||
MaybeOwned<AccelGfx::Painter> painter;
|
||||
float opacity;
|
||||
Gfx::IntRect destination;
|
||||
Gfx::AffineTransform transform;
|
||||
int stacking_context_depth { 0 };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue