Commit Graph

57762 Commits

Author SHA1 Message Date
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
Brian Osman
95a8c4fdc0 Make all shader caps uniquely-owned
Bug: skia:12559
Change-Id: I5775120a826e582e73aab83273e59bc48c057a5b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462077
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2021-10-21 20:11:03 +00:00
John Stiles
97d9e47e8f Reduce the size of the lexer's data tables.
The lexer uses a matrix of state transition data to parse text. This
matrix was highly sparse and contained large runs of zeros and repeated
values. I found that by transposing the matrix, it became extremely
compressible. In its transposed state, most slices had only 1-3 unique
nonzero values.

This CL leverages this finding to reduce the matrix data from ~55K to
~10K. A handful of slices do contain a large number of unique values and
continue to be represented as plain 16-bit arrays. Some slices contain
no data at all and were eliminated entirely. The majority of slices are
now represented by a compact two-bit array. Bit pattern 00 always
represents zero. Bit patterns 01, 10 and 11 are translated into values
v0, v1 and v2, which are stored per slice (bit-packed to save a few
extra bytes). This transformation involves a fair amount of bit shifting
and masking, but the generated code will be quite efficient:
https://godbolt.org/z/eTvjr96ez

Change-Id: Iecc67aadd510ccf63b4bcb11ed861d703efefaae
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/461356
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2021-10-21 19:53:36 +00:00
Jim Van Verth
dbd3b1b04c [graphite] Add pipeline and draw support
Bug: skia:12466
Change-Id: I5c0c919d4523258a11b4545346093953a4f09c7e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/461597
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2021-10-21 19:34:26 +00:00
John Stiles
ff32c42ca3 Simplify matrix uniform data management.
We can use `if constexpr` to avoid the need for a helper function that
uses template specialization, and we can use `getBufferPtrAndMarkDirty`
instead of performing the equivalent operations by hand.

Change-Id: I548c719bae4f215e0a9c658a942deaec38ce27ad
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462098
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2021-10-21 19:27:11 +00:00
Chris Dalton
09f4864734 Convert GrVertexWriter to a "stream syntax" API
This helps remove all Ganesh dependencies from GrVertexWriter so it can
be shared with Graphite.

Bug: skia:12466
Change-Id: I1ede1cfc48d501cb1e028bca1e8590e6c92f4e4d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462316
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-10-21 18:51:00 +00:00
Julia Lavrova
dee9c2ae0c RTL done right (only WrappedText and VisualRun classes deal with it)
Jul started. It does not work yet.

Change-Id: Ie2c3d943f281dae86befff64f7342c097a5bc7b9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/455257
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Julia Lavrova <jlavrova@google.com>
2021-10-21 18:41:30 +00:00
Brian Osman
2d1207acb9 Remove the "in blend modes randomly fail for all zero vec" workaround
At this point, it seems like this was a mis-diagnosis of the underlying
issue around dual-source blending (and its interaction with other blend
state).

Change-Id: I11af0c9b70c32e14c353848db3d6adbfe5f08225
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462176
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2021-10-21 16:54:51 +00:00
Kevin Lubick
7ce380e967 [canvaskit] Remove deprecated MakeTypefaceFromData and RefDefault
Change-Id: I0072fa5c11834a6250f2f5b9290ecea0d30f2128
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462177
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
2021-10-21 16:45:42 +00:00
Kevin Lubick
2d13fab55c [canvaskit] Define requestAnimationFrame and other definition fixes.
Change-Id: I28a908fb680d704bf730a5968691f54d4a9e0a68
Bug: skia:12555 skia:12550
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462056
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
2021-10-21 16:45:42 +00:00
Leandro Lovisolo
83d71bd12c Remove redundant Test*-Android_ASAN and Test*-Android_ASAN_Vulkan tasks.
These tasks were made redundant by the new Test*-Android_HWASAN tasks introduced in the parent CL (https://skia-review.googlesource.com/c/skia/+/436572).

See parent CL and http://go/skia-android-hwasan for the rationale and details.

Bug: skia:12099
Change-Id: I17db9cfe3ae2f08a73262fbd336a65b99a4d72cd
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/461357
Commit-Queue: Leandro Lovisolo <lovisolo@google.com>
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
2021-10-21 15:25:56 +00:00
Leandro Lovisolo
b34e97b5d9 Add Android HWAddress Sanitizer tasks.
Design doc: http://go/skia-android-hwasan.

This CL defines the following tasks:

- Build-Debian10-Clang-arm64-Debug-Android_HWASAN
- Test-Android-Clang-Pixel4a-CPU-Snapdragon730G-arm64-Debug-All-Android_HWASAN
- Test-Android-Clang-Pixel4a-GPU-Adreno618-arm64-Debug-All-Android_HWASAN

The HWAddress Sanitizer is only available on 64-bit Arm devices, and requires Android 10+ built with HWAddress Sanitizer support. There are prebuilt HWASan images for supported Pixel devices at https://ci.android.com (instructions at https://developer.android.com/ndk/guides/hwasan).

To support these tasks, we added two Pixel 4a devices to the tree, flashed with the corresponding prebuilt HWASan image. The specific Pixel devices were chosen based on stock availability.

See patchset 11 for an example error I introduced in //gm/3d.cpp, which was caught by the HWAddress Sanitizer.

Bug: skia:12099
Change-Id: Ic3847abc61c8a1bf686d29b97ef9d89b9bb5eb86
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/436572
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Leandro Lovisolo <lovisolo@google.com>
2021-10-21 15:22:44 +00:00
Jim Van Verth
bb553eda93 [graphite] Implement remainder of RenderCommandEncoder methods
Bug: skia:12466
Change-Id: I7be58aca7eedf18e4157d9473216785eead8c89a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/461700
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2021-10-21 14:54:33 +00:00
John Stiles
f08ebb15f0 Add a distinct error message for reserved words.
After reporting the error, we convert the reserved word to an identifier
as this led to the best error reporting. (This avoids double error
reporting or strange cascading errors.)

Change-Id: I67209bc342fe794287baeaaaf34fa77afd4ac26b
Bug: skia:12560
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462096
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2021-10-21 14:26:06 +00:00
Kevin Lubick
05ac1b86ad Add LICENSE to third_party/musl_compat
Change-Id: I997446733308e61db850aa022e06fd3609b0d914
Bug: skia:12563
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/462076
Reviewed-by: Ravi Mistry <rmistry@google.com>
2021-10-21 13:49:16 +00:00
Kevin Lubick
4d41304def [infra] Add hermetic toolchain for C/C++ using Clang+Musl
This can successfully build a C library:
   bazel build --config=clang //third_party:libpng

This can build and run a statically-linked executable:
   bazel test --config=clang //:bazel_test

For more verbose compile and linking output, add the
`--features diagnostic`
flag to a Bazel command (see _make_diagnostic_flags() in
toolchain/clang_toolchain_config.bzl. Similarly, a
`--features print_search_dirs` can be used to show where
clang is looking for libraries etc to link against.
These features are made available for easier debugging.

Suggested review order:
 - Read https://docs.bazel.build/versions/4.2.1/tutorial/cc-toolchain-config.html
   if unfamiliar with setting up C++ toolchains in Bazel
 - .bazelrc and WORKSPACE.bazel that configure use and download
   of the toolchain (Clang 13, musl 1.2.2)
 - toolchain/build_toolchain.bzl which downloads and assembles
   the toolchain (w/o installing anything on the host machine)
 - toolchain/BUILD.bazel and toolchain/*trampoline.sh to see
   the setup of the toolchain rules.
 - toolchain/clang_toolchain_config.bzl to see the configuration
   of the toolchain. Pay special attention to the various
   command line flags that are set.
 - See that tools/bazel_test.cc has made a new home in
   experimental/bazel_test/bazel_test.cpp, with a companion
   BUILD.bazel. Note the addition of some function calls
   that test use of the C++ standard library.
   The number being used to test the PNG library is the latest
   and greatest that verifies we are compiling the one brought
   in via DEPS (and not a local one).
 - third_party/* to see how png (and its dependent zlib) have
   been built. Pay special attention to the musl_compat hack
   to fix static linking (any idea what the real cause is?)
- //BUILD.bazel to see definition of the bazel_test executable.

Change-Id: I7b0922d0d45cb9be8df2fd5fa5a1f48492654d5f
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/461178
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
2021-10-21 12:43:49 +00:00
skia-autoroll
9cb2040059 Roll ANGLE from 02b73c2fd738 to b06606b99291 (16 revisions)
02b73c2fd7..b06606b992

2021-10-21 cnorthrop@google.com Tests: Add Zillow trace
2021-10-20 cnorthrop@google.com Capture/Replay: Fix glAttachShader filtering
2021-10-20 timvp@google.com Vulkan: Remove support for GL_RGB8 from DisplayVkAndroid
2021-10-20 kpiddington@apple.com Metal: Add Shadow Sampler Grad workaround for AMD
2021-10-20 jmadill@chromium.org Remove Nexus 5X expectations from dEQP tests.
2021-10-20 syoussefi@chromium.org Revert "Vulkan: Flush descriptor set updates during flush*Commands()"
2021-10-20 jmadill@chromium.org Re-land: "Isolate commit_id.h from other code."
2021-10-20 syoussefi@chromium.org Vulkan: Don't create pipeline with depthWrite if !depthTest
2021-10-20 jmadill@chromium.org infra: In milo, split console into 'compile' and 'test'.
2021-10-20 jmadill@chromium.org infra: Remove old bot configs.
2021-10-20 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 85101b9ec148 to 2a86d62642ce (3 revisions)
2021-10-20 m.maiya@samsung.com Remove glext_angle.h, merge contents into gl2ext_angle.h
2021-10-20 syoussefi@chromium.org Vulkan: SPIR-V Gen: Handle scalar(const) produced by index clamp
2021-10-20 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from fe06f6ff26f8 to 59f9313742fc (6 revisions)
2021-10-20 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 0d22e489aa33 to 0d66e54fc44e (485 revisions)
2021-10-20 syoussefi@chromium.org Translator: Validate precision for function args

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
Test: Test: Dota Underlords MEC
Test: Test: angle_perftests --gtest_filter="*zillow*"
Change-Id: I5174a72f71793abe41bf473b26885bdfe833932b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/461878
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 05:22:58 +00:00
skia-autoroll
c7038a7c41 Roll SwiftShader from 6b700ffc6a8a to 6683bca5f94e (2 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/6b700ffc6a8a..6683bca5f94e

2021-10-21 sergeyu@google.com [Fuchsia] Fix Vulkan compilation
2021-10-20 swiftshader.regress@gmail.com Regres: Update test lists @ 6b700ffc

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: I531aefc2a961982f10bb9b8364c3351bc43d0795
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/461879
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 05:09:31 +00:00
skia-autoroll
403215a12f Roll Chromium from 0a219531705e to 54201acd43e4 (434 revisions)
0a21953170..54201acd43

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: I6d2636ab98877bc577daaa523d5806ce66014c68
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/461877
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 05:01:01 +00:00
skia-autoroll
d252ff3f66 Roll Dawn from ba0d653b8c00 to 0383297416f9 (8 revisions)
https://dawn.googlesource.com/dawn.git/+log/ba0d653b8c00..0383297416f9

2021-10-21 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from e81d7dc3c80a to 347c74e67126 (1 revision)
2021-10-20 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 7103f51603dc to e81d7dc3c80a (2 revisions)
2021-10-20 enga@chromium.org Revert "Populate some D3D12 limits from the backend"
2021-10-20 bajones@chromium.org Various validation error improvements
2021-10-20 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 8645953be246 to 7103f51603dc (1 revision)
2021-10-20 bajones@chromium.org Improve validation errors for encoders
2021-10-20 enga@chromium.org Populate some D3D12 limits from the backend
2021-10-20 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 54180d6631b3 to 8645953be246 (1 revision)

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

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: Ib09a23ca88282dbb4b2ead6c3d54be45d743bc3f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/461880
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 04:40:35 +00:00
Brian Osman
e3ff9b1783 Remove GrContextOptions from GrShaderCaps constructor
Bug: skia:12559
Change-Id: I91e0b46702ca361737459d64d1cdb57f8dd2f64e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/461697
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2021-10-20 22:51:42 +00:00
John Stiles
b19be63810 Fix ODR violation in Metal code.
In places where we use GR_METAL_SDK_VERSION to determine the contents of
a class, it's important to consistently #include the header which sets
the value of GR_METAL_SDK_VERSION.

Change-Id: Ic4824ff36c982d3493ebec03dd38465bb90b287a
Bug: skia:12513
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/461836
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2021-10-20 21:33:32 +00:00
Jim Van Verth
6dcb6b44e9 [graphite] Take two at fixing non-Metal build
Bug: skia:12466
Change-Id: I7eb240985ce0c267bbc7be040e0f812407d31435
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/461699
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-20 20:53:08 +00:00
Michael Ludwig
251e7e6bfd [graphite] Wire up BoundsManager for color/depth ordering
Except that applyClipToDraw doesn't actually evaluate any clip shapes,
and the BoundsManager is the slow/naive one, I think all the changes to
Device fully implement the tracking/work needed for color/depth sorting.

Bug: skia:12466
Change-Id: I74f38e56d34d822c2be35f1ebedfb7c00b87f04c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/460616
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2021-10-20 20:20:01 +00:00
Jim Van Verth
271dedc924 [graphite] Add iOS compile bots
Bug: skia:12561
Change-Id: I0a739dcfd4214ee4855f04a70fb6f66ab638bf2e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/461478
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2021-10-20 19:53:39 +00:00
Jorge Betancourt
aaa70658c2 expose directional blur to skottie
Change-Id: I759e4fff7a6d9cd1aae6ece060d570d05c1af94a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/461236
Commit-Queue: Jorge Betancourt <jmbetancourt@google.com>
Reviewed-by: Florin Malita <fmalita@google.com>
2021-10-20 19:41:30 +00:00