Commit Graph

45597 Commits

Author SHA1 Message Date
skia-autoroll
ea47b0e658 Roll skia/third_party/skcms cd31cb38833c..ec78f685becd (1 commits)
https://skia.googlesource.com/skcms.git/+log/cd31cb38833c..ec78f685becd

git log cd31cb38833c..ec78f685becd --date=short --first-parent --format='%ad %ae %s'
2019-12-13 brianosman@google.com Direct fit of small tables can produce "kBad" transfer functions

Created with:
  gclient setdep -r skia/third_party/skcms@ec78f685becd

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skcms-skia-autoroll
Please CC djsollen@google.com,mtklein@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

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

Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
Bug: None
Change-Id: If37d38274c0d05ef6bcfc26be2a8393bd8b30957
Tbr: djsollen@google.com,mtklein@google.com
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259969
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-13 19:46:33 +00:00
Herb Derby
17e7dfa377 More viewMatrix renaming
Change-Id: I9e6ecab124da0c03f31968270b2df79e3cd129d4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259979
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2019-12-13 19:37:33 +00:00
Nathaniel Nifong
a072b7b275 Remove an uncessary and unused parameter for partially generating the JSON command list
All caller were passing the maxium value, those that weren't still function if they are made to.

Change-Id: Id9b5d8dbbbdf10a02ea0f3b21d500059ec383e3a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259808
Commit-Queue: Nathaniel Nifong <nifong@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2019-12-13 19:30:03 +00:00
Mike Klein
1cc767bd0d workaround?
Bug: skia:9709
Change-Id: I83427229ebc6113cb6f037d9a0bce1453cdb8ecd
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259978
Commit-Queue: Mike Klein <mtklein@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2019-12-13 19:22:03 +00:00
Kevin Lubick
c9b4d279d2 [infra] Update go to 1.13.5
Change-Id: I318e1a4d0cad258489ff25595cfc28b619317aac
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259805
Reviewed-by: Ben Wagner aka dogben <benjaminwagner@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2019-12-13 18:42:13 +00:00
Ben Wagner
ab51c2ce08 Add more variation support on Mac.
With the recent transition to creating fonts from data as CTFonts and
dropping variation support from macOS 10.11 and earlier, it is now
possible to reliably make variation clones and get the axis information.

Change-Id: Ia9a0922ac94a29e1508d2e74d4ce973751044866
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259421
Reviewed-by: Herb Derby <herb@google.com>
Reviewed-by: Dominik Röttsches <drott@chromium.org>
Commit-Queue: Ben Wagner <bungeman@google.com>
2019-12-13 18:16:13 +00:00
Herb Derby
1c5be7b197 Rename viewMatrix to drawMatrix, initialMatrix, or currentMatrix
The viewMatrix has three different uses.
* drawMatrix is the matrix passed in by the drawTextBlob.
* initialMatrix is drawMatrix this a blob was created with.
* currentMatrix describes what stored in the SubRun.

Change-Id: Idd547f079950385485a279d22728f03145d5a77f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259834
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2019-12-13 18:12:13 +00:00
Brian Salomon
a6069a154d Support clipRegion on GPU backend
Bug: skia:9580
Change-Id: I663549dafc4239248e265bee8d6927bf5b259303
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259804
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2019-12-13 17:34:33 +00:00
Greg Daniel
81b98978bc Store GrSurfaceProxyView on SkImage.
Bug: skia:9556
Change-Id: I57340db52ce2e317acb6d1f88190460186350f5d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259435
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2019-12-13 16:39:13 +00:00
Michael Ludwig
d0840ecf58 Provide record time allocator to onCombineIfPossible()
Change-Id: I3acf5d5fdb29bfbd3407a8065b7567dff43503a0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259427
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2019-12-13 14:13:43 +00:00
skia-autoroll
7fb7134e7d Roll third_party/externals/angle2 6381d7f14805..1d77542f5681 (8 commits)
6381d7f148..1d77542f56

git log 6381d7f14805..1d77542f5681 --date=short --first-parent --format='%ad %ae %s'
2019-12-13 cnorthrop@google.com Add flag to label captures
2019-12-12 jmadill@chromium.org gn: Add 'test_only' label to util targets.
2019-12-12 jmadill@chromium.org util: Always export default visibility.
2019-12-12 jmadill@chromium.org Roll chromium_revision d209d45ba4..e1633af636 (719599:724302)
2019-12-12 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/vulkan-tools/src 0dc201a808ec..c1a7421f0f93 (3 commits)
2019-12-12 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/spirv-tools/src 00ca4e5bdfdb..5c019b5923c1 (3 commits)
2019-12-12 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/vulkan-validation-layers/src da451cc7cd04..6a35bc9967d9 (6 commits)
2019-12-12 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/SwiftShader 544ae91ee039..07958d452f93 (10 commits)

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

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 djsollen@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: djsollen@google.com
Change-Id: Ia6977c6b3ff48765a5c97a7aaab5b061372d13f8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259916
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-13 05:09:33 +00:00
skia-autoroll
415bce89a4 Roll third_party/externals/swiftshader 07958d452f93..ebb0bec91552 (4 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/07958d452f93..ebb0bec91552

git log 07958d452f93..ebb0bec91552 --date=short --first-parent --format='%ad %ae %s'
2019-12-12 sergeyu@chromium.org Use allocateExecutable() in LLVMReactor
2019-12-12 sugoi@google.com Fix BCn related SwANGLE test failure
2019-12-12 capn@google.com Prevent clang-format from splitting shift operator
2019-12-12 sugoi@google.com Support for BC1, BC2, BC3, BC4 and BC5

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

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 djsollen@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: djsollen@google.com
Change-Id: Icd66a68ce1d6b9685d7d1bb01408f073f9b20e0b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259918
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-13 05:07:05 +00:00
skia-autoroll
252a03454d Roll ../src 636138928516..d11c17148d1a (358 commits)
6361389285..d11c17148d


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

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 djsollen@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: djsollen@google.com
Change-Id: I96989c9ff5ffb245acfcf92dc89d1a0a58a88933
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259917
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-13 04:30:13 +00:00
skia-autoroll
39cdc37bdd Roll skia/third_party/skcms 5855011aeee5..cd31cb38833c (1 commits)
https://skia.googlesource.com/skcms.git/+log/5855011aeee5..cd31cb38833c

git log 5855011aeee5..cd31cb38833c --date=short --first-parent --format='%ad %ae %s'
2019-12-13 mtklein@google.com determine one extra digit, chop it off

Created with:
  gclient setdep -r skia/third_party/skcms@cd31cb38833c

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skcms-skia-autoroll
Please CC djsollen@google.com,mtklein@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

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

Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
Bug: None
Change-Id: Ie565af51ae12b90f5b3911ec5909cbcf9e8b6a80
Tbr: djsollen@google.com,mtklein@google.com
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259873
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-13 01:28:55 +00:00
recipe-roller
0678df30b5 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/785eba07c593db0f472a1520f5b6868cf0334fe6 Roll lucicfg tool to @ 5fca57db v1.11.14 (tandrii@google.com)
recipe_engine:
  https://crrev.com/ee9e27dca1ca19f086e572a4266ef7d35f5462a8 Whitelist RECIPE_MODULES imports. (gbeaty@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I4158f42a61273144d5d4d755d0fa7de2d0d09f07
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259832
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-12-13 00:45:35 +00:00
skia-autoroll
4d3b4a1bf3 Roll skia/third_party/skcms e7b14532d922..5855011aeee5 (1 commits)
https://skia.googlesource.com/skcms.git/+log/e7b14532d922..5855011aeee5

git log e7b14532d922..5855011aeee5 --date=short --first-parent --format='%ad %ae %s'
2019-12-12 mtklein@google.com roll emscripten on the bots

Created with:
  gclient setdep -r skia/third_party/skcms@5855011aeee5

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skcms-skia-autoroll
Please CC djsollen@google.com,mtklein@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

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

Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
Bug: None
Change-Id: I175d03d9042c0a9831e3ed5efecacce2563c50bb
Tbr: djsollen@google.com,mtklein@google.com
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259865
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-12 23:06:45 +00:00
Herb Derby
2fc9fa6d08 Add filter to SkTHashTable and SkTHashMap
Filter takes a bool function where fales means remove the entry.

Change-Id: I768baed6a4e26308f571b0b595ae19aea9d8dca7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259821
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2019-12-12 22:55:35 +00:00
skia-autoroll
dcd8e9389d Roll skia/third_party/skcms 7240f337e5d6..e7b14532d922 (1 commits)
https://skia.googlesource.com/skcms.git/+log/7240f337e5d6..e7b14532d922

git log 7240f337e5d6..e7b14532d922 --date=short --first-parent --format='%ad %ae %s'
2019-12-12 mtklein@google.com print one fewer digit than ideal

Created with:
  gclient setdep -r skia/third_party/skcms@e7b14532d922

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skcms-skia-autoroll
Please CC djsollen@google.com,mtklein@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

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

Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
Bug: None
Change-Id: Ief74b37cd895f620853cbbd75121eede66eca289
Tbr: djsollen@google.com,mtklein@google.com
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259837
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-12 22:38:35 +00:00
Mike Klein
f46d5ca492 use std::make_unique
Change-Id: I7c672ff6b8eb95ec8c1123a5bfdb202e1644f494
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259281
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2019-12-12 22:32:45 +00:00
skia-autoroll
1521e6b24c Roll skia/third_party/skcms 4e9ed5892c00..7240f337e5d6 (1 commits)
https://skia.googlesource.com/skcms.git/+log/4e9ed5892c00..7240f337e5d6

git log 4e9ed5892c00..7240f337e5d6 --date=short --first-parent --format='%ad %ae %s'
2019-12-12 mtklein@google.com stick to 10.14 Mac bots

Created with:
  gclient setdep -r skia/third_party/skcms@7240f337e5d6

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skcms-skia-autoroll
Please CC djsollen@google.com,mtklein@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

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

Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
Bug: None
Change-Id: I3e3a08d7717485a840c6f0f517134e25c55f8d78
Tbr: djsollen@google.com,mtklein@google.com
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259795
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-12 21:42:12 +00:00
Florin Malita
46a331b93f [skottie] Cascading track matte support
Currently, we treat track matte source layers (tagged with td:1) as single-shot mask triggers:
we apply once to the following layer, then move on.

But track mattes can cascade: a layer with a matte can itself be applied as a track matte for the
following layer.

Also, for matte/masking purposes, only the layer content is being considered (ignoring blend mode
and any masks applied to the matte itself).

To support this, refactor the layer attachment code:

  - instead of tracking the presence of a single-shot matte source, always track
    previous layer content trees
  - instead of triggering matte attachment in the presence of a matte source, trigger based on
    the matte *target* property (tt: X)
  - log errors on unknown matte modes

Change-Id: I6c71d4007e1e27d3f3a139344bbf367d7bc6e29d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259820
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2019-12-12 21:42:11 +00:00
skia-autoroll
b0892888d1 Roll skia/third_party/skcms 04c7f4ea275f..4e9ed5892c00 (1 commits)
https://skia.googlesource.com/skcms.git/+log/04c7f4ea275f..4e9ed5892c00

git log 04c7f4ea275f..4e9ed5892c00 --date=short --first-parent --format='%ad %ae %s'
2019-12-12 mtklein@google.com better parse mismatch dumps

Created with:
  gclient setdep -r skia/third_party/skcms@4e9ed5892c00

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skcms-skia-autoroll
Please CC djsollen@google.com,mtklein@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

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

Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
Bug: None
Change-Id: I39d5d95c0112dfb2e439336fdcc737b9214d560a
Tbr: djsollen@google.com,mtklein@google.com
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259791
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-12 21:10:50 +00:00
Brian Salomon
6986c6539e Make Gr[Op]MemoryPool allocate itself into its initial block.
Saves one heap allocation per DDL recorded.

Change-Id: I9393aedc3b48031cd2ea5f0160b107915077099a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259419
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
2019-12-12 20:33:40 +00:00
Mike Reed
bb59dfa9e3 perform perspective clip by default
- this adds new (default) parameter to control clipping when transforming
  rects and paths

Bug: skia:9698
Change-Id: I4cfb36b60bd6bbfcdac0226e374dbc27d5284952
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259431
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
2019-12-12 20:19:59 +00:00
skia-autoroll
e9e35f736a Roll skia/third_party/skcms 2e1ffb61f677..04c7f4ea275f (1 commits)
https://skia.googlesource.com/skcms.git/+log/2e1ffb61f677..04c7f4ea275f

git log 2e1ffb61f677..04c7f4ea275f --date=short --first-parent --format='%ad %ae %s'
2019-12-12 brianosman@google.com Handle non-invertible fits from linear or direct fit

Created with:
  gclient setdep -r skia/third_party/skcms@04c7f4ea275f

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skcms-skia-autoroll
Please CC djsollen@google.com,mtklein@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

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

Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
Bug: None
Change-Id: I2f44da6c70d85f3c66003bb0542c168eee0bb90e
Tbr: djsollen@google.com,mtklein@google.com
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259781
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-12 20:16:10 +00:00
Michael Ludwig
cb10e4d323 Reland "Detach op memory pool from recording context"
This reverts commit ed58654e39.

Reason for revert: Fix field order in SkDeferredDisplayList to deconstruct
dependent types in the proper order.

Original change's description:
> Revert "Detach op memory pool from recording context"
>
> This reverts commit 6b95516728.
>
> Reason for revert: breaking some Win10 bots
>
> Original change's description:
> > Detach op memory pool from recording context
> >
> > This changes GrOpMemoryPool to no longer extend SkRefCnt, and all usages
> > either are std::unique_ptr for owners, or GrOpMemoryPool* when ownership
> > is held somewhere else. The culmination of this is that DDLs explicitly
> > detach the memory pool from the recording context instead of the GrOpsTask
> > maintaining a strong ref that preserved the memory somewhat sneakily.
> >
> > Change-Id: I33e2caebea70cebe8fd7681207c631feeaf2c703
> > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259424
> > Commit-Queue: Michael Ludwig <michaelludwig@google.com>
> > Reviewed-by: Robert Phillips <robertphillips@google.com>
> > Reviewed-by: Brian Salomon <bsalomon@google.com>
>
> TBR=bsalomon@google.com,robertphillips@google.com,michaelludwig@google.com
>
> Change-Id: I942ae1e07fdc63d9311f6ee482bd71beca090502
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259696
> Reviewed-by: Derek Sollenberger <djsollen@google.com>
> Commit-Queue: Derek Sollenberger <djsollen@google.com>

Change-Id: Ia82fa6e42fc8d75b8aa57e5172894e8dfc7e83d1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259816
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2019-12-12 20:11:40 +00:00
skia-autoroll
365bc3ad91 Roll skia/third_party/skcms 64374756e037..2e1ffb61f677 (1 commits)
https://skia.googlesource.com/skcms.git/+log/64374756e037..2e1ffb61f677

git log 64374756e037..2e1ffb61f677 --date=short --first-parent --format='%ad %ae %s'
2019-12-12 mtklein@google.com temporarily disable emscripten on bots

Created with:
  gclient setdep -r skia/third_party/skcms@2e1ffb61f677

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skcms-skia-autoroll
Please CC djsollen@google.com,mtklein@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

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

Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
Bug: None
Change-Id: Ia25d01fe3705cc7e60f95346dc7ab10f04fed44b
Tbr: djsollen@google.com,mtklein@google.com
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259778
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-12 19:46:09 +00:00
Herb Derby
c514e7d9be Move the GrGlyph* and vertex data onto the arena alloc.
This change reorganizes data that was normally managed by the blob
as arrays of GrGlyph*s and vertex data to arrays stored in the arena,
and managed by the SubRuns. Instead of all data lumped together for
all subruns, the arrays are broken up by subrun.

other changes:
* remove useless typedef of Blob

Change-Id: I76f404276ff96edea8040f1f371a9c089ee20fdb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259426
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2019-12-12 18:12:38 +00:00
Hal Canary
7e9defb06f BUILD.gn: Fix formatting.
Bug: skia:9713
Change-Id: Ief84ae139acd000b29adcf32e0aead2fbdbff166
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259536
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
2019-12-12 18:03:46 +00:00
Nathaniel Nifong
20b177a9bf Parse android layer annotations in debugger, play back layers
Bug: skia:9626
Change-Id: I3ae8fa83520690f9af534e9ab0b70834d7890fb0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/256100
Commit-Queue: Nathaniel Nifong <nifong@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2019-12-12 16:32:44 +00:00
Derek Sollenberger
ed58654e39 Revert "Detach op memory pool from recording context"
This reverts commit 6b95516728.

Reason for revert: breaking some Win10 bots

Original change's description:
> Detach op memory pool from recording context
> 
> This changes GrOpMemoryPool to no longer extend SkRefCnt, and all usages
> either are std::unique_ptr for owners, or GrOpMemoryPool* when ownership
> is held somewhere else. The culmination of this is that DDLs explicitly
> detach the memory pool from the recording context instead of the GrOpsTask
> maintaining a strong ref that preserved the memory somewhat sneakily.
> 
> Change-Id: I33e2caebea70cebe8fd7681207c631feeaf2c703
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259424
> Commit-Queue: Michael Ludwig <michaelludwig@google.com>
> Reviewed-by: Robert Phillips <robertphillips@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>

TBR=bsalomon@google.com,robertphillips@google.com,michaelludwig@google.com

Change-Id: I942ae1e07fdc63d9311f6ee482bd71beca090502
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259696
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: Derek Sollenberger <djsollen@google.com>
2019-12-12 16:07:33 +00:00
Mike Klein
77d3694f40 don't create out of range enums
UBSAN freaks out.

Bug: oss-fuzz:19358
Change-Id: I7c5fc129042b8b30fb5f10fe56b97cf62877c9bf
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259537
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>
2019-12-12 16:04:45 +00:00
Robert Phillips
a27d625ca6 Add compression to Mock backend
Bring the Mock backend up to speed since we're expanding compression support.

Bug: skia:9680
Change-Id: I7fd7bed9351d3534d238feca0add54eced31cb4b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259099
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2019-12-12 15:42:53 +00:00
Michael Ludwig
6b95516728 Detach op memory pool from recording context
This changes GrOpMemoryPool to no longer extend SkRefCnt, and all usages
either are std::unique_ptr for owners, or GrOpMemoryPool* when ownership
is held somewhere else. The culmination of this is that DDLs explicitly
detach the memory pool from the recording context instead of the GrOpsTask
maintaining a strong ref that preserved the memory somewhat sneakily.

Change-Id: I33e2caebea70cebe8fd7681207c631feeaf2c703
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259424
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2019-12-12 15:37:04 +00:00
Anthony Catel
b79f1b527d Use absolute sigma instead of clamping to 0 in SkDropShadowImageFilter.
If the CTM is scaled to negative value (without skew), mapVector returns a negative value. We want to use its absolute value rather than clamping to 0.

https://bugs.chromium.org/p/skia/issues/detail?id=9704

Change-Id: I7393a52aa7d646b1494d4f0ae1a520ab60d02104
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259137
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2019-12-12 15:26:48 +00:00
skia-autoroll
648b41bf26 Roll ../src cf2545c5111b..636138928516 (444 commits)
cf2545c511..6361389285


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

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 djsollen@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: djsollen@google.com
Change-Id: I5445c661baa21cbda78b40ab00ee8de4820ef5e2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259486
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-12 15:26:06 +00:00
skia-autoroll
bfe206dd6f Roll third_party/externals/angle2 d6053daa6203..6381d7f14805 (11 commits)
d6053daa62..6381d7f148

git log d6053daa6203..6381d7f14805 --date=short --first-parent --format='%ad %ae %s'
2019-12-12 syoussefi@chromium.org Vulkan: Avoid linear search in shader on varying location assignment
2019-12-11 ynovikov@chromium.org Suppress more dEQP-GLES31.functional.shaders.helper_invocation.* tests
2019-12-11 jdarpinian@chromium.org Presubmit check forbidding tab characters in source files.
2019-12-11 syoussefi@chromium.org Vulkan: Fix descriptor pool init in presence of atomic counters
2019-12-11 syoussefi@chromium.org Vulkan: EXT_gpu_shader5 support: dynamically uniform indexing
2019-12-11 ianelliott@google.com Vulkan: Update Linux-specific multisample failures
2019-12-11 courtneygo@google.com Return valid qualifier after error
2019-12-11 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/vulkan-tools/src 5ceb7be9a3bf..0dc201a808ec (3 commits)
2019-12-11 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/vulkan-validation-layers/src a749c31b749b..da451cc7cd04 (5 commits)
2019-12-11 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/SwiftShader 31916f494c2e..544ae91ee039 (29 commits)
2019-12-11 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/spirv-tools/src 983b5b4fccea..00ca4e5bdfdb (2 commits)

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

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 djsollen@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: djsollen@google.com
Change-Id: I0d0b301472b12caa9fa541eb90bca8cc8ce2804e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259485
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-12 15:21:43 +00:00
skia-autoroll
5d8defe4a1 Roll third_party/externals/swiftshader 50211670b4bf..07958d452f93 (11 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/50211670b4bf..07958d452f93

git log 50211670b4bf..07958d452f93 --date=short --first-parent --format='%ad %ae %s'
2019-12-12 bclayton@google.com src/Vulkan/Debug: Add scope for case block
2019-12-11 bclayton@google.com Vulkan/Debug: Add Server
2019-12-11 bclayton@google.com Vulkan/Debug: Add Context
2019-12-11 bclayton@google.com Tweaks to make clang-format produce better code
2019-12-11 amaiorano@google.com Add EmulatedReactor.cpp to Subzero.vcxproj
2019-12-11 bclayton@google.com Regres: Fix debug macro detection
2019-12-11 capn@google.com Do not indent C++ namespace contents
2019-12-11 bclayton@google.com Vulkan: Add description methods to all commands.
2019-12-11 bclayton@google.com .vscode: Add cppdap to includePath
2019-12-11 swiftshader.regress@gmail.com Regres: Update test lists @ 544ae91e
2019-12-11 capn@google.com Enable vk-unittests with Subzero JIT

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

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 djsollen@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: djsollen@google.com
Change-Id: I3cc3b864ea535d2a3fe43c45f13054f644526e42
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259487
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-12 15:21:03 +00:00
Robert Phillips
bd99c0cf43 Reland "Update FragmentProcessor TextureSampler to hold an GrSurfaceProxyView."
This reverts commit c5c024791b.

Reason for revert: Doh

Original change's description:
> Revert "Update FragmentProcessor TextureSampler to hold an GrSurfaceProxyView."
> 
> This reverts commit acf5929ae0.
> 
> Reason for revert: May be blocking Chrome roll
> Original change's description:
> > Update FragmentProcessor TextureSampler to hold an GrSurfaceProxyView.
> > 
> > In future CLs I will update the Ops that create the TextureSamplers to pass
> > the GrSurfaceProxyView in.
> > 
> > Bug: skia:9556
> > Change-Id: I550dab64974d32e4c3047188063efa2d0832328e
> > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259164
> > Commit-Queue: Greg Daniel <egdaniel@google.com>
> > Reviewed-by: Michael Ludwig <michaelludwig@google.com>
> 
> TBR=egdaniel@google.com,michaelludwig@google.com
> 
> Change-Id: Ic804a52c5c6d16a13a9cc2d85bb959f305134177
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: skia:9556
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259433
> Reviewed-by: Robert Phillips <robertphillips@google.com>
> Commit-Queue: Robert Phillips <robertphillips@google.com>

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

Change-Id: If2af5b5b323858e59c0c8db3b75477d74d78abfd
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:9556
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259434
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2019-12-12 13:27:21 +00:00
Robert Phillips
c5c024791b Revert "Update FragmentProcessor TextureSampler to hold an GrSurfaceProxyView."
This reverts commit acf5929ae0.

Reason for revert: May be blocking Chrome roll
Original change's description:
> Update FragmentProcessor TextureSampler to hold an GrSurfaceProxyView.
> 
> In future CLs I will update the Ops that create the TextureSamplers to pass
> the GrSurfaceProxyView in.
> 
> Bug: skia:9556
> Change-Id: I550dab64974d32e4c3047188063efa2d0832328e
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259164
> Commit-Queue: Greg Daniel <egdaniel@google.com>
> Reviewed-by: Michael Ludwig <michaelludwig@google.com>

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

Change-Id: Ic804a52c5c6d16a13a9cc2d85bb959f305134177
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:9556
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259433
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2019-12-12 13:24:51 +00:00
Herb Derby
51b99659ed Remove unused fields from GrTextBlobKey
Change-Id: Ibb42f943ffbed16867d714e9a1eee35d3f422b2a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259282
Commit-Queue: Herb Derby <herb@google.com>
Auto-Submit: Herb Derby <herb@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2019-12-12 03:46:45 +00:00
Ben Wagner
8718be99a2 Format public.bzl
Bug: skia:8210
Change-Id: I215d7a85ad3cee63df78128d8bd00d6f7b67fd99
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259430
Reviewed-by: Ben Wagner aka dogben <benjaminwagner@google.com>
Commit-Queue: Ben Wagner aka dogben <benjaminwagner@google.com>
2019-12-12 01:37:13 +00:00
Greg Daniel
826484f263 Always report SkImage_Gpu subclasses as being texture backed.
Change-Id: I1af002df1b07f04543b32add94bfdc0a016a338b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259284
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2019-12-12 01:13:26 +00:00
Greg Daniel
f4107946e4 Revert "When converting runtime SkSL to FP SkSL, use default settings"
This reverts commit 48fcf36e15.

Reason for revert: causing shader compiler errors in sksl

Original change's description:
> When converting runtime SkSL to FP SkSL, use default settings
> 
> Anything related to caps should be resolved in the second compile.
> However, when calling toPipelineStage, the settings stored in the
> base Program are used, so we need to inject them at that point.
> 
> This also removes the cache of specialized programs. We only hit
> that code path when we're about to do a full compile, including
> generating SkSL, turning that into GLSL, etc. The specialization
> is implicitly cached as part of the entire program for common
> cases, so the second level isn't that useful.
> 
> Change-Id: I53bc54b0611951e1d97278d59881308c6b152090
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259162
> Commit-Queue: Brian Osman <brianosman@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>

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

Change-Id: I73e81f2dbacb329da819555c949f5c5ea32b7fda
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259429
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2019-12-12 01:03:04 +00:00
recipe-roller
ef957a5643 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/812a14697dd6193c0815a1bdb0c23462bfcb8cd3 Remove myself from owners (sergiyb@chromium.org)
  https://crrev.com/8b34eb4d1e76ae1a94ffce09dbc2a1fbc75d551c [goma_ctl] Use vpython to call goma_ctl.py. (iannucci@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I424da635133a16c9c5ebe88d741f50fa020b76ed
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259428
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-12-12 00:22:54 +00:00
Brian Osman
48fcf36e15 When converting runtime SkSL to FP SkSL, use default settings
Anything related to caps should be resolved in the second compile.
However, when calling toPipelineStage, the settings stored in the
base Program are used, so we need to inject them at that point.

This also removes the cache of specialized programs. We only hit
that code path when we're about to do a full compile, including
generating SkSL, turning that into GLSL, etc. The specialization
is implicitly cached as part of the entire program for common
cases, so the second level isn't that useful.

Change-Id: I53bc54b0611951e1d97278d59881308c6b152090
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259162
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2019-12-11 23:22:18 +00:00
Greg Daniel
acf5929ae0 Update FragmentProcessor TextureSampler to hold an GrSurfaceProxyView.
In future CLs I will update the Ops that create the TextureSamplers to pass
the GrSurfaceProxyView in.

Bug: skia:9556
Change-Id: I550dab64974d32e4c3047188063efa2d0832328e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259164
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
2019-12-11 23:17:15 +00:00
Jim Van Verth
1031994219 Change PerspectiveClip to clip directly to half plane.
This should be a little more numerically stable, and avoids the need
for the assert.

Bug: chromium:1032435
Change-Id: I038890000b251f3ffed41f37a14451afcf3b1866
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259167
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2019-12-11 23:17:14 +00:00
Jim Van Verth
6ee695c33c Adjust cache key for Metal persistent cache.
The Metal-specific parts of the ProgramDesc key aren't needed as we're
only storing source code at the moment.

Bug: skia:8243
Change-Id: I897f4a93bedafc954073466897605d753a40810e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259416
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2019-12-11 23:12:10 +00:00
skia-autoroll
70b6b5e977 Roll skia/third_party/skcms ef3043bd8110..64374756e037 (1 commits)
https://skia.googlesource.com/skcms.git/+log/ef3043bd8110..64374756e037

git log ef3043bd8110..64374756e037 --date=short --first-parent --format='%ad %ae %s'
2019-12-11 lode@google.com Add skcms_AdaptToXYZD50 to the API

Created with:
  gclient setdep -r skia/third_party/skcms@64374756e037

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skcms-skia-autoroll
Please CC djsollen@google.com,mtklein@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

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

Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
Bug: None
Change-Id: I26a9f24298f1001f024c77ba6a417e43da8961c7
Tbr: djsollen@google.com,mtklein@google.com
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259376
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-11 23:12:09 +00:00