Commit Graph

37459 Commits

Author SHA1 Message Date
skia-bookmaker
8b2baac2b7 Update markdown files
Automatic commit by the Housekeeper-Nightly-Bookmaker bot.

TBR=rmistry@google.com
NO_MERGE_BUILDS

Change-Id: I59112fb6148912d582f6db765f4a21989e43d226
Reviewed-on: https://skia-review.googlesource.com/c/162398
Commit-Queue: <skia-bookmaker@skia-swarming-bots.iam.gserviceaccount.com>
Reviewed-by: <skia-bookmaker@skia-swarming-bots.iam.gserviceaccount.com>
2018-10-16 06:17:36 +00:00
skia-recreate-skps
dd719ba309 Update go_deps asset
Automatic commit by the UpdateGoDEPS bot.

TBR=borenet@google.com

Change-Id: Id11bfa7f333fa365580e486c1470dd8552d09cd8
Reviewed-on: https://skia-review.googlesource.com/c/162397
Commit-Queue: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
Reviewed-by: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
2018-10-16 06:14:25 +00:00
skia-autoroll
198b87e5be Roll third_party/externals/angle2 bbd532d164f0..a1ac3fe80647 (1 commits)
bbd532d164..a1ac3fe806


git log bbd532d164f0..a1ac3fe80647 --date=short --no-merges --format='%ad %ae %s'
2018-10-16 jiawei.shao@intel.com ES31: Support textureGather[Offset] on int/uint formats on D3D11


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

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=egdaniel@google.com

Change-Id: I103cc8b1173c51afc4a3f0e96053807d7ec49348
Reviewed-on: https://skia-review.googlesource.com/c/162460
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-16 03:19:26 +00:00
recipe-roller
f600a54d3d 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/feec80e97144d81bb6fc7d1c8c9e4cb90019f4bc git cl: no longer support --rietveld flag when forcing codereview. (tandrii@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I80d0c87346425f2f603bf6df7e016fd5e22a71cc
Reviewed-on: https://skia-review.googlesource.com/c/162441
Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
Reviewed-by: Recipe Roller <recipe-roller@chromium.org>
2018-10-16 01:51:31 +00:00
Greg Daniel
b3067e8e1b Revert "Have GrAtlasManager use legacy behavior"
This reverts commit 4b7b2ceb4a.

Reason for revert: breaks intel 640 gpu bots in dftext gm for glthreading config

Original change's description:
> Have GrAtlasManager use legacy behavior
> 
> The old code would generate a 1024 x 2048 x 4 atlas given a
> max size of 4MiB. And, the plot sizes would be 256 x 256. This CL
> mimics that behavior.
> 
> Change-Id: Iae741d5409daa034c6c3086c8a09476fb343353d
> Reviewed-on: https://skia-review.googlesource.com/c/162321
> Commit-Queue: Herb Derby <herb@google.com>
> Reviewed-by: Mike Klein <mtklein@google.com>

TBR=mtklein@google.com,herb@google.com

Change-Id: I61c6dd0e88ac8953706c6cb11bdc1cb2daa95544
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/162440
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2018-10-15 23:22:21 +00:00
Herb Derby
4b7b2ceb4a Have GrAtlasManager use legacy behavior
The old code would generate a 1024 x 2048 x 4 atlas given a
max size of 4MiB. And, the plot sizes would be 256 x 256. This CL
mimics that behavior.

Change-Id: Iae741d5409daa034c6c3086c8a09476fb343353d
Reviewed-on: https://skia-review.googlesource.com/c/162321
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2018-10-15 22:19:04 +00:00
Mike Reed
4eb3b6c85f remove noisy gm
The gm created a repeat-gradient with end-points spaced 0.1 apart -- just draws noise

Bug: skia:
Change-Id: I25c46fc19715dd777335ddc3af9bf563f9a063bd
Reviewed-on: https://skia-review.googlesource.com/c/162400
Commit-Queue: Mike Reed <reed@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Auto-Submit: Mike Reed <reed@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2018-10-15 21:59:52 +00:00
Brian Osman
be7450b6c6 Revert "Preserve pixel config in makeColorSpace of GPU backed images"
This reverts commit 2f90741541.

Reason for revert: Speculative fix for Chrome roll.

Original change's description:
> Preserve pixel config in makeColorSpace of GPU backed images
> 
> Bug: skia:
> Change-Id: I3d0ad479b6bdc9b2f2738291f80ab50ff41eba15
> Reviewed-on: https://skia-review.googlesource.com/c/162037
> Commit-Queue: Brian Osman <brianosman@google.com>
> Commit-Queue: Mike Klein <mtklein@google.com>
> Auto-Submit: Brian Osman <brianosman@google.com>
> Reviewed-by: Mike Klein <mtklein@google.com>

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

Change-Id: Id01cffd0e5a559b98b9fd7111b437a4e343ac21d
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/c/162361
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-10-15 21:05:00 +00:00
Brian Osman
264ed5f693 Revert "Fix bug with makeColorSpace of GPU images with non-renderable configs"
This reverts commit 6edbde6248.

Reason for revert: Need to revert original CL.

Original change's description:
> Fix bug with makeColorSpace of GPU images with non-renderable configs
> 
> A few GMs that draw Gray8 images found this on the gbr-gl config.
> 
> Bug: skia:
> Change-Id: Iadeb21717d4d1daa48b85e08c45b1d058c2fe1b7
> Reviewed-on: https://skia-review.googlesource.com/c/162282
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Brian Osman <brianosman@google.com>

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

Change-Id: Ic13ce5ba22eba88f9a9cca84f57c0eaeb90f4b83
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/c/162360
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-10-15 21:04:20 +00:00
Ethan Nicholas
eace935298 Revert "converted AARectEffect to new FP system"
This reverts commit 222e275b0a.

Reason for revert: perf regression

Original change's description:
> converted AARectEffect to new FP system
> 
> Bug: skia:
> Change-Id: I0e4141c7f547bab92c65a6abff120ed04d5c2c66
> Reviewed-on: https://skia-review.googlesource.com/c/153550
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>

TBR=bsalomon@google.com,ethannicholas@google.com

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

Bug: skia:
Change-Id: I3d7036a78d8582d6790c77b20a60e6e5257d1881
Reviewed-on: https://skia-review.googlesource.com/c/162283
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
2018-10-15 20:43:26 +00:00
Brian Osman
82727ad0eb Add documentation to SkRGBA4f
Bug: skia:
Change-Id: I11109b35558630e60118653c9c72a976bc6e4650
Reviewed-on: https://skia-review.googlesource.com/c/159151
Reviewed-by: Mike Klein <mtklein@google.com>
Auto-Submit: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-10-15 20:33:21 +00:00
Brian Osman
6edbde6248 Fix bug with makeColorSpace of GPU images with non-renderable configs
A few GMs that draw Gray8 images found this on the gbr-gl config.

Bug: skia:
Change-Id: Iadeb21717d4d1daa48b85e08c45b1d058c2fe1b7
Reviewed-on: https://skia-review.googlesource.com/c/162282
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-10-15 20:18:51 +00:00
Mike Reed
09bc78b18a remove unused isABitmap code
Waiting on CL to remove calls in Android.

Bug: skia:
Change-Id: I9672ec1602ee3953ab2baa4475f5cdf25e907163
Reviewed-on: https://skia-review.googlesource.com/c/162036
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
2018-10-15 20:09:48 +00:00
Brian Osman
3a16073037 Revert "Revert "Use SkImage to manage mip map cache purging, not Bitmap/PixelRef""
This reverts commit f7ddaa8a1b.

Bug: skia:
Change-Id: Idc0459e119cefbf580aea1f27dda9836d16bb293
Reviewed-on: https://skia-review.googlesource.com/c/162039
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-10-15 20:04:59 +00:00
skia-autoroll@skia-public.iam.gserviceaccount.com
cb4db0e7b7 Roll skia/third_party/skcms bdafec6a06cd..33ca7b4f7334 (1 commits)
https://skia.googlesource.com/skcms.git/+log/bdafec6a06cd..33ca7b4f7334

2018-10-15 mtklein@google.com move clamp outside of clut


The AutoRoll server is located here: https://autoroll.skia.org/r/skcms-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=master.tryserver.blink:linux_trusty_blink_rel
TBR=egdaniel@google.com

Change-Id: Ib6125213fc2ae597ac0451b2770655847e41f118
Reviewed-on: https://skia-review.googlesource.com/c/162261
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-15 20:02:09 +00:00
recipe-roller
3a47c2d2ed 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/7d7bbc3b530f11eec8fa347d330c16006390cd65 git cl upload: delete no longer supported flags. (tandrii@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Id92522618a2bfb7f7e48f998607f35909c41744f
Reviewed-on: https://skia-review.googlesource.com/c/162281
Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
Reviewed-by: Recipe Roller <recipe-roller@chromium.org>
2018-10-15 19:59:05 +00:00
Brian Salomon
0087c83a7c Make GrTextureOp disable filtering/aa in more cases.
Previously we didn't do this at all for multiple-texture ops.

Improve the test detecting when filtering can be disabled.

Make draw_image_set GM create tiles with pixel of overlap for correct
filtering.

Add draw_image_set_rect_to_rect to exercise filtering/aa disablement
in combination with tiling.

Makes SkGpuDevice filter out inverted src rects (as is done implicitly
in SkBaseDevice by relying on drawImageRect).

Puts GrTextureOp::fFilter in bitfield.

Change-Id: Iee96cb54d665877c7f4aee422a3a7af2b249b1d6
Reviewed-on: https://skia-review.googlesource.com/c/161641
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
2018-10-15 19:28:05 +00:00
skia-autoroll@skia-public.iam.gserviceaccount.com
882a6b9fbe Roll skia/third_party/skcms d27291c0eba6..bdafec6a06cd (1 commits)
https://skia.googlesource.com/skcms.git/+log/d27291c0eba6..bdafec6a06cd

2018-10-15 mtklein@google.com limit+stride can be scalars


The AutoRoll server is located here: https://autoroll.skia.org/r/skcms-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=master.tryserver.blink:linux_trusty_blink_rel
TBR=egdaniel@google.com

Change-Id: Ib6dd471a64749b68a12d1ccefca619ed30549e97
Reviewed-on: https://skia-review.googlesource.com/c/162260
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-15 19:19:23 +00:00
skia-autoroll
5ed66edc01 Roll third_party/externals/swiftshader 71e256cae02a..767b41b1a841 (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/71e256cae02a..767b41b1a841


git log 71e256cae02a..767b41b1a841 --date=short --no-merges --format='%ad %ae %s'
2018-10-15 sugoi@google.com Vulkan dispatchable objects


Created with:
  gclient setdep -r third_party/externals/swiftshader@767b41b1a841

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=egdaniel@google.com

Change-Id: I5dc7b3e0d5b4c4931102d93fecdc2d8b43eb1623
Reviewed-on: https://skia-review.googlesource.com/c/162220
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-15 19:11:58 +00:00
Mike Klein
921ec97655 another NVPR-only op
Change-Id: If29580a039aaafcd8bc8392325e4035e708a3129
Reviewed-on: https://skia-review.googlesource.com/c/162201
Commit-Queue: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2018-10-15 18:53:27 +00:00
skia-autoroll@skia-public.iam.gserviceaccount.com
5df55f59da Roll skia/third_party/skcms d26444f2999e..d27291c0eba6 (1 commits)
https://skia.googlesource.com/skcms.git/+log/d26444f2999e..d27291c0eba6

2018-10-15 mtklein@google.com bottom out clut recursion at dim=1


The AutoRoll server is located here: https://autoroll.skia.org/r/skcms-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=master.tryserver.blink:linux_trusty_blink_rel
TBR=egdaniel@google.com

Change-Id: Ibf98bc7defda24178d2838156464e8a7f7ab1bd8
Reviewed-on: https://skia-review.googlesource.com/c/162148
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-15 18:32:50 +00:00
Ethan Nicholas
391d344e38 fixed Metal release build
Bug: skia:
Change-Id: Iedb7a719f8993ed516bbad6ab3aaadcd4e14b207
Reviewed-on: https://skia-review.googlesource.com/c/162160
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
2018-10-15 18:26:20 +00:00
skia-autoroll
5ca80a0fcd Roll third_party/externals/angle2 79b914075cc5..bbd532d164f0 (1 commits)
79b914075c..bbd532d164


git log 79b914075cc5..bbd532d164f0 --date=short --no-merges --format='%ad %ae %s'
2018-10-15 jsaarhelo@nvidia.com Fix querying large vertex attrib divisors


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

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=egdaniel@google.com

Change-Id: Ia1eb6ce7bfc511c9cb38c3377f9937a8072259d1
Reviewed-on: https://skia-review.googlesource.com/c/162043
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-15 18:04:26 +00:00
recipe-roller
8df16d0d6b 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/2f727917ac2531cd26c4b4d4fc805398c0bbd132 git cl: add reviewers and ccs to git push command if possible. (tandrii@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ic5ef88209aa8d5bdaaabf66000b8578ae98aded2
Reviewed-on: https://skia-review.googlesource.com/c/162161
Reviewed-by: Recipe Roller <recipe-roller@chromium.org>
Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
2018-10-15 18:04:20 +00:00
Herb Derby
ebde1ab518 Change 0 extraSize allocation behavior for SkArenaAlloc
Change the behavior from allocating only the memory needed for T.
to an exponential growth starting at 1024.

Change-Id: Id37e0fb9e269feebf669ebc73f9e26dcd0589452
Reviewed-on: https://skia-review.googlesource.com/c/162102
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2018-10-15 17:59:25 +00:00
skia-autoroll@skia-public.iam.gserviceaccount.com
0a0dbb11ea Roll skia/third_party/skcms b655b88172fa..d26444f2999e (1 commits)
https://skia.googlesource.com/skcms.git/+log/b655b88172fa..d26444f2999e

2018-10-15 mtklein@google.com disable GCC and 32-bit builds on Mac


The AutoRoll server is located here: https://autoroll.skia.org/r/skcms-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=master.tryserver.blink:linux_trusty_blink_rel
TBR=egdaniel@google.com

Change-Id: I690b6bf765bda6ea4c4923e51188139b709240e9
Reviewed-on: https://skia-review.googlesource.com/c/162142
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-15 17:58:50 +00:00
Brian Osman
2f90741541 Preserve pixel config in makeColorSpace of GPU backed images
Bug: skia:
Change-Id: I3d0ad479b6bdc9b2f2738291f80ab50ff41eba15
Reviewed-on: https://skia-review.googlesource.com/c/162037
Commit-Queue: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Auto-Submit: Brian Osman <brianosman@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2018-10-15 17:27:30 +00:00
recipe-roller
f06bf17fc2 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/9f274436bd0d6eee2cf33ef5ef761f522fd1b5f7 git cl: partially remove Rietveld support for uploading code. (tandrii@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I2b5432894b514012189b0ca1792c6d121afb2b79
Reviewed-on: https://skia-review.googlesource.com/c/162038
Reviewed-by: Recipe Roller <recipe-roller@chromium.org>
Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
2018-10-15 17:24:50 +00:00
skia-autoroll@skia-public.iam.gserviceaccount.com
f989b2af0b Roll skia/third_party/skcms 9369e44523c7..b655b88172fa (1 commits)
https://skia.googlesource.com/skcms.git/+log/9369e44523c7..b655b88172fa

2018-10-15 mtklein@google.com work around compiler bug for mips64el/-O3


The AutoRoll server is located here: https://autoroll.skia.org/r/skcms-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=master.tryserver.blink:linux_trusty_blink_rel
TBR=egdaniel@google.com

Change-Id: I85982454f6f17dceb542e0ecd0b94f5a2a3fc062
Reviewed-on: https://skia-review.googlesource.com/c/162138
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-15 17:18:30 +00:00
skia-autoroll@skia-public.iam.gserviceaccount.com
c064d0b121 Roll skia/third_party/skcms 271ddb4ed93a..9369e44523c7 (1 commits)
https://skia.googlesource.com/skcms.git/+log/271ddb4ed93a..9369e44523c7

2018-10-15 mtklein@google.com abort if TF invert fails


The AutoRoll server is located here: https://autoroll.skia.org/r/skcms-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=master.tryserver.blink:linux_trusty_blink_rel
TBR=egdaniel@google.com

Change-Id: Ic55b98d2939a6e45caff7dcdf43331e02c93bbb2
Reviewed-on: https://skia-review.googlesource.com/c/162033
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-15 16:42:59 +00:00
skia-autoroll
8af2a5f3cd Roll third_party/externals/swiftshader 758796a466bc..71e256cae02a (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/758796a466bc..71e256cae02a


git log 758796a466bc..71e256cae02a --date=short --no-merges --format='%ad %ae %s'
2018-10-15 capn@google.com Fix GN build.


Created with:
  gclient setdep -r third_party/externals/swiftshader@71e256cae02a

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=egdaniel@google.com

Change-Id: I1987361b9d5c601c9a19add2bf54ab231cee545c
Reviewed-on: https://skia-review.googlesource.com/c/162042
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-15 16:35:29 +00:00
Brian Osman
f7ddaa8a1b Revert "Use SkImage to manage mip map cache purging, not Bitmap/PixelRef"
This reverts commit 087c917670.

Reason for revert: ASAN reporting memory leak.

Original change's description:
> Use SkImage to manage mip map cache purging, not Bitmap/PixelRef
> 
> Lazy and GPU images manage the notification themselves, but raster
> images now forward the notification request to the pixelRef.
> 
> Bug: skia:
> Change-Id: I93e0ebd3749e3f7dbd506466299fde8923982435
> Reviewed-on: https://skia-review.googlesource.com/c/161830
> Commit-Queue: Mike Klein <mtklein@google.com>
> Reviewed-by: Mike Klein <mtklein@google.com>

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

Change-Id: I355b8caeaae3096e52f5fd2359f4ad39cddaa383
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/c/162034
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-10-15 16:31:20 +00:00
Cary Clark
b0ba2ac392 fix bookmaker
New canvas struct hit some unimplemented
corners in bookmaker.

TBR=bsalomon@google.com

Docs-Preview: https://skia.org/?cl=162032
Bug: skia:
Change-Id: I3172340d8653d9ab76c0a59683cd91f0fbccfacc
Reviewed-on: https://skia-review.googlesource.com/c/162032
Commit-Queue: Cary Clark <caryclark@skia.org>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Auto-Submit: Cary Clark <caryclark@skia.org>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Cary Clark <caryclark@skia.org>
2018-10-15 16:11:56 +00:00
Ethan Nicholas
56d19a5707 add support for clears to Metal backend
Bug: skia:
Change-Id: I35d9fcf096d078d6dc04093e3591df0ac12079b7
Reviewed-on: https://skia-review.googlesource.com/c/161821
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
2018-10-15 16:03:56 +00:00
Kevin Lubick
c921067eaa Add ignore to Bazel file
Bug: skia:
Change-Id: Ie17d02cd37e26c6f76e0003e1399a3d931b03379
Reviewed-on: https://skia-review.googlesource.com/c/162031
Reviewed-by: Mike Klein <mtklein@google.com>
2018-10-15 16:00:16 +00:00
Mike Klein
72fbfe8b3f fAddedToCache tidy up
Change-Id: I943dea5a60664ff9fdd93638efab2154c9a9ea30
Reviewed-on: https://skia-review.googlesource.com/c/162101
Commit-Queue: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2018-10-15 15:47:55 +00:00
skia-autoroll
6e68376b99 Roll third_party/externals/swiftshader a2d15d1a268c..758796a466bc (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/a2d15d1a268c..758796a466bc


git log a2d15d1a268c..758796a466bc --date=short --no-merges --format='%ad %ae %s'
2018-10-15 capn@google.com Add GN build file for LLVM 7.0


Created with:
  gclient setdep -r third_party/externals/swiftshader@758796a466bc

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=egdaniel@google.com

Change-Id: I89742302f7ef320882105d44f053e44fb260a9fb
Reviewed-on: https://skia-review.googlesource.com/c/162041
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-15 15:36:02 +00:00
Mike Klein
26a6049beb Flutter also won't need NVPR.
The intersection of devices that Flutter targets
and devices that support NVPR is very slim.

Change-Id: Idcb1278df4895ed253a4c0eb6044c4cc53c68cb8
Reviewed-on: https://skia-review.googlesource.com/c/162100
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2018-10-15 15:34:21 +00:00
skia-autoroll@skia-public.iam.gserviceaccount.com
fb22076737 Roll skia/third_party/skcms 7362d8835a07..271ddb4ed93a (1 commits)
https://skia.googlesource.com/skcms.git/+log/7362d8835a07..271ddb4ed93a

2018-10-15 mtklein@google.com add mips64el build script


The AutoRoll server is located here: https://autoroll.skia.org/r/skcms-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=master.tryserver.blink:linux_trusty_blink_rel
TBR=egdaniel@google.com

Change-Id: Ifaf474e369ca1f9f151bd568ecc380537c0e85ea
Reviewed-on: https://skia-review.googlesource.com/c/162071
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-15 15:16:00 +00:00
Brian Osman
087c917670 Use SkImage to manage mip map cache purging, not Bitmap/PixelRef
Lazy and GPU images manage the notification themselves, but raster
images now forward the notification request to the pixelRef.

Bug: skia:
Change-Id: I93e0ebd3749e3f7dbd506466299fde8923982435
Reviewed-on: https://skia-review.googlesource.com/c/161830
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2018-10-15 15:12:00 +00:00
Jim Van Verth
11dd1ab3b9 Check for legit bounds in SkTriangulateSimplePolygon
Bug: skia:8467, oss-fuzz:10929
Change-Id: I6336e00004322960319e3076677029d3b17c78e3
Reviewed-on: https://skia-review.googlesource.com/c/162028
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Auto-Submit: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2018-10-15 15:02:17 +00:00
Brian Salomon
16cb4b3b2a Abort DRAW_IMAGE_SET in SkPicturePlayback if count is negative
Bug: oss-fuzz:10936
Change-Id: I7c9e4eccb0165a1d3bbf326cde305f0fde01bbb8
Reviewed-on: https://skia-review.googlesource.com/c/162029
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2018-10-15 14:52:17 +00:00
Mike Reed
a5abc7aac1 removed unused LEGACY_VULKAN_INTERFACE
Bug: skia:
Change-Id: I8916b541ececb902b23cfbe2577a54247038b314
Reviewed-on: https://skia-review.googlesource.com/c/162027
Commit-Queue: Mike Reed <reed@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Auto-Submit: Mike Reed <reed@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
2018-10-15 14:46:57 +00:00
Mike Reed
d1024c6f72 remove unused SK_LEGACY_SRGB_GAMUT code
Bug: skia:
Change-Id: I30d67c6c69f17f8be567c049f95b09c136484dff
Reviewed-on: https://skia-review.googlesource.com/c/162026
Auto-Submit: Mike Reed <reed@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2018-10-15 14:45:17 +00:00
Brian Salomon
5f4c90eaa1 Outset texture coordinates similarly to positions in GrTextureOp
Previously we inverted a matrix to compute a mapping from positions
to teture coords and applied it to the outset positions.

Change-Id: I164d827caa2cebcf690290ff1a3f2859a8c285b3
Reviewed-on: https://skia-review.googlesource.com/c/161831
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2018-10-15 14:39:57 +00:00
skia-autoroll
33ea2ec9bf Roll third_party/externals/swiftshader 5378e14284e6..a2d15d1a268c (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/5378e14284e6..a2d15d1a268c


git log 5378e14284e6..a2d15d1a268c --date=short --no-merges --format='%ad %ae %s'
2018-10-15 capn@google.com Fix depth/stencil read format validation.


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

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=egdaniel@google.com

Change-Id: I3bfa3daf2e8b6eac19d5f6149273b03d2b031863
Reviewed-on: https://skia-review.googlesource.com/c/162040
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-15 14:31:44 +00:00
Kevin Lubick
4bf2c26b93 Remove nvpr from CanvasKit
Saves about 20k uncompressed, 7k compressed.

Bug: skia:
Change-Id: I060c58380f3e3266bca9028ba5ba6aa17ce178dc
Reviewed-on: https://skia-review.googlesource.com/c/161942
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2018-10-15 14:11:29 +00:00
Brian Salomon
4b8178f298 Make TextureOp request vertex space for meshes at once.
Also modifies makeVertexSpaceAtLeast() so that it never returns more
than the fallback request amount. This means that when an Op knows
exactly how many vertices it will need it does not need to use
putBackVertices() to not waste space.

Change-Id: I8a8900f2ad860e850b94dec20e90270978a496b5
Reviewed-on: https://skia-review.googlesource.com/c/161144
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2018-10-15 14:09:29 +00:00
Mike Reed
526ebced3e remove dead code from SK_SUPPORT_LEGACY_THREADED_DAA_BUGS
No one sets this flag anymore

Bug: skia:
Change-Id: Icda651823fc8aeeb58cb0865ada32aa50190db58
Reviewed-on: https://skia-review.googlesource.com/c/162023
Commit-Queue: Mike Reed <reed@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Auto-Submit: Mike Reed <reed@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2018-10-15 14:06:24 +00:00
Mike Klein
bf79a720ad String -> const char* where possbile
I was aimlessly looking at large symbols in Skia and SkSL::Context's
constructor popped out at me.

Part of this size turned out to be inlined std::string destructor calls
to the moved-from temporaries created as arguments, with a little
"are-we-small-string" check and a conditional call to operator delete.

We can skip that by just not making those moved-from temporaries at all,
instead constructing the string only inside the Type where it doesn't
need to be immediately destroyed.

I switched all the constructors for type from taking String for the
name to const char* for the name where they still compiled.  The ones
that remain String create their type names dynamically.

Change-Id: I4af0d08b0c5535ab979ea535f225da6897b02390
Reviewed-on: https://skia-review.googlesource.com/c/160881
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2018-10-15 14:04:24 +00:00