Commit Graph

61432 Commits

Author SHA1 Message Date
c53d283c33 [*] MSVC build issue: bad return value expression 2022-07-18 17:16:52 +01:00
Derek Sollenberger
8496285686 Correct CTS SkQP test enforcement criteria.
Restrict enforcement of CTS unit tests to only be applied to devices
that have a vendor image whose API level is >= when the SkQP unit tests were introduced into CTS.

Bug: b/235849228
Bug: b/229804433
Change-Id: Ie69a12dc320a65e4cceb42095dfa26ac38324e0d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/559156
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Derek Sollenberger <djsollen@google.com>
2022-07-15 21:10:56 +00:00
John Stiles
2cf696124c Add children to the key when creating a Runtime Shader.
They aren't called yet, but they are visible in the output SkSL.
A followup CL will invoke them when `eval` is called.

Change-Id: I8c28c332d718a9a773365c6a18e476da97bff9ad
Bug: skia:13508
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/559096
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2022-07-15 20:01:54 +00:00
Florin Malita
b67b9c6158 [skottie] SkBlender-based blend modes
Refactor the blend modes impl to always use SkBlenders.

This is in preparation of non-standard blend mode support.

No functional changes.

Change-Id: Id4ed8a2e2f90261978f48c74bc6d40c91ea4a35e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/559097
Commit-Queue: Florin Malita <fmalita@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
Reviewed-by: Jorge Betancourt <jmbetancourt@google.com>
2022-07-15 19:09:21 +00:00
Julia Lavrova
7d1636010a Simplified Skyline
Preparing for glyph zero-padding optimization.
This is the main reason for this change: the current data
structures do not support the optimization.

After I put this change under supportBilerpFromGlyphAtlas flag I could not even compare the results with and without this change (the flag increases glyph sizes). But from my previous measurement it gives saves about 1% of the memory (or 1 plot eviction) on the test.

Change-Id: Ibb66821d220a98487acba88f0ce27ece23e5a669
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/550617
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Julia Lavrova <jlavrova@google.com>
2022-07-15 18:38:56 +00:00
John Stiles
7d8ec28bd5 Add passthrough shader snippet.
This gives us a building block that mimics the effect of evaluating a
missing child effect.

Change-Id: Ic091f0692febc3370debcd4742751b175e98fde9
Bug: skia:13508
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/559076
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2022-07-15 18:33:58 +00:00
John Stiles
a72eda6bfc Split callbacks into separate preamble/expression phases.
Previously, snippets held a single callback which had two separate
responsibilities:
1 - If needed, emit helper functions into the preamble
2 - Return an expression that invokes the snippet

This works great when you only call a snippet exactly one time, but
poses a problem if you need to invoke a snippet more than once;
the callback would also emit all of that snippet's helper functions
again!

This CL splits the callbacks into two pieces: a "preamble generator"
and an "expression generator." The preamble generator is responsible
for bullet point 1 above; the expression generator is responsible
for bullet point 2.

The preamble generator will run exactly once for every entry in a
shader info, and is in charge of advancing the entry-index through
the shader (a surprisingly non-trivial concern when children are
involved!). The expression generator can be called any number of
times for an entry, does not advance the entry index, and cannot
change the preamble.

At present, we do not actually have any use cases where we generate
the expression for a given snippet more than once, but this is a
feature that Runtime Shaders will need to leverage in a followup.

Change-Id: I3b75fc894351ac459b13763331e8bf64694de1df
Bug: skia:13508
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558920
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2022-07-15 18:33:52 +00:00
Herb Derby
d221073b49 Reland "Delay generating SkPaths in PathOpSubmitter"
Add a mutex around the glyphID to Path lookup.

Cleanup: remove noexcept

This is a reland of commit 2910d7bf6c

Original change's description:
> Delay generating SkPaths in PathOpSubmitter
>
> In order to allow the RemoteStrike cache to convert Blobs to Slugs,
> the code must create SubRuns using only SkPackedGlyphIDs. Building
> PathSubRuns with SkPackedGlyphIDs instead of SkPaths is the first
> of 5 conversion.
>
> This code builds a PathSubRun with glyph ids, and delays looking
> up the SkPaths until the submitDraw call. The submitDraw uses an
> SkStrike which has the facility to generate the path data on demand.
>
> Change-Id: I3270d21b797229117664d10b2f17881afff3c5d9
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558651
> Commit-Queue: Herb Derby <herb@google.com>
> Reviewed-by: Robert Phillips <robertphillips@google.com>

Change-Id: Ic6025194c6c55bfff8a36e95119fdf69d9491edb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558935
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-07-15 18:10:32 +00:00
skia-autoroll
21afa00563 Roll ANGLE from ea1382365f6b to ebf14fe370a8 (3 revisions)
ea1382365f..ebf14fe370

2022-07-15 ynovikov@chromium.org Return EXIT_FAILURE from run_perf_tests.py if any test failed
2022-07-15 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 07a6dec37162 to 3204c0c798d3 (8 revisions)
2022-07-15 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 3840fb1fefb2 to d19b3e76906e (447 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 scroggo@google.com,robertphillips@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: scroggo@google.com,robertphillips@google.com
Change-Id: I1067a255000565776088914f9ad08915605b397b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/559062
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-15 17:54:42 +00:00
Bo Liu
1e30251d35 Treat virgl separate abstraction
Similar to angle and chromium command buffer, treat virgl as a separate
abstraction on top of real vendor driver.

Bug: chromium:1331350
Change-Id: Ib26707aa301e03a677f6dd9036851f66b30437f9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558919
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2022-07-15 17:38:29 +00:00
Brian Osman
e99248cf83 Fix confusing macro misuse in GrGLGetGLSLGeneration
The two macros (GR_GL_VER and GR_GLSL_VER) are equivalent, but
everywhere else (including in this function), we're careful to
use them based on the type of version (GL or GLSL). These uses
were inconsistent.

Change-Id: Iefcaf207f29f62541a2fe9252095f6601171a8d5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558931
Auto-Submit: Brian Osman <brianosman@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2022-07-15 17:10:04 +00:00
Herb Derby
213d41c8c8 Revert "Delay generating SkPaths in PathOpSubmitter"
This reverts commit 2910d7bf6c.

Reason for revert: Race in TSAN

Original change's description:
> Delay generating SkPaths in PathOpSubmitter
>
> In order to allow the RemoteStrike cache to convert Blobs to Slugs,
> the code must create SubRuns using only SkPackedGlyphIDs. Building
> PathSubRuns with SkPackedGlyphIDs instead of SkPaths is the first
> of 5 conversion.
>
> This code builds a PathSubRun with glyph ids, and delays looking
> up the SkPaths until the submitDraw call. The submitDraw uses an
> SkStrike which has the facility to generate the path data on demand.
>
> Change-Id: I3270d21b797229117664d10b2f17881afff3c5d9
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558651
> Commit-Queue: Herb Derby <herb@google.com>
> Reviewed-by: Robert Phillips <robertphillips@google.com>

Change-Id: I716d7030dc6d06a69b8c65e788102e098df770f7
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558934
Auto-Submit: Herb Derby <herb@google.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2022-07-15 17:09:12 +00:00
Herb Derby
2910d7bf6c Delay generating SkPaths in PathOpSubmitter
In order to allow the RemoteStrike cache to convert Blobs to Slugs,
the code must create SubRuns using only SkPackedGlyphIDs. Building
PathSubRuns with SkPackedGlyphIDs instead of SkPaths is the first
of 5 conversion.

This code builds a PathSubRun with glyph ids, and delays looking
up the SkPaths until the submitDraw call. The submitDraw uses an
SkStrike which has the facility to generate the path data on demand.

Change-Id: I3270d21b797229117664d10b2f17881afff3c5d9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558651
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2022-07-15 16:02:54 +00:00
skia-autoroll
b64f67e4aa Roll vulkan-deps from 3204c0c798d3 to 7be8321fe002 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/3204c0c798d3..7be8321fe002

Also rolling transitive DEPS:
  https://skia.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools from e2cf7693026b to 93ebf698a0ae

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 scroggo@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: scroggo@google.com
Change-Id: I1df945b4659163584292ea0c5d49f2ebcea00999
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/559059
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-15 15:48:52 +00:00
Chris Mumford
224b97c140 Skip buildifier check on go_repositories.bzl during presubmit.
go_repositories.bzl is generated by Gazelle, which does not add
module/function docstrings. Skipping the buildifier check on this
file to prevent presubmit failure.

Bug: none
Change-Id: I242319f25f2ba686efc2b0ade42852bbe28aabe3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558925
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Chris Mumford <cmumford@google.com>
2022-07-15 14:48:15 +00:00
skia-autoroll
f6b1cd1d83 Roll Dawn from 5265f07cf86c to cfe07a1b3330 (4 revisions)
https://dawn.googlesource.com/dawn.git/+log/5265f07cf86c..cfe07a1b3330

2022-07-15 bclayton@google.com tint/resolver: Shuffle validation code
2022-07-15 zhaoming.jiang@intel.com tint/writer/glsl: Fix emitting float modulo with mixing type
2022-07-15 bclayton@google.com tint/resolver: Remove logic for module-scope let
2022-07-15 jiawei.shao@intel.com D3D12: Always initialize depth stencil texture to 0 on Intel GPUs

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

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/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-Debug-Dawn
Bug: None
Tbr: bclayton@google.com,robertphillips@google.com
Test: Test: dawn_end2end_tests
Change-Id: I7e65d2c8136f9b166f8bf5cc80bfbc51f2b90add
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/559057
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-15 14:31:31 +00:00
Robert Phillips
5fbe12977f [graphite] Add handling for Matrix ColorFilter
Bug: b/238755762
Change-Id: Idad4ef487126b75629ff282760c894973e9d2b4d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558437
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2022-07-15 13:40:13 +00:00
skia-autoroll
f237624765 Roll ANGLE from 4b20c309fba8 to ea1382365f6b (9 revisions)
4b20c309fb..ea1382365f

2022-07-15 syoussefi@chromium.org Remove suppression for passing dEQP tests
2022-07-15 abdolrashidi@google.com Disable mutable texture upload on Win/Intel devs
2022-07-15 b.schade@samsung.com Fix linkValidateTransformFeedback for glLinkProgram
2022-07-15 qyearsley@chromium.org Update version of lucicfg for angle repo and regen config
2022-07-14 cclao@google.com Vulkan: Destroy descriptorSet cache when shader image is destroyed
2022-07-14 cclao@google.com Vulkan: Move DescriptorSet cache to DynamicDescriptorPool
2022-07-14 syoussefi@chromium.org Vulkan: Only apply MSAA FF fix up if executable has FF
2022-07-14 kpiddington@apple.com Metal fails to compile uniform blocks in ternary statements
2022-07-14 ynovikov@chromium.org Skip EGLBufferAgeTest.QueryBufferAge on Linux Intel Vulkan

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 scroggo@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: scroggo@google.com
Change-Id: Ib49d68bba61406a83110273a5c8e5ed11ecc1ff3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558670
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-15 05:49:57 +00:00
skia-autoroll
6eae40bbfc Roll Dawn from b108fb391e91 to 5265f07cf86c (13 revisions)
https://dawn.googlesource.com/dawn.git/+log/b108fb391e91..5265f07cf86c

2022-07-15 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 3cc80b7988b6 to 3204c0c798d3 (7 revisions)
2022-07-14 bclayton@google.com tint: Implement constant expression structures
2022-07-14 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 07a6dec37162 to 3cc80b7988b6 (1 revision)
2022-07-14 cwallez@chromium.org dawn.json: Add the "chain roots" data for chained structs.
2022-07-14 bclayton@google.com cts: Clean up expectations.txt
2022-07-13 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 50b3fdf7ad7d to 07a6dec37162 (2 revisions)
2022-07-13 ynovikov@chromium.org Suppress WebGPU CTS failures on Linux UHD630
2022-07-13 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from a2f64b81dc2b to 062788fa6be1 (2 revisions)
2022-07-13 bclayton@google.com tint: Limit const expr vector reserve size
2022-07-13 stephen@hexops.com dawn/native/d3d12: use correct __uuidof operator
2022-07-13 sunnyps@chromium.org d3d12: Destroy ExternalImageDXGI resources on device destruction
2022-07-13 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 136497f1126c to 50b3fdf7ad7d (2 revisions)
2022-07-13 zhaoming.jiang@intel.com tint/writer/wgsl: Support for F16 type, constructor, and convertor

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

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/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-Debug-Dawn
Bug: None
Tbr: bclayton@google.com
Change-Id: I85694298657cf6b172376559968bc3a08e116af0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558671
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-15 04:46:28 +00:00
skia-autoroll
7b69f71653 Roll vulkan-deps from 3cc80b7988b6 to 3204c0c798d3 (7 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/3cc80b7988b6..3204c0c798d3

Also rolling transitive DEPS:
  https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools from ffc961dbd741 to 8b603f8d06ac

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 scroggo@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: scroggo@google.com
Change-Id: Ifb7dd894944143cd78fc913a07db99ffd87d6d38
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558668
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-15 02:49:55 +00:00
Herb Derby
07769b152a Convert SkGlyphIDs to SkPaths
Change-Id: I26893e4055a5fa44914f5e7b8702b0c280d5866b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558916
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-07-15 00:47:43 +00:00
Joe Gregorio
c83c345971 Update linux mesa drivers.
Creates a new package mesa_intel_driver_linux_22 for
version 22+ Mesa drivers, since Mesa dropped a large number
of "legacy" drivers in 22.0.

Bug: skia:13401
Change-Id: Ib0a2639a798a76f5d2a744ca37902efccd83737d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/557586
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
2022-07-14 20:54:02 +00:00
Herb Derby
11f15a5e66 Add asStrikeForGPU to StrikeRef
Change-Id: I5596be24e1e4a3f64659b739c672daa2b6170368
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558654
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-07-14 20:49:29 +00:00
skia-autoroll
cec2dd60b6 Roll SK Tool from 36d5678bd7a2 to 0896b1768e3d
https://skia.googlesource.com/buildbot.git/+log/36d5678bd7a2..0896b1768e3d

2022-07-14 jcgregorio@google.com Upgrade to k8s to v22.12 apis.
2022-07-14 borenet@google.com [autoroll] Add some logging to config-converter
2022-07-14 kjlubick@google.com [gold] Update images

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/sk-tool-skia
Please CC kjlubick@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

Tbr: kjlubick@google.com
Change-Id: I9b1c1d5b96c8df13f805c9ef223f4e9aa6e94366
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558661
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-14 19:43:33 +00:00
Greg Daniel
15b35e9a6b [Graphite] Create Texture and Sampler arrays once in DrawPass command creation.
Instead of allocating new texture and sampler arrays for each draw we can reuse
the memory by just creating them for the max size for any draws at the start.

Bug: skia:13357
Change-Id: Ibf0fc20cbbd3e03501f8e202cba5986e5e345cbe
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558722
Auto-Submit: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
2022-07-14 19:27:41 +00:00
Greg Daniel
23df8d2d73 [Graphite] Use more flexible system for storing commands in DrawPass.
Bug: skia:13357
Change-Id: I845872fd70771f273b339becc2064ec732884988
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/557390
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
2022-07-14 18:59:25 +00:00
Herb Derby
92c162532e Have the remote and main strike caches return a StrikeRef
Change-Id: Ia42ff6ecec43063dbe873a62de67c90259a09bc3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558541
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2022-07-14 18:15:32 +00:00
John Stiles
c28ff1f69a Replace glue-code generators with expression generators.
A runtime effect needs to be able to invoke a child snippet from
a `child.eval()` expression anywhere. Because `eval` occurs in an
expression context, we don't have the ability to emit multiple
statements. This CL restructures our glue-code generation functions to
return expressions instead of outputting statements, so that they can
be used as subexpressions.

Change-Id: I930bfef2c668323d68f6fd5795621cf42e1bf4eb
Bug: skia:13508
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558542
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2022-07-14 18:02:09 +00:00
John Stiles
5556c2ca9a Emit helper function in GenerateDefaultGlueCode when children exist.
A runtime effect needs to be able to invoke a child snippet from
a `child.eval()` expression anywhere. Because `eval` occurs in an
expression context, we don't have the ability to emit multiple
statements, or declare new variables. That means all of our glue code
needs to eventually become glue-expressions.

When there are no children, the default glue code is just a function
call to a snippet, so this will actually work fine as an expression.
However, when there _are_ children, the glue code becomes arbitrarily
complex. (We need to call child snippets, which could themselves call
more children.)

Now, when children exist, the default glue code emits a helper
function which invokes all of the children first, followed by
invoking the shader snippet passing along all the child outputs.
This gives us some of that Ganesh-like tree structure when
it's needed, but simple flat code when it's not.

Change-Id: I85e42f0794872c9f378ec63581364e0ed55f6047
Bug: skia:13508
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558308
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-07-14 17:39:23 +00:00
Peter Boström
cd938c5b0f Fix some prevent_unsafe_narrowing warnings
These changes reduce failing targets for skia_unittest when adding
"//build/config/compiler:prevent_unsafe_narrowing" to component("skia")
from 588 to 484 on my local Mac build.

Bug: chromium:1292951
Change-Id: Ice8210e1a2f038feb84184c88e6a34f52168952f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/552376
Commit-Queue: Greg Daniel <egdaniel@google.com>
Auto-Submit: Peter Boström <pbos@chromium.org>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2022-07-14 17:31:01 +00:00
William Candillon
5b61aae7f4 Add addCircle, isInterpolate, and interpolate
Change-Id: Icfbfa6b727e89923305dd42403e061ae57fe2ab3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558256
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2022-07-14 17:26:43 +00:00
John Stiles
43c262f54f Split GenerateDefaultGlueCode into two parts.
We are going to need to treat shaders with children differently than
those without; when children exist, we will need to add a helper
function to the preamble allow all the children to be invoked. This CL
prepares for this change by adding a new
`GenerateDefaultGlueCodeWithChildren` function. At present, it doesn't
change much; it just restructures existing code and updates the
existing snippets to call the new function.

Change-Id: Iae40df25eb1ba82e2e0568bceef5d57994e1deb4
Bug: skia:13508
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558547
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2022-07-14 16:54:28 +00:00
John Stiles
843a37a892 Remove unnecessary data payload from Graphite runtime effects.
This ended up not adding value, so cleaning it up.

Change-Id: Ice06874ea786b5b7839441e8339f091474acff34
Bug: skia:13405
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558643
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2022-07-14 16:53:58 +00:00
Robert Phillips
a33c1914d7 [graphite] Add initial hooks for handling SkColorFilters
This add 2 hooks for SkColorFilters:
  adds SkColorFilter ref to PaintParams
  adds addToKey virtual to SkColorFilterBase

Bug: b/238755762
Change-Id: I6ad1d4407763fe9516bdf4e4531466c570092148
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558307
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2022-07-14 16:34:57 +00:00
Brian Osman
7cad921a19 Add a 'FrameworkWorkarounds' Android job
Lets use this to test special behavior that's normally gated behind
SK_BUILD_FOR_ANDROID_FRAMEWORK (or preferably: feature flags that are
only enabled in the framework).

Change-Id: If272ed118d712dc1a49b6e2fc9660f86566e2220
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/557576
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
2022-07-14 16:31:09 +00:00
Brian Osman
5589c881c8 Revert "In the CPU backend, stop treating alpha images as coverage"
Restore the old behavior behind a flag, so it can be maintained in the
Android framework.

This reverts commit f1660bf1ba.

Bug: b/231400686
Change-Id: I01fadaed52eecc42416deb2307d03499bca85a4c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/557391
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
2022-07-14 16:29:44 +00:00
Robert Phillips
8ffe4bc8cb [graphite] Add SkColorFilters to graphitestart GM
Bug: b/238755762
Change-Id: I033fe66dd37d84dd747f9c8608d887798dfccd76
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/557900
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2022-07-14 16:25:42 +00:00
Herb Derby
b882f08762 Turn on bilerp support for the atlas in viewer
Because the viewer's device matrix supports higher dpi, the
GM_slug view asserts because there is no padding to support
bi-lerp glyph drawing. Always turn on bi-lerp atlas padding
in viewer.

Change-Id: I34dc29f5097a28aab272efc59cfc6bcde2400f8e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558641
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-07-14 16:13:20 +00:00
skia-autoroll
3e2c3b98e5 Roll ANGLE from 16e7226da288 to 4b20c309fba8 (3 revisions)
16e7226da2..4b20c309fb

2022-07-14 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from f224faaabcd0 to 3840fb1fefb2 (566 revisions)
2022-07-14 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 50b3fdf7ad7d to 07a6dec37162 (2 revisions)
2022-07-14 gert.wollny@collabora.com Capture/Replay: Handle the case when there is no context

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 scroggo@google.com,robertphillips@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: scroggo@google.com,robertphillips@google.com
Change-Id: I2be648fc6b7780a7de62435f4dbf3d8f37cbe54f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558657
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-14 15:35:02 +00:00
Michael Ludwig
7611b9a863 Manual dawn roll
Change-Id: Id28311d2a7de96edbc8bcd7fa6eadb66223e5278
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558438
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
Auto-Submit: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2022-07-14 14:45:31 +00:00
John Stiles
743369018a Fix SkSL generation for deeply-nested child shaders.
I introduced a bug in http://review.skia.org/558157. We would lose
track of the `entryIndex` value during nested calls to
`emit_child_glue_code`. The generated SkSL contained unnecessary work
and sometimes produced incorrect results. This could be reproduced in
test cases that intentionally introduced very deep nesting, such as
`localmatrixshader_nested`.

Change-Id: I6402498439f0ab944ac138cd467f18c64b5deaf3
Bug: skia:13508
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558548
Commit-Queue: Robert Phillips <robertphillips@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2022-07-14 14:32:25 +00:00
skia-autoroll
3a2d93bd9a Roll vulkan-deps from 07a6dec37162 to 3cc80b7988b6 (1 revision)
https://chromium.googlesource.com/vulkan-deps.git/+log/07a6dec37162..3cc80b7988b6

Also rolling transitive DEPS:
  https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers from 9f73b931f402 to 16847a61009f

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 scroggo@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: scroggo@google.com
Change-Id: Iae96b45c71482230c5606e1dc9e41d390f82cad3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558656
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-14 14:07:00 +00:00
William Candillon
bce36c5654 Add ImageFilters::MakeShader() to CanvasKit
Change-Id: I1c5cd1b7404b52ecb5a324b212d8913e3376c3c7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558257
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2022-07-14 12:28:35 +00:00
skia-autoroll
ccb8d5a61b Roll ANGLE from a2f64b81dc2b to 16e7226da288 (12 revisions)
a2f64b81dc..16e7226da2

2022-07-14 romanl@google.com Propagate device type in ReuseUnterminatedDisplay.
2022-07-14 romanl@google.com Fix test dependency on EGL initialization elsewhere.
2022-07-14 abdolrashidi@google.com Reland "Vulkan: Flush texture updates more often"
2022-07-13 ynovikov@chromium.org Add MB config for linux-exp-test
2022-07-13 yuxinhu@google.com Vulkan: Multisample Framebuffer Fetch
2022-07-13 m.maiya@samsung.com Cleanup invalid EGL handles only if app called eglTermiate
2022-07-13 lexa.knyazev@gmail.com GL: Add emulateCopyTexImage2D workaround
2022-07-13 ynovikov@chromium.org Add Linux Intel experimental standalone bot
2022-07-13 constantine.shablya@collabora.com Implement GL_NV_read_depth_stencil
2022-07-13 romanl@google.com Revert "Spawn via vpython when old module detected."
2022-07-13 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 4d09ee266d3c to 50b3fdf7ad7d (3 revisions)
2022-07-13 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 2b7014d6e622 to f224faaabcd0 (511 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 scroggo@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: scroggo@google.com
Test: Test: EGLMultiContextTest.RepeatedEglInitAndTerminate*
Test: Test: EGLMultiContextTest.ReuseUnterminatedDisplay*
Change-Id: I03f61b1687290cd7f3484e8a5286100c0644559a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558518
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-14 05:49:56 +00:00
skia-autoroll
435177d699 Roll vulkan-deps from 50b3fdf7ad7d to 07a6dec37162 (2 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/50b3fdf7ad7d..07a6dec37162

Also rolling transitive DEPS:
  https://skia.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools from faa8d6a6539d to e2cf7693026b

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 scroggo@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: scroggo@google.com
Change-Id: Ia50775f0a49b0417371c3961e0c90d01d8617793
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558517
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-13 22:37:25 +00:00
George Wright
5291147aae Add skia_use_system_freetype2_include_path and skia_use_system_freetype2_lib build options to configure system freetype2 to build and link against.
Bug: skia:13280
Change-Id: I9ace07cabc48a927d23492d63ac2a975b35c80d3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558236
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: George Wright <wrightgeorge@google.com>
2022-07-13 20:56:02 +00:00
Brian Osman
64b50bc708 Disallow most modifiers in runtime effects
Bug: skia:11301
Change-Id: Ib644235ef35f9fb37a1373ada6a6896005dc4451
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558537
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2022-07-13 18:22:23 +00:00
Herb Derby
b70a030066 Guard against overflow in blur code.
This fuzz creates a blur that has w = 1 and h = 2^31 - epsilon.
And a filter sigma of 360. This causes the intermediate
buffer size > 2^31. This causes the multiply in the following
code SkMaskBlurFilter.cpp:1023:

  tmpStart + tmpW * tmpH

to overflow. Because tmpW = source height, which is near 2^31,
and tmpH is about 3*360.

Cause the blur to fail if the intermediate buffer is > INT_MAX.

Bug: oss-fuzz:49061
Change-Id: I4f9f6bbe76cd71da1ac86562771ca393852452c4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558305
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-07-13 18:02:19 +00:00
John Stiles
2fd7b18043 Replace ShaderInfo* with ShaderInfo&.
Change-Id: Ic1fe443197fd7ed0c46f01330f125102ed5359c9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558310
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2022-07-13 17:32:27 +00:00
Kevin Lubick
ee3358e96f [canvaskit] Fix DisplacementMap test
Change-Id: I9a52454552fb6cbc179691bb50131fa8465a6496
Bug: skia:13450
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/558436
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
2022-07-13 17:18:42 +00:00