Commit Graph

58037 Commits

Author SHA1 Message Date
skia-autoroll
1ddf724e37 Roll ANGLE from 0dbe308d91a3 to 421dbf200d36 (8 revisions)
0dbe308d91..421dbf200d

2021-10-26 cclao@google.com Revert "Vulkan: Use different strategy for buffer memory allocation"
2021-10-26 cclao@google.com Revert "Vulkan: Let BufferVk call into VMA for allocation when possible"
2021-10-26 syoussefi@chromium.org Translator: Fix precision bug in HLSL generation
2021-10-26 timvp@google.com Reland "Vulkan: Flush descriptor set updates during flush*Commands()"
2021-10-26 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 19d99befaa5f to 06cd4429bf9e (4 revisions)
2021-10-26 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from c5e237273696 to 21810915c4f1 (1 revision)
2021-10-26 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 9d26607df45d to b7a27dd8face (437 revisions)
2021-10-26 cclao@google.com Vulkan: Let BufferVk call into VMA for allocation when possible

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 egdaniel@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: egdaniel@google.com
Change-Id: If1d81af9c19b4966c27415d8548ef6b5cf7f4720
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463998
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-27 05:22:33 +00:00
skia-autoroll
00f3eb453c Roll Chromium from 1704efc5bbba to 9a6759748ac2 (468 revisions)
1704efc5bb..9a6759748a

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 egdaniel@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: egdaniel@google.com
Change-Id: I5cc3ce2f59b656fc74e833b16a5aa284dfb202b1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463999
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-27 05:16:09 +00:00
skia-autoroll
5bb2e218d3 Roll SwiftShader from 21810915c4f1 to d143249a93bc (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/21810915c4f1..d143249a93bc

2021-10-26 srisser@google.com Make git-hooks track with origin/main

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 egdaniel@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: egdaniel@google.com
Change-Id: I7ae14cf17a56b9c9082c69cce2154f5a5f26785c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463997
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-27 05:12:10 +00:00
skia-autoroll
6c2b4055fe Roll Dawn from f4c8a6ac9ba5 to 3c786cd418f6 (6 revisions)
https://dawn.googlesource.com/dawn.git/+log/f4c8a6ac9ba5..3c786cd418f6

2021-10-26 enga@chromium.org Revert "Reland "Populate some D3D12 limits from the backend""
2021-10-26 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 6c4effe65445 to e7ca884b3d12 (1 revision)
2021-10-26 enga@chromium.org Populate some Metal limits up from the backend
2021-10-26 enga@chromium.org Reland "Populate some D3D12 limits from the backend"
2021-10-26 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 0436d045ab03 to 6c4effe65445 (1 revision)
2021-10-26 bclayton@google.com Fix overridable constants

Also rolling transitive DEPS:
  https://dawn.googlesource.com/tint from 0436d045ab03 to e7ca884b3d12

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 alanbaker@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: alanbaker@google.com
Change-Id: Ie346fa2cf9aba92016f77cdabe53ded046fac9f8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463996
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-27 04:44:04 +00:00
Greg Daniel
c75e0ef2b3 [graphite] Add IndexWriter and UniformWriter classes.
This also adds a base class BufferWriter which Vertex, Index, and
Uniform Writers inherit from

Bug: skia:12466
Change-Id: Icbac1210fbbd07321f9d88728ddde1e761fe4bb0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463496
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Chris Dalton <csmartdalton@google.com>
2021-10-27 00:20:38 +00:00
John Stiles
14c328247b Update Metal type sizes and alignments.
The original values assumed that `half` types would be sized the same as
a `float`. This is still the case (as skia:12339 is not yet fully
implemented) but this CL now contains the expected half values as well.

Change-Id: I94ff73446d29318f127600fb681c222a759936cc
Bug: skia:12339
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463736
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2021-10-26 21:51:35 +00:00
John Stiles
9ec61da31b Fix Clang warning -Wbitwise-instead-of-logical.
warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
    inherit_if_needed(currentNode->fX               , attrs->fX)      |
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  note: cast one or both operands to int to silence this warning

Change-Id: I6d59a5c33826af29560c0e30ddf9f4e16581882c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463896
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Florin Malita <fmalita@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Florin Malita <fmalita@google.com>
2021-10-26 21:35:37 +00:00
Joe Gregorio
cb04e3981f [mac] CPU dimensions are too precise and miss new Macminis in the pool.
- Drop the following dimensions:
   reserved_for_xcode_version:*
   gpu:none

- Loosen the cpu dimension.
- Restrict to cores:12 to avoid using the VMs.

The failing iPhone6 bots are failing on the main waterfall today
so they are WAI.

See also: https://bugs.chromium.org/p/chromium/issues/detail?id=1257420

Change-Id: I9f0eef7c6904e652a011937ab99c465e9d483172
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463141
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
2021-10-26 20:36:33 +00:00
Kevin Lubick
97284f255b [infra] Add initial platforms and constraint values
This makes use of Bazel's pre-defined platforms
https://github.com/bazelbuild/platforms
and some of our own defined values (see
//bazel/common_config_settings/BUILD.bazel) to customize
the build rules.

I verified this by building bazel_test locally for
linux x64 as well as using the third_party deps for
a WASM build (using build files not seen in this CL).

Suggested Review Order:
 - https://docs.bazel.build/versions/main/platforms.html if not
   already familiar with Bazel Platforms
 - third_party/BUILD.bazel to see that 1) all globs have
   been removed and 2) select() targets various
   platform constants or groups of constants to control
   sources, headers, and local_defines.
 - common_config_settings/ to see the groups of constraints
   created, as well as new constraint_settings defined
   (skdebug_impl)
 - supported_combinations/ to see how we can define supported
   sets of the constraint values (aka Bazel platforms).
   I imagine expanding this more, so we might have platforms
   named "linux_x64_emptyfontmgr_vulkan" or such.
 - //BUILD.bazel and bazel_test.cpp to see use of SkDebugf.
 - Everything else.

Change-Id: I49e4abdbcf7b76f0674efdbb1f53dc8823d110ee
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463517
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
Owners-Override: Kevin Lubick <kjlubick@google.com>
2021-10-26 18:27:13 +00:00
Greg Daniel
e82c1c11bc Add support for vk drm format modifiers.
On linux we need to support drm format modifiers on vulkan images. When
we have a modifier it can restrict the allowed usages/features of the
VkImage.

The current use case we have for images coming into skia that have
these modifiers are from video decoders. All these images are only used
as sampled images in draws and they have no filtering applied.
Therefore, for now, instead of tracking all format and modifier pairs
to know what is supported, we internally set these images to be external
which already restricts their use to basic in shader sampling.

Additionally in chrome, all these images are coming in ycbcr conversions
already which we treat as external.

Bug: skia:12336
Change-Id: I59a564f937f49a6d906efe954b24cebe5c7470ff
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/441298
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2021-10-26 18:22:07 +00:00
Robert Phillips
7898607697 Fix CL collision (rm SLType Byte type usage)
Change-Id: I47ff2b564f4ab785085657f84c095e2a97d65107
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463737
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2021-10-26 17:56:38 +00:00
Jim Van Verth
215b48dc23 [graphite] Fix link error in DrawOrder.h
Bug: skia:12466
Change-Id: I1e7812e3600cacc8fe678e924d48c27fb8b88138
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463716
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Auto-Submit: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
2021-10-26 16:54:10 +00:00
Greg Daniel
4427d1eebf Remove some uses of direct fPtr access in VertexWriter.
Ideally we could move fPtr on VertexWriter to be private to force all
users of VertexWriter to go through the write functions. This CL at
least removes all users that were using fPtr for validity checking of
the VertexWriter.

I also move fPtr to private and added a temporary public getter. This
will allow us to make a base Writer class where fPtr is private and
we'll only expose the getter on the VertexWriter.

Change-Id: Ib389778d0f530fb31cef85460f00bd9f687c5219
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463456
Commit-Queue: Greg Daniel <egdaniel@google.com>
Auto-Submit: Greg Daniel <egdaniel@google.com>
Reviewed-by: Chris Dalton <csmartdalton@google.com>
2021-10-26 16:54:07 +00:00
Robert Phillips
ef8907c69f [graphite] Rename UniformDataManager to UniformManager and update
Gerrit didn't do so well on this CL. What's changed in the UniformManager is:

a lot of unused stuff was pared out of the UniformDataManager
the Write methods now return the number of bytes written in the call (incl. padding)
all the "#ifdef SK_DEBUG" stuff is new to validate against the prior way of writing uniforms

Bug: skia:12466
Change-Id: I172a74273c774257f751750aef37f4bd4c4e7e7b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463458
Reviewed-by: Greg Daniel <egdaniel@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2021-10-26 16:26:13 +00:00
John Stiles
f6fb3db1dc Remove GrSL byte types.
Byte types were removed from SkSL in http://review.skia.org/404219.

Change-Id: Iec726de0be2ce371a20e21638638a495fae282a0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463498
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-10-26 15:48:09 +00:00
Jim Van Verth
c545aa5aa6 [graphite] Add uniform buffer support to command buffer
Bug: skia:12466
Change-Id: Ie4c1973427e96d84b77f28edb5a4d6f1d53ef8aa
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463316
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
2021-10-26 15:40:08 +00:00
John Stiles
8ed23eb917 Implement array casts in Metal.
These are not very interesting right now, because the in and out types
boil down to the same thing (int/int, float/float). When half-
precision types are enabled, these helpers will be more useful. They
will return an array which casts each element from int-to-short or
float-to-half (or vice versa).

Change-Id: Ida716ddd27d370ba33fd23f17a1b07fa5a201e40
Bug: skia:12339
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463337
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-10-26 15:26:43 +00:00
Michael Ludwig
2a372177e8 [graphite] Max draw count in DrawList
Bug: skia:12466
Change-Id: Ic312ce41b5eb0ae0c20e6b76032b984d9a406d89
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462884
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Auto-Submit: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
2021-10-26 15:17:14 +00:00
Michael Ludwig
04bff8ba6e [graphite] Consolidate ordering constraints into DrawOrder type
Bug: skia:12466
Change-Id: I734c3a9595948dfb74f8ec72684183fe743bfefb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462883
Auto-Submit: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2021-10-26 15:15:45 +00:00
Jim Van Verth
649e3c2f98 [graphite] Reorganize CommandBuffer a little
* Keep RenderPass-related routines together
* Rename setRenderPipeline to bindRenderPipeline
* Pass resources as const& to platform-specific routines, to avoid
  copies.

Bug: skia:12466
Change-Id: I4c3ea006263ace4a050b6c86f70163f5fd5e254a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463336
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2021-10-26 14:07:04 +00:00
John Stiles
b37100de7d Update Metal matrix intrinsic polyfills to allow half.
The inverse, outerProduct and matrixCompMult polyfill functions in Metal
were written assuming that all float matrices would use the `float`
type. They now use a template so that `half` matrices will work too.

Change-Id: I7696c8ad1e4aaffbd71c56b9245485e74cd96c5a
Bug: skia:12339
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463338
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-10-26 13:18:10 +00:00
skia-autoroll
643bd0fc8f Roll ANGLE from b638d29d4009 to 0dbe308d91a3 (8 revisions)
b638d29d40..0dbe308d91

2021-10-26 cclao@google.com Vulkan: Use different strategy for buffer memory allocation
2021-10-26 ajgo@chromium.org Disable cfguard for tcu/depq test files
2021-10-25 kpiddington@apple.com Metal: Allow zero-sized scissors
2021-10-25 geofflang@chromium.org Don't release EGLImage refs until backends are respecified
2021-10-25 geofflang@google.com GL: Allow selecting virtualization groups at context creation
2021-10-25 syoussefi@chromium.org Vulkan: Fix UBSAN error in CommandBatch
2021-10-25 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 4b6798af71b9 to 19d99befaa5f (6 revisions)
2021-10-25 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 75578cc5e47d to 9d26607df45d (282 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 egdaniel@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: egdaniel@google.com
Test: Test: CQ
Change-Id: I3ab581a035ff9baffd65be055ab6bb240e0fd695
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463482
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-26 05:22:10 +00:00
skia-autoroll
b0d326c866 Roll SwiftShader from c5e237273696 to 21810915c4f1 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/c5e237273696..21810915c4f1

2021-10-25 capn@google.com Delay extension support check until instance/device creation

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 egdaniel@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: egdaniel@google.com
Change-Id: I02cac8b7b42d46c219a1c8c4cb2d9621ce5bedc0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463483
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-26 05:12:13 +00:00
skia-autoroll
9fbe80777e Roll Chromium from 93e24c468ba0 to 1704efc5bbba (420 revisions)
93e24c468b..1704efc5bb

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 egdaniel@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: egdaniel@google.com
Change-Id: I954739a8dfc6e5a3b86ec49614a695c6379aed54
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463481
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-26 05:12:08 +00:00
skia-autoroll
0d3f184582 Roll Dawn from eb0d90050667 to f4c8a6ac9ba5 (7 revisions)
https://dawn.googlesource.com/dawn.git/+log/eb0d90050667..f4c8a6ac9ba5

2021-10-26 shrekshao@google.com Mark pipeline overridable constants as unsafe
2021-10-25 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from c73b57f2c68e to 0436d045ab03 (2 revisions)
2021-10-25 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 33c13c6e2802 to c73b57f2c68e (1 revision)
2021-10-25 enga@chromium.org Revert "Disable DrawIndexedIndirect"
2021-10-25 bclayton@google.com wgsl: Remove unnecessary phony-assignments
2021-10-25 bclayton@google.com wgsl: Migrate from ignore() to phony-assignment
2021-10-25 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 7b776f18b0a4 to 33c13c6e2802 (1 revision)

Also rolling transitive DEPS:
  https://dawn.googlesource.com/tint from 7b776f18b0a4 to 0436d045ab03

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 alanbaker@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: alanbaker@google.com
Change-Id: I4378a4879d32940ceb20aba20f02c38e53299330
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463484
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-26 04:45:02 +00:00
Greg Daniel
a21aacf7c7 [graphite] Allow graphite to compile without ganesh and add shared gn files.
With this you should be able to set skia_enable_gpu=false in your gn
args and still be able to compile and run graphite.

Bug: skia:12466
Change-Id: Ibffc8774a8c46afad3f717dabc54fa831338a807
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463317
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2021-10-26 01:25:05 +00:00
Michael Ludwig
1f27d9ad54 [graphite] Stub out Renderer and RenderStep
Bug: skia:12466
Change-Id: I8a31cd8480199a941dfc1d9d1092f8a1dafdb0da
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462882
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2021-10-26 00:57:40 +00:00
Michael Ludwig
8744f3b84d [graphite] Remove unused prior task depdency on RenderPassTask
Bug: skia:12466
Change-Id: I794de6af814ab1b3e9517e139582e06382ecf957
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462881
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2021-10-26 00:17:31 +00:00
Michael Ludwig
e167dda424 [graphite] Move TextureProxy ctor impl into to resolve forward decl
Bug: skia:12466
Change-Id: I273fbb51730d85cda6921747e72ace2b9d7601e1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462880
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
2021-10-25 20:08:45 +00:00
Michael Ludwig
18d0015c82 [graphite] Move some types to GraphiteTypesPriv
Bug: skia:12466
Change-Id: If90c17634de9caa2ac3a928187226339523d53eb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462879
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Auto-Submit: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2021-10-25 19:18:32 +00:00
Greg Daniel
a98f6b57ec [graphite] Add copy texture to buffer task.
Bug: skia:12466
Change-Id: Ifd70300896504f8567e6395c3d3683f0d37c905b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463056
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2021-10-25 18:59:07 +00:00
John Stiles
2e20e7674c Use virtual method for slotCount.
Using a switch is overkill now that Types are implemented in subclasses.

Change-Id: If7874dfa9a5b02f168ac7c6c3f69a2bd6f9c2a80
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463156
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-10-25 18:47:10 +00:00
Chris Dalton
52aee23ded GrVertexWriter -> skgpu::VertexWriter
This class can now be shared with Graphite.

Bug: skia:12524
Change-Id: I7841410b3e8e111a12298efe0a1898a33295873a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462556
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
2021-10-25 17:25:02 +00:00
Brian Osman
c00c888db1 Revert "Disable GL_NV_shader_noperspective_interpolation on PowerVR"
This reverts commit 9dd63710f1.

Reason for revert: The actual issue was related to cached shaders recorded on a different device. No evidence of actual driver bug.

Original change's description:
> Disable GL_NV_shader_noperspective_interpolation on PowerVR
>
> There's probably a more specific check we could use, but we're seeing
> shaders fail to compile when enabling this extension on some MediaTek
> devices.
>
> Bug: b/177473804
> Change-Id: Ic91f60c6935386f44d9386c362e9f778c28a4099
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/460576
> Reviewed-by: Robert Phillips <robertphillips@google.com>
> Commit-Queue: Brian Osman <brianosman@google.com>

Bug: b/177473804
Change-Id: Iea36dd74a2a530f8347517bee76d83ceacc262a0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463057
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2021-10-25 15:10:38 +00:00
skia-autoroll
2b0935b71a Roll ANGLE from 9e8c929e7df9 to b638d29d4009 (10 revisions)
9e8c929e7d..b638d29d40

2021-10-22 steven@valvesoftware.com TransformFeedbackTest: fix buffer read overrun
2021-10-22 syoussefi@chromium.org Roll libunwind together with Chromium
2021-10-22 steven@valvesoftware.com metal: fix crash when checking for flat attributes
2021-10-22 steven@valvesoftware.com FramebufferTest: fix read overruns in glTexImage2D upload
2021-10-22 steven@valvesoftware.com DrawBuffersTest: fix use-after-free bug
2021-10-22 steven@valvesoftware.com avoid reading past end of stack array in GetEnvironmentVar
2021-10-22 lubosz.sarnecki@collabora.com SurfaceVk: Use vkGetPhysicalDeviceSurfaceFormats2KHR.
2021-10-22 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from f70ffc911963 to 4b6798af71b9 (11 revisions)
2021-10-22 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 6683bca5f94e to c5e237273696 (1 revision)
2021-10-22 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from af7960f051e8 to 75578cc5e47d (193 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 egdaniel@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: egdaniel@google.com
Change-Id: I8f612341eacc225822468a5e3b83676ca07fdc2e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462897
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-25 05:24:02 +00:00
skia-autoroll
1a55516104 Roll Chromium from 22f770413deb to 93e24c468ba0 (255 revisions)
22f770413d..93e24c468b

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 egdaniel@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: egdaniel@google.com
Change-Id: I6fd29823abc8ec8545b0621bb23c94013ea16f55
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462896
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-25 05:03:36 +00:00
skia-autoroll
d8e8681c98 Roll Dawn from 4ce84fcfe150 to eb0d90050667 (3 revisions)
https://dawn.googlesource.com/dawn.git/+log/4ce84fcfe150..eb0d90050667

2021-10-22 bajones@chromium.org Improving Metal backend validation messages.
2021-10-22 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from c2fa68e55145 to 7b776f18b0a4 (1 revision)
2021-10-22 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 092326894e9c to c2fa68e55145 (4 revisions)

Also rolling transitive DEPS:
  https://dawn.googlesource.com/tint from 092326894e9c to 7b776f18b0a4

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 jrprice@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: jrprice@google.com
Change-Id: Ia4534c073ad32cd49031042083b26260e7468983
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462898
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-25 04:51:34 +00:00
skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com
8dd1f50a65 Update SKP version
Automatic commit by the RecreateSKPs bot.

Change-Id: I54235e0eccfa7dfe0880ad6b97aa10e6282cd2c2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462779
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>
2021-10-24 08:26:02 +00:00
skia-autoroll
aa3eadb6ac Roll SK Tool from fa093a925e85 to b3b84cea26aa
https://skia.googlesource.com/buildbot.git/+log/fa093a925e85..b3b84cea26aa

2021-10-24 skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com Update CIPD Packages

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 jcgregorio@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: jcgregorio@google.com
Change-Id: Iec011f8e61434e2e686e0e1c4b7fb88497ca535b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462777
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-24 06:16:01 +00:00
Julia Lavrova
3941bcad32 Fixing Android build
Change-Id: I8e1b3f0cd9e18967f6f821f639e66efe3d59b20d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462519
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Julia Lavrova <jlavrova@google.com>
2021-10-22 17:49:02 +00:00
Julia Lavrova
f997f82011 RTL
Change-Id: I5ff001f2c839c08b91dd50e4e813c4d3c885a857
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/456474
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Julia Lavrova <jlavrova@google.com>
2021-10-22 16:21:02 +00:00
skia-autoroll
84762902f1 Roll Chromium from 54201acd43e4 to 22f770413deb (388 revisions)
54201acd43..22f770413d

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 jcgregorio@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: jcgregorio@google.com
Change-Id: I22fc1f21d35f2899052d7234b9a11ab0eac42c02
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462576
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-22 05:53:32 +00:00
skia-autoroll
18cc8de596 Roll ANGLE from b06606b99291 to 9e8c929e7df9 (17 revisions)
b06606b992..9e8c929e7d

2021-10-22 steven@valvesoftware.com FastVector: fix stack read overrun in ensure_capacity
2021-10-22 syoussefi@chromium.org Roll vulkan-deps from 59f9313742fc to f70ffc911963 (16 revisions)
2021-10-22 syoussefi@chromium.org Vulkan: Use the UNDEFINED layout for ExternalPreInitialized
2021-10-21 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 3601990474ad to af7960f051e8 (157 revisions)
2021-10-21 syoussefi@chromium.org Doc: Clarify purpose of listed build options in DevSetup.md
2021-10-21 steven@valvesoftware.com vulkan: fix read overrun in commonDebugUtilsLabel
2021-10-21 sergeyu@google.com Enable SwiftShader on Fuchsia
2021-10-21 syoussefi@chromium.org Roll Chromium from 0d66e54fc44e to 3601990474ad (437 revisions)
2021-10-21 jmadill@chromium.org Add GL_ANGLE_robust_fragment_shader_output.
2021-10-21 steven@valvesoftware.com VertexArray: on destroy, remove observer on element array buffer
2021-10-21 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 2a86d62642ce to 6683bca5f94e (1 revision)
2021-10-21 jmadill@chromium.org Remove ProgramExecutable's "isCompute" property.
2021-10-21 jmadill@chromium.org Make "isCompute" private to ProgramExecutable.
2021-10-21 jmadill@chromium.org Pass command type down to ContextImpl::syncState.
2021-10-21 gert.wollny@collabora.com Capture/Replay: capture some ProgramPipeline parameters
2021-10-21 gert.wollny@collabora.com Capture/Replay: Allow capturing Gen/Delete with zero elements
2021-10-21 gert.wollny@collabora.com Capture/Replay: capture program with ActiveShaderProgram too

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 jcgregorio@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: jcgregorio@google.com
Change-Id: Ic14caef122ffaa1a354f95c78f01c76ca8731600
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462577
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-22 05:31:07 +00:00
skia-autoroll
2d1af18625 Roll SwiftShader from 6683bca5f94e to c5e237273696 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/6683bca5f94e..c5e237273696

2021-10-21 srisser@google.com Update git-hooks to latest version

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 jcgregorio@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: jcgregorio@google.com
Change-Id: Id691f2ef9ae27d103f2c74fda42ab35a30e32aff
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462578
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-22 05:06:07 +00:00
skia-autoroll
e96ab209ae Roll Dawn from 0383297416f9 to 4ce84fcfe150 (14 revisions)
https://dawn.googlesource.com/dawn.git/+log/0383297416f9..4ce84fcfe150

2021-10-21 bajones@chromium.org Improving Vulkan backend validation messages.
2021-10-21 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 042bd0274733 to 092326894e9c (6 revisions)
2021-10-21 bajones@chromium.org Revert "Improve validation errors for encoders"
2021-10-21 amaiorano@google.com dawn_node: add "enable/disable-dawn-features=<comma-separated-values>"
2021-10-21 amaiorano@google.com dawn_node: add "dlldir=<path>" flag
2021-10-21 amaiorano@google.com dawn_node: add "dawn-backend=<value>" flag
2021-10-21 bajones@chromium.org Improving D3D12 backend validation messages.
2021-10-21 amaiorano@google.com Add /third_party/gpuweb to .gitignore
2021-10-21 amaiorano@google.com dawn_node: add support for input flags
2021-10-21 bajones@chromium.org Improve validation messages for surface/swap chain
2021-10-21 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 8cab28c9f9cd to 042bd0274733 (1 revision)
2021-10-21 bajones@chromium.org Improving OpenGL backend validation messages.
2021-10-21 aleksi@sapon.ca Zero the index offsets before an indirect draw
2021-10-21 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 347c74e67126 to 8cab28c9f9cd (1 revision)

Also rolling transitive DEPS:
  https://dawn.googlesource.com/tint from 347c74e67126 to 092326894e9c

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 jrprice@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: jrprice@google.com
Change-Id: If31e2f07b2439f53ea3a9ebe620dc93d444fd773
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462579
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-22 04:49:11 +00:00
Jim Van Verth
99b3d8f8ea [graphite] Move work and resource tracking to CommandBuffer base class.
Also adds test of texture copyback to CommandBufferTest, and
endEncoding() to BlitCommandEncoder.

Bug: skia:12466
Change-Id: I57e4646aacc1d950cc16b70d7feeced1a04e6867
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462078
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2021-10-21 21:25:34 +00:00
Ravi Mistry
f42503c83e [g3-canary] Add PROD.md for infra failure alerts
Bug: skia:12521
Change-Id: I4620aafdf1a1d83039e4a23ede53e2a3d2351d55
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/457760
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
2021-10-21 21:25:32 +00:00
John Stiles
e26e010000 Move GrUniformDataManager setter logic into templates.
This code originally contained 16 extremely similar versions of the same
logic. (set1i, 1iv, 1f, 1fv, 2i, 2iv...)

Now the core logic has been boiled down to two (set, setv) templated
helper functions, one for array and one for non-array uniforms. Template
arguments fill in the minor variations between each type.

Structuring the logic in this way makes it easier to perform sweeping
changes as needed, and guarantees that the setters all work the same.

Change-Id: Iaa74d25c612b12ab26d7f32879c174bca6c850c1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462099
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-10-21 21:08:37 +00:00
skia-autoroll
f93f6f2aaf Roll SK Tool from 192352898ba5 to 4b11248acd92
https://skia.googlesource.com/buildbot.git/+log/192352898ba5..4b11248acd92

2021-10-21 borenet@google.com [autoroll] Add skia-autoroll-internal-config to PROJECT_REPO_MAPPING

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 jcgregorio@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: jcgregorio@google.com
Change-Id: I03ac0559025e219841a4df40091a3d7b0e945873
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462320
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2021-10-21 20:54:08 +00:00
Chris Dalton
6b90705437 Simplify GrVertexWriter::writeQuad
This allows GrQuad to be written as a quad without the header needing
knowledge of it.

Bug: skia:12524
Change-Id: I22f67021877de426f710981d4fa2bd48c88a4d52
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462319
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-10-21 20:42:37 +00:00