Commit Graph

45366 Commits

Author SHA1 Message Date
Mike Klein
8ebac1732c remove T*/void* union in SkTArray
Another memcpy-doesn't-activate-union-fields bug for GCC, I think.

As far as I can tell this union is completely pointless, and this is so
prehistoric git blame doesn't help. (svn blame wouldn't even.)  I don't
really want to know.

Change-Id: I5a67469337752986c6a5979d91cb56417955d019
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257445
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2019-12-02 22:08:29 +00:00
Mike Klein
73ac393064 tweak for GCC, memcpy() -> for-loop
I think GCC with optimization is getting confused about what field of
this union is active, and then triggers a crazy warning about
memcpy()'ing (size_t)-1 bytes.

Reading the rules about unions, I think it might be that really only "="
is ever able to switch which union field is active, and our memcpy()
here really doesn't technically work to change the active field.

Change-Id: Ibe33143161935d5e39b9a2f5d35560e4961056e0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257444
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2019-12-02 21:57:19 +00:00
Mike Klein
0f9df470ca remove pointless tests
Why are we testing how memset() and snprintf() work in
tests/StringTest.cpp.  Nevermind, I don't want to know...

Change-Id: Ic8608fea95635ee2fbb7da34a195de73d7a1444a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257415
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>
2019-12-02 21:27:39 +00:00
Greg Daniel
369ee6bbdb Update GrSwizzle to only store key and not string.
Change-Id: Ieaba188e620e5c1f1d423109e628b0ca78f3afe0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257394
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2019-12-02 21:11:08 +00:00
recipe-roller
81f6037fb0 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/02b5af35755b90057b87f48afe9d7faa1de5d97f fix hashtags: double colons are not hashtags (apolito@google.com)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I453f1042f4fba96cf0f4ba87fa94b6a0e7d16f7a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257414
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-02 20:39:38 +00:00
Brian Salomon
7eabfe873b This is a reland of GrDomainEffect with significant changes:
1) It correctly handles GPs that have a local matrix

2) It applies its rectangle after the child FP's coord transform. It makes
the child's transform be a no-op and the builder will no longer insert code
or uniforms for the child transform. The domain effect adds its own coord
transform with the same settings as the child's original transform. The result
is that the generated code only has one coord transform matrix and that matrix
is applies in the vertex shader. The previous version of this effect applied
the transform in the fragment shader.

Bug: skia:9570

Change-Id: I514e959414aebe240e9f99e30f13265d8751b656
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257054
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
2019-12-02 20:25:07 +00:00
recipe-roller
63ebfe0392 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/b4307d5c14decea515c4559863a30e23adcb04c4 Switch yapfignore to fnmatch (bsheedy@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I849e5db7e0a6fc3e5efbdcdc5fe3d9880a118e73
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257406
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-02 20:04:07 +00:00
Michael Ludwig
08bd1f7300 Compare textureType separately from backend format
Prior CL had assumed GrBackendFormat == incorporated the texture type,
since it currently owns that, but that is not the case. So when the
texture type comparison was dropped, textures could be batched when they
shouldn't have, particularly external vs. 2D.

Bug: b/145261411
Change-Id: I9497fc17c7f82b4016cbf1a752f93946615de2dc
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257390
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Auto-Submit: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2019-12-02 19:58:37 +00:00
Stan Iliev
cdf1bc3bd3 Expose SkRuntimeShaderFactory class to clients
Test: Build and linked android
Change-Id: Ia98063fba2d2124335d71a5b1fe3a63f0c065f1e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257327
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Stan Iliev <stani@google.com>
2019-12-02 19:53:37 +00:00
Julia Lavrova
3281b961c5 A new API call on Paragraph: a number of unresolved glyphs
Change-Id: Iba33c0df4aa9f2dc9b816c0954980ac8a971909b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257326
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Julia Lavrova <jlavrova@google.com>
2019-12-02 19:23:45 +00:00
Mike Klein
122eda7877 replace SkColorSpaceXformSteps::Required()
It's error-prone to ask if a color space transform is required without
explicitly mentioning alpha types.  I think the whole method can be
replaced by a friendlier constructor and direct use of flags/mask:

    SkColorSpaceXformSteps::Required(src.colorSpace(), dst.colorSpace())

        ~~~>

    0 != SkColorSpaceXformSteps(src, dst).flags.mask()

This removes the unexpected gray square from the fiddle in skia:9662.

Bug: skia:9662
Change-Id: Id54cae534023ab29c94dcc149e6b67fc9c166665
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257399
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2019-12-02 18:21:05 +00:00
Mike Reed
2e3be5648a Reland "fix sense of ifdef for deprecated method"
This reverts commit b97a24a009.

Reason for revert: flag added to chrome

Original change's description:
> Revert "fix sense of ifdef for deprecated method"
> 
> This reverts commit aa98dd3d27.
> 
> Reason for revert: broke chrome, easy to add a flag there
> 
> Original change's description:
> > fix sense of ifdef for deprecated method
> > 
> > Change-Id: I32164225750b23e1cc26aa36a60feda27bbd90a8
> > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257319
> > Reviewed-by: Florin Malita <fmalita@chromium.org>
> > Reviewed-by: Kevin Lubick <kjlubick@google.com>
> > Commit-Queue: Mike Reed <reed@google.com>
> 
> TBR=bungeman@google.com,kjlubick@google.com,fmalita@chromium.org,reed@google.com
> 
> Change-Id: I629bbd7f04a4ac8227c62f4d05cf2cb2601900c3
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257328
> Reviewed-by: Mike Reed <reed@google.com>
> Commit-Queue: Mike Reed <reed@google.com>

TBR=bungeman@google.com,kjlubick@google.com,fmalita@chromium.org,reed@google.com

Change-Id: If4c1e2a51fc8bc34f8053d716efea55e809967f7
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257378
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
2019-12-02 17:45:26 +00:00
Mike Reed
b97a24a009 Revert "fix sense of ifdef for deprecated method"
This reverts commit aa98dd3d27.

Reason for revert: broke chrome, easy to add a flag there

Original change's description:
> fix sense of ifdef for deprecated method
> 
> Change-Id: I32164225750b23e1cc26aa36a60feda27bbd90a8
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257319
> Reviewed-by: Florin Malita <fmalita@chromium.org>
> Reviewed-by: Kevin Lubick <kjlubick@google.com>
> Commit-Queue: Mike Reed <reed@google.com>

TBR=bungeman@google.com,kjlubick@google.com,fmalita@chromium.org,reed@google.com

Change-Id: I629bbd7f04a4ac8227c62f4d05cf2cb2601900c3
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257328
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
2019-12-02 16:45:39 +00:00
Mike Reed
aa98dd3d27 fix sense of ifdef for deprecated method
Change-Id: I32164225750b23e1cc26aa36a60feda27bbd90a8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257319
Reviewed-by: Florin Malita <fmalita@chromium.org>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Mike Reed <reed@google.com>
2019-12-02 16:17:34 +00:00
skia-autoroll
d523ce04e7 Roll ../src c8e3617e402d..8a4500482e8d (272 commits)
c8e3617e40..8a4500482e


Created with:
  gclient setdep -r ../src@8a4500482e

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 bsalomon@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: bsalomon@google.com
Change-Id: I6165c9fa7e5d8c468504b9b80221915577bb7ac7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257309
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-02 04:50:40 +00:00
skia-autoroll
9fb322979a Roll third_party/externals/angle2 bc82fb14aab4..ea0dcd4bda18 (7 commits)
bc82fb14aa..ea0dcd4bda

git log bc82fb14aab4..ea0dcd4bda18 --date=short --first-parent --format='%ad %ae %s'
2019-11-29 amaiorano@google.com Use Vulkan rectangle lines to emulate OpenGL multisampled lines
2019-11-29 syoussefi@chromium.org Ignore .git_cl_description_backup
2019-11-29 syoussefi@chromium.com Update flex and bison binaries for Windows.
2019-11-29 syoussefi@chromium.org Update flex and bison binaries for Linux.
2019-11-29 syoussefi@chromium.org Infrastructure for uploading flex/bison binaries
2019-11-29 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/vulkan-validation-layers/src 61050599ec0f..4fde9b750992 (1 commits)
2019-11-29 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/SwiftShader d6e903bdc9ef..fb7ca1d5aca5 (13 commits)

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

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 bsalomon@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: bsalomon@google.com
Change-Id: I065ad79945173b78a7bc6e2ffc08ab6fb70062db
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257308
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-02 04:47:10 +00:00
skia-autoroll
d050e5a75e Roll third_party/externals/swiftshader fb7ca1d5aca5..b64fbfec4dcd (3 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/fb7ca1d5aca5..b64fbfec4dcd

git log fb7ca1d5aca5..b64fbfec4dcd --date=short --first-parent --format='%ad %ae %s'
2019-11-30 bclayton@google.com VkPipeline: Replace spirv-opt list with RegisterPerformancePasses()
2019-11-29 paulthomson@google.com Regres: refactor for use as a library
2019-11-29 swiftshader.regress@gmail.com Regres: Update test lists @ fb7ca1d5

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

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 bsalomon@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: bsalomon@google.com
Change-Id: I1352bb668ce964870dfc1e033f5d671e65848d02
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257307
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-02 04:34:50 +00:00
skia-recreate-skps
fd0c257451 Update SKP version
Automatic commit by the RecreateSKPs bot.

TBR=rmistry@google.com
NO_MERGE_BUILDS

Change-Id: I5129dfa31a06c272ae1ce8a24988c0182201b923
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257302
Reviewed-by: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
Commit-Queue: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
2019-12-01 08:15:09 +00:00
recipe-roller
40d34e3651 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/5ae4817ada0bd02f8c0d9f141d0f3c65701068a5 Move .git_cl_description_backup to depot_tools dir (hferreiro@igalia.com)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: If242aae93ee4ffd1c290d48282980c17c5d45747
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257265
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-11-29 16:49:47 +00:00
recipe-roller
2af15bb56d 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/53134e3187aaf1d7fffcae7165866d3e26e22783 Fix the --quiet flag of download_from_google_storage.py (sdefresne@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ic53b4381c5893d166e47a7185dea512aa6feae01
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257261
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-11-29 15:28:47 +00:00
skia-autoroll
f9cad2f75c Roll ../src 43fc40aebfd8..c8e3617e402d (252 commits)
43fc40aebf..c8e3617e40


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

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 bungeman@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: bungeman@google.com
Change-Id: Ie7208041b3a1f7162ffa417112e814e35b9f1ec1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257226
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-11-29 04:58:37 +00:00
skia-autoroll
53af795dd3 Roll third_party/externals/angle2 fc3ec57ddf27..bc82fb14aab4 (9 commits)
fc3ec57ddf..bc82fb14aa

git log fc3ec57ddf27..bc82fb14aab4 --date=short --first-parent --format='%ad %ae %s'
2019-11-28 jonahr@google.com Suppress failing end2end tests for ASAN builds
2019-11-28 syoussefi@chromium.org Vulkan: fix alpha values in convert vertex shader
2019-11-28 jonahr@google.com Vulkan support for MacOS (using SwiftShader)
2019-11-28 cwallez@chromium.org Suppress SimpleStateChange failure on Metal NVIDIA
2019-11-28 xiaoxuan.liu@arm.com Add arm64 to libpng build configuration.
2019-11-28 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/spirv-tools/src f31f26f73930..b334829a91d6 (4 commits)
2019-11-28 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/vulkan-tools/src 6f6e3371c92a..979b531e9fff (1 commits)
2019-11-28 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/SwiftShader 663dcefa22ea..d6e903bdc9ef (4 commits)
2019-11-28 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/vulkan-validation-layers/src 8c954d5a413d..61050599ec0f (6 commits)

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

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 bungeman@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: bungeman@google.com
Change-Id: I7c2f4b62b97562e20c634b01978dfa1c1f52b123
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257225
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-11-29 04:41:37 +00:00
skia-autoroll
1c5463726c Roll third_party/externals/swiftshader d6e903bdc9ef..fb7ca1d5aca5 (13 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/d6e903bdc9ef..fb7ca1d5aca5

git log d6e903bdc9ef..fb7ca1d5aca5 --date=short --first-parent --format='%ad %ae %s'
2019-11-28 bclayton@google.com SpirvShaderEnumNames: Use spirv-tools' spvOpcodeString()
2019-11-28 bclayton@google.com Rename SpirvShader_dbg.cpp -> SpirvShaderEnumNames.cpp
2019-11-28 bclayton@google.com SpirvShader: Remove now unused includes
2019-11-28 bclayton@google.com SpirvShader: Move arithmetic ops to new cpp file
2019-11-28 bclayton@google.com SpirvShader: Move image handling to new cpp file
2019-11-28 bclayton@google.com SpirvShader: Move spec ops to new cpp file
2019-11-28 bclayton@google.com SpirvShader: Move group ops to new cpp file
2019-11-28 bclayton@google.com SpirvShader: Move memory ops to new cpp file
2019-11-28 bclayton@google.com SpirvShader: Move control flow handling to new cpp file
2019-11-28 bclayton@google.com SpirvShader: Move GLSLstd450 handling to new cpp file
2019-11-28 bclayton@google.com Pipeline: Move utility functions to ShaderCore
2019-11-28 jmadill@chromium.org Fix ICD generation (again).
2019-11-28 bclayton@google.com Regres: Use android.googlesource.com for dEQP

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

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 bungeman@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: bungeman@google.com
Change-Id: Ifb17627687583416cf9c36d40d0cd355dcdc881d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257224
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-11-29 04:33:47 +00:00
recipe-roller
4f14c4f2bd 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/7c62ed63ace59cbdfda4a26c6a24ca0c668e9ef3 properly detect msys_nt as windows in the ninja script (samuel.r.attard@gmail.com)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I18fa218fbd7986834f5311b079f0c80cd4b2aa9f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257221
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-11-29 00:24:47 +00:00
recipe-roller
2792515dab 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/1bfe890bd8fc895baa0631d0547cbfbb4558b9d0 bb: ask BB server to respond in JSONPB, which is much faster. (tandrii@google.com)
  https://crrev.com/ff24962cacaeee3ff065b9bf4a25bcf191698c5b Save .git_cl_description_backup in the working dir (hferreiro@igalia.com)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I460263857bdd0cd97618f354b4121c485f10b1de
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257216
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-11-28 23:51:47 +00:00
skia-autoroll
e8c96d8e61 Roll third_party/externals/angle2 c373dfd84194..fc3ec57ddf27 (13 commits)
c373dfd841..fc3ec57ddf

git log c373dfd84194..fc3ec57ddf27 --date=short --first-parent --format='%ad %ae %s'
2019-11-27 jmadill@chromium.org Reland "Vulkan: Accelerate Texture PBO updates"
2019-11-27 jdarpinian@chromium.org Fix format/internalformat confusion
2019-11-27 syoussefi@chromium.org Fix string literal comparison in validation
2019-11-27 jmadill@chromium.org Roll chromium_revision 5fe256ab5e..d209d45ba4 (709762:719599)
2019-11-27 jmadill@chromium.org Vulkan: Isolate DisplayVk.h from Display.cpp.
2019-11-27 jonahr@google.com Add EGLSurfaceTest.ResizeWindowWithDraw
2019-11-27 jmadill@chromium.org Suppress -Wsizeof-array-div in dEQP.
2019-11-27 lehoangq@gmail.com Metal: re-enable end2end tests
2019-11-27 syoussefi@chromium.org Remove !empty() assert on FastVector::data()
2019-11-27 jmadill@chromium.org Tweaks to roll_deps.py.
2019-11-27 jmadill@chromium.org Revert "Vulkan: Accelerate Texture PBO updates"
2019-11-27 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/spirv-tools/src 85f3e93d13f3..f31f26f73930 (4 commits)
2019-11-27 syoussefi@chromium.org Don't use too many color attachments in clear test

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

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 bungeman@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: bungeman@google.com
Change-Id: Id77a1ea628a99a8ddf531ccbf79c916241de6ae4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257157
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-11-28 04:59:15 +00:00
skia-autoroll
3e17625d60 Roll ../src c493edcc78ba..43fc40aebfd8 (368 commits)
c493edcc78..43fc40aebf


Created with:
  gclient setdep -r ../src@43fc40aebf

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 bungeman@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: bungeman@google.com
Change-Id: If38e7f81baa35d27451512b9a2eba4e55188d623
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257158
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-11-28 04:50:46 +00:00
Herb Derby
c63730e173 Reland "Naive CPU large emoji"
This is a reland of 42ea8e6619

Original change's description:
> Naive CPU large emoji
>
> This CL uses the GPU prepare path code to calculate reject which
> are color.
>
> What is missing is a system for scaling glyphs to the screen
> from the cache. Or a way to draw glyphs directly with no cache.
>
> Change-Id: Id5072c3cbffb91bad06ad840549c2711f5063c5c
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/255980
> Auto-Submit: Herb Derby <herb@google.com>
> Commit-Queue: Ben Wagner <bungeman@google.com>
> Reviewed-by: Ben Wagner <bungeman@google.com>

Change-Id: I535645a38572c5408f6ffad1e41a8e83be384d92
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257047
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2019-11-28 04:38:15 +00:00
skia-autoroll
f4c5faa87b Roll third_party/externals/swiftshader 663dcefa22ea..d6e903bdc9ef (4 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/663dcefa22ea..d6e903bdc9ef

git log 663dcefa22ea..d6e903bdc9ef --date=short --first-parent --format='%ad %ae %s'
2019-11-28 sugoi@google.com Support multisampled Bresenham lines
2019-11-27 sugoi@google.com Support sample image instruction operand
2019-11-27 jmadill@chromium.org Fix ICD build when using multiple toolchains.
2019-11-27 chrisforbes@google.com gles: Only clamp default block uniform indexes

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

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 bungeman@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: bungeman@google.com
Change-Id: Idd580f75633af0eb34fd9693f82c0e98c5cd1694
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257156
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-11-28 04:32:36 +00:00
Ben Wagner
73beaaa48f [infra] Upgrade Radeon driver
Bug: skia:9652
Change-Id: Ie689762392206d8fa53460f30398d9980458e862
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/256356
Commit-Queue: Ben Wagner aka dogben <benjaminwagner@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2019-11-27 20:56:21 +00:00
Ben Wagner
bf46a27cdd [infra] Update Win10 in Skolo
The new driver in https://skia-review.googlesource.com/c/skia/+/256356
is unhappy with Win10 v1903, so updating to v1909.

Change-Id: Icb0f22a7e6af23835edea333f9b506b3896f46e6
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/256821
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Ben Wagner aka dogben <benjaminwagner@google.com>
2019-11-27 20:08:03 +00:00
Ben Wagner
c96f5108df Reland "Replace CGFontCreate with CTFontManagerCreate."
This is a reland of f1d4f00fda

Original change's description:
> Replace CGFontCreate with CTFontManagerCreate.
>
> Replaces calls to CGFontCreateWithDataProvider with calls to
> CTFontManagerCreateFontDescriptorFromData. Note that this means Skia will
> not create CTFonts based on CGFonts, however SkCreateTypefaceFromCTFont
> allows the user to create CTFonts from CGFonts and introduce them to Skia.
>
> Bug: skia:4043,skia:9627
>
> Change-Id: I8eb72c0e4eb257149f1f6a78ca34da4fbfafccab
> TBR: reed@google.com
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/254181
> Commit-Queue: Ben Wagner <bungeman@google.com>
> Reviewed-by: Dominik Röttsches <drott@google.com>

Bug: skia:4043, skia:9627
Change-Id: Ic265f2ce52b816831e6402c5ffd21dac065049dd
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257052
Reviewed-by: Dominik Röttsches <drott@chromium.org>
Commit-Queue: Ben Wagner <bungeman@google.com>
2019-11-27 19:42:13 +00:00
Brian Osman
2a490bc769 Add particle entry points to externs.js to fix missing symbols
Bug: skia:9513
Change-Id: Ibaf3ad930fdc0072916143dea63142ca0c6e4aeb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257050
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: Brian Osman <brianosman@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2019-11-27 18:58:23 +00:00
Brian Salomon
7d8b397a4d Changes to GrCoordTransform and local coords
*Don't track vertex-shader status per-coord transform, just at FP level

*Remove outdated "in processor" checks

*Adjust "uses local coords" on FP to consider whether coord transforms
 actually transform local coords or custom coords

*Remove unused accessMatrix() method

*Don't track normalization and y-flipping separately from proxy

*Rename some things for clarity

*Simplify FPCoordTransformHandler

Change-Id: Ic493afc82bd949bbab177d33111a1942e33f88a9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/256101
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2019-11-27 18:55:23 +00:00
Ben Wagner
64331db0a4 Revert "Replace CGFontCreate with CTFontManagerCreate."
This reverts commit f1d4f00fda.

Reason for revert: some of the mac bots appear to be crashing

Original change's description:
> Replace CGFontCreate with CTFontManagerCreate.
> 
> Replaces calls to CGFontCreateWithDataProvider with calls to
> CTFontManagerCreateFontDescriptorFromData. Note that this means Skia will
> not create CTFonts based on CGFonts, however SkCreateTypefaceFromCTFont
> allows the user to create CTFonts from CGFonts and introduce them to Skia.
> 
> Bug: skia:4043,skia:9627
> 
> Change-Id: I8eb72c0e4eb257149f1f6a78ca34da4fbfafccab
> TBR: reed@google.com
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/254181
> Commit-Queue: Ben Wagner <bungeman@google.com>
> Reviewed-by: Dominik Röttsches <drott@google.com>

TBR=bungeman@google.com,herb@google.com,reed@google.com,drott@google.com

Change-Id: I5dc6b476d9f2b1dbaa2e8bf95755b0bc725dad10
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:4043, skia:9627
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257051
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
2019-11-27 18:52:35 +00:00
Ben Wagner
f1d4f00fda Replace CGFontCreate with CTFontManagerCreate.
Replaces calls to CGFontCreateWithDataProvider with calls to
CTFontManagerCreateFontDescriptorFromData. Note that this means Skia will
not create CTFonts based on CGFonts, however SkCreateTypefaceFromCTFont
allows the user to create CTFonts from CGFonts and introduce them to Skia.

Bug: skia:4043,skia:9627

Change-Id: I8eb72c0e4eb257149f1f6a78ca34da4fbfafccab
TBR: reed@google.com
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/254181
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Dominik Röttsches <drott@google.com>
2019-11-27 18:37:33 +00:00
recipe-roller
4d6c84bf89 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/b00449ac40168c092d2dac4ee66157cf32e39b7e Release new bb tool @ 1b9c7d3e8bacc3100d0f81c96825756e6f48a293. (tandrii@google.com)
  https://crrev.com/34267f83deb773d1ae98caa1ee8db881b842a38e Revert "Release new bb tool @ 1b9c7d3e8bacc3100d0f81c96825756e6f48a293." (tandrii@google.com)
  https://crrev.com/f31cb801f2cda4ce9ac98675d439070d57c84154 [recipe_modules/osx_sdk] Better default XCode versions depending on host OS. (iannucci@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: If1f981f75cee205b230e28564d7d35403fbd3512
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257080
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-11-27 17:51:04 +00:00
Herb Derby
126d7a2636 Cleanup unit test output
Change-Id: Ic6467a505f50c9bd10c29099aa45e265a0434169
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257046
Auto-Submit: Herb Derby <herb@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2019-11-27 17:12:23 +00:00
Brian Salomon
161c8ed5f1 Fix final-dtor-non-final-class warning on GrDDLContext
At some point it became a warning in clang to mark a destructor as final
on a non-final class since it effectively makes the class final.

Change-Id: I1998ac5dbb869011b2633bdfd0e7c8e5fa221877
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257036
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2019-11-27 16:45:24 +00:00
Brian Osman
d12f2786e2 Use ResourceProvider in particles
Currently just for image drawable, but going to use this for
references to other kinds of data in bindings, too.

Change-Id: Ic6673530013337bbaadd2d3f1c040626ec24ffb8
Bug: skia:9513
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/256776
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2019-11-27 16:45:23 +00:00
Ben Wagner
f988fe26d8 Fix housekeeper bot with some gn format.
Change-Id: I3f087913ab2f5a2d9b0ee59b2f7f0c61dbbba673
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257043
Reviewed-by: Ben Wagner <bungeman@google.com>
2019-11-27 16:11:26 +00:00
Jim Van Verth
861ac61cb1 Fix warning in Fuchsia build
Change-Id: I3f148af37e29eca3390ca1cff3ec96a913b8fac4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257038
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2019-11-27 15:07:03 +00:00
John Rosasco
75d625f6eb Add deps file for manifest. Use libwebp always.
Change-Id: I90fb96e43f68bdae88439d03e2e873fcb2effe2d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/256850
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2019-11-27 14:45:13 +00:00
Brian Salomon
c241b58965 Make fragment processor iterators work with range for loops.
When iterating over the coord transforms or texture samplers of a
FP also have access to the owning FP.

Pass a coord transform range to GPs rather than a pointer to an
iterator.

Change-Id: If7c829a67dce6600d7f49e12d6f49f685dcace3a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/256216
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
2019-11-27 14:32:43 +00:00
Greg Daniel
315c8dc6b8 Handle failures in VkCommandBuffer creation.
Bug: skia:9603
Change-Id: I17a1f7244e1b2a4c1865680ae8960549a7fee6d1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/256817
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2019-11-27 14:18:03 +00:00
Robert Phillips
03e4c95c31 Move creation of GrProgramDesc to GrCaps-derived classes
We need a means of creating GrProgramDescs pre-flush w/o needing to know the specific backend in play.

Bug: skia:9455
Change-Id: Iac14ff8eda262ee6d2ad666c5d2e27e7a375c210
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/256698
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2019-11-27 13:22:02 +00:00
Herb Derby
2a8799ff08 Revert "Naive CPU large emoji"
This reverts commit 42ea8e6619.

Reason for revert: Breaks a chrome layout test.

Original change's description:
> Naive CPU large emoji
> 
> This CL uses the GPU prepare path code to calculate reject which
> are color.
> 
> What is missing is a system for scaling glyphs to the screen
> from the cache. Or a way to draw glyphs directly with no cache.
> 
> Change-Id: Id5072c3cbffb91bad06ad840549c2711f5063c5c
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/255980
> Auto-Submit: Herb Derby <herb@google.com>
> Commit-Queue: Ben Wagner <bungeman@google.com>
> Reviewed-by: Ben Wagner <bungeman@google.com>

TBR=bungeman@google.com,herb@google.com,reed@google.com

Change-Id: I62d27fd3ac1150ab21263afa948ee06a2932c2c4
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/256937
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2019-11-27 05:21:25 +00:00
Herb Derby
81777ac947 Make SkEnumerate make flatten tuples
The new c++17 only has a single level of destructuring;
append the index instead of nesting it.

Change-Id: I26bb1ca387d1de57233dbf7096dcf4bb7aaedecf
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/254637
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2019-11-27 05:16:23 +00:00
skia-autoroll
ed8ca4ea96 Roll ../src 92fe999ae056..c493edcc78ba (509 commits)
92fe999ae0..c493edcc78


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

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 bungeman@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: bungeman@google.com
Change-Id: I06dac167718c1060a12ccd691947617ea074c078
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/256924
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-11-27 04:56:42 +00:00
skia-autoroll
dcb6582e62 Roll third_party/externals/angle2 f65b212492ec..c373dfd84194 (8 commits)
f65b212492..c373dfd841

git log f65b212492ec..c373dfd84194 --date=short --first-parent --format='%ad %ae %s'
2019-11-26 m.maiya@samsung.com Vulkan : Handle dirty state correctly when there are muiltiple VAOs
2019-11-26 syoussefi@chromium.org Vulkan: Fix barriers w.r.t sampled->storage image update
2019-11-26 syoussefi@chromium.org Vulkan: Remove unnecessary barrier in image -> buffer copy
2019-11-26 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/SwiftShader afc52b0b26d7..663dcefa22ea (10 commits)
2019-11-26 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/vulkan-validation-layers/src 5efc3922e3e8..8c954d5a413d (3 commits)
2019-11-26 xinyi.he@arm.com Vulkan: Large builtins overflow during string construction in glslang
2019-11-26 lehoangq@gmail.com Metal: Support depthRange near > far
2019-11-26 angle-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/vulkan-tools/src 39b3005ba560..6f6e3371c92a (1 commits)

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

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 bungeman@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: bungeman@google.com
Change-Id: I240ab8224a6bf6831963ace98e32ca58354bcb0f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/256923
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-11-27 04:44:42 +00:00