office-gobmx/external/skia
Patrick Luby 32eb29377c tdf#163945 present drawable immediately
It seems that -[MTLCommandBuffer presentDrawable:] doesn't
immediately replace the previous drawable on screen so I
assume that there is some default minimum display time for
drawables.

LibreOffice only invokes this method in a timer so let
LibreOffice control the rate of window updates by presenting
the drawable right now.

Change-Id: Ibd8d72bd6ea0303f9582264791cc4356bda62c13
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176879
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Tested-by: Jenkins
2024-11-21 14:46:32 +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
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.