mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
79acb998e1
If Metal context and IOSurface are available, Skia painter will use Ganesh GPU backend on macOS, which is noticeably faster than the default CPU backend. Painting pipeline: 1. (WebContent) Allocate IOSurface for backing store 2. (WebContent) Allocate MTLTexture that wraps IOSurface 3. (WebContent) Paint into MTLTexture using Skia 4. (Browser) Wrap IOSurface into Gfx::Painter and use QPainter/CoreGraphics to blit backing store into viewport. Things we should improve in the future: 1. Upload textures for images in advance instead of doing that before every repaint. 2. Teach AppKit client to read directly from IOSurface instead of copying.
60 lines
976 B
JSON
60 lines
976 B
JSON
{
|
|
"builtin-baseline": "f7423ee180c4b7f40d43402c2feb3859161ef625",
|
|
"dependencies": [
|
|
{
|
|
"name": "fontconfig",
|
|
"platform": "linux | freebsd | openbsd"
|
|
},
|
|
"icu",
|
|
"libjpeg-turbo",
|
|
{
|
|
"name": "libpng",
|
|
"features": [
|
|
"apng"
|
|
]
|
|
},
|
|
{
|
|
"name": "skia",
|
|
"platform": "osx",
|
|
"features": [
|
|
"metal"
|
|
]
|
|
},
|
|
{
|
|
"name": "skia",
|
|
"platform": "linux | freebsd | openbsd"
|
|
},
|
|
"sqlite3",
|
|
"woff2"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"name": "fontconfig",
|
|
"version": "2.14.2#1"
|
|
},
|
|
{
|
|
"name": "icu",
|
|
"version": "74.2#2"
|
|
},
|
|
{
|
|
"name": "libjpeg-turbo",
|
|
"version": "3.0.2"
|
|
},
|
|
{
|
|
"name": "libpng",
|
|
"version": "1.6.43#1"
|
|
},
|
|
{
|
|
"name": "skia",
|
|
"version": "124#0"
|
|
},
|
|
{
|
|
"name": "sqlite3",
|
|
"version": "3.45.3"
|
|
},
|
|
{
|
|
"name": "woff2",
|
|
"version": "1.0.2#4"
|
|
}
|
|
]
|
|
}
|