Commit Graph

41816 Commits

Author SHA1 Message Date
Brian Osman
ac9be9dbc5 Remove shader text trace events and simplify the SKSL/GLSL printing code
- Moves the pretty-printer and line-by-line printer into a new GrShaderUtils.
- Maintain strings as SkSL::String longer, to avoid possibly re-converting
  from char* when we need to print them.
- GL shader compilation doesn't need the SkSL settings, so stop plumbing that.
- Converting SkSL to GLSL was taking the GL enum to specify the kind of shader,
  but only used it to convert to a SkSL::Program::Kind. Just take that. To make
  this simpler, move the GLSL printing code into that function, clumped with
  the SkSL printing code. Reuse that banner printer in GrGLPrintShader, too.

Change-Id: I4536547604612a6fa1596e5a8e97f6322e12a1fb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211583
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2019-05-01 15:12:18 +00:00
Mike Reed
ec654f7397 remove legacy 255-biased colormatrix
Bug: skia:4872
Bug: skia:9012

Change-Id: I7c1ac4e94405404fcb13079b5b578a5a26aad02e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/210628
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Auto-Submit: Mike Reed <reed@google.com>
2019-05-01 13:50:48 +00:00
Robert Phillips
6c8f5b31ac Switch sense of opList splitting flag and employ it on the NVIDIA_Shield bot
Bug: skia:9036
Change-Id: I0e8b44a0c586abd982e7301d1b366c04d69aff0b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211421
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
2019-05-01 13:46:08 +00:00
skia-recreate-skps
70f159a8b3 Update go_deps asset
Automatic commit by the UpdateGoDEPS bot.

TBR=borenet@google.com

Change-Id: Ieb3c51db0b156f3a49fe2ce1343eb0f74d5343f5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211548
Reviewed-by: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
Commit-Queue: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
2019-05-01 05:52:18 +00:00
skia-autoroll
176720424b Roll third_party/externals/angle2 1ad7a07212b2..3fb957a00ba3 (4 commits)
1ad7a07212..3fb957a00b


git log 1ad7a07212b2..3fb957a00ba3 --date=short --no-merges --format='%ad %ae %s'
2019-05-01 angle-autoroll@skia-public.iam.gserviceaccount.com Roll ./third_party/spirv-tools/src 736376dbf989..32af42616abe (6 commits)
2019-04-30 shrekshao@google.com Fix error report when active color buffer has no fs output
2019-04-30 geofflang@chromium.org Vulkan: Wrap aquire semaphore in a vk::Scoped
2019-04-30 geofflang@chromium.org Vulkan: Add an unMakeCurrent for contexts.


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

The AutoRoll server is located here: https://autoroll.skia.org/r/angle-skia-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

CQ_INCLUDE_TRYBOTS=skia.primary:Build-Debian9-Clang-x86_64-Release-ANGLE;skia.primary:Perf-Win10-Clang-AlphaR2-GPU-RadeonR9M470X-x86_64-Debug-All-ANGLE;skia.primary:Perf-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE;skia.primary:Perf-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-All-ANGLE;skia.primary:Perf-Win10-Clang-NUCD34010WYKH-GPU-IntelHD4400-x86_64-Debug-All-ANGLE;skia.primary:Perf-Win10-Clang-ShuttleC-GPU-GTX960-x86_64-Debug-All-ANGLE;skia.primary:Test-Win10-Clang-AlphaR2-GPU-RadeonR9M470X-x86_64-Debug-All-ANGLE;skia.primary:Test-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-All-ANGLE;skia.primary:Test-Win10-Clang-NUCD34010WYKH-GPU-IntelHD4400-x86_64-Debug-All-ANGLE;skia.primary:Test-Win10-Clang-ShuttleC-GPU-GTX960-x86_64-Debug-All-ANGLE
TBR=ethannicholas@google.com

Change-Id: I55c3730e733b4f4a061dbc5479d75fa78aafb026
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211541
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-05-01 05:21:07 +00:00
skia-autoroll
e994492289 Roll ../src b40205fdcd0e..da43ebf5b4e0 (421 commits)
b40205fdcd..da43ebf5b4


Created with:
  gclient setdep -r ../src@da43ebf5b4

The AutoRoll server is located here: https://autoroll.skia.org/r/chromium-skia-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

CQ_INCLUDE_TRYBOTS=skia.primary:Perf-Mac10.13-Clang-MacBookPro11.5-GPU-RadeonHD8870M-x86_64-Release-All-CommandBuffer;skia.primary:Test-Mac10.13-Clang-MacBookPro11.5-GPU-RadeonHD8870M-x86_64-Debug-All-CommandBuffer
TBR=ethannicholas@google.com

Change-Id: I7b2c9b345f202c3347fa9c461435963453e3996b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211542
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-05-01 04:41:37 +00:00
skia-autoroll
08c79d6145 Roll third_party/externals/swiftshader 6a12e092091c..2e2385837e9b (9 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/6a12e092091c..2e2385837e9b


git log 6a12e092091c..2e2385837e9b --date=short --no-merges --format='%ad %ae %s'
2019-04-30 chrisforbes@google.com Remove dead parts of ShaderCore
2019-04-30 chrisforbes@google.com Set correct variant for OpImageFetch
2019-04-30 capn@google.com Implement OpImageSampleProjImplicitLod and OpImageSampleProjExplicitLod
2019-04-30 chrisforbes@google.com Implement OpImageFetch
2019-04-30 chrisforbes@google.com Add spirv-level support for splitting and combining sampler+image
2019-04-30 capn@google.com Implement ConstOffset image operand
2019-04-30 bclayton@google.com src/Vulkan: Fixup all printf-style messages
2019-04-30 bclayton@google.com Kokoro: Build with ASAN enabled.
2019-04-30 swiftshader.regress@gmail.com Regres: Update test lists @ 6a12e092


Created with:
  gclient setdep -r third_party/externals/swiftshader@2e2385837e9b

The AutoRoll server is located here: https://autoroll.skia.org/r/swiftshader-skia-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

CQ_INCLUDE_TRYBOTS=skia.primary:Test-Debian9-Clang-GCE-GPU-SwiftShader-x86_64-Debug-All-SwiftShader
TBR=ethannicholas@google.com

Change-Id: I072e8988679a5ff7157be4eb016ea41296ab5613
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211540
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-05-01 04:37:37 +00:00
recipe-roller
e6a83e1608 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
depot_tools:
  https://crrev.com/56add621f0c6145f0b943d84525eaaf8fb25c152 Fix autoninja.py's regex string (brucedawson@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Iff49e8cd75be4bed6637d7f65e4826c314eb098d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211404
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>
2019-04-30 21:53:08 +00:00
Michael Ludwig
784184ab93 Prevent outset Ws from going negative
Bug: skia:9028
Change-Id: I8e3d37050d3fce7602eee62ae911eae756e603a2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211100
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2019-04-30 19:50:36 +00:00
Ben Wagner
d1701ba884 IWYU for gms starting with 'a'.
There is still a bit of manual mucking about with iwyu output to get
things nice, but the checker seems to be doing ok and the process is now
a bit easier. Will see how it goes.

This also pointed out the amount of code behind ifdefs should be
minimized by using the build system and 'constexpr if' when possible.

Change-Id: Ic63fa33c65e5ff40b58858e15fc51f27d862e20d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211349
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2019-04-30 19:39:37 +00:00
Greg Daniel
f808c5e3af Fix initialization of GrVkCaps when using legacy extension flags.
Bug: chromium:958000
Change-Id: I2f844d7acded88d37902e387bcfabd1ab82386f3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211362
Commit-Queue: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Auto-Submit: Greg Daniel <egdaniel@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2019-04-30 19:21:16 +00:00
recipe-roller
2e346a611e Roll recipe dependencies (nontrivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


Please review the expectation changes, and LGTM+CQ.


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
depot_tools:
  https://crrev.com/f61af56950276661d14c5c3387a706692487ecab bot_update: Pass target-ref to gclient. (ehmaldonado@chromium.org)


R=jcgregorio@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I2dc101d5abfbf4162716ce677eb0f84a0c97cc05
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211420
Reviewed-by: Edward Lemur <ehmaldonado@google.com>
2019-04-30 19:16:55 +00:00
Michael Ludwig
b3461fad63 Upgrade to SkVx in GrQuad rendering
Change-Id: I83c1fb19e22034ddff4a46a776d94df46b95b790
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/210420
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2019-04-30 18:27:46 +00:00
Jim Van Verth
70a0479261 Use correct packing for Metal uniform arrays.
In Metal, the alignment requirements for float and float2 arrays allow
them to be packed tightly. Packing them loosely was uploading the
data to the wrong locations in GPU memory.

Bug: skia:8243
Change-Id: Ie09edf3363a1f3cefc1da73aa85c4352f0fbedf0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211341
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2019-04-30 18:11:16 +00:00
recipe-roller
c4f6df8a5b Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
depot_tools:
  https://crrev.com/0f58ae4d2d2bc0efb61e6b840e3ba64a828538f8 git-cl: Always collect git traces. (ehmaldonado@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: If17f55087eaa2e2095d93e1970c63a46da35b12a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211348
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>
2019-04-30 18:04:07 +00:00
Mike Klein
159a959596 Revert "Temporarily revert runtime decoder registration."
This reverts commit bcbf9633db.

Next patch set implements a local shared spinlock
rather than depending on SkSharedMutex.

Next patch removes the thread safety and the unit test.

Original change's description:
> Temporarily revert runtime decoder registration.
>
> Some builds in Google3 can't find SkSharedMutex at link time.
>
> This reverts commit ff7006ff80.
> This reverts commit 05f45b21b7.
>
> Change-Id: I889e9a3169cf017b8d5daacf75099663fc996d73
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/210785
> Reviewed-by: Mike Klein <mtklein@google.com>
> Commit-Queue: Mike Klein <mtklein@google.com>

Change-Id: I6df8e2dfb64a92c780b62acddf7a797f24ba8e31
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/210792
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2019-04-30 17:34:12 +00:00
Hal Canary
7b300a4e47 Experimental Editor: begin text selection code
Bug: skia:9020
Change-Id: I6a67ef4a3bcf443dbe14f58e81b405588f84848e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211345
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Auto-Submit: Hal Canary <halcanary@google.com>
2019-04-30 17:21:52 +00:00
Ben Wagner
4ed61653c4 Don't use tty in win_ssh_cmd.py
Fixes https://skia-review.googlesource.com/c/skia/+/204264. I should
have realized before that the '-t -t' option to ssh was the cause of all
the ANSI escape codes.

Change-Id: I43b745115f4672230bf28469e03fdfbaec602b9a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/209041
Commit-Queue: Ben Wagner aka dogben <benjaminwagner@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
Auto-Submit: Ben Wagner aka dogben <benjaminwagner@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
2019-04-30 17:05:42 +00:00
Mike Reed
e869a1ed96 stop calling legacy 255-biased colormatrix
... but keep the apis for now

Bug: skia:4872
Bug: skia:9012
Change-Id: I3a9b0c9194be6897c0e59b7edd972b7218168183
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211343
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Auto-Submit: Mike Reed <reed@google.com>
2019-04-30 16:59:36 +00:00
Robert Phillips
acde2d1d0d Suppress skinning benches for NVIDIA_Shield
Also opList-splitting reduction is being enabled everywhere - so remove the explicit flag use

Change-Id: I08f48764bab835a08b072d8d83da3cb4c2bd5ac2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211360
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2019-04-30 16:42:50 +00:00
recipe-roller
1640d3b6d7 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
depot_tools:
  https://crrev.com/c7acd584e36b371204f86109169406dcb62a6c28 [bot_update] Use got_revision for output commit (nodir@google.com)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I4aa290381b2ae8b2f63609815514d5ccfcb82dce
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211342
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>
2019-04-30 16:35:10 +00:00
Florin Malita
836ff5e405 [skottie] Mask feather support
Wrap mask nodes with a sksg::BlurImageFilter to implement the feather
(blur) effect.

Requires assets exported with https://github.com/bodymovin/bodymovin-extension/pull/13.

Change-Id: Ia7809a73582f6ed4e55c88a26b5fe36a52cbb749
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211340
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2019-04-30 15:20:18 +00:00
Ben Wagner
c752054981 Use linear metrics with new FreeType light autohint.
Starting in FreeType 2.8 the light hinting setting only hints in the y
direction and can be used with linear metrics and subpixel positioning.

Change-Id: I6e478a904001216ade7f319fe98aa863ac6bd672
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211105
Auto-Submit: Ben Wagner <bungeman@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
2019-04-30 14:20:48 +00:00
Robert Phillips
494aa3db9e Suppress the savelayer_clipmask test on some Android devices
These devices run out of memory on the savelayer_clipmask GM when opList splitting reduction is enabled.

Bug: Skia:9033
Change-Id: I5d6be04ea95c0de07d995d88d07d1831804b0fb7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211106
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2019-04-30 12:29:18 +00:00
skia-recreate-skps
a6d723f32f Update go_deps asset
Automatic commit by the UpdateGoDEPS bot.

TBR=borenet@google.com

Change-Id: I9752ac2fa8e2a8ed5e7f3e312643451da639c41a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211219
Reviewed-by: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
Commit-Queue: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
2019-04-30 05:44:48 +00:00
skia-autoroll
bbc4c1966a Roll ../src 2f6bc7b3cacb..b40205fdcd0e (330 commits)
2f6bc7b3ca..b40205fdcd


Created with:
  gclient setdep -r ../src@b40205fdcd

The AutoRoll server is located here: https://autoroll.skia.org/r/chromium-skia-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

CQ_INCLUDE_TRYBOTS=skia.primary:Perf-Mac10.13-Clang-MacBookPro11.5-GPU-RadeonHD8870M-x86_64-Release-All-CommandBuffer;skia.primary:Test-Mac10.13-Clang-MacBookPro11.5-GPU-RadeonHD8870M-x86_64-Debug-All-CommandBuffer
TBR=ethannicholas@google.com

Change-Id: Ie3f2f2cf6183f765230a5a7ed469ed4d63d401ad
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211212
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-04-30 04:41:07 +00:00
skia-autoroll
b8532fdac6 Roll third_party/externals/swiftshader 28f142f1b0a2..6a12e092091c (8 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/28f142f1b0a2..6a12e092091c


git log 28f142f1b0a2..6a12e092091c --date=short --no-merges --format='%ad %ae %s'
2019-04-30 capn@google.com Refactor image array layer addressing
2019-04-30 capn@google.com Implement OpImageSampleExplicitLod with Grad operand
2019-04-30 capn@google.com Marshal image instruction parameters to the sampling trampoline
2019-04-30 chrisforbes@google.com Fix various descriptor handling bugs
2019-04-29 chrisforbes@google.com Fix BuiltInSubgroupSize in graphics pipeline
2019-04-29 chrisforbes@google.com Enable sampling of 2d array textures
2019-04-29 swiftshader.regress@gmail.com Regres: Update test lists @ 28f142f1
2019-04-29 chrisforbes@google.com Wire up texture border color correctly


Created with:
  gclient setdep -r third_party/externals/swiftshader@6a12e092091c

The AutoRoll server is located here: https://autoroll.skia.org/r/swiftshader-skia-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

CQ_INCLUDE_TRYBOTS=skia.primary:Test-Debian9-Clang-GCE-GPU-SwiftShader-x86_64-Debug-All-SwiftShader
TBR=ethannicholas@google.com

Change-Id: I51ee7c9d49f736758a76b819baa0d233e17ed2b5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211211
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-04-30 04:32:18 +00:00
recipe-roller
79e53712a0 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
depot_tools:
  https://crrev.com/4ef3221c5d415fb50932eeee7aa98cc797d5a642 Bail out only if depot_tools path contains a tilde (hferreiro@igalia.com)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Idcefb625ffb61913e0c90077f8ea84e084dd764b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211222
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>
2019-04-30 00:26:44 +00:00
recipe-roller
8626cfa95e Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
depot_tools:
  https://crrev.com/f88551c176b4a3028525ba90cf3f6fa9de3fb7e9 [led] Roll led to latest version. (iannucci@chromium.org)
recipe_engine:
  https://crrev.com/0536a97f09079ccde3b1506ee7ceaabdeb8e5e3a [swarming] update swarming cipd package (tikuta@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Id44a124ff9489c633356704f9e4fc9f33e543942
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211220
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>
2019-04-29 23:42:44 +00:00
Chris Dalton
f91b755b34 Reland "ccpr: Set atlas proxy size to draw bounds rather than backing size"
This is a reland of 46d0f9aad1

Original change's description:
> ccpr: Set atlas proxy size to draw bounds rather than backing size
> 
> Bug: skia:
> Change-Id: I6605754ecc5377b1c25847fdda478f8246979a2f
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/209808
> Commit-Queue: Chris Dalton <csmartdalton@google.com>
> Reviewed-by: Robert Phillips <robertphillips@google.com>

Bug: skia:
Change-Id: Ic13317fd021843961989a79050735c225702ad45
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211181
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2019-04-29 23:32:34 +00:00
recipe-roller
bd425405f3 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
recipe_engine:
  https://crrev.com/e63b7e401022a74dfd7b9be41610a0405095217d Remove backwards-compatibility mapping interface from Step. (gbeaty@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ic4097d20aeae14496cd4f6f713f4e521953da193
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211069
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>
2019-04-29 23:03:33 +00:00
recipe-roller
1ef5455eba Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
depot_tools:
  https://crrev.com/0cbd5a5ec22dcba2a999fbb86a1b8ea7f122ec25 Stop using compression for git cache. (karenqian@google.com)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I9043b3d5b44638f1963da824e0595d8353b5d020
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211108
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>
2019-04-29 20:56:16 +00:00
recipe-roller
086d80bcf7 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
recipe_engine:
  https://crrev.com/dc86298bfca2d4be9849676c1a5993961f199efe [buildbucket] Add builder_cache_path property (nodir@google.com)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I5bd256731f1931567865736791b9790a9371c170
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211107
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>
2019-04-29 20:15:16 +00:00
recipe-roller
037884e508 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
recipe_engine:
  https://crrev.com/c9785f84e83c98fd90e50436a9bda18f704f7612 [buildbucket] Add api.buildbucket.search (nodir@google.com)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I7a6c32145003045692c20c2530bdd028b6d99dac
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211104
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>
2019-04-29 19:39:06 +00:00
Brian Osman
3d47f37cb5 Add skcms' LICENSE to include/third_party/skcms
Bug: skia:9031
Change-Id: I3b6fb817a63040911fe43378410f3baa7366e90e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211102
Reviewed-by: Mike Klein <mtklein@google.com>
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2019-04-29 18:45:46 +00:00
Mike Klein
9e25bb993d public_includes -= include/third_party/vulkan
Got a little overzealous cleaning up public_include_dirs
in https://skia-review.googlesource.com/c/skia/+/209706.
This puts everything back how it used to be, with Skia
always using them internally, and only test code using
them externally.

Change-Id: I7f17afbaf20469e78f0f633254f17123e97233fc
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211083
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2019-04-29 16:23:05 +00:00
Mike Klein
f5f4e81e33 Revert "SKIA_IMPLEMENTATION is only relevant in shared builds"
This reverts commit 8413ff13fe.

Reason for revert: turns out that's not true.  It's how we pick the right Vulkan headers.

Original change's description:
> SKIA_IMPLEMENTATION is only relevant in shared builds
> 
> Change-Id: If4ce780a74d59e5ec5c9d950a560527d4de7e030
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/210130
> Commit-Queue: Brian Osman <brianosman@google.com>
> Auto-Submit: Mike Klein <mtklein@google.com>
> Reviewed-by: Brian Osman <brianosman@google.com>

TBR=mtklein@google.com,halcanary@google.com,brianosman@google.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: I35fc5458930254597279875125bb392af4b8e74c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211092
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2019-04-29 16:20:05 +00:00
Ben Wagner
23935888a1 Check event log for all Windows tasks
Change-Id: Ie72515f5b9c64bb156fee81a0f28d6335b528978
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/210240
Auto-Submit: Ben Wagner aka dogben <benjaminwagner@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
2019-04-29 16:03:35 +00:00
Mike Klein
40fff267d4 remove third_party/skcms from includes
Change-Id: I3ee00f4892f694eb04c2e51cfd4565df67a95d64
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211087
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2019-04-29 15:50:06 +00:00
Hal Canary
50d650d3ef Experimental text editor: factor out Editor class.
Change-Id: Ie3ab5566b66f8255097001d015b39ca650cc0f20
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/210920
Commit-Queue: Hal Canary <halcanary@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Auto-Submit: Hal Canary <halcanary@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2019-04-29 15:43:35 +00:00
Hal Canary
378be8dcc0 sk_app: fix BUILD file
CQ_INCLUDE_TRYBOTS=skia.primary:Build-Mac-Clang-x86_64-Debug-MoltenVK_Vulkan

Change-Id: I67a298afc41bef7de49e1d9e52cf0bd0f8d1fe0a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211000
Commit-Queue: Ben Wagner <bungeman@google.com>
Auto-Submit: Hal Canary <halcanary@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2019-04-29 15:34:05 +00:00
Brian Osman
ea236bf818 Move skcms.h to include/third_party/skcms
Add a shim to redirect until clients are updated

Change-Id: Ib43614e5620b1a24ca18187c1646a8ed1a9ee7a4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211003
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2019-04-29 15:02:45 +00:00
Jim Van Verth
75c5326bae Cache some more Metal state.
Caches MTLSamplerStates and MTLDepthStencilStates.

Bug: skia:8243
Change-Id: Id362507caedb3453b53d17f77dfbcee42ec52578
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/209811
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2019-04-29 14:17:06 +00:00
Robert Phillips
d425dee662 Enable opList sorting everywhere
This should have very little impact until we enable opList-splitting-reduction.

Change-Id: Iacc3d1b34c390b65b5ee185bcbdd118d5023aaa7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/210630
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2019-04-29 14:00:46 +00:00
skia-recreate-skps
bc94e79eb7 Update go_deps asset
Automatic commit by the UpdateGoDEPS bot.

TBR=borenet@google.com

Change-Id: Ic7e1be71029227b0334f6c7dd06195e208eea93c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/210961
Reviewed-by: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
Commit-Queue: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
2019-04-29 05:49:35 +00:00
skia-autoroll
de267b6c06 Roll third_party/externals/angle2 6f691fbb59c7..1ad7a07212b2 (1 commits)
6f691fbb59..1ad7a07212


git log 6f691fbb59c7..1ad7a07212b2 --date=short --no-merges --format='%ad %ae %s'
2019-04-26 jonahr@google.com Clean up unexpected passed/failed test behavior for generate_stats


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

The AutoRoll server is located here: https://autoroll.skia.org/r/angle-skia-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

CQ_INCLUDE_TRYBOTS=skia.primary:Build-Debian9-Clang-x86_64-Release-ANGLE;skia.primary:Perf-Win10-Clang-AlphaR2-GPU-RadeonR9M470X-x86_64-Debug-All-ANGLE;skia.primary:Perf-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE;skia.primary:Perf-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-All-ANGLE;skia.primary:Perf-Win10-Clang-NUCD34010WYKH-GPU-IntelHD4400-x86_64-Debug-All-ANGLE;skia.primary:Perf-Win10-Clang-ShuttleC-GPU-GTX960-x86_64-Debug-All-ANGLE;skia.primary:Test-Win10-Clang-AlphaR2-GPU-RadeonR9M470X-x86_64-Debug-All-ANGLE;skia.primary:Test-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-All-ANGLE;skia.primary:Test-Win10-Clang-NUCD34010WYKH-GPU-IntelHD4400-x86_64-Debug-All-ANGLE;skia.primary:Test-Win10-Clang-ShuttleC-GPU-GTX960-x86_64-Debug-All-ANGLE
TBR=ethannicholas@google.com

Change-Id: I187beffc3890f9d24329ae1ace735b55dd8adb65
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/210913
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-04-29 05:24:15 +00:00
skia-autoroll
fd258c8210 Roll ../src 07c444c4d281..2f6bc7b3cacb (441 commits)
07c444c4d2..2f6bc7b3ca


Created with:
  gclient setdep -r ../src@2f6bc7b3ca

The AutoRoll server is located here: https://autoroll.skia.org/r/chromium-skia-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

CQ_INCLUDE_TRYBOTS=skia.primary:Perf-Mac10.13-Clang-MacBookPro11.5-GPU-RadeonHD8870M-x86_64-Release-All-CommandBuffer;skia.primary:Test-Mac10.13-Clang-MacBookPro11.5-GPU-RadeonHD8870M-x86_64-Debug-All-CommandBuffer
TBR=ethannicholas@google.com

Change-Id: I8b17dd6c4b1a5b31593fd9d504f9be44d73ea60e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/210914
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-04-29 04:38:35 +00:00
skia-autoroll
d1be9450c7 Roll third_party/externals/swiftshader a161493942fa..28f142f1b0a2 (47 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/a161493942fa..28f142f1b0a2


git log a161493942fa..28f142f1b0a2 --date=short --no-merges --format='%ad %ae %s'
2019-04-27 swiftshader.regress@gmail.com Regres: Update test lists @ a32d6303
2019-04-27 chrisforbes@google.com Support more more formats for input attachments
2019-04-26 chrisforbes@google.com Adjust input attachment index when indexing into array of input descriptors
2019-04-26 chrisforbes@google.com Support more formats for input attachments
2019-04-26 capn@google.com Implement cubemap sampling
2019-04-26 chrisforbes@google.com Add support for D32_SFLOAT and D16_UNORM input attachments
2019-04-26 chrisforbes@google.com Always apply the fragment shader if it is present
2019-04-26 sugoi@google.com Allow treating a 3D image as a layered 2D image
2019-04-26 bclayton@google.com Add new debug macro UNSUPPORTED().
2019-04-26 amaiorano@google.com Fix crash when viewport Y position is negative
2019-04-26 bclayton@google.com CMakeLists: Fix REACTOR_EMIT_DEBUG_INFO builds
2019-04-26 bclayton@google.com SpirvShaderSampling: Fix flaky tests.
2019-04-26 capn@google.com Make all descriptors 16-byte aligned.
2019-04-26 brianosman@google.com Remove more trailing semi-colons
2019-04-26 bclayton@google.com SpirvShader: Implement OpQuantizeToF16
2019-04-26 swiftshader.regress@gmail.com Regres: Update test lists @ 22fbf8fc
2019-04-25 capn@google.com Resolve remaining levels/layers at VkImageView creation time
2019-04-25 chrisforbes@google.com Plumb constants through to the sampler, and make sRGB work
2019-04-25 chrisforbes@google.com Partial support for input attachments
2019-04-25 chrisforbes@google.com Fix weird sampled image format query
2019-04-25 chrisforbes@google.com Produce correct `one` value for integer textures
2019-04-25 chrisforbes@google.com Wire up texture swizzles
2019-04-25 chrisforbes@google.com Resolve identity swizzles at VkImageView creation time
2019-04-25 bclayton@google.com CMakeLists: Treat ignored-qualifiers warnings as errors.
2019-04-25 bclayton@google.com VulkanUnitTests: Shuffle semicolons to the #define
2019-04-25 bclayton@google.com CMakeLists: Only build the selected backend.
2019-04-25 bclayton@google.com CMakeLists: Use MATCHES not STREQUAL for compiler conditionals
2019-04-25 swiftshader.regress@gmail.com Regres: Update test lists @ a47a5160
2019-04-24 capn@google.com Implement 1D image sampling
2019-04-24 capn@google.com Implement OpImageSampleExplicitLod
2019-04-24 capn@google.com Fix update of immutable samplers
2019-04-24 chrisforbes@google.com Remove useless const on ImageView::getImageSizeInBytes return value
2019-04-24 chrisforbes@google.com Add hwvulkan_headers to Android build
2019-04-24 bclayton@google.com CMakeLists: Treat trailing semicolons as warnings / errors
2019-04-24 bclayton@google.com CMakeLists: Migrate from set_cpp_flag to per-project settings.
2019-04-24 chrisforbes@google.com Include reactor debug functions in Android build
2019-04-24 bclayton@google.com CMakeList: Remove the CLANG_VERSION_STRING check
2019-04-24 capn@google.com Refactor common sampler code
2019-04-24 capn@google.com Implement basic sampler parameters
2019-04-24 capn@google.com Default to [X,0,0,one] for undefined texture components
2019-04-24 capn@google.com Eliminate fixed-point texture sampling
2019-04-24 bclayton@google.com SpirvShader: Combine DivergentPointer and NonDivergentPointer
2019-04-24 bclayton@google.com Reactor: Add Gather and Scatter instructions.
2019-04-24 bclayton@google.com SpirvShader: Refactor loads and stores. Consider limits.
2019-04-24 bclayton@google.com Reactor: Hook up atomic load/store intrinsics.
2019-04-24 bclayton@google.com LLVMReactorDebugInfo: Remove REACTOR_LLVM_VERSION check
2019-04-24 swiftshader.regress@gmail.com Regres: Update test lists @ ed46cde6


Created with:
  gclient setdep -r third_party/externals/swiftshader@28f142f1b0a2

The AutoRoll server is located here: https://autoroll.skia.org/r/swiftshader-skia-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

CQ_INCLUDE_TRYBOTS=skia.primary:Test-Debian9-Clang-GCE-GPU-SwiftShader-x86_64-Debug-All-SwiftShader
TBR=ethannicholas@google.com

Change-Id: Idb0c3a3e7f360d1470f35131c7e68ba362627018
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/210912
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-04-29 04:35:05 +00:00
skia-recreate-skps
7056ce14dd Update SKP version
Automatic commit by the RecreateSKPs bot.

TBR=rmistry@google.com
NO_MERGE_BUILDS

Change-Id: I2458e34a39cf3a661afd0f0d0e7efdf2087478ca
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/210908
Reviewed-by: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
Commit-Queue: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
2019-04-28 09:04:34 +00:00
skia-recreate-skps
a5dc0f2d7a Update go_deps asset
Automatic commit by the UpdateGoDEPS bot.

TBR=borenet@google.com

Change-Id: If5b53a9f970818d26fba43fcf4e48c2e4f40d508
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/210903
Reviewed-by: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
Commit-Queue: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
2019-04-28 05:48:44 +00:00