Commit Graph

46994 Commits

Author SHA1 Message Date
recipe-roller
3705bf1b25 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (depot_tools) into this repository.

depot_tools:
  https://crrev.com/a3b6fd06f9d70795dc18d4ce8c7d66f6bf5a9c04 (ehmaldonado@google.com)
    Reland "my_activity.py: Run using vpython3 by default."

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I451a212f09dec80de3560ecd98e0cbd4fb26d911
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274509
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2020-03-02 22:51:39 +00:00
Brian Salomon
71fe945da3 Prevent unbounded listener growth on SkPixelRefs.
Use SkIDChangeListener and update GrBitmapTextureMaker to add listener
to key to deregister if texture is purged before genID changes.

Add a common listener list implementation and replace existing lists.

Change-Id: Ib0c78241eaf59b59b892d8b004b2bb095140bc6d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274549
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2020-03-02 22:32:09 +00:00
Mike Klein
89c995c196 hoist1
Add scalar hoisting too.  Nothing tricky.

Scalar loop is now good like the vector one:

    0x1065c7160: movl   %eax, (%rdx)
    0x1065c7162: decl   %edi
    0x1065c7164: addq   $0x4, %rdx
    0x1065c7168: testl  %edi, %edi
    0x1065c716a: jg     0x1065c7160

Change-Id: I9352e85bcae8d6be0d9092b2664841fde2c3c7d6
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274587
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2020-03-02 22:25:19 +00:00
Mike Klein
6a63365fee auto-detect MCPU
Change-Id: Id38c51704c99810b2237d18c18163d9d776451bf
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274588
Commit-Queue: Mike Klein <mtklein@google.com>
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Herb Derby <herb@google.com>
2020-03-02 22:21:49 +00:00
Ben Wagner
4b7052d714 [infra] Upgrade iPhone6 to iOS 12.4.5
Change-Id: Ifce942d04351964a67a50275fbaa3287bfa4dd63
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274199
Auto-Submit: Ben Wagner aka dogben <benjaminwagner@google.com>
Reviewed-by: Weston Tracey <westont@google.com>
Commit-Queue: Ben Wagner aka dogben <benjaminwagner@google.com>
2020-03-02 22:09:49 +00:00
Mike Klein
5a879c47e2 basic hoisting
We've got this can_hoist analysis... why not use it?
I need to do some pen and paper work before I can do
this for the scalar loop, so that's TODO.

The tight part of a memset-from-uniforms loop becomes

    0x1065c70e0: vmovdqu64 %zmm0, (%rdx)
    0x1065c70e6: addl   $-0x10, %edi
    0x1065c70e9: addq   $0x40, %rdx
    0x1065c70ed: cmpl   $0xf, %edi
    0x1065c70f0: jg     0x1065c70e0

Change-Id: Iad8ee018ae65ee9f370980939a70f042ee3f9138
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274586
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2020-03-02 21:58:29 +00:00
Robert Phillips
b43cfa4d3f Revert "Add onPrePrepareDraws & createProgramInfo methods to GrDrawVerticesOp"
This reverts commit d3606518fa.

Reason for revert: DDL3 bots are red

Original change's description:
> Add onPrePrepareDraws & createProgramInfo methods to GrDrawVerticesOp
> 
> This CL also incidentally adds:
> 
> 1) a GrMeshDrawOp::Target 'outputView' virtual and switches GrOpFlushState over to overriding it.
> 
> 2) a createProgramInfo helper to GrSimpleMeshDrawOpHelper
> 
> Bug: skia:9455
> Change-Id: Iecd712d3ac76038651bd2e0512134e310930d527
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274551
> Reviewed-by: Greg Daniel <egdaniel@google.com>
> Commit-Queue: Robert Phillips <robertphillips@google.com>

TBR=egdaniel@google.com,robertphillips@google.com

Change-Id: I6e44ba3bc47df27479af9344af946e27f0a2e937
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:9455
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274505
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2020-03-02 20:50:54 +00:00
Mike Klein
8248ba64f2 noalias for params, inbounds for GEPs
These don't get us to be able to hoist uniforms yet,
but I think they're required.  Tests still pass.

The nullptrs in the CreateGEP calls were implied by
the old special cases we were calling before.  They
mean, pick up the type from the pointer argument.

Change-Id: Idd2b5c4b782229ebf2640f87e0ed6ebb63809042
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274583
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2020-03-02 20:34:09 +00:00
Mike Reed
5caf9358c3 remove bones from SkVertices
Bug: skia:9984
Change-Id: I7c4f33ee82087eb1b0a60243183f0c68e310f10d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274547
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2020-03-02 20:30:59 +00:00
Robert Phillips
d3606518fa Add onPrePrepareDraws & createProgramInfo methods to GrDrawVerticesOp
This CL also incidentally adds:

1) a GrMeshDrawOp::Target 'outputView' virtual and switches GrOpFlushState over to overriding it.

2) a createProgramInfo helper to GrSimpleMeshDrawOpHelper

Bug: skia:9455
Change-Id: Iecd712d3ac76038651bd2e0512134e310930d527
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274551
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2020-03-02 20:26:10 +00:00
Jim Van Verth
37f84c05db Fill in most D3DCaps texture property queries.
Not sure about read/write pixels at this point, so left those as stubs.
Also commented out sections that apply to YCbCr formats, which will
be added later.

Bug: skia:9935
Change-Id: I715b5a2a894af9a4fbbfcd89a6eab284913293dc
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/273608
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2020-03-02 20:19:11 +00:00
Brian Osman
4a4e9c9f2c Restore logic to check for .git in ANGLE BUILD.gn
This should ensure that for users where the ANGLE git repo is present,
we correctly re-generate commit.h when rolling to a new revision.

Cq-Include-Trybots: skia/skia.primary:Build-Debian9-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
Change-Id: Ib3c77a19d243896f4e7359dc4f14e87d4907739e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274498
Reviewed-by: Geoff Lang <geofflang@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2020-03-02 20:02:19 +00:00
recipe-roller
b3573a1512 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (depot_tools) into this repository.

depot_tools:
  https://crrev.com/4576851428ddafb6b996765adcbd4e5918145e6d (ehmaldonado@google.com)
    git-cl: Remove support for GetPreferredTryMasters.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ia5805a1f4ae84dc86ddabdae6e5ec85a7cf8baf8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274582
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2020-03-02 19:39:39 +00:00
Chris Dalton
ded437003d Add a bindBuffers() call to GrOpsRenderPass
Adds a bindBuffers() call and removes the GrBuffer arguments from the
draw calls.

Change-Id: I43c2dd8afe80c41e48c1d9d5210affcfe6f095fc
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/273840
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2020-03-02 19:13:19 +00:00
Ravi Mistry
4c0ffe7820 [Tree Status] Update all references in Skia repo to tree-status
* Mainly updates to documentation.
* Fix some comments in PRESUBMIT.py.
* Delete tools/lua/trigger_ct_lua. It has not worked in many years.

Bug: skia:9962
Change-Id: If6f58f173f2c8bd3fc9bdfc4db440f42489fee08
Docs-Preview: https://skia.org/?cl=274597
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274597
Commit-Queue: Ravi Mistry <rmistry@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
2020-03-02 18:43:49 +00:00
Leon Scroggins III
9eb7874844 SkJpegCodec: Gracefully handle malloc failure
Bug: b/150353577

If malloc fails, don't let SkJpegCodec attempt to decode into it.
Return kInternalError, which is what we return for OOM.

Change-Id: I6750e907c5e649d9e12ba75e84c8d9e91a66dd61
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/273809
Auto-Submit: Leon Scroggins <scroggo@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2020-03-02 18:40:49 +00:00
Brian Salomon
99a813ca29 Avoid unbounded listener growth on SkImage_Lazy when textures are purged
Generalizes the system used on SkPathRef where a GrTexture's key
destructor signals that a listener on the image can be removed via
the unique key custom data.

Removes texturesAreCacheable() from SkImageGenerator. This was used to
prevent unbounded growth in a narrow situation related to
GrBackendTextureImageGenerator.


Change-Id: I3c605da099acfac94751e793331e356a0979d359
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274038
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2020-03-02 18:38:09 +00:00
Eric Boren
a1613c917e [recipes] Move DM flags logic into gen_tasks_logic/dm_flags.go
Change-Id: I294495f952c8310bf1518363778fda9690c8c83e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274202
Commit-Queue: Eric Boren <borenet@google.com>
Reviewed-by: Ben Wagner aka dogben <benjaminwagner@google.com>
2020-03-02 18:21:49 +00:00
Nathaniel Nifong
c6ce3d469d Patch public.bzl change from cl/298337962
Bug: b/150386856
Change-Id: Ic200bda7b63f0bde84df4b32e2d7967d8572740c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274541
Reviewed-by: Ben Wagner aka dogben <benjaminwagner@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Nathaniel Nifong <nifong@google.com>
2020-03-02 17:55:39 +00:00
Brian Osman
470f0637ae (Manual) Roll third_party/externals/angle2 4dc19c38c0c5..ff60abaf62b4 (51 commits)
4dc19c38c0..ff60abaf62

git log 4dc19c38c0c5..ff60abaf62b4 --date=short --first-parent --format='%ad %ae %s'
2020-03-02 tobine@google.com Vulkan:Disable FramebufferVk cache on Apple
2020-03-02 geofflang@google.com Change commit_id 'check' back to looking for .git files.
2020-03-02 wangra@google.com Vulkan: reserve extra varyings
2020-03-02 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/vulkan-validation-layers/src 8c312ef4c7a9..cb689b0b1d30 (4 commits)
2020-03-02 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/SwiftShader 05f5e0b34ac8..416d37452275 (3 commits)
2020-03-02 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/spirv-tools/src 70f888131ede..e1688b60caf7 (2 commits)
2020-03-02 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/glslang/src f13d38f3cd3c..56364b6b6026 (5 commits)
2020-03-02 jmadill@chromium.org Test Runner: Add stub register function to GLES 1 CTS.
2020-03-01 jmadill@chromium.org Test Runner: Add stub register function to white box tests.
2020-03-01 jmadill@chromium.org Test Runner: Use system path for gtest-internal.
2020-03-01 jmadill@chromium.org Add RegisterContextCompatibilityTests stub.
2020-02-29 jmadill@chromium.org Upgrade gl2ext.h.
2020-02-29 jmadill@chromium.org Trace/Replay: Add framebuffer change callback.
2020-02-28 geofflang@google.com Add the ANGLE Android developer options to the ANGLE repository.
2020-02-28 xiaoxuan.liu@arm.com Vulkan: Add robust init for NULL texture image.
2020-02-28 b.schade@samsung.com Add Android boot animation and rounding error test
2020-02-28 ynovikov@chromium.org Suppress SwANGLE dEQP-GLES3.functional.texture.compressed.astc.* failures
2020-02-28 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/glslang/src 07e1a0a67aee..f13d38f3cd3c (1 commits)
2020-02-28 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/vulkan-validation-layers/src 38f68cce445b..8c312ef4c7a9 (5 commits)
2020-02-28 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/SwiftShader 4b34ee3de531..05f5e0b34ac8 (2 commits)
2020-02-28 tobine@google.com Revert "Vulkan:Include precision qualifier in GLSL"
2020-02-27 rnk@chromium.org Revert "Vulkan: Disable global merge for volk"
2020-02-27 jmadill@chromium.org Capture/Replay: Capture DrawBuffersEXT.
2020-02-27 jmadill@chromium.org Fix out-of-bounds read in test.
2020-02-27 jonahr@google.com eglGetConfigAttrib validation missing extension check
2020-02-27 geofflang@chromium.org Make GLSLTest_ES31.MixOfAllResources more lenient.
2020-02-27 cclao@google.com Vulkan: Optimize element buffer conversion
2020-02-27 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/SwiftShader da659b374113..4b34ee3de531 (3 commits)
2020-02-27 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/vulkan-validation-layers/src 3f4d08da8897..38f68cce445b (1 commits)
2020-02-27 ianelliott@google.com Vulkan: Updated expectations after SwS fixed 4259
2020-02-27 ynovikov@chromium.org Fix Android component build.
2020-02-27 ianelliott@google.com Vulkan: Implement Android pre-rotation
2020-02-27 geofflang@google.com Always use commit_id.py to generate commit.h
2020-02-27 jmadill@chromium.org Vulkan: Document command access APIs.
2020-02-26 jmadill@chromium.org Fix MultipleDrawBuffers sample.
2020-02-26 tobine@google.com Vulkan:Include precision qualifier in GLSL
2020-02-26 b.schade@samsung.com glslang: enforce initialize and release as once per process
2020-02-26 courtneygo@google.com Save binding information when caching shader
2020-02-26 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/spirv-tools/src 8910ea5f1c7b..70f888131ede (2 commits)
2020-02-26 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/vulkan-validation-layers/src a09ab94aa920..3f4d08da8897 (2 commits)
2020-02-26 robliao@chromium.org Revert "Always use commit_id.py to generate commit.h"
2020-02-26 tobine@google.com Vulkan:Refactor precision emulation code
2020-02-25 capn@google.com Update DEPS for SPIRV-Tools and SwiftShader
2020-02-25 jmadill@chromium.org Vulkan: Use new APIs in BufferHelper::copyFromBuffer.
2020-02-25 jmadill@chromium.org Vulkan: Fix padding out Buffer allocations on AMD.
2020-02-25 jmadill@chromium.org Vulkan: Update buffer accumulation TODO bug IDs.
2020-02-25 xinyi.he@arm.com Fix the condition of glOrtho{fx} validation
2020-02-25 pmberube@google.com Fix a GCC 10 build failure.
2020-02-25 b.schade@samsung.com Vulkan: prevent volk reloading on null instance and devices
2020-02-25 jmadill@chromium.org Trace/Replay: Add uniform locations map.
2020-02-25 jmadill@chromium.org Vulkan: Update ContextVk command buffer access methods.

Created with:
  gclient setdep -r third_party/externals/angle2@ff60abaf62b4

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 herb@google.com,brianosman@google.com on the revert to ensure that a human
is aware of the problem.

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/+/master/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian9-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
Bug: None
Tbr: herb@google.com,brianosman@google.com
Change-Id: I3bbe489230900973f4b2eacbde23a7444ffc0a65
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274047
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2020-03-02 17:53:29 +00:00
Chris Dalton
d42d2001ac Reland "Move setupGeometry() from GrGLGpu to GrGLOpsRenderPass"
This is a reland of b67081f9cb

Original change's description:
> Move setupGeometry() from GrGLGpu to GrGLOpsRenderPass
> 
> Change-Id: I8788b96e07216be738c0ce1babb810b05bf46694
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/273696
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Chris Dalton <csmartdalton@google.com>

Change-Id: Ic30c9e1b1d9a3ae29623ff8239b9b1d7b2dad273
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274057
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
2020-03-02 17:31:39 +00:00
Florin Malita
ed38d201de [skottie] Stroke dash support
AE supports dashing all strokes.  Dashes are specified as an arbitrary
number of intervals (alternating dash/gap) plus a start offset.

All values can be animated independently (but of course!).

  - implement a SkSG dash effect (based on SkDashPathEffect)
  - expand the shape builder logic to allow local geometry adjustments
    (kind of a bummer that dashing is a stroke/paint property as opposed
    to a geometry effect in AE)

Change-Id: Ic9ff35f2f9a552a3c26f9e1596ce58ad81f7ced5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274550
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2020-03-02 16:56:22 +00:00
Robert Phillips
ac6156cf23 Standardize behavior of ops that implement onPrePrepare
Each such op now has a base createProgramInfo method along with a helper version that just takes a flushState.

This CL also makes GrSimpleMeshDrawOpHelper::CreateProgramInfo a chokepoint for programInfo allocation.

Bug: skia:9455
Change-Id: Ibbf0e9cd6f24453e1b87a5e072a30248811a1237
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274054
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2020-03-02 15:55:32 +00:00
Julia Lavrova
a0708e82dc Bugs: skia: 9968
Move justification shifts into Run

Change-Id: If1e7b87fd58ce791fc0e2ee9bdfb1b87ee6bb696
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274197
Commit-Queue: Julia Lavrova <jlavrova@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2020-03-02 15:48:52 +00:00
Eric Boren
43a8cc8010 [recipes] Reland DM recipe changes with fix
Pass dm_properties separate from dm_flags so that the recipe can check
for properties with empty values.

Aside: we should look into changing the way properties are passed into
DM (or not pass them at all).

Change-Id: I47268506e63939e7a75256616bce947ada5e7e9a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274540
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Ben Wagner aka dogben <benjaminwagner@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
2020-03-02 15:39:52 +00:00
Brian Salomon
777e146564 Remove domain-uses-decal code from GrTextureProducer
Instead pass wrap modes to createFragmentProcessor.

Rename GrTextureProducer::hasMixedResolutions() to
isPlanar() and use to determine whether to attempt
simple texture draw (that would flatten).


Change-Id: Ifca833a1ab02a98e4e24718bd8542e0ac48a4c74
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274276
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2020-03-02 15:03:52 +00:00
Mike Reed
5a109c7c9b Do we still need bones on vertices for canvas
Bug: skia:9984
Change-Id: I11669df7a8ebaf4b1af3f6908bfd1bafaa74d0b6
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274280
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
2020-03-02 14:47:32 +00:00
Eric Boren
819f57813d [recipes] Revert DM changes due to broken result files
Change-Id: I1a6410dc98deb0a0144118bdf52563115d91b75c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274539
Commit-Queue: Eric Boren <borenet@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2020-03-02 14:15:23 +00:00
Eric Boren
5b026275c2 [recipes] Speculative fix for empty properties
Change-Id: I9ef6e2e3ade1213045932fee453c51e0f6519909
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274537
Commit-Queue: Eric Boren <borenet@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2020-03-02 13:45:09 +00:00
Eric Boren
b7a3291dd1 [infra] Update infra dep
Change-Id: Ic7b204a7ec8e4574cb89e9b18f3fdf051dbf1132
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274496
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
2020-03-02 13:16:22 +00:00
Eric Boren
9dd0bd78b2 [recipes] Compute DM flags in gen_tasks
Change-Id: I3d82d78161373ec0536cbe6df196c753547501a8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274200
Commit-Queue: Eric Boren <borenet@google.com>
Reviewed-by: Ben Wagner aka dogben <benjaminwagner@google.com>
2020-03-02 12:32:31 +00:00
Eric Boren
cd45dd2caf [recipes] Move DM flags to a separate file
This particular location was chosen because we can rely on it being
present in the recipe bundle. We'll soon run the script to generate
DM flags in gen_tasks, before finally porting the logic to Go inside
gen_tasks itself.

Change-Id: I36ec481cdabffe8d1da662cc813dda43fe7b21f8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274053
Commit-Queue: Eric Boren <borenet@google.com>
Reviewed-by: Ben Wagner aka dogben <benjaminwagner@google.com>
2020-03-02 12:08:11 +00:00
Eric Boren
986680240f [recipes] Make dm_flags not depend on api
In preparation for moving dm_flags out.  Important behavioral change to
note: now we're passing issue, patchset, and patch_storage flags for all
runs of DM, including non-tryjobs.  I don't think it should change any
behavior, but it's something to watch out for.

Change-Id: Ie45dbfa606b4325dc94c855dbc3531c7eeaacf9b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274051
Commit-Queue: Eric Boren <borenet@google.com>
Reviewed-by: Ben Wagner aka dogben <benjaminwagner@google.com>
2020-03-02 11:36:11 +00:00
skia-autoroll
367dbff985 Roll ../src b53f5caacd25..66a8fb005d91 (909 commits)
b53f5caacd..66a8fb005d


Created with:
  gclient setdep -r ../src@66a8fb005d

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 herb@google.com on the revert to ensure that a human
is aware of the problem.

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/+/master/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
Bug: None
Tbr: herb@google.com
Change-Id: I3ad70ebce8a82718f5646322adce6544c11430c7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274442
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2020-03-02 04:51:41 +00:00
skia-autoroll
6729496a03 Roll third_party/externals/swiftshader 05f5e0b34ac8..416d37452275 (3 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/05f5e0b34ac8..416d37452275

git log 05f5e0b34ac8..416d37452275 --date=short --first-parent --format='%ad %ae %s'
2020-02-28 jmadill@chromium.org PipelineCache: Handle nullptr mismatch of specialization info.
2020-02-28 sugoi@google.com Implement ASTC support
2020-02-28 jonahr@google.com Add missing attribute to eglGetConfigAttrib

Created with:
  gclient setdep -r third_party/externals/swiftshader@416d37452275

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 herb@google.com on the revert to ensure that a human
is aware of the problem.

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/+/master/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Test-Debian9-Clang-GCE-GPU-SwiftShader-x86_64-Debug-All-SwiftShader
Bug: None
Tbr: herb@google.com
Change-Id: If595d36416e5a7b03b519b04eb2872a72c76b3fa
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274440
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2020-03-02 04:33:31 +00:00
Brian Salomon
d6205322cd SkImage_Lazy::lockTextureProxyView computes its own key
Remove unused key from GrYUVAImageTextureMaker.

Remove outdated comment about width/height for image/bitmap key.

Change-Id: I76efd61725a0c63c058cdf480295f49dcfeab0fb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274238
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2020-03-02 01:19:01 +00:00
Brian Salomon
231f1bf565 Restore filtering to clipImage in SkGpuDevice::drawSpecial
Reverts a change made in:
https://skia-review.googlesource.com/c/skia/+/274205

Change-Id: I979f3ee3e43eba310bcffb9f0be9e532cb20a46d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274376
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2020-03-01 21:27:01 +00:00
skia-recreate-skps
666707336e Update SKP version
Automatic commit by the RecreateSKPs bot.

TBR=rmistry@google.com
NO_MERGE_BUILDS

Change-Id: I92ce8ee88dd65eebfb953d395929700d3ebfc406
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274361
Reviewed-by: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
Commit-Queue: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
2020-03-01 06:09:14 +00:00
Brian Salomon
ecbb0fb2d5 Simplify view getters on GrTextureProducer.
The only thing that affects the view returned is whether it ought to
be MIP mapped or not. So don't take a whole GrSamplerState.

The view() function won't ever change the colortype so just query
GrTextureProducer rather than having view() return a tuple.

The rest is transitively reaching through callers and callees of
GrTextureProducer::view() to only pass filter or GrMipMapped instead of
GrSamplerState. Also, some params that indicate whether MIPs are
requested are changed from bool to GrMipMapped. And some minor style
stuff (mainly de-yoda-ifying GrMipMapped checks, using
GrSurfaceProxyView operator bool()).

Change-Id: Ia184aa793cf51d42642ea3bb0521ce06da2efb10
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274205
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2020-03-01 00:32:04 +00:00
skia-recreate-skps
71a20b2685 Update Go Deps
Change-Id: I87320476c53f2f0f258d951c92bdc5a97e323128
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274275
Reviewed-by: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
Commit-Queue: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
2020-02-29 05:26:03 +00:00
Nathaniel Nifong
59b160f991 Can't submit bzl change adding extra arg to skia_select without google3 BUILD rules using it correctly.
Revert "Add WASM os target to public.bzl"

This reverts commit 83346185be.

Reason for revert: <INSERT REASONING HERE>

Original change's description:
> Add WASM os target to public.bzl
> 
> prerequisite to cl/297131877
> 
> Bug: b/150386856
> Change-Id: I23a770c59ca7c2899ef5e045194a1bf9c27d9449
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274048
> Commit-Queue: Nathaniel Nifong <nifong@google.com>
> Reviewed-by: Kevin Lubick <kjlubick@google.com>

TBR=kjlubick@google.com,nifong@google.com

Change-Id: I85719313a17c500220edc3ad6e1ead0d5cf8a363
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: b/150386856
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274268
Reviewed-by: Nathaniel Nifong <nifong@google.com>
Commit-Queue: Nathaniel Nifong <nifong@google.com>
2020-02-29 02:49:59 +00:00
Nathaniel Nifong
55607b1434 Can't submit bzl change without google3 BUILD files using it correctly.
Revert "Fix missing comma in public.bzl"

This reverts commit e2e4d70d2b.

Reason for revert: <INSERT REASONING HERE>

Original change's description:
> Fix missing comma in public.bzl
> 
> Change-Id: I6b2288c890a3290bf3ed31044219e1c4d9f0f0fa
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274203
> Auto-Submit: Nathaniel Nifong <nifong@google.com>
> Reviewed-by: Nathaniel Nifong <nifong@google.com>
> Commit-Queue: Nathaniel Nifong <nifong@google.com>

TBR=benjaminwagner@google.com,nifong@google.com

Change-Id: Ia01a466953cebd856985445096e2ab441eb12b70
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274267
Reviewed-by: Nathaniel Nifong <nifong@google.com>
Commit-Queue: Nathaniel Nifong <nifong@google.com>
2020-02-29 02:48:29 +00:00
recipe-roller
5d1c3e2ead Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/ca01a2f6cb0d44631e89064dfbcef954b81417e6 (gbeaty@chromium.org)
    Change the behavior of debug with no arguments to debug recent failure.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I7598bf9c1266d059fc3a5c12e427e0a51fda83c2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274262
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2020-02-29 02:07:49 +00:00
recipe-roller
61b6ffc1ff Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/0677e84086bd93f6d4ec1faefd1dfdff4b0225fb (gbeaty@chromium.org)
    Add a function for parsing test names.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I0fcfe1844d307e6c97196a7302f16981c7695c9c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274258
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2020-02-29 01:35:19 +00:00
recipe-roller
e1ae9c4bcf Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (depot_tools) into this repository.

depot_tools:
  https://crrev.com/ac5c55f6d71cdda1be182d6fd99bb7352a0bf18a (ehmaldonado@google.com)
    Revert "Improve git cl split"
  https://crrev.com/e2aee98036901542fcd7c5e165e6e0f299ab661f (tandrii@chromium.org)
    remove dead code.
  https://crrev.com/ef7a33909ea658fcd811398212d003dd3f2b7878 (tandrii@chromium.org)
    bot_update: tell CQ to not retry patch application failures.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I510742246c053123745e886fa0e952ae0bf723fc
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274232
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2020-02-29 00:57:49 +00:00
Nathaniel Nifong
e2e4d70d2b Fix missing comma in public.bzl
Change-Id: I6b2288c890a3290bf3ed31044219e1c4d9f0f0fa
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274203
Auto-Submit: Nathaniel Nifong <nifong@google.com>
Reviewed-by: Nathaniel Nifong <nifong@google.com>
Commit-Queue: Nathaniel Nifong <nifong@google.com>
2020-02-29 00:55:49 +00:00
recipe-roller
1b35b30918 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (depot_tools, recipe_engine) into this repository.

depot_tools:
  https://crrev.com/4d7d53b37d85fd43473e55a748a9dbc3e830a4e2 (ehmaldonado@google.com)
    depot_tools: Make it possible to run custom git scripts using Python 3.
recipe_engine:
  https://crrev.com/cda5bed0ae2531e7252f80da471f675158ab694c (gbeaty@chromium.org)
    Add a property for previous_test_failures to RecipeDeps.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I0d01491afff30d6ed06d638487ec11aec22a5cec
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274240
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2020-02-29 00:23:39 +00:00
recipe-roller
b6ba6c0a2b Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/695991201368bcca73189853a28f9679f2668da9 (atyfto@google.com)
    [file] Add flag to skip logs on write_raw & write_text

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I6392bc3941fb652a87293b255b4dfcf9afd3ee3d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274236
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2020-02-28 23:48:09 +00:00
Ben Wagner
54cb21430c [infra] Upgrade iPhone7, iPhone8, and iPadPro to iOS 13.3.1.
Change-Id: I2d10bf0b9b7ac3833c60b7c6dca2d05ab7e99cc4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259283
Reviewed-by: Weston Tracey <westont@google.com>
Commit-Queue: Ben Wagner aka dogben <benjaminwagner@google.com>
2020-02-28 22:41:16 +00:00
Mike Klein
c2b6769ab2 leak llvmcontexts for now
Being thread_local, these destruct in an awkward order
with the other major thread_locals, the SkVMBlitter Program caches.

So, just leak them for now.

Change-Id: Ia45f65eba0a301e2a047458610d5fa3110dff006
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274220
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2020-02-28 21:59:46 +00:00