Commit Graph

61094 Commits

Author SHA1 Message Date
Florin Malita
de2c13dedd [skottie_tool] GPU backend support
Refactor the implementation to decouple frame generators
(FrameGenerator: cpu, gpu, picture) from frame consumers (FrameSink:
png, skp, mp4, null).

Add a GPU frame generator using async readbacks.  Unlike other
generators, which execute on a thread pool, selecting the GPU generator
forces single-thread execution.

Also add a couple of backend-specific build targets (skottie_tool_cpu,
skottie_tool_gpu) to facilitate binary size experiments.

Change-Id: Id59e230b3861afe5bf9b7ecfc710d672f38eeaaf
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551237
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Florin Malita <fmalita@google.com>
2022-06-22 20:17:13 +00:00
skia-autoroll
17dc3f16fc Roll vulkan-deps from 20ef3c4c476b to 87af9564b246 (2 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/20ef3c4c476b..87af9564b246

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-skia-autoroll
Please CC ethannicholas@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in skia: https://bugs.chromium.org/p/skia/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn;skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE
Bug: None
Tbr: ethannicholas@google.com
Change-Id: Ie27ae7950daaf9d6030c58dfbd865cda4dcbcb58
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/552145
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-22 18:24:47 +00:00
Brian Salomon
57a5326e20 Implement GrGpu::transferFromBufferToBuffer on GL
Bug: skia:13427
Bug: skia:12720
Change-Id: Ic2cdebd86a814bed3bf22848218bbf355724a0e0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550712
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
2022-06-22 14:19:17 +00:00
William Candillon
b0dcda6583 Fix minor issues in the Typescript declaration
Change-Id: I90b4bc906377f6816677b4418227828f1b5ef5f4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/549936
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2022-06-22 14:12:34 +00:00
Herb Derby
73e6a66146 Replace SK_ARRAY_COUNT with std::size() for skia/samplecode
Change-Id: Ibfa2c0efa3e4addf21aa400e3d323675ac0185ef
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551886
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-06-22 14:02:56 +00:00
Brian Salomon
a9163fca2e Make Vulkan vertex and index buffers support transfer dst
Bug: skia:12720

Change-Id: I34865b966a84a329960c87b5d862186fe5e1af55
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551839
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2022-06-22 13:11:11 +00:00
skia-autoroll
39888036d1 Roll ANGLE from 21c89c14831c to d55e06557bc7 (6 revisions)
21c89c1483..d55e06557b

2022-06-21 chris@rive.app Add pls tests for fragment reject utilities
2022-06-21 ffz@google.com Implement GL_EXT_base_instance
2022-06-21 gert.wollny@collabora.com Capture/Replay: Fix which sync object is deleted
2022-06-21 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 45c701a7067d to 1765af41ecf5 (6 revisions)
2022-06-21 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from f833544ff898 to ff5356238d86 (5 revisions)
2022-06-21 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 36bd948bdb66 to de4095cef87e (273 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-skia-autoroll
Please CC ethannicholas@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-AlphaR2-GPU-RadeonR9M470X-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-Golo-GPU-QuadroP400-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC8i5BEK-GPU-IntelIris655-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUCD34010WYKH-GPU-IntelHD4400-x86_64-Debug-All-ANGLE
Tbr: ethannicholas@google.com
Change-Id: I73641dc619982d924e5c75d8a3e5c142d1867aba
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551659
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-22 05:51:41 +00:00
skia-autoroll
084e9d9e34 Roll vulkan-deps from a3a7851860ea to 20ef3c4c476b (4 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/a3a7851860ea..20ef3c4c476b

Also rolling transitive DEPS:
  https://skia.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools from 4f321f862af9 to 76fe352190d6

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-skia-autoroll
Please CC ethannicholas@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in skia: https://bugs.chromium.org/p/skia/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn;skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE
Bug: None
Tbr: ethannicholas@google.com
Change-Id: I71e7f1a4f3428e9d7b835e89db81cef86d09b2fc
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551663
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-22 05:40:41 +00:00
skia-autoroll
ff4e443638 Roll SwiftShader from ff5356238d86 to 5cb6a639d494 (2 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/ff5356238d86..5cb6a639d494

2022-06-21 srisser@google.com Add StorageTexelBufferArrayDynamicIndexing
2022-06-21 swiftshader.regress@gmail.com Regres: Update test lists @ ff535623

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-skia-autoroll
Please CC ethannicholas@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Test-Debian10-Clang-GCE-GPU-SwiftShader-x86_64-Debug-All-SwiftShader
Bug: None
Tbr: ethannicholas@google.com
Change-Id: Id44654d97c73a8d2670ee7ce010f188e3f3941e3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551660
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-22 04:51:49 +00:00
John Stiles
a99593bfa9 Add support for int-typed data payloads.
If we are going to create a new snippet ID every time a runtime effect
is painted, we will overflow a byte very rapidly.

Change-Id: Ic094af2a81e590488bf90b60492b004e9135d4a2
Bug: skia:13405
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551843
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2022-06-22 03:06:16 +00:00
Herb Derby
e956ae74ea Use ASAN poisoning in SkArenaAlloc
Change-Id: Ie2166fefe6ffa431b17590c53bf22a8725376938
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551885
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-06-21 21:35:45 +00:00
Kevin Lubick
1c15b9fe30 [Bazel] Fix sksl defines
Without this define, I was seeing a compile error in SkKeyHelpers.cpp

Change-Id: I4d4a804f11fdd67e69bac4c7a6d0d686bebd8922
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/552076
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2022-06-21 20:54:11 +00:00
Brian Salomon
915cad6282 GrGLInterface requires glCopyBufferSubData if supported by context
Supporting Chrome change landed here:
https://chromium-review.googlesource.com/c/chromium/src/+/3710691

Bug: skia:13427
Bug: skia:12720
Change-Id: I87f5ac27723287945b4f7b0df82c7188733a4fb2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550711
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
2022-06-21 19:32:01 +00:00
Jorge Betancourt
c327d1054a reland "set up GL sample app to build through Bazel Mac toolchain"
https://skia-review.googlesource.com/c/skia/+/549897

G3 error fixed with:
https://critique.corp.google.com/cl/456234733

Introduces tracking bug:
https://bugs.chromium.org/p/skia/issues/detail?id=13452

Suggested review order.
1) tools/sk_app/* and src/gpu/ganesh/*
sets up the actual target to be built by the toolchain
2) toolchain/* and .bazelrc
changes to the mac hermetic toolchain, including support for framework dependencies, objc compilation, and dynamic lib dependency resolution

Change-Id: Id31e0adb134d385cbb4af6818f2c25c4fdae9598
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551881
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Jorge Betancourt <jmbetancourt@google.com>
2022-06-21 19:22:16 +00:00
Herb Derby
3bd3b5dfae Don't zero memory blocks used by SkArenaAlloc
SkArenaAlloc uses new char[allocSize] to obtain new memory blocks.
Changes this to sk_malloc_throw which does not zero allocated
memory.

I don't think anything relies on the memory being zeroed. If
this CL makes it through all the *SANs I think this CL will
be ok in the field.

Change-Id: Ia564313a501dd7c5b34ac6a9bde71fab1d76be76
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551880
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-06-21 19:12:03 +00:00
Michael Ludwig
93dadaf3ce [graphite] Device and ClipStack use Geometry instead of Shape
Replaces Device::recordDraw() with a static ChooseRenderer() function
that is closer to the final destination for renderer selection, and
provides a helper function drawClipShape() for ClipStack to use instead
of having it append to the DrawContext directly.

The renderer choosing now happens earlier in Device::drawGeometry()
so that it is available to modify bounds/draw-order calculations if
it requires coverage AA.

Bug: skia:12787
Change-Id: Ia12db71bcd3ab6fbecfc72c79f06a2597388eafd
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550699
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Nicolette Prevost <nicolettep@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2022-06-21 19:10:28 +00:00
Kevin Lubick
2e99fcb021 Reland "[bazel] Update to v5.2.0"
This is a reland of commit fb13c18ddf

Bazel 5.2.0 was fine, it was the fact that our toolchain
was not erroring when clang failed that was an issue.
We were always returning error code 0, but Bazel 5.2.0
was correctly identifying that we hadn't produced the
promised build artifacts.

Original change's description:
> [bazel] Update to v5.2.0
>
> The primary change we are looking for is
> "Add support for .ar archives (and .deb files)
> https://github.com/bazelbuild/bazel/pull/15218"
>
> https://blog.bazel.build/2022/06/08/bazel-5.2.html
>
> In theory, we should be able to trigger Linux RBE
> compilations (e.g. IWYU) from Mac with this change.
>
> Change-Id: I217406d21fd55507e090c4bb5f79c796230717e6
> Bug: skia:12541
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/549659
> Reviewed-by: Joe Gregorio <jcgregorio@google.com>

Bug: skia:12541
Change-Id: I160b5802adc232d5cf7f7d05b20d5eabbb3d5102
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551841
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
2022-06-21 18:49:10 +00:00
Herb Derby
c37b386886 Replace SK_ARRAY_COUNT with std::size() for skia/gm
Note: in variedtext.cpp:66 changed static_assert to SkASSERT.

Change-Id: I853a2e5563c90c9dde5d6ba5443cc73b664b493d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551876
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2022-06-21 18:09:30 +00:00
Herb Derby
f9329d7b87 Deprecate SK_ARRAY_COUNT and docuemnt the old and new methods
Change-Id: Id58bf93098fa62f621614937a2d1524790f73f58
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551708
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2022-06-21 18:01:49 +00:00
skia-autoroll
3c9ab38091 Roll vulkan-deps from 1765af41ecf5 to a3a7851860ea (5 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/1765af41ecf5..a3a7851860ea

Also rolling transitive DEPS:
  https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross from 99b59b35288c to ba3e6ffe037e
  https://skia.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools from 2eff41e70709 to 4f321f862af9

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-skia-autoroll
Please CC ethannicholas@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in skia: https://bugs.chromium.org/p/skia/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn;skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE
Bug: None
Tbr: ethannicholas@google.com
Change-Id: I328fca4d500fffa5440b28444da387f94173d8fa
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551937
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-21 16:59:11 +00:00
Dominik Röttsches
c1373396b8 Prepare for FreeType change from FT_F2Dot14 to FT_Fixed for stop_offset
In order to support a larger range for stop offsets in variable fonts, I
plan to resize the stop_offset field to 16.16 in FreeType. Prepare Skia
for handling that change.

Bug: chromium:1311241
Change-Id: I1da46a3e4c79f2f3d091e65005c19d16dc382669
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551638
Reviewed-by: Florin Malita <fmalita@google.com>
Commit-Queue: Dominik Röttsches <drott@google.com>
2022-06-21 16:02:35 +00:00
Dominik Röttsches
2feabbf1fc Pass-through of variable COLRv1 RuntimeEnabled Blink feature flag
Enable passing in a feature-test function that returns a Boolean
with the intention of being able to use it in FreeType library
initialisation.

See also:
https://gitlab.freedesktop.org/freetype/freetype/-/merge_requests/168

Bug: skia:13448
Change-Id: I6c985201552b54f2fa99e911265b7303ff8b2897
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551637
Commit-Queue: Dominik Röttsches <drott@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Florin Malita <fmalita@google.com>
2022-06-21 16:00:33 +00:00
Jim Van Verth
802443a01d [graphite] Fix toSkSL setup
In MtlGraphicsPipeline, get_sksl_fs() will return '{}' if
SK_SUPPORT_GPU is false, which means it won't work in Graphite-only
builds. Making the related code Graphite-only fixes the link errors.

Change-Id: Ia6e9a99ad506c637b43a0830941f775ec0678b03
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550713
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2022-06-21 15:57:26 +00:00
Michael Ludwig
e9eda5802a [graphite] Add HybridBoundsManager and use as default impl
This combines the BruteForceManager and Gridmanager, starting with
brute force when it's fastest for low N and then transitioning to less
accurate grid that scales for larger N.

Also updates the set of benchmarks to run based on more reasonable
configs (e.g. having a reasonable level of accuracy to be worth
considering).

Updates Device to use the HybridBoundsManager with brute force up to
64 draws, and then a grid configured to make 16x16 pixel cells. My
guess is we will see a mix of perf regressions and improvements with
this. The existing use of the NaiveBoundsManager had negligible CPU
cost but disallowed all re-ordering. The brute force and grid
managers will add CPU cost but enable re-ordering, which shows up
as shorter command buffers (e.g. 17k commands vs. 28k commands in the
motionmark suits benchmark). However, because we don't have SSBOs
there still isn't as much batching that would let the GPU take
advantage of this re-ordering so I'm not sure how visible the wins
will be yet.

Bug: skia:13201, skia:12787
Change-Id: Iad58fccab45def5f702a30860e063669424dfcf2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550518
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Nicolette Prevost <nicolettep@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2022-06-21 15:52:22 +00:00
Brian Salomon
66b0b198ff GrGpuBufferTest: make assert reachable
Bug: skia:13427
Change-Id: I7a0833e19c7d97157cb18b9ad9a11f2d25427b2b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551836
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Auto-Submit: Brian Salomon <bsalomon@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2022-06-21 15:48:12 +00:00
Kevin Lubick
fcedb57c29 Revert "[bazel] Update to v5.2.0"
This reverts commit fb13c18ddf.

Reason for revert: (helpful) error messages are not showing up when building using RBE. See https://github.com/bazelbuild/bazel/pull/15151

Original change's description:
> [bazel] Update to v5.2.0
>
> The primary change we are looking for is
> "Add support for .ar archives (and .deb files)
> https://github.com/bazelbuild/bazel/pull/15218"
>
> https://blog.bazel.build/2022/06/08/bazel-5.2.html
>
> In theory, we should be able to trigger Linux RBE
> compilations (e.g. IWYU) from Mac with this change.
>
> Change-Id: I217406d21fd55507e090c4bb5f79c796230717e6
> Bug: skia:12541
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/549659
> Reviewed-by: Joe Gregorio <jcgregorio@google.com>

Bug: skia:12541
Change-Id: Ia23b8a1dbfeb5bda5657a229246627ce1542846c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551856
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2022-06-21 14:04:59 +00:00
skia-autoroll
0983009ddc Roll ANGLE from 878bbfaac0b3 to 21c89c14831c (3 revisions)
878bbfaac0..21c89c1483

2022-06-20 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 2b79b2f8aec2 to f833544ff898 (8 revisions)
2022-06-20 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 4ede36c4734b to 45c701a7067d (2 revisions)
2022-06-20 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 58c59e887244 to 36bd948bdb66 (551 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-skia-autoroll
Please CC ethannicholas@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-AlphaR2-GPU-RadeonR9M470X-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-Golo-GPU-QuadroP400-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC8i5BEK-GPU-IntelIris655-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUCD34010WYKH-GPU-IntelHD4400-x86_64-Debug-All-ANGLE
Tbr: ethannicholas@google.com
Change-Id: I947ff7dcba5879866ece4c975d86b12c85d52ffa
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551778
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-21 05:52:46 +00:00
skia-autoroll
6710193377 Roll SwiftShader from f833544ff898 to ff5356238d86 (5 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/f833544ff898..ff5356238d86

2022-06-20 sugoi@google.com Expose Vulkan 1.3
2022-06-20 capn@google.com Fix workgroup builtins size
2022-06-20 nicolascapens@google.com Revert "Patch regression in FSR tests"
2022-06-20 capn@google.com Expose Wayland only when enabled
2022-06-20 swiftshader.regress@gmail.com Regres: Update test lists @ f833544f

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-skia-autoroll
Please CC ethannicholas@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Test-Debian10-Clang-GCE-GPU-SwiftShader-x86_64-Debug-All-SwiftShader
Bug: None
Tbr: ethannicholas@google.com
Change-Id: I3eb45e427e6c06f0fea830415bb0657bad9869dc
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551779
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-21 04:47:42 +00:00
skia-autoroll
14fc242198 Roll vulkan-deps from afaa8d242424 to 1765af41ecf5 (5 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/afaa8d242424..1765af41ecf5

Also rolling transitive DEPS:
  https://skia.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools from fbcb6cf4c820 to 2eff41e70709

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-skia-autoroll
Please CC ethannicholas@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in skia: https://bugs.chromium.org/p/skia/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn;skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE
Bug: None
Tbr: ethannicholas@google.com
Change-Id: Ic5f2676d41bc568b4822a024902cd6fa8b3c4b76
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551776
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-21 04:17:29 +00:00
skia-autoroll
3f23888239 Roll vulkan-deps from 45c701a7067d to afaa8d242424 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/45c701a7067d..afaa8d242424

Also rolling transitive DEPS:
  https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools from 01ad714caf71 to 6f57b1fa230f

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-skia-autoroll
Please CC ethannicholas@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in skia: https://bugs.chromium.org/p/skia/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn;skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE
Bug: None
Tbr: ethannicholas@google.com
Change-Id: Ia7e45b67f731137ee8ab416940a3dcf16b073bf8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551656
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-20 15:35:12 +00:00
skia-autoroll
8e22557f67 Roll ANGLE from 5975eb034505 to 878bbfaac0b3 (13 revisions)
5975eb0345..878bbfaac0

2022-06-18 m.maiya@samsung.com Vulkan: Account for 2DArray textures during robust resource init
2022-06-18 syoussefi@chromium.org Vulkan: Disable cache warmup on ChromeOS SwANGLE
2022-06-17 ynovikov@chromium.org Skip CompressedTexSubImage3DValidationPerSlice capture_replay
2022-06-17 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 21fa1f0acbfa to 4ede36c4734b (10 revisions)
2022-06-17 syoussefi@chromium.org Vulkan: Fix marking external images as renderable
2022-06-17 jmadill@chromium.org Make ReadEntireFileToString return a std::string.
2022-06-17 ynovikov@chromium.org Increase batch timeout with sanitizer
2022-06-17 ynovikov@chromium.org Revert "Temporarily remove win-trace from CQ"
2022-06-17 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from cfcb44322bcc to 2b79b2f8aec2 (1 revision)
2022-06-17 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 96b247286bab to 58c59e887244 (150 revisions)
2022-06-17 gert.wollny@collabora.com Capture/Replay: Allow capturing of external textures
2022-06-17 gert.wollny@collabora.com Capture/Replay: Don't capture tex levels that are out-of-range
2022-06-17 angle-autoroll@skia-public.iam.gserviceaccount.com Roll VK-GL-CTS from 893946636054 to e22ec5fc4cbf (13 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-skia-autoroll
Please CC ethannicholas@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-AlphaR2-GPU-RadeonR9M470X-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-Golo-GPU-QuadroP400-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC8i5BEK-GPU-IntelIris655-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUCD34010WYKH-GPU-IntelHD4400-x86_64-Debug-All-ANGLE
Tbr: ethannicholas@google.com
Test: Test: DXT1CompressedTextureTestES3.CompressedTexSubImage3DValidationPerSlice*Vulkan
Change-Id: I53a8b130c1a2d925d11ff593e36b3110f9300f50
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551361
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-20 05:53:17 +00:00
skia-autoroll
9e568b3f64 Roll SwiftShader from 2b79b2f8aec2 to f833544ff898 (8 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/2b79b2f8aec2..f833544ff898

2022-06-17 sugoi@google.com Expose bufferDeviceAddress support
2022-06-17 sugoi@google.com Handle spv::StorageClassPhysicalStorageBuffer
2022-06-17 srisser@google.com Implement descriptor indexing for texel buffers
2022-06-17 sugoi@google.com Allow subzero to cast pointers to integer types
2022-06-17 capn@google.com Adapt for LLVM 15 coroutine change
2022-06-17 sugoi@google.com Load and Store functions for pointers
2022-06-17 sugoi@google.com Implement SPIR-V OpBitcast for pointers
2022-06-17 sugoi@google.com Allow Operand objects to contain pointers

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-skia-autoroll
Please CC ethannicholas@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Test-Debian10-Clang-GCE-GPU-SwiftShader-x86_64-Debug-All-SwiftShader
Bug: None
Tbr: ethannicholas@google.com
Change-Id: I0ecbf03870644832e828e140a0539a6d9b2876e1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551362
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-20 04:53:41 +00:00
skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com
3515606d92 Update SKP version
Automatic commit by the RecreateSKPs bot.

Change-Id: I0aefd05348d5aa22579047c34bc4a9203cf01908
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550737
Commit-Queue: skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
Bot-Commit: skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
2022-06-19 08:28:42 +00:00
Herb Derby
1aea903381 Reland "Move SkSubRun to src/text"
Added changes for public.bzl

This is a reland of commit 4a375fe213

Original change's description:
> Move SkSubRun to src/text
>
> Change-Id: I5c1040b8236dc792de20495a3fea3c0be6e31c20
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/549847
> Reviewed-by: Brian Osman <brianosman@google.com>
> Commit-Queue: Herb Derby <herb@google.com>

Change-Id: I86e342a416a3c97bf972c496b93b37e35cd09c19
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550496
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-06-18 17:20:42 +00:00
skia-autoroll
48e98da982 Roll vulkan-deps from 72edbbbbda44 to 45c701a7067d (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/72edbbbbda44..45c701a7067d

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-skia-autoroll
Please CC johnstiles@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in skia: https://bugs.chromium.org/p/skia/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn;skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE
Bug: None
Tbr: johnstiles@google.com
Change-Id: Ifcbaea0bd68d5ff30c4505478261848520dd0774
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551357
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-18 12:30:13 +00:00
skia-autoroll
8b21825fa2 Roll vulkan-deps from 9dca11ba0ffa to 72edbbbbda44 (3 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/9dca11ba0ffa..72edbbbbda44

Also rolling transitive DEPS:
  https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross from 89b1c24bdced to 99b59b35288c

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-skia-autoroll
Please CC johnstiles@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in skia: https://bugs.chromium.org/p/skia/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn;skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE
Bug: None
Tbr: johnstiles@google.com
Change-Id: I6eb1afc03dbe7a3f4e3f3ceb604be2ffa171e99b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551316
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-17 23:47:12 +00:00
Brian Osman
1ae33f14e1 Fix use-after-free in SkComposeColorFilter::asFragmentProcessor
Includes a unit test to generate the exact failing scenario, and also
fixes the case where inputFP was nullptr to begin with (and we would
have tried to call nullptr->clone().

Change-Id: I5a03730d1217d9b1747e5ad2018100bc1c5f9e50
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550714
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2022-06-17 21:34:47 +00:00
John Stiles
03b2e3aeee Revert "set up GL sample app to build through Bazel Mac toolchain"
This reverts commit 9be648ad64.

Reason for revert: breaking G3 roll

Original change's description:
> set up GL sample app to build through Bazel Mac toolchain
>
> Suggested review order.
> 1) tools/sk_app/* and src/gpu/ganesh/*
> sets up the actual target to be built by the toolchain
> 2) toolchain/* and .bazelrc
> changes to the mac hermetic toolchain, including support for framework dependencies, objc compilation, and dynamic lib dependency resolution
>
> Change-Id: Ic8209b97a0d8448f984d43a579e600ba4e9118e1
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/549897
> Commit-Queue: Jorge Betancourt <jmbetancourt@google.com>
> Reviewed-by: Ben Wagner <bungeman@google.com>

Change-Id: I5414b94f2c6175ea8c7dbc6cd72c7dd8d1b47892
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551236
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2022-06-17 20:07:06 +00:00
Brian Salomon
024aeb09b1 Implement GrGpu::transferFromBufferToBuffer on D3D
Bug: skia:13278
Bug: skia:12720
Change-Id: I83bbbf5c7f259c68f06f29ee474013d678f0073b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550707
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2022-06-17 19:53:48 +00:00
Brian Salomon
b043dae116 Add GrGpu buffer transfer function, impl on Metal, add test
Also rename existing transfer buffer alignment cap for surface transfers to distinguish from new one for buffer to buffer transfers.

Bug: skia:13278
Bug: skia:12720
Change-Id: Idc4116c72fc2852a01d40feec6584d2bde9eae82
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550517
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2022-06-17 18:22:14 +00:00
John Stiles
62ff766efa Move uniforms, textures and samplers to the preamble section.
These need to be above any helper functions.

Change-Id: I6ed580b5be8822d720a9a649324699ee227578bd
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550709
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2022-06-17 15:57:49 +00:00
John Stiles
854c510954 Allow GenerateGlueCodeForEntry to emit code above main().
Previously, glue-code helpers only allowed appending into `main` and
there was no mechanism to insert code elsewhere. Now, glue-code emitter
functions take two strings, `preamble` and `mainBody`, and can write
into either one as desired. When generation is complete, `preamble` will
be inserted directly above `mainBody`.

This will allow us to insert standalone functions, global variables,
prototypes, etc. into the finished shader code.

Change-Id: I17b545cd326605ddf032f6dadd6164bb9c9b2c69
Bug: skia:13443
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550705
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2022-06-17 14:51:01 +00:00
Jim Van Verth
7f1bc92a34 [graphite] For now, draw glyphs as paths.
Adds a parameter to SDFTControl that forces all glyphs to fail as SDF
or Direct, and sets it in the Graphite Device constructor.

Bug: skia:13118
Change-Id: I212e35e992bb14925ec66fca610bb0825ff467b8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550618
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2022-06-17 14:14:53 +00:00
John Stiles
40e3b3c605 Assert when creating nullptr spans with a nonzero length.
According to https://en.cppreference.com/w/cpp/container/span/span (2),
it  is undefined behavior if [first, first + count) is not a valid
range, so it is standards-conforming to assert on this span.

This caught one case in GlyphRun where we were creating an invalid
span (which was apparently harmless in practice).

Change-Id: Ia0661b3bd13c2c5773492960eea11b1a294072d5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550499
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2022-06-17 14:07:15 +00:00
Jorge Betancourt
9be648ad64 set up GL sample app to build through Bazel Mac toolchain
Suggested review order.
1) tools/sk_app/* and src/gpu/ganesh/*
sets up the actual target to be built by the toolchain
2) toolchain/* and .bazelrc
changes to the mac hermetic toolchain, including support for framework dependencies, objc compilation, and dynamic lib dependency resolution

Change-Id: Ic8209b97a0d8448f984d43a579e600ba4e9118e1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/549897
Commit-Queue: Jorge Betancourt <jmbetancourt@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2022-06-17 13:54:14 +00:00
John Stiles
81d55ce3f7 Add BlockReader::pointer(fieldIndex) accessor.
We can now fully round-trip pointers through a PaintParamsKey safely.

Change-Id: I1a2133b39d895996f6c94211a0c5741ad0933398
Bug: skia:13428
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550703
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-06-17 12:50:55 +00:00
John Stiles
f3c681465e Remove numPointers from SkShaderSnippet.
This undoes http://review.skia.org/550018, and also eliminates the
pointer-related additions to Stack in http://review.skia.org/550179.

When this was originally added, the plan was that pointers would not be
represented in the data payload at all, so we needed a mechanism to
track whether pointers were needed for each snippet type. This is now
handled by the existence of the kPointerIndex data payload field--
you'll assert on field-type mismatch/missing field if you skip the
pointer.

Change-Id: Ie868526d8d9da47819ea08e16aab1a5566f9cff8
Bug: skia:13428
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550700
Commit-Queue: Robert Phillips <robertphillips@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2022-06-17 12:18:13 +00:00
skia-autoroll
beff14abb9 Roll vulkan-deps from 800c6ee46990 to 9dca11ba0ffa (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/800c6ee46990..9dca11ba0ffa

Also rolling transitive DEPS:
  https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools from 2661f654ad5d to 01ad714caf71

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-skia-autoroll
Please CC johnstiles@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in skia: https://bugs.chromium.org/p/skia/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn;skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE
Bug: None
Tbr: johnstiles@google.com
Change-Id: I94c6bf9663b4601b433b77b21dd4e61a5831cd5e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550862
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-17 11:08:12 +00:00
skia-autoroll
59cba4b1bd Roll ANGLE from a62204c35579 to 5975eb034505 (10 revisions)
a62204c355..5975eb0345

2022-06-16 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from e6f032b42bce to 96b247286bab (303 revisions)
2022-06-16 cclao@google.com Vulkan: Promptly destroy cached framebuffer when it becomes invalid
2022-06-16 yuxinhu@google.com Enable ExposeNonConformantExtensionsAndVersions
2022-06-16 angle-autoroll@skia-public.iam.gserviceaccount.com Roll VK-GL-CTS from 50754c3c19c0 to 893946636054 (1 revision)
2022-06-16 syoussefi@chromium.org Vulkan: Useful implementation of program binaries
2022-06-16 syoussefi@chromium.org Vulkan: Rename getShareGroupVk to getShareGroup
2022-06-16 m.maiya@samsung.com Vulkan: Prune superseded staged updates in a texture
2022-06-16 hob@chromium.org Support BGRX8 for framebuffer blits
2022-06-16 ynovikov@chromium.org Further suppress MultithreadingTestES3 hanging tests on Linux SwANGLE
2022-06-16 ynovikov@chromium.org Temporarily remove win-trace from CQ

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-skia-autoroll
Please CC johnstiles@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-AlphaR2-GPU-RadeonR9M470X-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-Golo-GPU-QuadroP400-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC8i5BEK-GPU-IntelIris655-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUCD34010WYKH-GPU-IntelHD4400-x86_64-Debug-All-ANGLE
Tbr: johnstiles@google.com
Test: Test: Texture2DTest.InterleavedSupersedingTextureUpdates*
Change-Id: I7644c611e561d12551c2965208a9d5eefd321d59
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550856
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-17 06:02:16 +00:00
skia-autoroll
b926372fa1 Roll SwiftShader from cfcb44322bcc to 2b79b2f8aec2 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/cfcb44322bcc..2b79b2f8aec2

2022-06-16 sugoi@google.com Avoid clamping uninitialized values when clearing depth images

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-skia-autoroll
Please CC johnstiles@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Test-Debian10-Clang-GCE-GPU-SwiftShader-x86_64-Debug-All-SwiftShader
Bug: None
Tbr: johnstiles@google.com
Change-Id: Id65e48056103e25dc656fc506e9e0af7d45ac7e5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550857
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-06-17 04:50:12 +00:00