office-gobmx/external/skia
Stephan Bergmann 9bbed21307 external/skia: Avoid -std:c++20 with known-broken VS-provided clang-cl
...as witnessed with patch set 1 of
<https://gerrit.libreoffice.org/c/core/+/155121/1> "Bump baseline to C++20",

> In file included from C:/cygwin/home/tdf/lode/jenkins/workspace/gerrit_windows/workdir/UnpackedTarball/skia/src/base/SkBezierCurves.cpp:8:
> In file included from C:/cygwin/home/tdf/lode/jenkins/workspace/gerrit_windows/workdir/UnpackedTarball/skia\src/base/SkBezierCurves.h:10:
> C:/cygwin/home/tdf/lode/jenkins/workspace/gerrit_windows/workdir/UnpackedTarball/skia\include/private/base/SkSpan_impl.h(122,1): error: C++ requires a type specifier for all declarations
> SkSpan(Container&&) ->
> ^
> C:/cygwin/home/tdf/lode/jenkins/workspace/gerrit_windows/workdir/UnpackedTarball/skia/src/base/SkBezierCurves.cpp(185,12): error: use of class template 'SkSpan' requires template arguments
>     return SkSpan{intersectionStorage, intersectionCount};
>            ^
> C:/cygwin/home/tdf/lode/jenkins/workspace/gerrit_windows/workdir/UnpackedTarball/skia\include/private/base/SkSpan_impl.h(64,7): note: template is declared here
> class SkSpan {
>       ^

etc. (<https://ci.libreoffice.org/job/gerrit_windows/160027/>)

Change-Id: I6166f1cb49ac1540ec1c4d3bc3331c8b228efa27
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155228
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-08-02 15:21:48 +02:00
..
inc
source
0001-Added-missing-include-cstdio.patch
allow-no-es2restrictions.patch.1
clang-attributes-warning.patch.1
clang11-flax-vector-conversion.patch.0
fix-alpha-difference-copy.patch.1
fix-ddi.patch
fix-pch.patch.1
fix-SkDebugf-link-error.patch.1
fix-warnings.patch.1
fix-windows-dwrite.patch.1
fix-without-gl.patch.1
fontconfig-get-typeface.patch.0
incomplete-type-SkImageGenerator.patch.1
incomplete.patch.0
Library_skia.mk
make-api-visible.patch.1
Makefile
Module_skia.mk
no-trace-resources-on-exit.patch.1
README
redefinition-of-op.patch.0
share-grcontext.patch.1
swap-buffers-rect.patch.1
tdf147342.patch.0
ubsan-missing-typeinfo.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.