7
0
Files
nodejs-electron/skia-system-vulkan-headers.patch

23 lines
935 B
Diff
Raw Normal View History

Accepting request 993568 from home:dziobian:gulgul-ultron:19 - New upstream release 19.0.11 * Fixed webContents.getUserAgent() incorrectly returning an empty string unless previously set. * Disabled GPU acceleration on VMware on Linux. - New upstream release 19.0.10 * Added support for --ozone-platform-hint flag. * Fixed inertial scroll is broken when the scrollable element has an overlay with pointer-events: none. - Do not use non-free closure compiler JAR during compilation. - Use system jpeg-xl and XNVCtrl also on Tumbleweed. - Use system libyuv on Tumbleweed. * libyuv.gn - Make nodejs-electron-devel require zlib-devel instead of shipping own headers. * no-zlib-headers.patch * add -lz to LDFLAGS in electron-16-system-node-headers.patch - Use system toolchain, incl. nasm, ply, flatc * flatbuffers.gn * system-nasm.patch * system-pydeps.patch - Thorough cleanup of various other third party libraries from source tarball. * do-not-build-libvulkan.so.patch * libsecret.gn * node-system-icu.patch * skia-system-vulkan-headers.patch * system-six.patch * system-usb_ids.patch * Adjust system-gtest.patch to also account for the second googletest copy in electron_node - Re-enable full debuginfo on x64 for everything except Blink and v8, which fails to build due to heavy template use. * adjust chromium-102-compiler.patch * nasm-generate-debuginfo.patch - Fix build of EXPERIMENTAL ix86 and arm7hf ports by using the LLVM linker (lld) on these platforms. * Note that ix86 requires SSE2 instructions (that means Pentium 4 / Pentium M / Atom or equivalent) OBS-URL: https://build.opensuse.org/request/show/993568 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=26
2022-08-08 08:46:02 +00:00
Unbundle only Skia's vulkan headers. ANGLE needs the bleeding-edge ones in vulkan-deps
--- a/third_party/skia/include/gpu/vk/GrVkVulkan.h
+++ b/third_party/skia/include/gpu/vk/GrVkVulkan.h
@@ -11,7 +11,7 @@
#include "include/core/SkTypes.h"
#if SKIA_IMPLEMENTATION || !defined(SK_VULKAN)
-#include "include/third_party/vulkan/vulkan/vulkan_core.h"
+#include <vulkan/vulkan_core.h>
#else
// For google3 builds we don't set SKIA_IMPLEMENTATION so we need to make sure that the vulkan
// headers stay up to date for our needs
@@ -21,7 +21,7 @@
#ifdef SK_BUILD_FOR_ANDROID
// This is needed to get android extensions for external memory
#if SKIA_IMPLEMENTATION || !defined(SK_VULKAN)
-#include "include/third_party/vulkan/vulkan/vulkan_android.h"
+#include <vulkan/vulkan_android.h>
#else
// For google3 builds we don't set SKIA_IMPLEMENTATION so we need to make sure that the vulkan
// headers stay up to date for our needs