summaryrefslogtreecommitdiff
path: root/external/skia/README
blob: db0decdcb8eab1e79cc9065d5e025a42027cb976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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.