c0ff5a8560
This is needed for enabling Skia's Vulkan backend for Flutter on Windows and iOS 9, as the standard libraries in both of these contexts don't have `std::shared_mutex`. When disabled on Windows, VMA falls back to using Win32 SRWLock. The `vulkan.h` import in `vk_mem_alloc.h` which would normally import `windows.h` is commented out for Skia, and so the relevant symbols need to be declared before importing `vk_mem_alloc.h`. Relevant Flutter Engine PR: https://github.com/flutter/engine/pull/29520 Change-Id: I2b1a621417155071b21e5c6d3b5ccc375c92a622 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/469207 Reviewed-by: Greg Daniel <egdaniel@google.com> Auto-Submit: Brandon DeRosier <bdero@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com> |
||
---|---|---|
.. | ||
angle2 | ||
brotli | ||
cpu-features | ||
d3d12allocator | ||
dng_sdk | ||
etc1 | ||
expat | ||
freetype2 | ||
harfbuzz | ||
icu | ||
imgui | ||
libjpeg-turbo | ||
libmicrohttpd | ||
libpng | ||
libwebp | ||
lua | ||
musl_compat | ||
native_app_glue | ||
oboe | ||
piex | ||
sfntly | ||
skcms | ||
spirv-cross | ||
vulkanmemoryallocator | ||
wuffs | ||
zlib | ||
BUILD.bazel | ||
BUILD.gn | ||
README | ||
third_party.gni |
The third_party directory contains a set of dependencies from outside sources that are needed to build various components and tools within Skia. Some of these dependencies reside within the Skia repo, while others are pulled from other repositories and placed in the third_party/externals directory during build. These external dependencies are defined in a DEPS file. Products in third_party are subject to their own respective license terms. The license for each project should be included in the source itself via a license header or file. If the source itself does not include a license header or file, create a README that refers to reliable documentation of the project's license terms on the web.