Commit Graph

58981 Commits

Author SHA1 Message Date
Chris Dalton
ea161cde89 Optimize single lines in Device::drawPoints
Draw the lines as rectangles instead of going through path rendering.
Only do this when calling through drawPoints(). (We don't do this
optimization for drawPath() because it can undermine batching.)

NOTE: Lines will still trigger DMSAA after this CL. We need to update
FillRRect to use a local matrix first, in order to have a non-MSAA
renderer capable of drawing these strokes.

Change-Id: I20aa10cd82fa171ade430a3da44ece5688c12417
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/497296
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Christopher Dalton <csmartdalton@google.com>
2022-02-01 19:16:56 +00:00
Brian Osman
71a34c302d Improve nanobench CSV output
- Write correct column headers (with comma separators)
- Omit the "timer overhead" message

Change-Id: Id0139370a4d39c4a1a7d9bb41e018e98c37da0ae
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502701
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: Brian Osman <brianosman@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-02-01 19:12:45 +00:00
Robert Phillips
6e1ff7154d [graphite] Plumb SkUniformData/SkUniformBlock everywhere
An SkUniformData represents the uniforms from a single code snippet
The SkUniformBlock collects the set of SkUniformDatas needed by a whole program

Bug: skia:12701
Change-Id: Ic0596e2fb02ea00bec882af493644def9ebb2468
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/497743
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2022-02-01 18:50:21 +00:00
John Stiles
98e51006b9 Revert "Remove skstd::optional entirely."
This reverts commit 17d0fc087c.

Reason for revert: flutter still uses the skstd class

Original change's description:
> Remove skstd::optional entirely.
>
> Skia now uses C++17's std::optional.
>
> Change-Id: I387069589baaefadd25e25bcec3f4cc6ee6fd090
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/501477
> Reviewed-by: Ben Wagner <bungeman@google.com>
> Reviewed-by: Brian Osman <brianosman@google.com>
> Commit-Queue: John Stiles <johnstiles@google.com>
> Auto-Submit: John Stiles <johnstiles@google.com>

Change-Id: I2c001588007640ac7b8c9f0760038b46c220a07e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502702
Auto-Submit: John Stiles <johnstiles@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2022-02-01 18:47:44 +00:00
John Stiles
2c764e1eac Reland "Use native std::string_view."
This is a reland of 64c971350e

Original change's description:
> Use native std::string_view.
>
> We also used some string_view functionality from C++20/23. These have
> been replaced with free functions with the same name.
>
> Change-Id: I3bf40f99aeb500495f344fd8c6872619267d42be
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/500897
> Reviewed-by: Herb Derby <herb@google.com>
> Auto-Submit: John Stiles <johnstiles@google.com>
> Reviewed-by: Brian Osman <brianosman@google.com>
> Commit-Queue: John Stiles <johnstiles@google.com>

Change-Id: I4ff237381c16179f716ecde1929154fdd4ad3442
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/501480
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-02-01 18:43:47 +00:00
John Stiles
17d0fc087c Remove skstd::optional entirely.
Skia now uses C++17's std::optional.

Change-Id: I387069589baaefadd25e25bcec3f4cc6ee6fd090
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/501477
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2022-02-01 18:30:39 +00:00
Chris Dalton
4dc8a39a5f Update FillRRectOp to support rotation in local coords
This will make it flexible enough to draw single-line strokes as round
rects.

Bug: skia:12872
Change-Id: Ib15a714d21c8cee520eadb2ce8c6bf6b1c549ed4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/499876
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Christopher Dalton <csmartdalton@google.com>
2022-02-01 18:23:09 +00:00
Michael Ludwig
35e34d8db2 Revert "Move last join control point storage into PatchWriter"
This reverts commit 1f1270f8ac.

Reason for revert: unexpected gold diffs crept in after PS2...

Original change's description:
> Move last join control point storage into PatchWriter
>
> Change-Id: I916c23778e04911ea122720b8e48850caab4df64
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/501437
> Reviewed-by: John Stiles <johnstiles@google.com>
> Commit-Queue: Michael Ludwig <michaelludwig@google.com>

Change-Id: I143a6a16e2ecef735f5c67995e92d315ab463121
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502697
Auto-Submit: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2022-02-01 17:20:10 +00:00
Michael Ludwig
1f1270f8ac Move last join control point storage into PatchWriter
Change-Id: I916c23778e04911ea122720b8e48850caab4df64
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/501437
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2022-02-01 16:42:47 +00:00
Ethan Nicholas
ff94e373a3 Re-land "Added SkSL dehydrate / rehydrate test"
This reverts commit 07d229c795.

Change-Id: I403020f05f2ca17b94b35dcaa6cc35514f7a0cdf
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502313
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
2022-02-01 16:31:09 +00:00
Kevin Lubick
d31c6a9db1 [canvaskit] Change contexts when making surfaces from GrContext
Suggested by jason-simmons
https://github.com/flutter/flutter/issues/95259#issuecomment-1026390189

Change-Id: Id523648dc4d8db261577f2cf4b46d52cc3335451
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502310
Reviewed-by: Nathaniel Nifong <nifong@google.com>
2022-02-01 15:56:04 +00:00
Kevin Lubick
06acd1d194 [canvaskit] Fix MakeRenderTarget
Change-Id: I86c296ff2dad8f915e75dd71301cf43f36ce6e00
Bug: skia:12862
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/500438
Reviewed-by: Nathaniel Nifong <nifong@google.com>
2022-02-01 15:42:37 +00:00
Kevin Lubick
aa2579cce0 [canvaskit] Include WebP and JPEG encoding in npm version
Change-Id: I3086129d6fd7e3505a93bf8157b55ad2c5096902
Bug: skia:12853
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/500376
Reviewed-by: Nathaniel Nifong <nifong@google.com>
2022-02-01 15:42:37 +00:00
Julia Lavrova
24a8aa9d1f Updating the API description for Flutter
bug: skia:12850
Change-Id: I78148b2d99701a9127c377ddf709c89a885fcfc2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502312
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Julia Lavrova <jlavrova@google.com>
2022-02-01 15:36:41 +00:00
Kevin Lubick
94303e8dbd [fuzz] Make mock gpu fuzzer compatible with Vulkan
Change-Id: I857da21674db669d7f2766132e9909ccbcdc1c55
Bug: oss-fuzz:44132
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502536
Reviewed-by: Robert Phillips <robertphillips@google.com>
2022-02-01 15:09:22 +00:00
John Stiles
07d229c795 Revert "Added SkSL dehydrate / rehydrate test"
This reverts commit ded2548179.

Reason for revert: Windows breakage on tree

Original change's description:
> Added SkSL dehydrate / rehydrate test
>
> Test that we can dehydrate and then rehydrate every program in our test
> corpus without altering them.
>
> Change-Id: I2286fcb691176b3fbbe1d6515279d03867555647
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/501436
> Reviewed-by: John Stiles <johnstiles@google.com>
> Reviewed-by: Brian Osman <brianosman@google.com>
> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>

Change-Id: I2dcee0b36e7e316c4ed0889141cf38c2d1508653
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502311
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2022-02-01 14:50:07 +00:00
Joe Gregorio
e035f6a071 Add Pixel 6 phones to the tree.
Change-Id: Ic48bc4f7dbf4ea63cc5618663e2437e6ff9cfe9b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/500439
Auto-Submit: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2022-02-01 14:38:10 +00:00
Ethan Nicholas
ded2548179 Added SkSL dehydrate / rehydrate test
Test that we can dehydrate and then rehydrate every program in our test
corpus without altering them.

Change-Id: I2286fcb691176b3fbbe1d6515279d03867555647
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/501436
Reviewed-by: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
2022-02-01 14:12:47 +00:00
Kevin Lubick
98d664096d [bazel] Regenerate files and build with c++17
See toolchain/clang_toolchain_config.bzl for the c++17 switch.
Most of the other changes were automatically generated
(with the exception of //third_party).

Change-Id: I8c0f4b29b5967da3f48b17eb298a7e92156277ac
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502407
Reviewed-by: John Stiles <johnstiles@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2022-02-01 13:15:22 +00:00
Kevin Lubick
102dbf9c43 [canvaskit] Disable dynamic execution
This required an update to emscripten, due to there being
a few bug fixes regarding the non-dynamic code and the
Closure compiler/minifier.

Change-Id: Icc922bd98cdd52a6923a9367da3747dac2b897b3
Bug: skia:12795
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/492916
Reviewed-by: Nathaniel Nifong <nifong@google.com>
2022-02-01 13:15:22 +00:00
skia-autoroll
1def701690 Roll ANGLE from a4a4fec8b77f to f810e9989932 (8 revisions)
a4a4fec8b7..f810e99899

2022-01-31 jmadill@chromium.org Use a temporary timeout multipler for trace tests.
2022-01-31 ynovikov@chromium.org Remove old spellings for SYNC-HAZARD-WRITE_AFTER_READ skips
2022-01-31 jmadill@chromium.org Refactor shared library load to avoid allocations.
2022-01-31 syoussefi@chromium.org Vulkan: Emulate dithering
2022-01-31 syoussefi@chromium.org Fix ANGLE_rgbx_internal_format's extension file name
2022-01-31 jmadill@chromium.org D3D11: Fix underflow with computing small strides.
2022-01-31 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 518c5780ac4f to 4db20a80409b (3 revisions)
2022-01-31 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 4d71de73b37d to 97a33ab1a078 (625 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 borenet@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: borenet@google.com
Change-Id: I9453486aff0a4b5d1dbe68ae5cf9ec36d37af1f4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502470
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-01 05:26:38 +00:00
skia-autoroll
698d979a74 Roll Chromium from 46a6e399e465 to e8274b070400 (449 revisions)
46a6e399e4..e8274b0704

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

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/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:Perf-Mac10.13-Clang-MacBookPro11.5-GPU-RadeonHD8870M-x86_64-Release-All-CommandBuffer;skia/skia.primary:Test-Mac10.13-Clang-MacBookPro11.5-GPU-RadeonHD8870M-x86_64-Debug-All-CommandBuffer
Tbr: borenet@google.com
Change-Id: Ib7a6b0b25cdfb7a07290a5c04436878d7ad7b8ab
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502469
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-01 05:07:38 +00:00
skia-autoroll
a69af3bec2 Roll Dawn from abd099c0636c to e663ac2c27af (4 revisions)
https://dawn.googlesource.com/dawn.git/+log/abd099c0636c..e663ac2c27af

2022-01-31 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from b934fad92479 to f810e9989932 (7 revisions)
2022-01-31 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 3e80ae68ee4b to f67b6373a667 (1 revision)
2022-01-31 cwallez@chromium.org Use C++17 message-less static_assert where applicable.
2022-01-31 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 0b39270e01ce to 3e80ae68ee4b (1 revision)

Also rolling transitive DEPS:
  https://dawn.googlesource.com/tint from 0b39270e01ce to f67b6373a667

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 cwallez@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: cwallez@google.com
Change-Id: I2e91b5281db78a432b4affceb31449ea6c84186a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502471
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-02-01 04:34:14 +00:00
John Stiles
a02452cd41 Reland "Use native std::optional."
This is a reland of 490bb34b29

Original change's description:
> Use native std::optional.
>
> Change-Id: I3bcf7a23eb27e98d24840b492930955125d35bd4
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/501476
> Reviewed-by: Brian Osman <brianosman@google.com>
> Reviewed-by: Ben Wagner <bungeman@google.com>
> Commit-Queue: John Stiles <johnstiles@google.com>

Change-Id: If14d35ed78905800b43b656f65bb17fc940e7770
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502298
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-01-31 23:50:45 +00:00
John Stiles
260d925cb3 Optimize SkVM approx_powf for simple cases.
Our SkVM code generator will always convert `pow(x, y)` into an
`approx_powf` call. However, in many cases, `x` or `y` might boil down
to an immediate value, and for some immediates, we can reduce the
operation into something much simpler:

- `pow(1, y)` is always 1
- `pow(2, y)` can be converted to `approx_pow2(y)`
- `pow(x, 0.5)` can be converted into `sqrt(x)`.
- `pow(x, 1)` can be converted to `x`
- `pow(x, 2)` can be converted to `x * x`

We could go further if there is a need, e.g. `pow(x, 4)` can become
`a = x * x; return a * a`, but these seemed like the best places to
start.

Change-Id: I02b9d4d3f5067581ebad5e53b2d1d7befa308300
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502308
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-01-31 23:21:17 +00:00
John Stiles
1d0d1e9f16 Update iOS test apps to require C++17.
Fixes these build breaks: http://screen/5kZxPUFhoSrwpZ8

Change-Id: Ib4c92c0c33c9b0fdd639092e901f475e6f6bc655
Bug: skia:12882
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502307
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-01-31 23:17:15 +00:00
John Stiles
0f6baf469d Update CommaSideEffects test to run on GPU.
Change-Id: Ia218fb2249abd479db9d27527b965fd0b8ad3367
Bug: skia:12858
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/501276
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2022-01-31 21:35:13 +00:00
John Stiles
afafd01155 Increase iOS deployment target to 11.0.
This should give us access to newer system headers. We are upgrading to
C++17, and in iOS 9, the <optional> header is buried in
<experimental/optional>.

Change-Id: I3e4d4861ddf06c6e02939f1c97857d9617284428
Bug: skia:12882
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502305
Reviewed-by: Erik Rose <erikrose@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-01-31 21:33:59 +00:00
John Stiles
c3d8062555 Fix up SkSL test on Wembley.
Test "InlinerHonorsGLSLOutParamSemantics" was failing on Wembley devices
and is now disabled on that GPU.

Also, it turns out that the inliner has ignored functions with out
params for a long time now, but our test names haven't been updated to
account for this. So, did some additional cleanup:
- "InlinerHonorsGLSLOutParamSemantics" (the test in question) has been
  moved to shared/ and renamed to "OutParamsAreDistinct."
- Removed test "OutParamsNoInline" as it is functionally the same as
  "OutParams".

Change-Id: I1431ed197b9216cb482eee4f5e4eb2579a5303f7
Bug: skia:12858
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502303
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2022-01-31 21:17:40 +00:00
Herb Derby
7b54d1626c use PathSubRun for Slugs
Change-Id: I7b1ae94f8abdaf84d9dc47ee7ecdb6044b694da8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502304
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-01-31 20:56:35 +00:00
Herb Derby
8c748076c1 use TransformedMaskSubRun in Slug
Change-Id: I3d59b646a2e2fcd919d23077ba542a81af5f0303
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502302
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-01-31 19:49:30 +00:00
Herb Derby
9cc63f805a introduce GrTextReferenceFrame
Introduce GrTextReferenceFrame and use it in TransformedMaskSubRun
and TransformedMaskSubRunSlug. This will allow these to SubRuns
to be combined in the future.

In addition, move fAlloc to first field in Slug to avoid use
after free problems.

Change-Id: Ib4f791389cf9b3c2a0f2e0fd802eccdea4841d1f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502301
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-01-31 19:26:44 +00:00
Herb Derby
7ae31fad84 move supportBilerpAtlas to DirectMaskSubRun
This reduces the reliance on the fBlob to only
initialPositionMatrix.

Change-Id: I92728ef0bec998a1c154642abfe139baceca7b6e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502299
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-01-31 18:23:39 +00:00
John Stiles
9ac97cf56d Undo various C++14 compatibility fixes.
This CL rolls back various changes from http://review.skia.org/457298
which made the code longer or more complex. They are no longer needed
now that we compile in C++17 mode.

A few changes were left as-is because they seemed equally good either
way.

Change-Id: I4eb0fe3d12382bcb485abb5222a0f00411742191
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502296
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-01-31 16:55:20 +00:00
John Stiles
cf5842e613 Revert "Use native std::optional."
This reverts commit 490bb34b29.

Reason for revert: breaking bot Build-Mac-Clang-arm64-Debug-iOS_Metal

http://screen/6qZvqidrcXhYf6N



Original change's description:
> Use native std::optional.
>
> Change-Id: I3bcf7a23eb27e98d24840b492930955125d35bd4
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/501476
> Reviewed-by: Brian Osman <brianosman@google.com>
> Reviewed-by: Ben Wagner <bungeman@google.com>
> Commit-Queue: John Stiles <johnstiles@google.com>

Change-Id: I56adb29d209474d3f6c1a3646b7be7e7ef81a79a
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502297
Auto-Submit: John Stiles <johnstiles@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2022-01-31 16:24:13 +00:00
John Stiles
343258fa0c Fix fuzzer-discovered error with sk_SecondaryFragColor in SPIR-V.
sk_SecondaryFragColor corresponds to an ES2-only concept
(gl_SecondaryFragColorEXT) and does not have any SPIR-V equivalent.

Two fixes were needed:
- sk_SecondaryFragColor shouldn't be in SPIR-V code at all. Report it as
  an error when it appears.
- We don't stop compilation when this error is reported, so we need to
  fix up the assertion that the fuzzer initially discovered.
  Specifically, the fuzzer found that the `sk_SecondaryFragColor`
  variable never got a SPIR-V ID assigned to it in fVariableMap, so the
  compiler would assert when assembling an expression containing that
  variable. Now, we make sure to populate fVariableMap with an (unused)
  ID in `writeGlobalVar` to avoid this crash.

Change-Id: Ib86919dfc9a325b2b82a7f4b2054b747dad7c32f
Bug: oss-fuzz:44096
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/501976
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
2022-01-31 16:21:45 +00:00
Jim Van Verth
e267a5bb7a [graphite] Add sampler/texture binding to commandbuffer
Bug: skia:12845
Change-Id: Ia6a754d6e86991d9709422b3eb657ca4fbd52f3c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/501842
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2022-01-31 16:15:43 +00:00
John Stiles
a6489dbb30 Update additional OutParams tests to run on the GPU.
Change-Id: If0ecc3c1080b8e44f17dbb34ff6cc1d66794ae0b
Bug: skia:11052, skia:11919, skia:12858
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/501843
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2022-01-31 16:15:33 +00:00
John Stiles
15fd5e99f4 Update out-param semantics in SPIR-V.
Removed a special case from `writeFunctionCallArgument` which avoided
using a scratch variable for out params; now we always use the scratch
variable and copy it back to the original variable at the end.

Change-Id: I0e446a3fde6d19554943384210bd911f6f9c8cfa
Bug: skia:11052, skia:11919, skia:12858
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/501836
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2022-01-31 16:07:37 +00:00
John Stiles
490bb34b29 Use native std::optional.
Change-Id: I3bcf7a23eb27e98d24840b492930955125d35bd4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/501476
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-01-31 15:55:13 +00:00
Kevin Lubick
e5a9059acf [infra] Update chromebook toolchain to support c++17
My hope is that with Bazel, we will be able to remove
this CIPD package in favor of a properly maintained/created
toolchain.

Change-Id: I6a7b5013da22395511d828bee857777fbe0bcd8c
Bug: skia:12878
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502289
Reviewed-by: John Stiles <johnstiles@google.com>
2022-01-31 15:46:31 +00:00
Derek Sollenberger
3034776433 Cleanup SkQP build scripts
Change-Id: Ie226bc605baad4788976ad4c37dc455d36b11793
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/494136
Reviewed-by: Nathaniel Nifong <nifong@google.com>
Commit-Queue: Derek Sollenberger <djsollen@google.com>
2022-01-31 15:43:48 +00:00
Kevin Lubick
1fad4c0080 [infra] Remove dead recipe code re: Chromebooks+Docker
Change-Id: I10156dd71fe7b96f42c76167cb7de8fa140c9c31
Bug: skia:12878
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502279
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2022-01-31 15:12:21 +00:00
skia-autoroll
d8b1e4dae7 Roll Dawn from ef80b0908a13 to abd099c0636c (184 revisions)
https://dawn.googlesource.com/dawn.git/+log/ef80b0908a13..abd099c0636c

2022-01-31 cwallez@chromium.org Add a defaulted ExternalTextureBase destructor.
2022-01-31 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from a4a4fec8b77f to b934fad92479 (1 revision)
2022-01-31 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 3cdb8e3c3e0a to 0b39270e01ce (8 revisions)
2022-01-29 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from a994ea994fea to a4a4fec8b77f (4 revisions)
2022-01-29 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 669d12d7f034 to 4db20a80409b (2 revisions)
2022-01-29 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 42c8b29d00be to a994ea994fea (6 revisions)
2022-01-29 ynovikov@chromium.org Update SYNC-HAZARD-WRITE_AFTER_READ skip
2022-01-28 yunchao.he@intel.com Remove UnsafeAPI toggle for readonly depth/stencil attachment
2022-01-28 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 518c5780ac4f to 669d12d7f034 (1 revision)
2022-01-28 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from c4a9d4169692 to 42c8b29d00be (3 revisions)
2022-01-28 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from c8fe6cd6739f to f868b4437065 (6 revisions)
2022-01-28 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from bca23447ad46 to 518c5780ac4f (7 revisions)
2022-01-28 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 8b966cfc5169 to c4a9d4169692 (8 revisions)
2022-01-27 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from a19b5047ffca to c8fe6cd6739f (1 revision)
2022-01-27 bclayton@google.com Shuffle 'docs' directories
2022-01-27 brandon1.jones@intel.com Initialize External Texture's Internal Params Buffer
2022-01-27 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from e2f35ba8e0a4 to 3cdb8e3c3e0a (1 revision)
2022-01-27 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from fca808412325 to bca23447ad46 (1 revision)
2022-01-27 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from aadc6434331e to 8b966cfc5169 (5 revisions)
2022-01-27 bajones@chromium.org Update arg names for GPUComputePassEncoder.dispatch()
2022-01-27 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from ae6a4b829252 to a19b5047ffca (9 revisions)
2022-01-27 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 711968667748 to fca808412325 (3 revisions)
2022-01-26 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 54f8a8f71621 to aadc6434331e (13 revisions)
2022-01-26 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from b1d2b84f7dcb to e2f35ba8e0a4 (1 revision)
2022-01-26 lokokung@google.com Adds validation tests for new device.Tick behavior based on internal and API calls.
2022-01-26 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 520bccf8d8ba to b1d2b84f7dcb (1 revision)
2022-01-26 zhaoming.jiang@intel.com Reland "Recording timing info in trace events when D3D12 queue submit"
2022-01-26 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 238f2f5eb39f to ae6a4b829252 (2 revisions)
2022-01-26 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from c5498b957e83 to 54f8a8f71621 (2 revisions)
2022-01-26 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 1a74e1c7ab37 to 711968667748 (7 revisions)
2022-01-26 jiawei.shao@intel.com Skip two tests that fail on Win11 with backend validation == full
2022-01-26 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 6c0df4421124 to 520bccf8d8ba (11 revisions)
2022-01-26 shaobo.yan@intel.com Implement platform-independent isNaNCustom for VertexFormatTest
2022-01-25 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 978db8424025 to 238f2f5eb39f (10 revisions)
2022-01-25 ynovikov@google.com Revert "Recording timing info in trace events when D3D12 queue submit"
2022-01-25 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from d6dd0cb52b17 to c5498b957e83 (7 revisions)
2022-01-25 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 366db5aedd90 to 1a74e1c7ab37 (1 revision)
2022-01-25 bclayton@google.com dawn_native: Use 'auto' to handle change of tint type
2022-01-25 senorblanco@chromium.org Fix the group decorations on ComputeBoids.
2022-01-25 brandon1.jones@intel.com Modify External Texture Interface For BiPlanar Formats
2022-01-25 senorblanco@chromium.org Add missing @interpolate(flat) to validation test.
2022-01-25 bclayton@google.com wgsl: Replace use of [[attribute]] with @attribute
2022-01-25 cwallez@chromium.org Revert "Roll third_party/glfw/ 947731113..df8d7bc89 (184 commits)"
2022-01-25 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 87f9b52b05a2 to 978db8424025 (5 revisions)
2022-01-25 yang.gu@intel.com Replace 'elseif' with 'else if' in end2end tests
2022-01-25 cwallez@chromium.org Roll third_party/glfw/ 947731113..df8d7bc89 (184 commits)
2022-01-25 jie.a.chen@intel.com Refactor vulkan image wrapping tests on CROS
2022-01-25 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 64c49da36fc2 to d6dd0cb52b17 (12 revisions)
2022-01-25 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 0a7fd30debe9 to 366db5aedd90 (1 revision)
2022-01-25 zhaoming.jiang@intel.com Validate texture usage is non-zero in createTexture
2022-01-25 zhaoming.jiang@intel.com Recording timing info in trace events when D3D12 queue submit
2022-01-25 jie.a.chen@intel.com Suppress some cases in ComputeDispatchTests
2022-01-24 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 7e6989bc26d8 to 6c0df4421124 (2 revisions)
2022-01-24 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 238eaa6f9d25 to 87f9b52b05a2 (1 revision)
2022-01-24 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 339a6d181329 to 64c49da36fc2 (2 revisions)
2022-01-24 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from ba1a8f8d05e9 to 7e6989bc26d8 (5 revisions)
2022-01-24 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from e823eef17385 to 0a7fd30debe9 (1 revision)
2022-01-24 shaobo.yan@intel.com Suppress D3D12 Debug Layer warning D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_VERTEX_BUFFER_NOT_SET
2022-01-24 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 0f00fbae2cda to 339a6d181329 (1 revision)
2022-01-23 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from ca3b28b4b172 to 0f00fbae2cda (1 revision)
2022-01-22 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from e261142ee340 to 238eaa6f9d25 (1 revision)
2022-01-22 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 73ced33dfbbf to ba1a8f8d05e9 (1 revision)
2022-01-22 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 4a5a559d6fad to ca3b28b4b172 (1 revision)
2022-01-22 zhaoming.jiang@intel.com Validate buffer usage is non-zero in createBuffer
2022-01-22 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from b4cd255c6ecc to 73ced33dfbbf (4 revisions)
2022-01-22 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 28bda106444b to e261142ee340 (6 revisions)
2022-01-22 lokokung@google.com Loosens validation for APITick.
2022-01-22 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 1ab6c9f69658 to 4a5a559d6fad (12 revisions)
2022-01-21 brandon1.jones@intel.com Remove External Texture Format Member Validation
2022-01-21 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 533a1bae68b9 to b4cd255c6ecc (1 revision)
2022-01-21 enga@chromium.org Revert "Don't enable SwiftShader on Linux platforms if X11 is not available"
2022-01-21 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from c9b583de6eb8 to 28bda106444b (1 revision)
2022-01-21 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 161643215f93 to 1ab6c9f69658 (7 revisions)
2022-01-21 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 198417097fbf to 533a1bae68b9 (3 revisions)
2022-01-21 jiawei.shao@intel.com Add validation on blend factors and blend operations
2022-01-20 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from be3a0de27683 to e823eef17385 (1 revision)
2022-01-20 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 70b3eb7a5ab4 to c9b583de6eb8 (1 revision)
2022-01-20 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 8f1d5224ee39 to 198417097fbf (2 revisions)
2022-01-20 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from b28c5ad3c65d to 8f1d5224ee39 (1 revision)
2022-01-20 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 1bd1a3db1c60 to 161643215f93 (2 revisions)
2022-01-20 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from c36237ddec24 to be3a0de27683 (2 revisions)
2022-01-20 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 2e74d5dc03df to c36237ddec24 (1 revision)
2022-01-20 jie.a.chen@intel.com D3D12: Ignore the debug warning for vertex buffer out-of-bounds
2022-01-20 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 55d127703157 to 1bd1a3db1c60 (8 revisions)
2022-01-20 enga@chromium.org Don't enable SwiftShader on Linux platforms if X11 is not available
2022-01-19 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from d1b842fca80d to 70b3eb7a5ab4 (4 revisions)
2022-01-19 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from ecf43d69d02b to b28c5ad3c65d (2 revisions)
2022-01-19 enga@chromium.org Default dawn_use_swiftshader to true
2022-01-19 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from c3cec4d9017a to ecf43d69d02b (5 revisions)
2022-01-19 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 00a2a2f3e84e to 55d127703157 (4 revisions)
2022-01-19 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 85f43409872d to d1b842fca80d (5 revisions)
2022-01-19 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 9b1a72a8d226 to 2e74d5dc03df (4 revisions)
2022-01-19 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 8eafe491237a to 00a2a2f3e84e (14 revisions)
2022-01-19 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 8dd9a56f9116 to c3cec4d9017a (6 revisions)
2022-01-18 enga@chromium.org Add WGPUDawnEncoderInternalUsageDescriptor
2022-01-18 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 4cda77455291 to 85f43409872d (1 revision)
2022-01-18 enga@chromium.org Use ErrorLog instead of InfoLog in InstanceBase::ConsumedError
2022-01-18 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from f6bdbed95b37 to 9b1a72a8d226 (3 revisions)
2022-01-18 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 9b231f090e1b to 8eafe491237a (4 revisions)
2022-01-18 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from af1a77e0ccb1 to 4cda77455291 (5 revisions)
2022-01-18 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 9cfb4dd911b3 to 9b231f090e1b (5 revisions)
2022-01-17 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from da873be96da4 to af1a77e0ccb1 (1 revision)
2022-01-17 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from d7117384b0ee to f6bdbed95b37 (1 revision)
2022-01-17 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 0aae0d7ad535 to 9cfb4dd911b3 (1 revision)
2022-01-16 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 6601b8d2e923 to 0aae0d7ad535 (1 revision)
2022-01-15 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from c4c73e827b2c to 6601b8d2e923 (1 revision)
2022-01-15 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 61f6c3807441 to d7117384b0ee (1 revision)
2022-01-15 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 844bd6b8d2a7 to da873be96da4 (2 revisions)
2022-01-14 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 6312da1abf21 to c4c73e827b2c (6 revisions)
2022-01-14 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from cd848cd695a4 to 61f6c3807441 (1 revision)
2022-01-14 yunchao.he@intel.com Add d3d12-render-pass toggle in readonly depth/stencil attachment test
2022-01-14 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from d6e962b43753 to 8dd9a56f9116 (2 revisions)
2022-01-14 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 29450de7959e to 844bd6b8d2a7 (1 revision)
2022-01-14 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from db2f5fcf101a to d6e962b43753 (1 revision)
2022-01-14 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 985db64093cf to 6312da1abf21 (4 revisions)
2022-01-14 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 7c3322ae0102 to 29450de7959e (5 revisions)
2022-01-13 lokokung@google.com Guards explicit device.destroy() until tested.
2022-01-13 bajones@chromium.org Add TRACEs to backend shader module creation
2022-01-13 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from d4412d0a0124 to 985db64093cf (3 revisions)
2022-01-13 cwallez@chromium.org Start introducing a "backend" for vulkan image wrapping tests
2022-01-13 cwallez@chromium.org Add support for creating 1D textures.
2022-01-13 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 0fa93555bcf8 to 7c3322ae0102 (5 revisions)
2022-01-13 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 89467fa56406 to d4412d0a0124 (4 revisions)
2022-01-12 enga@chromium.org Implement upstream RequestAdapter
2022-01-12 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 3e354fd524e7 to db2f5fcf101a (2 revisions)
2022-01-12 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from bc625cc6ba9a to 0fa93555bcf8 (3 revisions)
2022-01-12 yunchao.he@intel.com Implement readonly depth/stencil attachment on Metal
2022-01-12 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from d4c8209b3ec9 to 89467fa56406 (1 revision)
2022-01-12 cwallez@chromium.org Rename namespace dawn_native to dawn::native.
2022-01-12 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 14cdd4157396 to bc625cc6ba9a (7 revisions)
2022-01-12 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 7f8e7c38ec82 to d4c8209b3ec9 (10 revisions)
2022-01-12 sunnyps@chromium.org d3d12: Acquire/release keyed mutex around ExecuteCommandLists
2022-01-11 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from d891854a594a to 14cdd4157396 (1 revision)
2022-01-11 jrprice@google.com cmake: Always build Tint as a static library
2022-01-11 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 6a2558333327 to 7f8e7c38ec82 (2 revisions)
2022-01-11 cwallez@chromium.org Rename namespace dawn_wire to dawn::wire.
2022-01-11 cwallez@chromium.org Remove deprecated DawnNative Adapter getters.
2022-01-11 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from e00bdeb5d931 to d891854a594a (8 revisions)
2022-01-11 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from d1efb5d48cae to 3e354fd524e7 (1 revision)
2022-01-11 cwallez@chromium.org Rename namespace dawn_platform to dawn::platform.
2022-01-11 sunnyps@chromium.org d3d12: Use fixed key for keyed mutex acquire and release
2022-01-11 jiawei.shao@intel.com Vulkan: Add StoreOp to the computation of the key of RenderPassCache
2022-01-10 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 9f1dc3e9933b to 6a2558333327 (6 revisions)
2022-01-10 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 16e8df446761 to d1efb5d48cae (1 revision)
2022-01-10 bclayton@google.com dawn_node: Add support for diffing against expectations file
2022-01-10 cwallez@chromium.org run-cts: Hint to use --isolate on POST failures.
2022-01-10 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from b57a3aaee927 to cd848cd695a4 (1 revision)
2022-01-10 cwallez@chromium.org Roll third_party/gpuweb/ 67edc187f..0aadaca4c (519 commits)
2022-01-10 cwallez@chromium.org dawn_node: handle literals on typdef'd interface members
2022-01-10 cwallez@chromium.org dawn_node: Allow Include and Mixins to come out of order in idlgen
2022-01-10 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 328da0f26e8e to e00bdeb5d931 (1 revision)
2022-01-10 cwallez@chromium.org dawn_node: Return undefined for "void" methods instead of null
2022-01-10 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from acd8fc76b212 to 9f1dc3e9933b (1 revision)
2022-01-08 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from eea78468780f to acd8fc76b212 (1 revision)
2022-01-08 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 9e7f44a63b2e to 328da0f26e8e (3 revisions)
2022-01-08 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from ece463808dbe to eea78468780f (16 revisions)
2022-01-07 cwallez@chromium.org Add C overload for dawn_native::Adapter::GetProperties
2022-01-07 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 57e7495dc76d to 9e7f44a63b2e (1 revision)
2022-01-07 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 2ebdd23b6040 to ece463808dbe (5 revisions)
2022-01-07 bclayton@google.com tint: Remove deprecated texel formats.
2022-01-07 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from e4e74858548a to 16e8df446761 (1 revision)
2022-01-07 jrprice@google.com dawn_node: Fix default adapter selection
2022-01-07 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from a0d0a1d65cdb to 2ebdd23b6040 (13 revisions)
2022-01-07 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from b2b44c000ee6 to 57e7495dc76d (6 revisions)
2022-01-07 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 4d245d9a36a8 to e4e74858548a (1 revision)
2022-01-07 shaobo.yan@intel.com Support *-srgb format as dst formats in CopyTextureForBrowser
2022-01-07 jiawei.shao@intel.com Vulkan: Compare storeOp when comparing the key of RenderPassCache
2022-01-06 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 6165cca1a6ac to 4d245d9a36a8 (4 revisions)
2022-01-06 enga@chromium.org Change uint32_t -> size_t in *Enumerate functions
2022-01-06 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 0b901607cad4 to b57a3aaee927 (1 revision)
2022-01-06 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 7b0686a922a4 to 6165cca1a6ac (1 revision)
2022-01-06 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from ccabfd1407c9 to a0d0a1d65cdb (3 revisions)
2022-01-06 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from f3e00128933f to b2b44c000ee6 (1 revision)
2022-01-06 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 7dc901fa4f87 to 7b0686a922a4 (1 revision)
2022-01-06 cwallez@chromium.org Use C++17 nested namespaces instead of manually nesting them.
2022-01-06 cwallez@chromium.org Use C++17 structured binding in more places.
2022-01-06 cwallez@chromium.org Use C++17 structure bindings instead of some std::tie
2022-01-06 cwallez@chromium.org Add Window at the end of SurfaceDescriptorFromXlib.
2022-01-06 cwallez@chromium.org dawn_wire::server: Simplify ForwardToServer usage with C++17
2022-01-06 cwallez@chromium.org Use C++17 [[nodiscard]] and [[fallthrough]] attributes
2022-01-06 cwallez@chromium.org SlabAllocator: Remove note about C++17
2022-01-06 shaobo.yan@intel.com Support T2T copies between formats that have only difference on srgb-ness
2022-01-06 cwallez@chromium.org Use C++17 non-const string.data() in WindowsUtils
2022-01-06 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 16f4b38bdc03 to 0b901607cad4 (3 revisions)

Also rolling transitive DEPS:
  https://dawn.googlesource.com/tint from 7dc901fa4f87 to 0b39270e01ce

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 cwallez@google.com,brianosman@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: cwallez@google.com,brianosman@google.com
Change-Id: Ie3df51a5a6fc8ef9cb6b61205cf59cc46aa6e0f0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502210
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-01-31 14:30:09 +00:00
Kevin Lubick
994c946bd3 [canvaskit] Add API to re-use Image textures and reduce flickering
This creates a new SkImage with the same texture and changes it
out without the user noticing (or needing to delete the old Image).

Change-Id: I3a1ce6d4a335873f2b7670d56dadfccdc7881c38
Bug: skia:12723
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/495556
Reviewed-by: Nathaniel Nifong <nifong@google.com>
2022-01-31 14:00:48 +00:00
skia-autoroll
6e1afd3bfe Roll ANGLE from 8a1f8af4d24c to a4a4fec8b77f (7 revisions)
8a1f8af4d2..a4a4fec8b7

2022-01-29 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from f703f3cc0975 to 69f4b9c09e48 (10 revisions)
2022-01-29 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 746e518a0b0e to f703f3cc0975 (1 revision)
2022-01-29 ynovikov@chromium.org Update one more SYNC-HAZARD-WRITE_AFTER_READ skip
2022-01-29 jmadill@chromium.org Vulkan: Refactor descriptor pool code.
2022-01-29 ynovikov@chromium.org Update SYNC-HAZARD-WRITE_AFTER_READ skip
2022-01-28 j.vigil@samsung.com EGL: mutable_render_buffer deferredFlush fix
2022-01-28 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from a19b5047ffca to 746e518a0b0e (5 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 borenet@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: borenet@google.com
Change-Id: I9bcf4c18811120b1fc0063889ba57e360d0ebf60
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502099
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-01-31 05:25:09 +00:00
skia-autoroll
c61fb090c2 Roll SwiftShader from f45f8d0b4b52 to 4db20a80409b (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/f45f8d0b4b52..4db20a80409b

2022-01-28 srisser@google.com Regres queries gerrit with a CL's numeric ID

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 borenet@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: borenet@google.com
Change-Id: Ibc3759b168720e49836b3cb9d9e1eb9e29585e99
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502100
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-01-31 04:52:43 +00:00
skia-autoroll
f66d42c5fe Roll Chromium from 88f84a0cde86 to 46a6e399e465 (644 revisions)
88f84a0cde..46a6e399e4

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

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/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:Perf-Mac10.13-Clang-MacBookPro11.5-GPU-RadeonHD8870M-x86_64-Release-All-CommandBuffer;skia/skia.primary:Test-Mac10.13-Clang-MacBookPro11.5-GPU-RadeonHD8870M-x86_64-Debug-All-CommandBuffer
Tbr: borenet@google.com
Change-Id: Iaf62d020c489b564455c148f1771b6bc8a5e9535
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502101
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-01-31 04:37:40 +00:00
skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com
169dc2550d Update SKP version
Automatic commit by the RecreateSKPs bot.

Change-Id: I6e8d5bda9f8d9ba6ad4bf5b32cf4013344c363b1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502088
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-01-30 08:19:10 +00:00
skia-autoroll
0e5a10b494 Roll SK Tool from 49bd35a86587 to a48827a391c7
https://skia.googlesource.com/buildbot.git/+log/49bd35a86587..a48827a391c7

2022-01-30 skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com Update CIPD Packages
2022-01-29 jcgregorio@google.com [status] More CSS fixes for details-dialog-sk.

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: I9106be73427bc7d07d969a64293f1dc9d2187b90
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502077
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-01-30 06:03:39 +00:00