mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-14 05:22:24 +00:00
LibWeb: Allow construction of PaintingSurface directly from IOSurface
Previously, constructing a PaintingSurface from an IOSurface required wrapping IOSurface into a Metal texture before passing it to the PaintingSurface constructor. This process was cumbersome, as the caller needed access to a MetalContext to perform the wrapping. With this change SkiaBackendContext maintains a reference to the MetalContext which makes it possible to do: IOSurface -> MetalTexture -> SkSurface within a PaintingSurface constructor.
This commit is contained in:
parent
bfdf52701f
commit
e683700fe6
Notes:
github-actions[bot]
2024-12-03 22:38:00 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: e683700fe6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2688
Reviewed-by: https://github.com/ADKaster ✅
9 changed files with 31 additions and 18 deletions
|
@ -28,6 +28,7 @@ class Palette;
|
|||
class PaletteImpl;
|
||||
class Path;
|
||||
class ShareableBitmap;
|
||||
class SkiaBackendContext;
|
||||
struct SystemTheme;
|
||||
|
||||
template<typename T>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue