office-gobmx/external/skia
Stephan Bergmann 5877c6b118 external/skia: Missing include
> In file included from workdir/UnpackedTarball/skia/third_party/vulkanmemoryallocator/GrVulkanMemoryAllocator.cpp:27:
> In file included from workdir/UnpackedTarball/skia/third_party/vulkanmemoryallocator/GrVulkanMemoryAllocator.h:35:
> workdir/UnpackedTarball/skia/third_party/vulkanmemoryallocator/include/vk_mem_alloc.h:2817:9: error: use of undeclared identifier 'snprintf'
>         snprintf(outStr, strLen, "%u", static_cast<unsigned int>(num));
>         ^

etc.

Change-Id: I4f13c8a137f23ef62d67c3b4dfa8f1c0ddfc5ec9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145552
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-01-16 08:48:45 +00:00
..
inc
source
allow-no-es2restrictions.patch.1
clang-attributes-warning.patch.1
clang11-flax-vector-conversion.patch.0
constexpr-template.patch.0
fast-png-write.patch.1
fix-alpha-difference-copy.patch.1
fix-ddi.patch
fix-graphite-ifdef.patch.1
fix-pch.patch.1
fix-warnings.patch.1
fix-windows-dwrite.patch.1
fix-without-gl.patch.1
fontconfig-get-typeface.patch.0
Library_skia.mk
make-api-visible.patch.1
Makefile
missing-include.patch.0
Module_skia.mk
no-trace-resources-on-exit.patch.1
README
share-grcontext.patch.1
skia_sk_cpu_sse_level_0_by_default.patch.1
swap-buffers-rect.patch.1
tdf148624.patch.1
ubsan.patch.1
UnpackedTarball_skia.mk
vk_mem_alloc.patch.1
windows-do-not-modify-logfont.patch.0
windows-force-unicode-api.patch.0
windows-libraries-system32.patch.1
windows-raster-surface-no-copies.patch.1
windows-text-gamma.patch.0
windows-typeface-directwrite.patch.0

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.