Commit Graph

40179 Commits

Author SHA1 Message Date
Ben Wagner
b8a3f9d6b8 Remove OS condition from isolate files
Change-Id: Ib8e7d4dd40bb8e59b0901ef40351ccae924749d2
Reviewed-on: https://skia-review.googlesource.com/c/196384
Commit-Queue: Ben Wagner <benjaminwagner@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
2019-02-28 17:40:00 +00:00
Kevin Lubick
78cb455f82 [canvaskit][pathkit] Remove flaky/low-utility Debug tests
Bug: skia:
NOTRY: true
Change-Id: I316a341bdd6a108281e4a1a897c9b59793f270ad
Reviewed-on: https://skia-review.googlesource.com/c/196382
Auto-Submit: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Ben Wagner <benjaminwagner@google.com>
Commit-Queue: Ben Wagner <benjaminwagner@google.com>
2019-02-28 17:34:30 +00:00
skia-autoroll
b2565b18d0 Roll third_party/externals/angle2 4b314eefc839..5de69e91bd93 (1 commits)
4b314eefc8..5de69e91bd


git log 4b314eefc839..5de69e91bd93 --date=short --no-merges --format='%ad %ae %s'
2019-02-28 jmadill@chromium.org Add watchlist file for ANGLE.


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

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

Change-Id: I77bced26a0b3644eaa1e3c05c0d41305c3c470f9
Reviewed-on: https://skia-review.googlesource.com/c/196328
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-28 17:04:01 +00:00
Florin Malita
a9a3dccf55 solink with --start-group/--end-group
(based on https://skia-review.googlesource.com/c/skia/+/145529/)

Bug: skia:
Change-Id: Id8fb7dd706748f9ad602cc35a4e0d9b87ca97e00
Reviewed-on: https://skia-review.googlesource.com/c/196381
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2019-02-28 16:44:00 +00:00
Leon Scroggins III
ee0e5d0cd9 Enable Skia for Windows
Bug: b/117921091
Bug: b/123085931
Test: mmma external/skia

Based on ag/6098473. Generate an SkUserConfig for Windows, and update
Android.bp with Windows in mind. Disable xps on Windows, as the
Android Windows build system does not provide FontSub.h

Change-Id: I755d225004ccbe273099889fea8dda01d23d03fc
Reviewed-on: https://skia-review.googlesource.com/c/195881
Auto-Submit: Leon Scroggins <scroggo@google.com>
Reviewed-by: Jerome Gaillard <jgaillard@google.com>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
2019-02-28 16:11:33 +00:00
Hal Canary
0374fdce1a SkQP Documentation
No-Try: true
Change-Id: Id32e909544286eed701a1db8f0913a883af4215f
Reviewed-on: https://skia-review.googlesource.com/c/196380
Reviewed-by: Hal Canary <halcanary@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
2019-02-28 15:58:20 +00:00
Kevin Lubick
f5ea37f981 [canvaskit] Support image assets for Skottie
There's a lot of refactoring here to fix up the
namespace of the JS (see pre/postamble js).

A reviewer can skip all the changes to interface.js,
as they are mostly whitespace changes.

Bug: skia:
Change-Id: I7cedeb98f04d4446ac4dfb555a416f30490b2b94
Reviewed-on: https://skia-review.googlesource.com/c/195885
Reviewed-by: Florin Malita <fmalita@chromium.org>
2019-02-28 15:56:09 +00:00
Mike Klein
b7b2da871e set -fcolor-diagnostics when is_clang
I've been setting this in extra_cflags for a couple years...
maybe it's time everyone gets color in their warnings.

Change-Id: I1fed38a521fe9331b60fbb0688d39b5188a86aca
Reviewed-on: https://skia-review.googlesource.com/c/196360
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2019-02-28 15:19:30 +00:00
skia-autoroll
1179d5dfaf Roll third_party/externals/angle2 aaa17b8528d8..4b314eefc839 (2 commits)
aaa17b8528..4b314eefc8


git log aaa17b8528d8..4b314eefc839 --date=short --no-merges --format='%ad %ae %s'
2019-02-28 jmadill@chromium.org Win7: No warnings as errors in FragData test.
2019-02-28 syoussefi@chromium.com Vulkan: ES3 dEQP suppressions


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

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

Change-Id: I5e832a45986bc9f49a345c5a03a4f9c84ebbc102
Reviewed-on: https://skia-review.googlesource.com/c/196271
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-28 06:48:50 +00:00
skia-autoroll
f80078b4c6 Roll third_party/externals/swiftshader 3014e76bab03..201f136c9907 (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/3014e76bab03..201f136c9907


git log 3014e76bab03..201f136c9907 --date=short --no-merges --format='%ad %ae %s'
2019-02-28 chrisforbes@google.com Remove remnants of non-descriptor-backed textures


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

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

Change-Id: I2378d2930095641b3d227fb7de9106cabbc3216d
Reviewed-on: https://skia-review.googlesource.com/c/196261
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-28 05:08:54 +00:00
skia-autoroll
6b59860fa1 Roll third_party/externals/swiftshader dfc0f3b7a757..3014e76bab03 (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/dfc0f3b7a757..3014e76bab03


git log dfc0f3b7a757..3014e76bab03 --date=short --no-merges --format='%ad %ae %s'
2019-02-28 headlessclayton@gmail.com Add regres test lists.


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

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

Change-Id: Ie24b3d6559ac0749f007b860b8e25b04924abba3
Reviewed-on: https://skia-review.googlesource.com/c/196247
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-28 03:16:04 +00:00
skia-autoroll
90043480b5 Roll third_party/externals/swiftshader 83fc5445e748..dfc0f3b7a757 (5 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/83fc5445e748..dfc0f3b7a757


git log 83fc5445e748..dfc0f3b7a757 --date=short --no-merges --format='%ad %ae %s'
2019-02-28 headlessclayton@gmail.com SpirvShader: Move emit() instructions to their own functions
2019-02-28 headlessclayton@gmail.com SpirvShader: Debug print human readable opcode names
2019-02-28 headlessclayton@gmail.com SpirvShader: Move type declaration out to its own function
2019-02-28 headlessclayton@gmail.com SpirvShader: Add support for DescriptorSet and Binding decorations
2019-02-28 headlessclayton@gmail.com SpirvShader: Add SIMD namespace.


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

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

Change-Id: I28308d0d1bdf2968cf28ba88a8746d17020d9ba6
Reviewed-on: https://skia-review.googlesource.com/c/196240
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-28 02:22:35 +00:00
skia-autoroll
0cedddc142 Roll third_party/externals/swiftshader 17078c70fc9c..83fc5445e748 (6 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/17078c70fc9c..83fc5445e748


git log 17078c70fc9c..83fc5445e748 --date=short --no-merges --format='%ad %ae %s'
2019-02-27 chrisforbes@google.com Add support for OpVectorShuffle
2019-02-27 chrisforbes@google.com Add support for OpCompositeExtract
2019-02-27 chrisforbes@google.com Add support for OpCompositeInsert
2019-02-27 chrisforbes@google.com Add complex type walker for literal indexes
2019-02-27 chrisforbes@google.com Add support for OpCompositeConstruct
2019-02-27 chrisforbes@google.com Add GenericValue wrapper for either an Intermediate or a constant


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

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

Change-Id: I5b6050586a51dc109279e584617640f0d988ee47
Reviewed-on: https://skia-review.googlesource.com/c/196082
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-27 22:45:22 +00:00
Mike Klein
1c94143772 round when writing lowp 565 or 4444
All math discovered the lazy way through brute force.
Some of it makes sense when you think about it.

Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
Bug: skia:8799
Change-Id: I044b0bf702cf5a5648f5017d58cc7e5d0ac09a7d
Reviewed-on: https://skia-review.googlesource.com/c/196010
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2019-02-27 21:48:51 +00:00
skia-autoroll
45c049c1f7 Roll third_party/externals/angle2 009696c56169..aaa17b8528d8 (1 commits)
009696c561..aaa17b8528


git log 009696c56169..aaa17b8528d8 --date=short --no-merges --format='%ad %ae %s'
2019-02-27 ynovikov@chromium.org Restrict OpenGL/Vulkan test window re-creation workaround to NVIDIA


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

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

Change-Id: I7b196cb8ea989874f2733bd2bd2a29ab3d9be20f
Reviewed-on: https://skia-review.googlesource.com/c/196014
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-27 21:47:56 +00:00
Mike Reed
31cc6d7917 utility to check if floats are [0...1]
Bug: skia:
Change-Id: I9bab3ff73d3934786d7457c4b1bcf67d01c653f3
Reviewed-on: https://skia-review.googlesource.com/c/196060
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2019-02-27 21:43:31 +00:00
skia-autoroll
aee41a1792 Roll third_party/externals/swiftshader 105fd0f651d1..17078c70fc9c (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/105fd0f651d1..17078c70fc9c


git log 105fd0f651d1..17078c70fc9c --date=short --no-merges --format='%ad %ae %s'
2019-02-27 senorblanco@chromium.org Fix push & pop of XMM registers.


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

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

Change-Id: I9ac72e3f02aeee159ba000ea30efea9d47f0811d
Reviewed-on: https://skia-review.googlesource.com/c/196015
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-27 21:42:51 +00:00
skia-autoroll
8d77e94b8a Roll third_party/externals/swiftshader 928dfeed1796..105fd0f651d1 (4 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/928dfeed1796..105fd0f651d1


git log 928dfeed1796..105fd0f651d1 --date=short --no-merges --format='%ad %ae %s'
2019-02-27 headlessclayton@gmail.com VkDebug.hpp: Call abort() after assert(false)
2019-02-27 headlessclayton@gmail.com CMake: Add DCHECK_ALWAYS_ON flag
2019-02-27 headlessclayton@gmail.com Fix warnings raised during release builds
2019-02-27 headlessclayton@gmail.com Suppress LLVM warnings raised during release builds.


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

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

Change-Id: Ia6b945fc2809393b52d14759fe38318d83247f7b
Reviewed-on: https://skia-review.googlesource.com/c/196005
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-27 20:42:51 +00:00
Mike Klein
e9fc58663e mark more methods inline
Since these are all already static, it doesn't have any real functional
impact in terms of linking or codegen.  But it does supress unused
function warnings in compilation units that don't use everything.

Add a new SI boilerplate macro to go along with SINT and SIT.

Change-Id: If2c09951b7453338dd20a3a88e3abbee5eefcd27
Reviewed-on: https://skia-review.googlesource.com/c/195921
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
2019-02-27 20:27:10 +00:00
Mike Klein
41b995c4fb specialize if_then_else(int4,float4,float4)
Add SSE, SSE4.1, and NEON specializations.

The if_then_else() unit tests in SkVxTest.cpp should cover this.

I had to give up on my dream of not using Skia headers for now.  There's
really no good way of knowing whether we've got SSE4.1 support in MSVC
except when we explicitly define SK_CPU_SSE_LEVEL=SK_CPU_SSE_LEVEL_SSE41.

This refactor to use SK_CPU_SSE_LEVEL let MSVC point out a slight
ordering problem that would cause an infinite loop calling any of
the specializions like sqrt(float2).  I believe moving them after
the float4 specializations will fix that.

Change-Id: I83639f378a182716d1b37e92b6d725472698f874
Reviewed-on: https://skia-review.googlesource.com/c/195920
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2019-02-27 20:12:20 +00:00
Michael Ludwig
24adb3a356 Revert "Add general quad API to SkGpuDevice"
This reverts commit 339e1cc8d4.

Reason for revert: compositor GM breaks dm on windows

Original change's description:
> Add general quad API to SkGpuDevice
> 
> Heavily refactors SkGpuDevice's internal texturing code in an attempt
> to consolidate entry points for drawing an image. Helps lay the ground
> work for eventually implementing bitmap tiling with per-edge AA.
> 
> Bug: skia:
> Change-Id: I9feb86d5315d73119deb21e954c45e45513a63f6
> Reviewed-on: https://skia-review.googlesource.com/c/191571
> Commit-Queue: Michael Ludwig <michaelludwig@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>

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

Change-Id: I74bc7eb08855dff5535cf809fc47ce6f16d2c15d
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/c/195889
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2019-02-27 19:42:31 +00:00
Michael Ludwig
339e1cc8d4 Add general quad API to SkGpuDevice
Heavily refactors SkGpuDevice's internal texturing code in an attempt
to consolidate entry points for drawing an image. Helps lay the ground
work for eventually implementing bitmap tiling with per-edge AA.

Bug: skia:
Change-Id: I9feb86d5315d73119deb21e954c45e45513a63f6
Reviewed-on: https://skia-review.googlesource.com/c/191571
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2019-02-27 19:07:20 +00:00
skia-autoroll
67d87128fd Roll third_party/externals/swiftshader 5edafb5ac109..928dfeed1796 (2 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/5edafb5ac109..928dfeed1796


git log 5edafb5ac109..928dfeed1796 --date=short --no-merges --format='%ad %ae %s'
2019-02-27 chrisforbes@google.com Return newly-created value from SpirvRoutine::createIntermediate
2019-02-27 chrisforbes@google.com Implement indexed draws


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

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

Change-Id: I1dadb71ff798b7cc81faf7dfe59781bb0323fca5
Reviewed-on: https://skia-review.googlesource.com/c/195946
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-27 18:24:30 +00:00
Eric Boren
113cba82e7 [recipes] Plumb task ID through to DM results
Bug: skia:
Change-Id: If5b71aba04964b61a634ccda7115c9f37a777468
Reviewed-on: https://skia-review.googlesource.com/c/195367
Reviewed-by: Stephan Altmueller <stephana@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
2019-02-27 18:24:00 +00:00
Brian Osman
34d1331323 Particles: Improvements to SkCurve
Added explicit Linear segment type, merge math evaluation helpers for
scalar and color curves. Add logic to visitFields that cuts down on the
serialized size of simple curves, and makes the GUI easier to work with.

Remove the curve plot from the GUI. It was incorrect (wrong points at
cubic handle locations), not terribly helpful, and difficult to
maintain.

Bug: skia:
Change-Id: I190cb5d118b1f4b910984e4df50ee3351c8be895
Reviewed-on: https://skia-review.googlesource.com/c/195884
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2019-02-27 16:46:29 +00:00
Mike Reed
95835340b2 Avoid forcing rasterpipeline due to device colorspace
Step 0 of "optimizing" for cases where we don't need to force rasterpipeline.

0: treat device colorspace of sRGB as "no colorspace" for single colors
1: convert the color to the device's colorspace (cache xformer on device?)
2: query the shader, to see if its colorspace is the same (needs a new virtual on shaderbase?)

Bug: skia:8793
Change-Id: Id49388fb4f9b8933003efb8db7a620c795c36d83
Reviewed-on: https://skia-review.googlesource.com/c/195370
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2019-02-27 16:36:19 +00:00
Kevin Lubick
dc822b1c9e update canvaskit docs to new API
Also add a dynamic text shaping demo

No-Try: true
Docs-Preview: https://skia.org/?cl=195440
Bug: skia:
Change-Id: I1e220cecae080a6a643fed8a1b9771ba8fe60915
Reviewed-on: https://skia-review.googlesource.com/c/195440
Reviewed-by: Heather Miller <hcm@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2019-02-27 16:30:29 +00:00
skia-autoroll
0f5eac7fc6 Roll third_party/externals/swiftshader ead1a345a36c..5edafb5ac109 (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/ead1a345a36c..5edafb5ac109


git log ead1a345a36c..5edafb5ac109 --date=short --no-merges --format='%ad %ae %s'
2019-02-27 sugoi@google.com Descriptor sets binding


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

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

Change-Id: If14da98c2defca6d91dd02728a7a626363e4ce1e
Reviewed-on: https://skia-review.googlesource.com/c/195851
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-27 16:25:59 +00:00
recipe-roller
cc61a2caa2 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/be28670fe2bf3a07f7f51ef86596739a43631ea8 [cipd] Rebuild all Go binaries with Go 1.12. (vadimsh@chromium.org)
  https://crrev.com/fe34723a55ec71b235512eac5ad561faf3151d6e Add gerrit.abandon_change command (sergiyb@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I26f76897fe27d83dcaaa94deaf354149686ff12c
Reviewed-on: https://skia-review.googlesource.com/c/195882
Reviewed-by: Recipe Roller <recipe-roller@chromium.org>
Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
2019-02-27 15:34:29 +00:00
Ben Wagner
ff84d8a900 SkTypeface::openStream to return smart pointer.
Change-Id: I2c936510e13561fcc9fd8343d5ab9f18c28c8340
Reviewed-on: https://skia-review.googlesource.com/c/195371
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
2019-02-27 14:08:09 +00:00
skia-recreate-skps
ab3f8674c9 Update go_deps asset
Automatic commit by the UpdateGoDEPS bot.

TBR=borenet@google.com

Change-Id: I7e16c7d3cff1396766c182e62073bf2c0315f8cb
Reviewed-on: https://skia-review.googlesource.com/c/195721
Reviewed-by: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
Commit-Queue: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
2019-02-27 05:38:19 +00:00
skia-autoroll
620621059b Roll third_party/externals/swiftshader 6c9fb0e6353c..ead1a345a36c (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/6c9fb0e6353c..ead1a345a36c


git log 6c9fb0e6353c..ead1a345a36c --date=short --no-merges --format='%ad %ae %s'
2019-02-27 sugoi@google.com Simple PipelineBarrier implementation


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

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

Change-Id: I7235cc60ef8adc4e46b742bda4f08db9c33bf62f
Reviewed-on: https://skia-review.googlesource.com/c/195754
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-27 04:14:51 +00:00
skia-autoroll
f6faf2fcea Roll third_party/externals/angle2 9f20dd777b50..009696c56169 (2 commits)
9f20dd777b..009696c561


git log 9f20dd777b50..009696c56169 --date=short --no-merges --format='%ad %ae %s'
2019-02-26 geofflang@chromium.org Vulkan: Support EGL_ANDROID_image_native_buffer on Android.
2019-02-26 jmadill@chromium.org Use Chromium mirror for rapidjson.


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

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

Change-Id: Idc05db83f1d6a2f2a126e22b22471f264bcff7de
Reviewed-on: https://skia-review.googlesource.com/c/195744
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-27 02:55:20 +00:00
skia-autoroll
72fa10ef31 Roll third_party/externals/swiftshader 1bc7ee95f75b..6c9fb0e6353c (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/1bc7ee95f75b..6c9fb0e6353c


git log 1bc7ee95f75b..6c9fb0e6353c --date=short --no-merges --format='%ad %ae %s'
2019-02-27 loganchien@google.com Fix REACTOR_USE_SUBZERO flag


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

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

Change-Id: I86ebc01c1d18648421e1fc1762dcea0dd817bd3e
Reviewed-on: https://skia-review.googlesource.com/c/195742
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-27 02:42:59 +00:00
skia-autoroll
2e9bb11db3 Roll third_party/externals/swiftshader 7f6f891204d0..1bc7ee95f75b (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/7f6f891204d0..1bc7ee95f75b


git log 7f6f891204d0..1bc7ee95f75b --date=short --no-merges --format='%ad %ae %s'
2019-02-26 headlessclayton@gmail.com Add Print helpers to reactor


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

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

Change-Id: I2fdfe5c170d96d1ae873673814b6f2f46072c15b
Reviewed-on: https://skia-review.googlesource.com/c/195709
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-27 01:00:49 +00:00
skia-autoroll
7186504822 Roll third_party/externals/swiftshader 54c4772e855c..7f6f891204d0 (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/54c4772e855c..7f6f891204d0


git log 54c4772e855c..7f6f891204d0 --date=short --no-merges --format='%ad %ae %s'
2019-02-26 sugoi@google.com VS build fix


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

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

Change-Id: Ia64cca7f89615112b0743d6c22a54bd17858e372
Reviewed-on: https://skia-review.googlesource.com/c/195703
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-27 00:08:34 +00:00
Chris Dalton
07cdcfc966 Reland "Stack-allocate pipelines for GrMeshDrawOp"
This is a reland of dfe5000a5f

Original change's description:
> Stack-allocate pipelines for GrMeshDrawOp
>
> Stack-allocates the pipelines in onExecute. This saves us from having
> to store the pipelines on the heap, as well as delaying the need to
> detach processors until onExecute. The delay is an improvement because
> it allows us to keep visiting proxies after onPrepare. (Previously,
> they were moved out of GrProcessorSet and into a pipeline during
> onPrepare, so visiting proxies was impossible after that point.)
>
> Bug: skia:8731
> Change-Id: Idc05063fb0dfbfed42b434e429fa5a497097bdae
> Reviewed-on: https://skia-review.googlesource.com/c/193368
> Commit-Queue: Chris Dalton <csmartdalton@google.com>
> Reviewed-by: Robert Phillips <robertphillips@google.com>

TBR=robertphillips@google.com

Bug: skia:8731
Change-Id: I32def1a35bb0593470fa672691a9e697dc6d9680
Reviewed-on: https://skia-review.googlesource.com/c/195261
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
2019-02-26 23:32:54 +00:00
Mike Klein
a907dcbda7 remove mention of SkPaintDefaults_Flags
Change-Id: I0294bf2e294761bccf2e05dbd55addb003538cd1
Reviewed-on: https://skia-review.googlesource.com/c/193361
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2019-02-26 22:54:24 +00:00
skia-autoroll
a3d31cc5b3 Roll third_party/externals/swiftshader 8adf1fcd08d0..54c4772e855c (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/8adf1fcd08d0..54c4772e855c


git log 8adf1fcd08d0..54c4772e855c --date=short --no-merges --format='%ad %ae %s'
2019-02-26 chrisforbes@google.com Fix point rendering


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

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

Change-Id: I487f164684ef3fa6b0562ab30d2743644bfe9ae2
Reviewed-on: https://skia-review.googlesource.com/c/195642
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-26 22:29:06 +00:00
skia-autoroll
4dbb96dfaa Roll third_party/externals/swiftshader fe3d4978886b..8adf1fcd08d0 (2 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/fe3d4978886b..8adf1fcd08d0


git log fe3d4978886b..8adf1fcd08d0 --date=short --no-merges --format='%ad %ae %s'
2019-02-26 chrisforbes@google.com OpAccessChain: Remove pointer walking inside loop
2019-02-26 sugoi@google.com Replace uses of sw::Surface with vk::ImageView in the Renderer


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

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

Change-Id: I9304ecb15fcd8c97c90d879e89dc3bc1471c7ced
Reviewed-on: https://skia-review.googlesource.com/c/195500
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-26 21:33:23 +00:00
recipe-roller
c5519c3014 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
recipe_engine:
  https://crrev.com/81bee2d517dae82881c1193fe9e4860fc7355f5b Implement api.buildbucket.build_url helper property (sergiyb@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I9ba414e3b1dea20280fe3a1d8252abfeeaecc099
Reviewed-on: https://skia-review.googlesource.com/c/195369
Reviewed-by: Recipe Roller <recipe-roller@chromium.org>
Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
2019-02-26 20:38:45 +00:00
skia-autoroll
6099a28bc8 Roll third_party/externals/swiftshader 024f271ae0c7..fe3d4978886b (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/024f271ae0c7..fe3d4978886b


git log 024f271ae0c7..fe3d4978886b --date=short --no-merges --format='%ad %ae %s'
2019-02-26 chrisforbes@google.com Fix various issues in vertex fetch setup


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

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

Change-Id: I05b74477a44612023a450836105876ff47b07e34
Reviewed-on: https://skia-review.googlesource.com/c/195460
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-26 20:34:37 +00:00
Brian Osman
e5d532edae Particles: remove non-stable random, add better enum reflection
The other generator was never used (or useful). String-based serialization
of enums is quite helpful, though.

Bug: skia:
Change-Id: Ic9d58f8d20cfe7aba47722bd74f1e6f8f0f219e5
Reviewed-on: https://skia-review.googlesource.com/c/195368
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2019-02-26 20:29:56 +00:00
Florin Malita
f12d675179 [skottie] Shape blending mode support
Starting in v. 5.4.4, BodyMovin also supports/exports per-shape
blending modes.

Change-Id: I9827f1db11df207da62bfb0de724e62489ed9255
Reviewed-on: https://skia-review.googlesource.com/c/195365
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2019-02-26 18:48:25 +00:00
Brian Salomon
65cb3749fe Remove legacy types/methods from SkDeferredDisplayList recorder.
Change-Id: I7a9810e14734262ee608444bd9308bebfb788a8d
Reviewed-on: https://skia-review.googlesource.com/c/195364
Commit-Queue: Brian Salomon <bsalomon@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Auto-Submit: Brian Salomon <bsalomon@google.com>
2019-02-26 18:40:55 +00:00
skia-autoroll
adfc6e40df Roll third_party/externals/angle2 0546b5380780..9f20dd777b50 (1 commits)
0546b53807..9f20dd777b


git log 0546b5380780..9f20dd777b50 --date=short --no-merges --format='%ad %ae %s'
2019-02-26 jmadill@chromium.org Add draw call perf test using 5 vertex arrays.


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

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

Change-Id: I0f59dbf0cfd11f714f9e067a9728177d0e3226fb
Reviewed-on: https://skia-review.googlesource.com/c/195401
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-26 17:54:25 +00:00
Greg Daniel
cb32415753 Add support for VK_IMAGE_LAYOUT_PRESENT_SRC_KHR in skia vulkan.
This change allows Skia to handle transfering from the present layout.
Skia currently never changes to the present layout, though we are looking
at adding support for this in a different CL.

With this change a client can wrap a an VkImage into an SkSurface still in
the queue present layout and Skia will handle the transation to color
attachment. If a client uses this functiality they most likely will want
to immediately call wait(GrBackendSemaphore) on the SkSurface so that Skia
waits on the VkSemaphore that came from a call to vulkan aquire image before
doing any work on the wrapped VkImage.

Bug: skia:
Change-Id: Ia9bd12ad4e6cd972daaa972cce8698d396c002fc
Reviewed-on: https://skia-review.googlesource.com/c/194424
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2019-02-26 17:37:25 +00:00
skia-autoroll
317e5e2b5b Roll third_party/externals/swiftshader 2ff3639d85d7..024f271ae0c7 (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/2ff3639d85d7..024f271ae0c7


git log 2ff3639d85d7..024f271ae0c7 --date=short --no-merges --format='%ad %ae %s'
2019-02-26 capn@google.com Fix fuzzer build


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

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

Change-Id: I66528279958870b758897d6e4c5f6240831e0f76
Reviewed-on: https://skia-review.googlesource.com/c/195397
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2019-02-26 17:25:35 +00:00
Stan Iliev
cb58060404 Pass render target VkImage in GrVkDrawableInfo
Test: Ran CTS
Bug: b/115613038
Change-Id: I9493de41e0bfaa53436676c8eed2a4f178b6e51e
Reviewed-on: https://skia-review.googlesource.com/c/186400
Commit-Queue: Stan Iliev <stani@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2019-02-26 17:07:30 +00:00
Herb Derby
eafd81bf0b Make ARGB fallback use common strike lookup
This is a larger CL. It makes fallback ARGB glyphs use
the same strike lookup, and it introduces the two cases
for fallback -- source and device. Source assumes that the
strike data will be transformed while rendering. Device
assumes that the data in the strike is already in device
space.

Change-Id: I5857bc17c6aaec21d48de9ac9102adafff9688fe
Reviewed-on: https://skia-review.googlesource.com/c/192120
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2019-02-26 17:05:04 +00:00