Skip to content
/ skia Public
forked from google/skia
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge of main #33

Open
wants to merge 10,000 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
0b74d5c
[infra] Remove P400 jobs from CQ
erock2112 Nov 18, 2024
0d24bd3
Revert "[infra] Remove P400 jobs from CQ"
erock2112 Nov 18, 2024
b79e712
SkCrabbyAvifCodec: Compute fGainmapMathColorSpace
vigneshvg Nov 6, 2024
6af378b
SkCrabbyAvifCodec: Add RGB565 support
vigneshvg Nov 18, 2024
492e834
add triangulated gradient effect
Nov 18, 2024
8d652f1
Remove TODOs in GNI exporter tool
kjlubick Nov 15, 2024
17601e4
Roll vulkan-deps from 59ce475cae66 to 824ef0f736ed (4 revisions)
Nov 19, 2024
998115f
Roll Dawn from 3fc6432bcc2f to 6898ea1d553e (11 revisions)
Nov 19, 2024
be4fda8
[rust png] Fix -Wprivate-header warning for raster pipeline headers.
anforowicz Nov 19, 2024
4583a4c
Roll Skia Infra from 523dc313e7a2 to b51256461a37 (5 revisions)
Nov 19, 2024
8a1a845
Roll SwiftShader from 4d3a7b64279f to 4074d9674b3e (1 revision)
Nov 19, 2024
0b74a1b
Revert "Remove TODOs in GNI exporter tool"
rphilli Nov 19, 2024
d7f8ccc
Revert "add triangulated gradient effect"
rphilli Nov 19, 2024
ab25ede
Roll ANGLE from 15492c9bc44d to 987cc0de1d4c (13 revisions)
Nov 19, 2024
ff61bb3
Minor cleanups to SkBitmapDevice
kjlubick Nov 18, 2024
cea83cc
Remove extra spaces from MeshGradientSlide
kjlubick Nov 19, 2024
aa29a51
Ganesh supports getting GPU time spent on a flush
bpsalomon Nov 19, 2024
78ef6b7
Remove promotions of gradient eval from half to float.
jvanverth Nov 18, 2024
673706a
[ganesh] Fix artifacts from looping colorizer.
jvanverth Nov 19, 2024
95c1432
Refactoring proxy for FontConfig out of FontMgr
Rusino Oct 31, 2024
a789d03
SkCrabbyAvifCodec: Make a copy of the image before scaling
vigneshvg Nov 19, 2024
e5336f4
SkCrabbyAvifCodec: Set mediacodec color format
vigneshvg Nov 19, 2024
a694b9e
[graphite] Fix up Context's recorder tracking thread safety
rphilli Nov 19, 2024
f194782
Reland "Remove TODOs in GNI exporter tool"
kjlubick Nov 15, 2024
0df35d0
Roll vulkan-deps from 824ef0f736ed to 867065ecbb6a (2 revisions)
Nov 19, 2024
d776efd
Fix invalid cross-device link error in deps_parser
kjlubick Nov 19, 2024
2614590
Show timer queries for Ganesh/GL in Viewer stats
bpsalomon Nov 19, 2024
700e685
Roll Dawn from 6898ea1d553e to 839eadc23139 (13 revisions)
Nov 20, 2024
37b9248
Roll Skia Infra from b51256461a37 to 7fb17334e756 (10 revisions)
Nov 20, 2024
bd78791
Roll vulkan-deps from 867065ecbb6a to 3c7156644de7 (4 revisions)
Nov 20, 2024
002a378
Roll ANGLE from 987cc0de1d4c to 74f74b63df26 (11 revisions)
Nov 20, 2024
408436a
Clamp alpha in SkScan_AAAPath to int32_max to avoid integer overflow.
danieldilan Nov 19, 2024
75a1d2b
Uses newer APIs for device.PopErrorScope in DawnErrorChecker.
lokokung Nov 16, 2024
05638ee
Reland "add triangulated gradient effect"
kjlubick Nov 19, 2024
cfffcca
Fix verylarge_picture on Adreno Vulkan.
jvanverth Nov 19, 2024
eea8b56
[graphite] Add a more robust threaded Compile/Precompile test
rphilli Nov 20, 2024
a30b15c
Fix Vello build rules
kjlubick Nov 20, 2024
32c01e7
Reland "SkCodec: Remove the sysprop guard for SkCrabbyAvifCodec"
vigneshvg Nov 20, 2024
6f4ee16
Roll vulkan-deps from 3c7156644de7 to 94069332c202 (11 revisions)
Nov 20, 2024
9e1943a
Roll Dawn from 839eadc23139 to d2ad5a36f4e6 (15 revisions)
Nov 21, 2024
b50282b
Roll Skia Infra from 7fb17334e756 to 2b2d3ae5900c (7 revisions)
Nov 21, 2024
e2487d5
Roll ANGLE from 74f74b63df26 to 1f0ac74a7a93 (13 revisions)
Nov 21, 2024
aa4e5a2
[graphite] Add more Test job suppressions for Dawn thread race
rphilli Nov 21, 2024
b33556c
[graphite] Remove deprecated Precompile API call
rphilli Nov 21, 2024
608f252
[rust png] Integrate `cICP` support into `SkPngRustCodec`.
anforowicz Nov 19, 2024
0586d90
Manual roll vulkan-deps from 94069332c202 to fc122129fa28 (8 revisions)
Nov 21, 2024
d1e1390
Making fontStyle and fixedPitch fields "virtual"
Rusino Nov 21, 2024
e4528e2
Revert "Making fontStyle and fixedPitch fields "virtual""
Rusino Nov 21, 2024
af63f62
Roll Dawn from d2ad5a36f4e6 to eef82f6f51a2 (16 revisions)
Nov 22, 2024
6cdab39
Roll Skia Infra from 2b2d3ae5900c to 808d8a5c3b87 (6 revisions)
Nov 22, 2024
0cf740b
Roll vulkan-deps from fc122129fa28 to 6c717e914923 (5 revisions)
Nov 21, 2024
715885a
Roll ANGLE from 1f0ac74a7a93 to 10c2dc7a1b4b (14 revisions)
Nov 22, 2024
e7caf38
Reland "Making fontStyle and fixedPitch fields "virtual""
Rusino Nov 22, 2024
14a0229
Roll skottie-base from a049ff55ff14 to c0ad379b6c58
Nov 22, 2024
c3d9596
[graphite] Allow clients to configure active logging level
nscobie Nov 22, 2024
6a3f771
Roll vulkan-deps from 6c717e914923 to 9071e1ad430c (4 revisions)
Nov 22, 2024
ded8ab4
Roll vulkan-deps from 9071e1ad430c to 73e40f43c062 (1 revision)
Nov 23, 2024
01a3a55
Revert "Reland "SkCodec: Remove the sysprop guard for SkCrabbyAvifCod…
vigneshvg Nov 24, 2024
384388a
Roll Dawn from eef82f6f51a2 to d9e006bae4a7 (11 revisions)
Nov 25, 2024
7588789
Roll Skia Infra from 808d8a5c3b87 to f433991c6d8e (5 revisions)
Nov 25, 2024
12c8bd6
Update build-tools (clang-format)
kjlubick Nov 22, 2024
e7b2772
[graphite] Fix texture matrix for asyncReadPixelsYUV420
lhkbob Nov 25, 2024
594eb8a
Make SkGlyph and GrDriverBugWorkarounds trivially destructible
kjlubick Nov 22, 2024
2135f39
Fix DefaultImageProvider::Make() leak
Nov 25, 2024
9ce6b60
Roll skottie-base from c0ad379b6c58 to e4021a6fc9aa
Nov 25, 2024
55d1b99
Roll jsfiddle-base from 034839b9814b to 99d4627f212e
Nov 25, 2024
2fef292
Roll shaders-base from 99b73d05cdae to 7bdb025e3cbb
Nov 25, 2024
3f04cef
Roll debugger-app-base from 931df19ec335 to 9e05eb5b9edb
Nov 25, 2024
f993d92
Roll skottie-base from e4021a6fc9aa to 52028e548417
Nov 25, 2024
bd93fdd
Save 16 bytes on GrContextOptions allocations* by reordering fields
kjlubick Nov 22, 2024
849d893
Use SkSafe32 functions when adding/subtracting deltas.
danieldilan Nov 25, 2024
f37481a
Change window::DisplayParams to be immutable and passed by pointer
kjlubick Nov 25, 2024
070384a
Roll vulkan-deps from 73e40f43c062 to 64698c1a35b2 (1 revision)
Nov 25, 2024
cf29335
[rust png] Build / sources organization: Separate `decoder/` directory.
anforowicz Nov 25, 2024
c1c8ff8
Revert "Change window::DisplayParams to be immutable and passed by po…
danieldilan Nov 25, 2024
b697dd1
Roll Dawn from d9e006bae4a7 to 27f9f8696a43 (12 revisions)
Nov 26, 2024
8d9d892
Roll Skia Infra from f433991c6d8e to dbdf344026c9 (10 revisions)
Nov 26, 2024
d7a267d
Disable strict aliasing for PartitionAlloc in Skia
ArthurSonzogni Nov 25, 2024
a276978
Roll vulkan-deps from 64698c1a35b2 to 915d114daeb2 (11 revisions)
Nov 26, 2024
f149f85
[rust png] Update `cxx` from 1.0.128 to 1.0.131.
anforowicz Nov 25, 2024
1499d07
Reland "Change window::DisplayParams to be immutable and passed by po…
kjlubick Nov 26, 2024
8e95823
Extract tools/graphite/GraphiteToolUtils as its own files
kjlubick Nov 26, 2024
d13fff5
Inline GpuToolUtils MakeTextureImage
kjlubick Nov 26, 2024
dd70c8e
[rust png] Extract a separate `src/codec:png_codec_base` Bazel target.
anforowicz Nov 26, 2024
dce3f09
Roll ANGLE from 10c2dc7a1b4b to cecefe53430a (29 revisions)
Nov 26, 2024
2ca0469
[rust png] Revert adding `png_codec_base_...` to `skia_codec_rust_png`.
anforowicz Nov 26, 2024
6377252
[rust png] Delete `SkPngRustDecoder.h` from the old location.
anforowicz Nov 26, 2024
6a2fecc
Roll vulkan-deps from 915d114daeb2 to 08d21277b1a1 (3 revisions)
Nov 26, 2024
612f1a8
Roll debugger-app-base from 9e05eb5b9edb to e9a6ea69ff3d
Nov 27, 2024
5328376
Roll jsfiddle-base from 99d4627f212e to fb2d48f7af98
Nov 27, 2024
463cab9
Roll shaders-base from 7bdb025e3cbb to 9481c3eb25d2
Nov 27, 2024
0e38965
Roll skottie-base from 52028e548417 to bd94aa86becd
Nov 27, 2024
51bca8b
Enable gpu timer query for Graphite/Dawn
bpsalomon Nov 25, 2024
9941160
Roll Dawn from 27f9f8696a43 to 01354c07cdb2 (21 revisions)
Nov 27, 2024
667639e
Roll Skia Infra from dbdf344026c9 to 594fe3cae8c3 (7 revisions)
Nov 27, 2024
7abea85
Roll vulkan-deps from 08d21277b1a1 to ecc3cdc4d28b (1 revision)
Nov 27, 2024
44f4ed4
Roll ANGLE from cecefe53430a to 2e25ea1e727e (8 revisions)
Nov 27, 2024
b3604d0
Squelch warning with microhttplib and newer GCC versions
kjlubick Nov 27, 2024
d4b7690
Remove sk_path_analyze_verbs() from include/private
kjlubick Nov 26, 2024
8bece5d
Roll skcms from 2c7a7bff0512 to d4f01d560853 (1 revision)
Nov 27, 2024
b8005bb
Make SK_NO_SANITIZE more compatible with GCC
kjlubick Nov 27, 2024
0a83b7b
Fix SIMD compilation error for GCC 8.x and below
kjlubick Nov 27, 2024
5e2f293
Remove redundant SkDoubleIsNaN function
kjlubick Nov 25, 2024
5e0cf5f
Reland "Reland "SkCodec: Remove the sysprop guard for SkCrabbyAvifCod…
epeevs Nov 27, 2024
cc30894
Roll vulkan-deps from ecc3cdc4d28b to b7e10ed68dd0 (10 revisions)
Nov 28, 2024
8bc8ca3
Roll Dawn from 01354c07cdb2 to 5a657da0d714 (18 revisions)
Nov 28, 2024
891f94a
Roll Skia Infra from 594fe3cae8c3 to b24f37dbbe4a (5 revisions)
Nov 28, 2024
f09e3b3
Roll ANGLE from 2e25ea1e727e to 2dc072ec71cc (8 revisions)
Nov 28, 2024
fc70eda
Roll vulkan-deps from b7e10ed68dd0 to dad165201f86 (3 revisions)
Nov 28, 2024
565851f
Roll Skia Infra from b24f37dbbe4a to 846022101a6f (2 revisions)
Nov 29, 2024
d834043
Roll vulkan-deps from dad165201f86 to ef4dc615f82d (3 revisions)
Nov 29, 2024
554b798
Roll ANGLE from 2dc072ec71cc to a2d76f039918 (10 revisions)
Nov 29, 2024
904fcf7
Roll vulkan-deps from ef4dc615f82d to d897b7ac1f75 (1 revision)
Nov 30, 2024
4ba3819
Roll vulkan-deps from d897b7ac1f75 to e0222e69ea90 (1 revision)
Dec 1, 2024
d0510ab
Roll Skia Infra from 846022101a6f to 963fb6511438 (2 revisions)
Dec 2, 2024
86da725
Roll ANGLE from a2d76f039918 to f7cac0bb8d2f (6 revisions)
Dec 2, 2024
e83f11f
Add Rust-based PNG decoder tests to CQ
kjlubick Dec 2, 2024
f264070
[graphite] Update GraphiteDawnTestContext to new Adapter interface
jvanverth Dec 2, 2024
cfd8dd1
Update SkVideoEncoder for new ffmpeg
fmalita Dec 2, 2024
d7751d3
Minor cleanups with AutoSTArray and AutoSTMalloc
kjlubick Nov 26, 2024
0ba64a4
[graphite] Fix issue with combining clips.
jvanverth Nov 26, 2024
944fa88
Revert "Minor cleanups with AutoSTArray and AutoSTMalloc"
kjlubick Dec 2, 2024
fea6538
[graphite] Missed one WebGPU adapter change
jvanverth Dec 2, 2024
cfb2537
Roll skcms from d4f01d560853 to b2e692629c1f (1 revision)
Dec 2, 2024
2c4ce1d
Manual roll Dawn from 5a657da0d714 to dbff5894310b (35 revisions)
Dec 2, 2024
ac934b9
[rust png] Minimal build and test scaffolding for `SkPngRustEncoder`.
anforowicz Dec 2, 2024
cd49e79
Roll vulkan-deps from e0222e69ea90 to ff00298c3058 (1 revision)
Dec 2, 2024
3db026d
Roll skottie-base from bd94aa86becd to 04ad645c0403
Dec 2, 2024
fee6d35
Roll Dawn from dbff5894310b to ecd0b68434f4 (18 revisions)
Dec 3, 2024
d6d1feb
Roll Skia Infra from 963fb6511438 to 667c4e94b4a5 (4 revisions)
Dec 3, 2024
8dc8bdc
Roll vulkan-deps from ff00298c3058 to 6fe136aa8572 (9 revisions)
Dec 3, 2024
1f2b818
Roll ANGLE from f7cac0bb8d2f to 7adbb3e81110 (7 revisions)
Dec 3, 2024
eb9fc76
SkFontMgr_Android refactoring
Rusino Nov 12, 2024
e02d856
Reland "Minor cleanups with AutoSTArray and AutoSTMalloc"
kjlubick Dec 3, 2024
4ad05fb
Roll vulkan-deps from 6fe136aa8572 to ef19ac786024 (4 revisions)
Dec 3, 2024
c21438c
Roll Dawn from ecd0b68434f4 to e0d7445de8cd (17 revisions)
Dec 4, 2024
c9647f1
Roll Skia Infra from 667c4e94b4a5 to 2d420a4dcfc4 (3 revisions)
Dec 4, 2024
1150377
[svg] Conditional debugging
fmalita Oct 23, 2024
d819d03
Roll skottie-base from 04ad645c0403 to 32e4afed6d80
Dec 4, 2024
f9a9483
Catch some excessive loop cases in GrTriangulator.
jvanverth Dec 4, 2024
d60cf8a
Roll ANGLE from 7adbb3e81110 to 0bb109aa3311 (14 revisions)
Dec 4, 2024
a883bc7
Help type deduction for old compilers
kjlubick Nov 27, 2024
9ea2117
Slightly improve readability of SkSwizzler_opts
kjlubick Nov 27, 2024
dfe489f
Roll Dawn from e0d7445de8cd to 3ee07d9e3ba7 (18 revisions)
Dec 5, 2024
ffc90e2
Roll Skia Infra from 2d420a4dcfc4 to 73c103d87739 (7 revisions)
Dec 5, 2024
21e8390
Roll vulkan-deps from ef19ac786024 to 0846b50db6b1 (6 revisions)
Dec 4, 2024
25b55ea
Roll ANGLE from 0bb109aa3311 to e42047f0bbac (16 revisions)
Dec 5, 2024
10670fe
Add graphite-specific version of tools/DisplayParams
kjlubick Dec 2, 2024
7aaa2ad
[graphite] Support mipmapped deferred canvases
Dec 5, 2024
e94e63e
Address some numerical instability in SkRRect::transform
rphilli Dec 4, 2024
07cd080
[ganesh] Check index count for overflow for good measure
lhkbob Dec 2, 2024
c36e847
[rust png] Test that can detect encoding RGB vs RGBA mismatch.
anforowicz Dec 5, 2024
ec0ab7d
[rust png] Extract `SkPngEncoderBase::getTargetInfo`.
anforowicz Dec 5, 2024
4f24819
Show timer queries for Graphite/Dawn in Viewer stats
bpsalomon Dec 3, 2024
a56089f
[rust png] Extract `SkPngEncoderBase::onEncodeRows`.
anforowicz Dec 5, 2024
2944c92
[rust png] Integrate Rust `png` crate into `SkPngRustEncoderImpl`.
anforowicz Dec 5, 2024
3239bd3
Ignore all deferred canvas tests in Protected configs
Dec 5, 2024
526e7f7
[graphite] Allow providing unused target surface on replay
Dec 5, 2024
57c443f
[graphite] Add a test for unused target surface on replay
Dec 5, 2024
adb3da0
Manual roll Dawn from 3ee07d9e3ba7 to 38268c8df30d (12 revisions)
Dec 5, 2024
47f59c4
Remove JSON output from public API of SkSLDebugTrace
kjlubick Dec 5, 2024
345450d
Move SkJSON.h to //modules/jsonreader
kjlubick Dec 5, 2024
5154822
Roll vulkan-deps from 0846b50db6b1 to 11d17e6bd029 (6 revisions)
Dec 5, 2024
3fa455f
Roll Skia Infra from 73c103d87739 to 48b61740d60f (9 revisions)
Dec 6, 2024
d616d92
Roll Dawn from 38268c8df30d to 1e61e82b1b7a (6 revisions)
Dec 6, 2024
ccfe075
Revert "[rust png] Extract `SkPngEncoderBase::onEncodeRows`."
jvanverth Dec 6, 2024
b5d22cf
Revert "Move SkJSON.h to //modules/jsonreader"
jvanverth Dec 6, 2024
3296764
Revert "Remove JSON output from public API of SkSLDebugTrace"
jvanverth Dec 6, 2024
bb7aebe
Reapply "[rust png] Extract `SkPngEncoderBase::onEncodeRows`."
anforowicz Dec 6, 2024
90564e8
Manual roll Dawn from 1e61e82b1b7a to 92c3ee90cfff (9 revisions)
Dec 6, 2024
144fe2a
Initialize decompress struct with libjpeg-turbo's API
danieldilan Dec 6, 2024
eecb5a5
Revert "Initialize decompress struct with libjpeg-turbo's API"
danieldilan Dec 6, 2024
0d94e96
Support PNG gainmaps
AMouri Dec 5, 2024
4c32000
Reland "Initialize decompress struct with libjpeg-turbo's API"
danieldilan Dec 6, 2024
56388fd
Roll vulkan-deps from 11d17e6bd029 to 94052ee8a2fb (2 revisions)
Dec 6, 2024
c9e9ce2
[dawn][headers] Update uses to new APIs and enums in buffer/queue.
lokokung Dec 3, 2024
b37f143
[rust png] Fix which `.gni` list covers `UtilsForFFI.h`.
anforowicz Dec 6, 2024
d1e261c
[Graphite]: Use DawnTexelCopyBufferRowAlignment
jchen10 Dec 6, 2024
8410bc8
Roll vulkan-deps from 94052ee8a2fb to 4e376146509a (4 revisions)
Dec 7, 2024
c1885d0
Roll ANGLE from e42047f0bbac to 76691d278280 (4 revisions)
Dec 6, 2024
76c51c6
Manual roll Dawn from 92c3ee90cfff to 324cda6fe640 (10 revisions)
Dec 7, 2024
295a9e2
Roll vulkan-deps from 4e376146509a to aa3fe5f2f1c8 (1 revision)
Dec 8, 2024
96b018c
Roll vulkan-deps from aa3fe5f2f1c8 to a28df2bbdf42 (1 revision)
Dec 8, 2024
c80d660
Roll SwiftShader from 4074d9674b3e to d91e98d1aa3f (1 revision)
Dec 9, 2024
ac432c0
Roll Skia Infra from 48b61740d60f to ca6066d7097c (7 revisions)
Dec 9, 2024
477c83c
Roll Dawn from 324cda6fe640 to 22a8762fea90 (3 revisions)
Dec 9, 2024
0971c20
Roll vulkan-deps from a28df2bbdf42 to 61b3802219e0 (1 revision)
Dec 9, 2024
afa7785
Roll ANGLE from 76691d278280 to f5196a27b9b6 (5 revisions)
Dec 9, 2024
e78dd02
Reland "Remove JSON output from public API of SkSLDebugTrace"
kjlubick Dec 6, 2024
50531c3
Add placeholder files for jsonreader
kjlubick Dec 6, 2024
77318d7
[rust png] Update Skia => `png` dependency to version 0.17.15.
anforowicz Dec 7, 2024
14f8f6d
Update GN build to allow for rust PNG decoding only
kjlubick Dec 9, 2024
7752438
Tidy up AAClipTest.cpp
kjlubick Dec 9, 2024
4c5f736
[rust png] Support different compression levels in `SkPngRustEncoder`.
anforowicz Dec 6, 2024
3a58be4
[gn] Use the correct host toolchain in run_sksllex
Dec 9, 2024
74d6f38
Set FragmentState::constants
Dec 5, 2024
e11d707
[rust png] Support for encoding `tEXt` chunks.
anforowicz Dec 9, 2024
9495576
Roll vulkan-deps from 61b3802219e0 to 7d074a6edc2d (6 revisions)
Dec 10, 2024
6ff570f
Roll Dawn from 22a8762fea90 to 6f3bd8a864bf (13 revisions)
Dec 10, 2024
23c2970
Roll SwiftShader from d91e98d1aa3f to 7e54d43d6905 (1 revision)
Dec 10, 2024
bd7d952
Roll Skia Infra from ca6066d7097c to a42d0274444b (4 revisions)
Dec 10, 2024
df9fc62
Make SkAAClip not reject large paths if clip is small enough.
kjlubick Dec 9, 2024
b8c0d7c
add missing includes for the build with use_libcxx_modules
atetubou Dec 10, 2024
d541f1a
Reapply "Move SkJSON.h to //modules/jsonreader"
kjlubick Dec 9, 2024
9d993ac
Fix IWYU after recent change
kjlubick Dec 10, 2024
e4d2c3d
Roll FreeType from 83af801b to 59320b2d (16 commits)
Dec 5, 2024
854eb19
Roll vulkan-deps from 7d074a6edc2d to b5e5616193ec (5 revisions)
Dec 10, 2024
b2f13d9
Update IWYU map to make better suggestions around std::swap and std::…
kjlubick Dec 10, 2024
830bc24
Remove SK_PDF_BASE85_BINARY and SK_PDF_LESS_COMPRESSION
kjlubick Dec 10, 2024
6dc8d28
Roll Dawn from 6f3bd8a864bf to 052be48b9a1a (13 revisions)
Dec 11, 2024
79a7b95
Roll ANGLE from f5196a27b9b6 to 9b8cf765f634 (26 revisions)
Dec 11, 2024
eb3957f
Manual roll Dawn from 052be48b9a1a to 01d91c0571a2 (7 revisions)
Dec 11, 2024
8392cd4
Manual roll vulkan-deps from b5e5616193ec to 769bd5140c26 (8 revisions)
Dec 11, 2024
56cd45b
Clamp index values in SkVertices factories
fmalita Dec 10, 2024
77f179b
Revert "Reland "Reland "SkCodec: Remove the sysprop guard for SkCrabb…
vigneshvg Dec 11, 2024
e2dbafe
Roll Skia Infra from a42d0274444b to 0849df86a686 (7 revisions)
Dec 11, 2024
8b0127a
[graphite] Rename snippet requirement flag to more clearly express pu…
Dec 10, 2024
0aec6f7
[graphite] Force ordered recordings in nanobench.
jvanverth Dec 11, 2024
5bf2055
[rust png] Silence `unused_unsafe` warning in `cxx`-generated code.
anforowicz Dec 11, 2024
9978863
Link in jsonreader library
kjlubick Dec 11, 2024
9bd4c54
Rename SkSLProgramSettings variable to be more precise
Dec 11, 2024
fca80dc
Apply rewrite_includes.py diffs
kjlubick Dec 11, 2024
905e123
Move free functions in SkCodecPriv into class namespace
kjlubick Dec 11, 2024
3610527
Roll Skia Infra from 0849df86a686 to 9513bbe24fc9 (7 revisions)
Dec 12, 2024
f4a552a
Roll Dawn from 01d91c0571a2 to cf71700f44a8 (23 revisions)
Dec 12, 2024
b3a5771
Roll vulkan-deps from 769bd5140c26 to 83e6ead8ab3b (1 revision)
Dec 11, 2024
8699f9d
Roll ANGLE from 9b8cf765f634 to e9b33f04020e (12 revisions)
Dec 12, 2024
7211115
Make AUTHORS non-executable
kjlubick Dec 12, 2024
0ce7d00
Fix style and axis scanning for variable fonts
Dec 5, 2024
f2ece3a
[graphite] Reduce switching in colorspace shader
Dec 12, 2024
ef86383
[graphite] Reset wgpu::BindGroup caches in freeGpuResources()
lhkbob Dec 10, 2024
16e728a
[graphite] Add note and single-owner assertion to dumpMemoryStatistics()
lhkbob Dec 10, 2024
6262b88
Prevent bazelisk from falling back to newer Bazel versions when not p…
kjlubick Dec 12, 2024
c48bde1
[graphite] Expand logging/tracing of significant precompile events
rphilli Dec 12, 2024
f0fe92f
[graphite] Add Tracing of Pipelines being purged from the Pipeline Cache
rphilli Dec 12, 2024
0dd71ca
webgpu: Use featureLevel instead of compatibility
beaufortfrancois Dec 12, 2024
1971814
Roll vulkan-deps from 83e6ead8ab3b to b56cde80dd49 (8 revisions)
Dec 12, 2024
424ae7e
[graphite] Stub in ClipAtlasManager.
jvanverth Dec 12, 2024
b6d30e8
[graphite] Add trace for bad Pipeline Purge
rphilli Dec 12, 2024
8a888c4
[graphite] Add fRequireOrderedRecordings ContextOption.
jvanverth Dec 12, 2024
ac6f2ee
[graphite] Fix Build-Mac-Clang-arm64-Debug-Graphite_Dawn_Metal_NoGpu …
rphilli Dec 13, 2024
ffdbcb0
Roll Dawn from cf71700f44a8 to b8306de17c9a (15 revisions)
Dec 13, 2024
9e2547e
Roll Skia Infra from 9513bbe24fc9 to 9513e7cc4063 (5 revisions)
Dec 13, 2024
8c1e2bf
Roll SwiftShader from 7e54d43d6905 to c0fe4d40475b (1 revision)
Dec 13, 2024
ce1a876
Roll vulkan-deps from b56cde80dd49 to 034518ee55a5 (6 revisions)
Dec 13, 2024
5f7135a
Roll ANGLE from e9b33f04020e to c75bd915ec7d (4 revisions)
Dec 13, 2024
4adb37a
[Graphite] Add public APIs for setting cache limits.
egdaniel Dec 13, 2024
2a3d545
Remove unnecessary const qualifiers from single char params
kjlubick Dec 13, 2024
8054b09
Update delaunator to read from GoB mirror
kjlubick Dec 10, 2024
907aca8
Roll vulkan-deps from 034518ee55a5 to e1632bb25177 (5 revisions)
Dec 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .bazelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
infra/bots/.recipe_deps
19 changes: 19 additions & 0 deletions .bazelproject
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
directories:
.
-bin
-out
-node_modules
-third_party/externals

# Automatically includes all relevant targets under the 'directories' above
derive_targets_from_directories: false

targets:
# If source code isn't resolving, add additional targets that compile it here
//example:hello_world_vulkan
//example:hello_world_gl
additional_languages:
# Uncomment any additional languages you want supported
javascript
python
typescript
139 changes: 139 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
# https://bazel.build/concepts/platforms-intro#cxx
# This forces Bazel's C++ rules use platforms to select toolchains instead of the default
# --crosstool_top, --compiler, etc.
build --incompatible_enable_cc_toolchain_resolution

# We do not want Bazel to detect any C++ toolchains on the local machine
# https://github.com/bazelbuild/bazel/blob/4ccc21f2f089971e5f4032397764a4be3549c40a/tools/cpp/cc_configure.bzl#L47
build --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1

# We would like developers to not upload to the remote build cache, only the RBE workers themselves.
build --remote_upload_local_results=false

# Enforce stricter environment rules, which eliminates some non-hermetic behavior and therefore
# improves both the remote cache hit rate and the correctness and repeatability of the build.
build --incompatible_strict_action_env=true

# This tells Bazel that the host platform can use the hermetic toolchain. This is a small lie until
# Windows support is added.
build --host_platform=//bazel/platform:host_with_hermetic_toolchain
# Linux users (the only platform where we support remote builds currently) can add the following
# line (uncommented) to //bazel/user/buildrc to allow interchangeable operation between local
# operations and remote operations.
# build --host_platform=//bazel/platform:linux_x64_hermetic

# Register our toolchains. We do this here, and not in WORKSPACE.bazel because
# --extra_toolchains has priority over register_toolchains and we conditionally add some toolchains
# for RBE.
build --extra_toolchains=//toolchain:clang_ios_arm64_toolchain
build --extra_toolchains=//toolchain:clang_linux_x64_toolchain
build --extra_toolchains=//toolchain:clang_mac_x64_toolchain
build --extra_toolchains=//toolchain:clang_mac_arm64_toolchain
build --extra_toolchains=//toolchain:clang_host_mac_x64_target_mac_arm64_toolchain
build --extra_toolchains=//toolchain:clang_windows_x64_toolchain
build --extra_toolchains=//toolchain:linux_amd64_ndk_arm64_toolchain
build --extra_toolchains=//toolchain:linux_amd64_ndk_arm32_toolchain

# Hide DEBUG messages from Bazel.
# Many of these are things related to the git checkouts that are not relevent to devs.
# https://bazel.build/reference/command-line-reference#flag--ui_event_filters
build --ui_event_filters=-debug

# For some reason, since upgrading to Go v1.21 and rules_go v0.42.0, Go binaries fail at runtime
# with "fatal error: invalid function symbol table" unless we disable cgo via the below flag.
# Reference:
# https://github.com/bazelbuild/rules_go/blob/d74d9ab34e8789e6a55a2d9caf0e2b3c63202e04/go/modes.rst#build-settings.
build --@io_bazel_rules_go//go/config:pure

# =============================================================================
# Alias to build configurations below. This makes configuring things from
# the command line easier.

# Flags used by Skia tools, not to be used by clients
build --flag_alias=adb_platform=//tools/testrunners/common/android/adb_test_runner:adb_platform

# Public CanvasKit flags
build --flag_alias=ck_enable_fonts=//modules/canvaskit:enable_fonts
build --flag_alias=ck_disable_fonts=no//modules/canvaskit:enable_fonts
build --flag_alias=ck_enable_canvas_polyfill=//modules/canvaskit:enable_canvas_polyfill
build --flag_alias=ck_disable_canvas_polyfill=no//modules/canvaskit:enable_canvas_polyfill
build --flag_alias=ck_enable_embedded_font=//modules/canvaskit:include_embedded_font
build --flag_alias=ck_disable_embedded_font=no//modules/canvaskit:include_embedded_font
build --flag_alias=ck_enable_matrix_js=//modules/canvaskit:include_matrix_js
build --flag_alias=ck_disable_matrix_js=no//modules/canvaskit:include_matrix_js
build --flag_alias=ck_enable_skottie=//modules/canvaskit:enable_skottie
build --flag_alias=ck_disable_skottie=no//modules/canvaskit:enable_skottie
build --flag_alias=ck_enable_skp_serialization=//modules/canvaskit:enable_skp_serialization
build --flag_alias=ck_disable_skp_serialization=no//modules/canvaskit:enable_skp_serialization
build --flag_alias=ck_enable_runtime_effect=//modules/canvaskit:enable_runtime_effect
build --flag_alias=ck_disable_runtime_effect=no//modules/canvaskit:enable_runtime_effect
build --flag_alias=ck_enable_webgl=//modules/canvaskit:enable_webgl
build --flag_alias=ck_exclude_debugger=no//modules/canvaskit:build_for_debugger
build --flag_alias=ck_include_debugger=//modules/canvaskit:build_for_debugger

# =============================================================================
# REMOTE BUILD EXECUTION
# =============================================================================

# =====
# The following was copied from https://github.com/bazelbuild/bazel-toolchains/blob/ea243d43269df23de03a797cff2347e1fc3d02bb/bazelrc/bazel-4.1.0.bazelrc
# We should be free to modify this as we see fit.
#
# Depending on how many machines are in the remote execution instance, setting
# this higher can make builds faster by allowing more jobs to run in parallel.
# Setting it too high can result in jobs that timeout, however, while waiting
# for a remote machine to execute them.
build:remote --jobs=50

# Set several flags related to specifying the platform, toolchain and java
# properties.
build:remote --java_runtime_version=rbe_jdk
build:remote --tool_java_runtime_version=rbe_jdk

# When a remote configuration is chosen, add "remote" to the list of spawn_strategies.
build:remote --spawn_strategy=remote,sandboxed,local

# Enable remote execution so actions are performed on the remote systems.
build:remote --remote_executor=grpcs://remotebuildexecution.googleapis.com

# Some long running tasks are linking because the workers have relatively little RAM
# (at least as of now).
build:remote --remote_timeout=300

# Enable authentication. This will pick up application default credentials by
# default. You can use --google_credentials=some_file.json to use a service
# account credential instead.
# See https://developers.google.com/remote-build-execution/docs/authentication
# To authenticate, you should run gcloud auth application-default login
build:remote --google_default_credentials=true

# End of the copied RBE settings
#=====

# Use the RBE instance on the skia-rbe GCP project.
build:remote --remote_instance_name projects/skia-rbe/instances/default_instance

# The linxu_rbe config will build on RBE and default to compiling for linux_x64 using
# the hermetic toolchain.
build:linux_rbe --config=remote
# On the RBE instances, we also have the Java and C++ toolchain from the Docker image available.
# These need to come after the --extra_toolchains flags (above) that register our hermetic
# toolchains, because we only want these backup toolchains to be used by Bazel internals,
# if at all.
build:linux_rbe --extra_toolchains=//bazel/rbe/gce_linux/java:all
build:linux_rbe --extra_toolchains=//bazel/rbe/gce_linux/config:cc-toolchain
# Make the Linux platform available for selection as an Execution platform (if it is not already,
# e.g. on a Linux host)
build:linux_rbe --extra_execution_platforms=//bazel/platform:linux_x64_hermetic

# Import our specified build configurations
# https://docs.bazel.build/versions/main/best-practices.html#using-the-bazelrc-file
# We chose to split our build configurations into their own file to have better organization
# because we anticipate that file growing large.
import %workspace%/bazel/buildrc

# Device-specific configurations.
import %workspace%/bazel/devicesrc

# Import User's custom builds if they have defined any
try-import %workspace%/bazel/user/buildrc
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7.3.1
121 changes: 112 additions & 9 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
---
# Typical usage is to apply this to the lines you've modified in a local
# change. Stage your changes with "git add" and then run:
# change. Make sure to install git-clang-format [1] by adding it to your
# path and make it executable.
#
# Stage your changes with "git add" and then run:
# $ git clang-format
# You can optionally use the "--" file filter to restrict formatting to certain
# files or directories. The tool will display the list of files that were
# modified. These have been modified without being staged. You can review the
# modifications using "git diff".
#
# Some clients are running on older versions of clang-format, so please limit
# flag choices to options supported by clang-format version 10 and below.
# - XcodeClangFormat: clang-format 10
# - bin/clang-format: clang-format 11
# - brew: clang-format 14
#
# [1] https://source.chromium.org/chromium/chromium/src/+/HEAD:third_party/clang-format/script/git-clang-format
#
# IF YOU UPDATE THE CPP SECTION ALSO UPDATE THE OBJECTIVE-C SECTION. IF YOU
# KNOW HOW TO SHARE SETTINGS BETWEEN THE TWO YOU'RE A TRUE HERO.

Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -4
Expand All @@ -25,10 +39,101 @@ AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AlwaysBreakTemplateDeclarations: false
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Custom
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: true
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 100
CommentPragmas: '^ IWYU pragma:'
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 8
ContinuationIndentWidth: 8
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
IncludeCategories:
- Regex: '^<.*\.h>'
Priority: 1
- Regex: '^<.*'
Priority: 2
- Regex: '.*'
Priority: 3
IncludeIsMainRegex: '([-_](test|unittest))?$'
IndentCaseLabels: true
IndentWidth: 4
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: false
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Auto
TabWidth: 4
UseTab: Never
---
Language: ObjC
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlinesLeft: true
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: false
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
Expand All @@ -54,9 +159,9 @@ ContinuationIndentWidth: 8
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: true
ExperimentalAutoDetectBinPacking: false
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
IncludeCategories:
IncludeCategories:
- Regex: '^<.*\.h>'
Priority: 1
- Regex: '^<.*'
Expand All @@ -70,8 +175,6 @@ IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: 'SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_START'
MacroBlockEnd: 'SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_END'
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBlockIndentWidth: 2
Expand Down
27 changes: 27 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Checks: >
-*,
bugprone-argument-comment,
bugprone-bool-pointer-implicit-conversion,
bugprone-suspicious-string-compare,
bugprone-undelegated-constructor,
bugprone-unused-raii,
bugprone-use-after-move,
google-build-namespaces,
llvm-namespace-comment,
misc-definitions-in-headers,
misc-uniqueptr-reset-release,
modernize-make-unique,
modernize-use-nullptr,
modernize-use-override,
performance-for-range-copy,
performance-move-constructor-init,
performance-unnecessary-copy-initialization,
readability-const-return-type,
readability-redundant-preprocessor,
readability-redundant-smartptr-get,
readability-static-accessed-through-instance
CheckOptions:
- key: llvm-namespace-comment.ShortNamespaceLines
value: 40
- key: llvm-namespace-comment.SpacesBeforeComments
value: 2
Loading