office-gobmx/external/skia
Patrick Luby cd983f0af4 Related: tdf#152703 Reuse existing CAMetalLayer to stop flicker
When live resizing a window, replacing the CAMetalLayer with each
resize event repaints the window's background which causes a
noticeable flicker. So reuse any existing CAMetalLayer already
assigned to the native view.

Change-Id: I03bda5f0d40b84606b6602961e5f0d3b0dfcc6ba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177921
Tested-by: Jenkins
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
2024-12-06 15:06:13 +01:00
..
inc
source
0001-Added-missing-include-cstdio.patch
allow-no-es2restrictions.patch.1
always_inline_and_multiversioning_conflict.patch.1
clang-attributes-warning.patch.1
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.1
help-msvc-analyzer.patch
Library_skia.mk
macosmetal.patch.1 Related: tdf#152703 Reuse existing CAMetalLayer to stop flicker 2024-12-06 15:06:13 +01:00
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
ubsan-missing-typeinfo.patch.1
ubsan.patch.1
UnpackedTarball_skia.mk
vk_mem_alloc.patch.1
windows-define-conflict.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.1

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

The libreoffice Library_skia.mk file has been ordered and commented to make it easier to match
up the changes in the external *.gn build files with the changes needed here.


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.