Meta+LibWeb: Update Skia to version 129
|
Before Width: | Height: | Size: 311 KiB After Width: | Height: | Size: 364 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 234 KiB After Width: | Height: | Size: 268 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
@@ -31,7 +31,6 @@
|
|||||||
|
|
||||||
#ifdef USE_VULKAN
|
#ifdef USE_VULKAN
|
||||||
# include <gpu/ganesh/vk/GrVkDirectContext.h>
|
# include <gpu/ganesh/vk/GrVkDirectContext.h>
|
||||||
# include <gpu/vk/GrVkBackendContext.h>
|
|
||||||
# include <gpu/vk/VulkanBackendContext.h>
|
# include <gpu/vk/VulkanBackendContext.h>
|
||||||
# include <gpu/vk/VulkanExtensions.h>
|
# include <gpu/vk/VulkanExtensions.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -39,6 +38,7 @@
|
|||||||
#ifdef AK_OS_MACOS
|
#ifdef AK_OS_MACOS
|
||||||
# include <gpu/GrBackendSurface.h>
|
# include <gpu/GrBackendSurface.h>
|
||||||
# include <gpu/ganesh/mtl/GrMtlBackendContext.h>
|
# include <gpu/ganesh/mtl/GrMtlBackendContext.h>
|
||||||
|
# include <gpu/ganesh/mtl/GrMtlBackendSurface.h>
|
||||||
# include <gpu/ganesh/mtl/GrMtlDirectContext.h>
|
# include <gpu/ganesh/mtl/GrMtlDirectContext.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -104,7 +104,7 @@ private:
|
|||||||
|
|
||||||
OwnPtr<SkiaBackendContext> DisplayListPlayerSkia::create_vulkan_context(Core::VulkanContext& vulkan_context)
|
OwnPtr<SkiaBackendContext> DisplayListPlayerSkia::create_vulkan_context(Core::VulkanContext& vulkan_context)
|
||||||
{
|
{
|
||||||
GrVkBackendContext backend_context;
|
skgpu::VulkanBackendContext backend_context;
|
||||||
|
|
||||||
backend_context.fInstance = vulkan_context.instance;
|
backend_context.fInstance = vulkan_context.instance;
|
||||||
backend_context.fDevice = vulkan_context.logical_device;
|
backend_context.fDevice = vulkan_context.logical_device;
|
||||||
@@ -155,7 +155,7 @@ public:
|
|||||||
{
|
{
|
||||||
GrMtlTextureInfo mtl_info;
|
GrMtlTextureInfo mtl_info;
|
||||||
mtl_info.fTexture = sk_ret_cfp(metal_texture.texture());
|
mtl_info.fTexture = sk_ret_cfp(metal_texture.texture());
|
||||||
auto backend_render_target = GrBackendRenderTarget(metal_texture.width(), metal_texture.height(), mtl_info);
|
auto backend_render_target = GrBackendRenderTargets::MakeMtl(metal_texture.width(), metal_texture.height(), mtl_info);
|
||||||
return SkSurfaces::WrapBackendRenderTarget(m_context.get(), backend_render_target, kTopLeft_GrSurfaceOrigin, kBGRA_8888_SkColorType, nullptr, nullptr);
|
return SkSurfaces::WrapBackendRenderTarget(m_context.get(), backend_render_target, kTopLeft_GrSurfaceOrigin, kBGRA_8888_SkColorType, nullptr, nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -101,7 +101,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "skia",
|
"name": "skia",
|
||||||
"version": "124#0"
|
"version": "129#0"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sqlite3",
|
"name": "sqlite3",
|
||||||
|
|||||||