forked from amazingfate/loongoffice
9c9a711ac5d8f32ac318d0e4ecab7b3a26bc2150 "Update skia to m111" had removed the
whole external/skia/missing-include.patch.0, including the part added by
5877c6b118c99c9ec807a111471bfd67720a5086 "external/skia: Missing include" (for
snprintf in
workdir/UnpackedTarball/skia/third_party/vulkanmemoryallocator/include/vk_mem_alloc.h),
even though at least my GCC 13 trunk build still requires that. However, the
comment at
<https://gerrit.libreoffice.org/c/core/+/145552/2#message-7fad3bfd39568500aa66b1c03dfd1670dad636f2>
"external/skia: Missing include" pointed out that this "landed upstream at
29d492b60c",
so switch to using a git-format-patch of that (slightly hand-edited to fix up
the path of that project's vk_mem_alloc.h as included in the Skia tarball, and
to cater for that file's usage of CRLF line endings).
Change-Id: I31192b6e0aaf355d5cfee96badc59903ab592aae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146365
Reviewed-by: Sam James <sam@gentoo.org>
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
External package containing skia. https://skia.org/ How to update the tarball: ========================== git clone https://skia.googlesource.com/skia.git cd skia git checkout chrome/mXX id=$(git rev-parse chrome/mXX) git clean -idx rm -rf .git gitignore infra modules/canvaskit resources site cd .. tar cvJf skia-mXX-$id.tar.xz skia (where XX refers to the branch version) And review differences for BUILD.gn and relevant files in gn/ : git diff chrome/mYY..chrome/mXX ./BUILD.gn ./gn Debugging Skia: =============== Note that Skia is always built optimized, unless you use --enable-skia=debug. GrContext sharing: ================== For details about the share-grcontext patch, see vcl/skia/README.