Commit Graph

37490 Commits

Author SHA1 Message Date
recipe-roller
f831b64ed4 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/1e488131ffcde9e4df573c9be3514c0cdc42d28b Revert "git cl: delete no longer used Rietveld methods." (tandrii@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ic297316e55fcfdc66b78d30241954ce056343c82
Reviewed-on: https://skia-review.googlesource.com/c/162823
Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
Reviewed-by: Recipe Roller <recipe-roller@chromium.org>
2018-10-16 22:14:35 +00:00
Herb Derby
0edb2149e4 Optimize GPU text regen for full pixel position text
If the GrTextBlob does not contain any subpixel position text,
then any translation is ok. This is because all positions and
SkGlyphCache entries will be aligned to pixel boundaries.

Change-Id: Ie2bfd72710295b98c65052a857b6bd33a4858b65
Reviewed-on: https://skia-review.googlesource.com/c/162860
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2018-10-16 22:08:17 +00:00
skia-autoroll
b093c82b0f Roll third_party/externals/angle2 6eba3c6104f2..d633b1569a21 (1 commits)
6eba3c6104..d633b1569a


git log 6eba3c6104f2..d633b1569a21 --date=short --no-merges --format='%ad %ae %s'
2018-10-16 fjhenigman@chromium.org Get rid of VertexFormatType.


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

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

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

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

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

Change-Id: I850e9491cc6ef5886a44655d595dc305d308cc73
Reviewed-on: https://skia-review.googlesource.com/c/162840
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-16 21:51:24 +00:00
Hal Canary
36fe1d6e65 SkPDF: refactor generate_page_tree
function now takes a constant ref, as needed.

re-written to make it easier to think about state.

Change-Id: I5b9935cd88b4f8b1f35d4df622adcfb61655d42b
Reviewed-on: https://skia-review.googlesource.com/c/160383
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
2018-10-16 20:55:58 +00:00
Herb Derby
bbf5fb5be4 Reland "Have GrAtlasManager use legacy behavior"
This is a reland of 4b7b2ceb4a

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

Change-Id: I86cc8d2fb07f5317897f094c6fc172c1ca4c8a1c
Reviewed-on: https://skia-review.googlesource.com/c/162720
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2018-10-16 20:51:53 +00:00
Mike Reed
050be74e6d remove unused SK_SUPPORT_LEGACY_TEXT_BLOB
Bug: skia:
Change-Id: I07a6b04ceb0e5a69d0b80ecf43abed13e51fcd5e
Reviewed-on: https://skia-review.googlesource.com/c/162747
Reviewed-by: Herb Derby <herb@google.com>
Auto-Submit: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
2018-10-16 20:50:53 +00:00
Mike Reed
6a388006f5 be consistent about int for incReserve
Bug: 883666
Change-Id: I4070c958ef9ac5891ea75a8ef349e3d362c97f54
Reviewed-on: https://skia-review.googlesource.com/c/162620
Auto-Submit: Mike Reed <reed@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
2018-10-16 20:39:28 +00:00
Brian Osman
495993a5e3 Remove GrColor4f
All uses have been converted to SkPMColor4f (or similar).

Bug: skia:
Change-Id: I220bd5eaf6c35b17321c1e8bc92ace7ff92908c4
Reviewed-on: https://skia-review.googlesource.com/c/162749
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-10-16 20:37:58 +00:00
Brian Salomon
a2a94a4c59 Add GrGLInterface support for sampler objects and GrGLCaps detection.
BUGL skia:8471

Change-Id: If67dbbcdca2d3130f6e10720c052c55a3b16482f
Reviewed-on: https://skia-review.googlesource.com/c/162561
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2018-10-16 20:30:58 +00:00
Leon Scroggins III
6e45ce7e06 Fix uninitialized errors in SkPngCodec
- Initialize rowsDecoded in SkSampledCodec. Otherwise,
fillIncompleteImage may be called with an uninitialized
value. This change was originally uploaded to AOSP as
https://android-review.googlesource.com/c/platform/external/skia/+/785816
- If SkPngCodec hits an error, still transform from the
interlace buffer (if needed) and set rowsDecoded properly.
- Do not copy uninitialized memory from the interlace buffer.
- Make BRD treat kErrorInInput like kIncompleteInput. The two errors
are different for the purposes of incremental decode. For a direct
decode, they're essentially the same - part was decoded, but then
the decode was interrupted. This allows testing images with
errors on the bots without reporting a failure.
- Add some images to test incomplete pngs
  - errorInInput.png: color_wheel.png truncated with extra 0s at the
    end to trigger kErrorInInput
  - incInterlaced.png: basi3p02.png (from PNGSuite) similarly modified.
    This triggers kIncompleteInput. We have several incomplete PNGs that
    we are testing on the bots, but this is the first interlaced
  - errorInInputInterlaced.png: This is the same as incInterlaced with
    more zeroes at the end. The incorrect CRC (all zeroes) results in
    kErrorInInput


Change-Id: I25e1ea917e1c1ca212f104cb9d70290265a51b2d
Reviewed-on: https://skia-review.googlesource.com/c/161822
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2018-10-16 20:30:48 +00:00
Brian Osman
021ed51dc6 Switch gradients from GrColor4f to SkPMColor4f
This is the most misleading use-case, because these values are either
premul or unpremul depending on the gradient's flags. It turns out that
we only need to "lie" and alias in one spot, though, so I think this is
better than adding an entirely new kUnknown_SkAlphaType specialization
of SkRGBA4f.

Bug: skia:
Change-Id: I4b7e280355219d439f50a7fe54230ea17715abc3
Reviewed-on: https://skia-review.googlesource.com/c/162745
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-10-16 20:17:27 +00:00
Brian Osman
e3a5b1960d Remove ancient support for kUnknown_SkColorType in SkBitmapDevice
Bug: skia:
Change-Id: I7559544f46b49be5ac6b38add8d1b61c010d3d6f
Reviewed-on: https://skia-review.googlesource.com/c/162284
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-10-16 20:13:52 +00:00
Brian Osman
af119e58dc Remove SK_LEGACY_XFORM_CANVAS_IN_PICTURE_IMAGES
Chrome no longer uses this.

Bug: skia:
Change-Id: I245c592a040cd113e9bd3ddd1e582d27070baee1
Reviewed-on: https://skia-review.googlesource.com/c/162740
Auto-Submit: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Mike Reed <reed@google.com>
2018-10-16 20:12:22 +00:00
Brian Osman
cb3d087e71 Remove all remaining GrColor4f (other than gradients)
This adds SkPMColor4f conversions to/from RGBA bytes (ie GrColor).
I had previously made some free functions that did the same thing.
I'm ambivalent about which option is nicer, but wanted to have one
method, so I converted everything to use the new versions.

Bug: skia:
Change-Id: I4194c44b5bd12228075fd1932a14cf31c8d6a3c1
Reviewed-on: https://skia-review.googlesource.com/c/162560
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-10-16 19:45:53 +00:00
skia-autoroll
c9092eb467 Roll third_party/externals/swiftshader 518142733c90..9b7688491526 (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/518142733c90..9b7688491526


git log 518142733c90..9b7688491526 --date=short --no-merges --format='%ad %ae %s'
2018-10-16 merckhung@google.com Add an argument check for compressed formats in glCompressedTexSubImage2D


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

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

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

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

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

Change-Id: I5739868b44b7d161942791c41b955b6bf81b0d8f
Reviewed-on: https://skia-review.googlesource.com/c/162680
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-16 18:39:31 +00:00
Cary Clark
b2c7d84a67 Revert "remove pathop template"
This reverts commit 521f1ed0b6.

Reason for revert: msan ubsan errors

Original change's description:
> remove pathop template
> 
> Pathops used templates for curve intersection.
> Since only one template is required if curves share
> an abstract base, remove the template altogether.
> 
> This makes the code easier to read, and incidentally
> makes it slightly smaller and much faster.
> 
> This also removes debugging code specific to templates,
> and removes Simplify code which isn't covered by tests
> or fuzz.
> 
> This shaves the execution time of
> pathops_unittest -V -x from 6m to 3m23s.
> 
> R=​kjlubick@google.com
> 
> Bug: skia:
> Change-Id: I00c08210e47efed83295276ae89ad64e7ec07ade
> Reviewed-on: https://skia-review.googlesource.com/c/162021
> Commit-Queue: Cary Clark <caryclark@google.com>
> Reviewed-by: Kevin Lubick <kjlubick@google.com>
> Reviewed-by: Cary Clark <caryclark@google.com>

TBR=kjlubick@google.com,caryclark@google.com,caryclark@skia.org

Change-Id: Ic5828f7affb7df96ed4ca79f037cdbcfaea24384
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/c/162643
Reviewed-by: Cary Clark <caryclark@google.com>
Commit-Queue: Cary Clark <caryclark@google.com>
2018-10-16 18:17:03 +00:00
recipe-roller
76d26edd27 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/f46a599f105746e2f0ce7068c630e312f2113893 [cipd] Do not assume that all packages have refs or tags. (iannucci@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I16a307f322c3c78f375ed6a4071bee2c42e703b6
Reviewed-on: https://skia-review.googlesource.com/c/162621
Reviewed-by: Recipe Roller <recipe-roller@chromium.org>
Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
2018-10-16 18:09:21 +00:00
skia-autoroll@skia-public.iam.gserviceaccount.com
012ca78a1d Roll skia/third_party/skcms 33ca7b4f7334..fa2161cf791f (1 commits)
https://skia.googlesource.com/skcms.git/+log/33ca7b4f7334..fa2161cf791f

2018-10-16 mtklein@google.com iterative clut()


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

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

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



CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
TBR=egdaniel@google.com

Change-Id: I83f2dfca98d686a255f901501d2ec865bc57c69a
Reviewed-on: https://skia-review.googlesource.com/c/162524
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-16 17:46:03 +00:00
Cary Clark
521f1ed0b6 remove pathop template
Pathops used templates for curve intersection.
Since only one template is required if curves share
an abstract base, remove the template altogether.

This makes the code easier to read, and incidentally
makes it slightly smaller and much faster.

This also removes debugging code specific to templates,
and removes Simplify code which isn't covered by tests
or fuzz.

This shaves the execution time of
pathops_unittest -V -x from 6m to 3m23s.

R=kjlubick@google.com

Bug: skia:
Change-Id: I00c08210e47efed83295276ae89ad64e7ec07ade
Reviewed-on: https://skia-review.googlesource.com/c/162021
Commit-Queue: Cary Clark <caryclark@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Cary Clark <caryclark@google.com>
2018-10-16 17:46:01 +00:00
Brian Osman
9c11135400 Reland "Preserve pixel config in makeColorSpace of GPU backed images"
Adding 8888 fallback for F16 pixel config to fix cc unit test failures.

Bug: skia:
Change-Id: I22d5442f4831e95a54fe3fff63afb49a5e639d8f
Reviewed-on: https://skia-review.googlesource.com/c/162542
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-10-16 17:40:58 +00:00
Cary Clark
016d9b098c fix divides for osfuzz
R=kjlubick@google.com

Bug: oss-fuzz:10567,oss-fuzz:10568
Change-Id: I22bf654e183a973f2c50ea619aaaba1c22f44912
Reviewed-on: https://skia-review.googlesource.com/c/162580
Commit-Queue: Cary Clark <caryclark@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2018-10-16 17:40:57 +00:00
Cary Clark
a90ea228ab streamline web documentation
This is the next step in reducing the amount of typing
in bookmaker, and presenting a web-base interface that
more closely matches the include documentation.

Moving towards making xxx_Reference solely contain
use documentation, and xxx_Overview (unpublished)
contain theory of operation documentation.

Fixed quite a few bugs along the way, and made
function and member documentation tighter.

TBR=caryclark@google.com
Docs-Preview: https://skia.org/?cl=160640
Change-Id: I763df4d59baa5dfd0177f0523294b5316434c4b0
Reviewed-on: https://skia-review.googlesource.com/c/160640
Reviewed-by: Cary Clark <caryclark@skia.org>
Commit-Queue: Cary Clark <caryclark@skia.org>
Auto-Submit: Cary Clark <caryclark@skia.org>
2018-10-16 17:35:54 +00:00
skia-autoroll
120007cc0b Roll third_party/externals/swiftshader 767b41b1a841..518142733c90 (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/767b41b1a841..518142733c90


git log 767b41b1a841..518142733c90 --date=short --no-merges --format='%ad %ae %s'
2018-10-16 capn@google.com Treat all non-zero GLboolean values as GL_TRUE.


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

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

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

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

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

Change-Id: I797247d600d8e5d66f505b4775515d6b634ae54c
Reviewed-on: https://skia-review.googlesource.com/c/162501
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-16 17:35:53 +00:00
Greg Daniel
f9c5ca4119 Re-enable NVPR on flutter.
This hopefully fixes fuchsia roll.

Bug: skia:
Change-Id: I5c5f28413e45f46e94d54ce75ef5fb19fca32347
Reviewed-on: https://skia-review.googlesource.com/c/162581
Reviewed-by: Brian Osman <brianosman@google.com>
2018-10-16 16:15:47 +00:00
Kevin Lubick
3d99b1e347 Add Correctness tests for CanvasKit
Also make a CPU only and GPU only build (although
the latter still has a lot of CPU logic).

Bug: skia:
Change-Id: I857c2300021c2adb5344865c28e4ad3e8d332954
Reviewed-on: https://skia-review.googlesource.com/c/162022
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2018-10-16 14:32:28 +00:00
Kevin Lubick
1bfcbb57e6 Blacklist tests for internal bot
Bug: skia:8470
Change-Id: Ia68223bde692873761dc320b4d3edbd5ff9ff585
Reviewed-on: https://skia-review.googlesource.com/c/162541
Reviewed-by: Eric Boren <borenet@google.com>
2018-10-16 14:13:20 +00:00
Brian Salomon
ae7d770b94 Allow batching of coverage and non-coverage GrTextureOps.
Fall back to simpler tessellation for quads with no AA. In perspective
op only fall back when an individual quad is both non-aa and non-
perspective.

Change-Id: I0caadfe47a007c591f67f18753150ca23b43423b
Reviewed-on: https://skia-review.googlesource.com/c/161642
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2018-10-16 12:58:24 +00:00
skia-autoroll
1349ec4de7 Roll third_party/externals/angle2 a1ac3fe80647..6eba3c6104f2 (1 commits)
a1ac3fe806..6eba3c6104


git log a1ac3fe80647..6eba3c6104f2 --date=short --no-merges --format='%ad %ae %s'
2018-10-16 syoussefi@chromium.org Vulkan: Distinguish query operations in GraphViz output


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

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

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

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

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

Change-Id: I6159bdd9303eb84f247d02a5ac3a88c4eeba3c03
Reviewed-on: https://skia-review.googlesource.com/c/162500
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-16 12:30:35 +00:00
recipe-roller
a583a06f83 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/c68a1753c53a02b1bd292035e4a72a18e55814f3 git cl try-results: delete Rietveld support. (tandrii@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I4194dad484ca1c957151f4311a93cbc7d79809d7
Reviewed-on: https://skia-review.googlesource.com/c/162445
Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
Reviewed-by: Recipe Roller <recipe-roller@chromium.org>
2018-10-16 07:45:33 +00:00
recipe-roller
5cb400d961 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/dd672fb3c5916a8ccd12593593c895c785c1cbe4 git cl description: rename gerrit test. (tandrii@chromium.org)
  https://crrev.com/b07575f6ab398b8b7efade4a470a4eea28b76b98 git cl: rename and relocate CreateDescriptionFromLog func. (tandrii@chromium.org)
  https://crrev.com/38d36a616db2bfd86379225cc45c981f89161ced git cl: delete no longer used Rietveld methods. (tandrii@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I6ec48025564edbc982c8eb2374b6025bfdf6b703
Reviewed-on: https://skia-review.googlesource.com/c/162443
Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
Reviewed-by: Recipe Roller <recipe-roller@chromium.org>
2018-10-16 07:08:29 +00:00
recipe-roller
d115d18055 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/642641d03012ad1504e6bb6a385f819da9ba9e60 git cl comments: remove Rietveld support. (tandrii@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I8cc52211805f9ff7ae7f050ddb4dd74f022d06ae
Reviewed-on: https://skia-review.googlesource.com/c/162442
Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
Reviewed-by: Recipe Roller <recipe-roller@chromium.org>
2018-10-16 06:38:12 +00:00
skia-bookmaker
8b2baac2b7 Update markdown files
Automatic commit by the Housekeeper-Nightly-Bookmaker bot.

TBR=rmistry@google.com
NO_MERGE_BUILDS

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

TBR=borenet@google.com

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


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


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

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

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

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

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

Change-Id: I103cc8b1173c51afc4a3f0e96053807d7ec49348
Reviewed-on: https://skia-review.googlesource.com/c/162460
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-16 03:19:26 +00:00
recipe-roller
f600a54d3d Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
depot_tools:
  https://crrev.com/feec80e97144d81bb6fc7d1c8c9e4cb90019f4bc git cl: no longer support --rietveld flag when forcing codereview. (tandrii@chromium.org)


TBR=borenet@google.com

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

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

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

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

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

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

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

Reason for revert: Speculative fix for Chrome roll.

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

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

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

Reason for revert: Need to revert original CL.

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

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

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

Reason for revert: perf regression

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

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

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

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

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

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

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

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


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

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

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



CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
TBR=egdaniel@google.com

Change-Id: Ib6125213fc2ae597ac0451b2770655847e41f118
Reviewed-on: https://skia-review.googlesource.com/c/162261
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-15 20:02:09 +00:00
recipe-roller
3a47c2d2ed Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
depot_tools:
  https://crrev.com/7d7bbc3b530f11eec8fa347d330c16006390cd65 git cl upload: delete no longer supported flags. (tandrii@chromium.org)


TBR=borenet@google.com

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

Improve the test detecting when filtering can be disabled.

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

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

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

Puts GrTextureOp::fFilter in bitfield.

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

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


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

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

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



CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
TBR=egdaniel@google.com

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


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


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

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

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

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

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

Change-Id: I5dc7b3e0d5b4c4931102d93fecdc2d8b43eb1623
Reviewed-on: https://skia-review.googlesource.com/c/162220
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-15 19:11:58 +00:00