Commit Graph

37344 Commits

Author SHA1 Message Date
Kevin Lubick
f4def34885 Move dumpJSON behind the SK_ENABLE_DUMP_GPU flag
This should trim the code size of a WASM CanvasKit by 10-20KB.

Bug: skia:
Change-Id: Ibf0f8596c04e891e8f7cbc2fa4f1d1852f7cb462
Reviewed-on: https://skia-review.googlesource.com/c/159261
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2018-10-05 18:18:30 +00:00
recipe-roller
b3d6145cb7 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/85af45334ed48cc2e35ddaef0c428f701246260a [windows_sdk] Default to cache/windows_sdk. (iannucci@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Icd03ebb284504b95863940440c415a84ae0bf3bd
Reviewed-on: https://skia-review.googlesource.com/c/160031
Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
Reviewed-by: Recipe Roller <recipe-roller@chromium.org>
2018-10-05 18:15:50 +00:00
Robert Phillips
51c89e41c0 Exercise newly exposed SkYUVIndex-based SkImage factories (take 2)
Bug: skia:7903
Change-Id: Ie7d0135f392b67085a23a59cb469429f9e2b0221
Reviewed-on: https://skia-review.googlesource.com/c/160029
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2018-10-05 18:04:58 +00:00
recipe-roller
6ddcd89248 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/0c3bd49069d44dd6c217f3db103d27bfc1272424 bot_update: Don't use apply_patch_on_gclient. (ehmaldonado@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I6af9ef4d5ec55f61581ecb0d05dce1fae77319e2
Reviewed-on: https://skia-review.googlesource.com/c/160028
Reviewed-by: Recipe Roller <recipe-roller@chromium.org>
Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
2018-10-05 17:46:34 +00:00
Mike Reed
360178920c trim unused SkDraw functions
Bug: skia:
Change-Id: I9fcb92c2d4057c45f6bad4594accafc1c6e31455
Reviewed-on: https://skia-review.googlesource.com/c/160025
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Mike Reed <reed@google.com>
2018-10-05 17:24:53 +00:00
Greg Daniel
d50d6579d1 Remove ability to sample textures in vertex or geometry shaders.
Bug: skia:
Change-Id: I69cd07a4bbe4879e855fb4aa6289a049adf4e059
Reviewed-on: https://skia-review.googlesource.com/c/160021
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Chris Dalton <csmartdalton@google.com>
2018-10-05 17:19:50 +00:00
Greg Daniel
cfa39352c0 Remove debug only clearStencil virtual on GrGpu.
Bug: skia:
Change-Id: Ic68cd97675f554b60e84ec36d8068ce539cce6aa
Reviewed-on: https://skia-review.googlesource.com/c/159945
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2018-10-05 17:19:48 +00:00
Brian Osman
bd16a1bcb3 Revert "Exercise newly exposed SkYUVIndex-based SkImage factories"
This reverts commit e1c1d4d09c.

Reason for revert: Crashing on bots that abandon the GPU context

Original change's description:
> Exercise newly exposed SkYUVIndex-based SkImage factories
> 
> Bug: skia:7903
> Change-Id: I04630ebec37b087423e8305cc1716544fa00a403
> Reviewed-on: https://skia-review.googlesource.com/c/160020
> Reviewed-by: Jim Van Verth <jvanverth@google.com>
> Commit-Queue: Robert Phillips <robertphillips@google.com>

TBR=jvanverth@google.com,robertphillips@google.com

Change-Id: I5cd5eca3aa55feb73737643dbe05a374a6fd7842
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:7903
Reviewed-on: https://skia-review.googlesource.com/c/160026
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-10-05 17:10:16 +00:00
Mike Reed
d109503b69 split out SkDraw_text functions
Bug: skia:
Change-Id: I1cbce64fe137011e664133a1ec51feaa87898529
Reviewed-on: https://skia-review.googlesource.com/c/160023
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Mike Reed <reed@google.com>
2018-10-05 16:30:52 +00:00
Robert Phillips
e1c1d4d09c Exercise newly exposed SkYUVIndex-based SkImage factories
Bug: skia:7903
Change-Id: I04630ebec37b087423e8305cc1716544fa00a403
Reviewed-on: https://skia-review.googlesource.com/c/160020
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2018-10-05 16:18:50 +00:00
Mike Reed
dee25ccb67 split SkPaint into separate impl files
Bug: skia:
Change-Id: If82d39be1f85f9c9487e232b56c72dde175243ab
Reviewed-on: https://skia-review.googlesource.com/c/160022
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Mike Reed <reed@google.com>
2018-10-05 16:17:20 +00:00
Herb Derby
434377abfb Split out SkRunFont and SkPaint
Coping paints take significant time. The ApplyFontToPaint
idiom requires a copy and a dtor. This CL keeps the paint and
font in parallel through the code until a paint is actually
needed, then a special ctor is used to create it.

Also, inline a bunch of text blob calls that were showing up
in perf.

Change-Id: I7da746a287e4d3942e45e9536ef9acdc64f084d4
Reviewed-on: https://skia-review.googlesource.com/c/159222
Reviewed-by: Mike Klein <mtklein@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2018-10-05 16:10:07 +00:00
Florin Malita
2c06e14697 [skottie] Optional path control points
Make parsing the in/out Bezier control points optional (default [0,0]).

Change-Id: Id1ef43cea133fab3a112e653d4ce2ab21b91effb
Reviewed-on: https://skia-review.googlesource.com/c/159980
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2018-10-05 16:07:01 +00:00
Brian Osman
ba651682ae Fix two bugs in GPU special image read-back
- We always read from (0, 0), even if the subset had a different origin
- We also cached the results ignoring the origin, so future reads of
  same-sized but differently positioned subsets could return previous
  and wrong bitmaps.

Added a unit test that checks for both behaviors. Originally, both
asserts triggered. Adjusting the origin in readPixels, the first assert
was fixed, but the second continued to trigger. Adding the full subset
rect to the bitmap cache key fixed the second assert.

Bug: skia:8448 skia:8449
Change-Id: Ic6e8c0976bd59e86827be89105bd02845ad0d7cd
Reviewed-on: https://skia-review.googlesource.com/c/159981
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2018-10-05 15:39:06 +00:00
Florin Malita
9059c23946 [skottie] Remove temporary ResourceProvider::load() fallback
All clients are now using loadImageAsset().

TBR=
Change-Id: I3d7800fc9a294b01aaa8e21a39703e01fa866a40
Reviewed-on: https://skia-review.googlesource.com/c/159946
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
Auto-Submit: Florin Malita <fmalita@chromium.org>
2018-10-05 15:32:25 +00:00
Mike Reed
6be47152b6 isolate users of SkFindAndPlaceGlyph.h
This is no longer how we interact with glyphs and the cache, so trying to remove all
of the vestigal callers. Two remain, but they are not built by default
- OverdrawCanvas
- XPSDevice
so leaving them in place for now.

Bug: skia:
Change-Id: If3e6aa092b1d658cbf22e5ad56dd7f57838ee576
Reviewed-on: https://skia-review.googlesource.com/c/159780
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
2018-10-05 15:31:54 +00:00
Robert Phillips
b6df1c1e59 Expose the SkYUVAIndex version of the SkImage factories
TBR=bsalomon@google.com
Bug: skia:7903
Change-Id: Ib5a3bdba99da4cfb79115d1ff7b2c014272a5556
Reviewed-on: https://skia-review.googlesource.com/c/159520
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Cary Clark <caryclark@google.com>
2018-10-05 15:24:59 +00:00
Brian Osman
bbb24101e9 Remove redundant test
All special images use proxies, so this test was now identical to the
one right above it.

Bug: skia:
Change-Id: Id0358ed2417269d2f26fd255ed192e0ccbd9bcaf
Reviewed-on: https://skia-review.googlesource.com/c/159943
Auto-Submit: Brian Osman <brianosman@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2018-10-05 14:51:32 +00:00
recipe-roller
032f2756df 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/dfce68bcddba7508d74016405a95e7865cbf47ba [led] Roll led to handle jobs with multiple swarming TaskSlices. (iannucci@chromium.org)
  https://crrev.com/56117720565661febf2e11ec77efd71d49f778ae Increase gerrit_util retry count and delay. (skobes@chromium.org)
  https://crrev.com/dfedcc0666fe3a7e655642ec3385ecb3fb6286c0 [cipd] More careful error handling during CIPD bootstrap on Windows. (vadimsh@chromium.org)
  https://crrev.com/2174136d2520b2f030addb8466373f13f5badd39 [cipd] Add presubmit support for checking *.digests file. (vadimsh@chromium.org)
  https://crrev.com/4aedec01f5030b36be1e8a07c65d15bd7b66d567 my_activity: faster Gerrit reviews search. (tandrii@chromium.org)
  https://crrev.com/45b20c4140ba6eed7b04d0015ce4d2e566810a03 [git_cl] Fix git cl comments json stdout printing (leszeks@chromium.org)
  https://crrev.com/ea4301e5c5d22aac5fd7184966137e8303ec4740 git cl upload: print response headers on 404 Gerrit RPC status. (tandrii@chromium.org)
  https://crrev.com/f9b4845975ffaf4b7bfe7b0b6ae0198b8a729bbd [cipd] Bump CIPD client version to 2.2.8, add presubmit check for *.digests. (vadimsh@chromium.org)
  https://crrev.com/18b4479cee3fece5afeb19b79e00bc876550a749 gerrit_util: Support OAuth2 bearer tokens in CookieAuthenticator (borenet@google.com)
  https://crrev.com/0639cbc44de0ae5be7dce0896520fe158824aa69 [buildbucket] Print build url on command line with buildbucket.py (machenbach@chromium.org)
  https://crrev.com/0526335226fb1cb4c74b5204ca2136087bbc6a71 Revert "gerrit_util: Support OAuth2 bearer tokens in CookieAuthenticator" (borenet@chromium.org)
  https://crrev.com/01710d041f2cdbdbbae1c1e145eb1e23ff998e07 [cipd] Pin hashes of CIPD packages. (vadimsh@chromium.org)
  https://crrev.com/0f322bfcf5098d175ac2649b506f297838d3ac54 [bot_update] Add gclient.get_gerrit_patch_root (nodir@google.com)
  https://crrev.com/7b54572eb0c18346d82a76e85b854c3ec316a3bd [gclient] Fix typo in get_gerrit_patch_root (nodir@google.com)
  https://crrev.com/1aa405fd859a3bd625b0d61184d6e4a3cf95c0b4 Add an option to disable adding CC emails automatically (sergiyb@chromium.org)
  https://crrev.com/33f71ae4d045483e4bd63315a18fe9fad36ad3e5 [bot_update] Update examples to use buildbucket module (nodir@google.com)
  https://crrev.com/67ef3f67e816839ce8b3984ecba9406961583eff gclient: delete unversioned directory before adding cipd dep for the same path (ehmaldonado@chromium.org)
  https://crrev.com/dd2ce986ce25528f89d36a61eae82b2213292df9 [gclient] Update set_patch_project_revision (nodir@google.com)
  https://crrev.com/86c823e88d8fdbb20800066e81f06d73e640e9b8 gerrit_util: document hack. (tandrii@chromium.org)
  https://crrev.com/78eed01c0bbd387c0b6a0851918fb65f9e40bea2 [bot_update] Use get_gerrit_patch_root (nodir@google.com)
  https://crrev.com/07b5283a4ea1056007f6c2ec233411b72caa3227 Revert "gclient: delete unversioned directory before adding cipd dep for the same path" (tandrii@chromium.org)
  https://crrev.com/53e28ecb9f9505c38c01a6ed80730fc28469402f [gclient] Remove calculate_patch_root (nodir@google.com)
  https://crrev.com/15b586a4932a5760cbff9478739d19d660e69b19 Remove PATCH_PROJECT (nodir@google.com)
  https://crrev.com/79c651330b9414a1e97450c3d22f414f9bb58a92 [gclient] Remove is_blink_mode (nodir@google.com)
  https://crrev.com/77900be4e71e5ccda7d9efeca7bbff6dc5f3c597 [windows_sdk] Allow taskkill mspdbsrv to fail. (iannucci@chromium.org)
  https://crrev.com/69f640ec0900add7fd44579c181fa99ea1693005 [buildbucket] Fix printing build url (machenbach@chromium.org)
  https://crrev.com/647e1e79eb7129ecdc021b7535d90e6d06475603 Reland "gclient: delete unversioned directory before adding cipd dep for the same path" (ehmaldonado@chromium.org)
  https://crrev.com/21a51b392104d8e58860a48e417e705ff03ae460 gclient: set the push url to the actual repository instead of the mirror. (jbudorick@chromium.org)
  https://crrev.com/f837545214f5a8666c49f02c3b717bdc04604f7a [gclient] Remove patch_projects (nodir@google.com)
  https://crrev.com/e373f26c5c3b7327046ef1af22176456a19147c6 Suppress URLErrors when uploading metrics. (sdy@chromium.org)
  https://crrev.com/9cba9ffdfdc64127ee47561c0bd6a339778599f5 Add the crcmod wheel for gsutil, to get it to shut up. (dpranke@chromium.org)
  https://crrev.com/7e301cfffe7fe9e1f912ecfcf0624e0fbded7517 [gclient] Use canonical URLs in solutions (nodir@google.com)
  https://crrev.com/92df4e63abbe9ffe24ff632927acea5523112aeb Revert "[gclient] Use canonical URLs in solutions" (nodir@chromium.org)
  https://crrev.com/8bdc1b8a0433e3e0737bab3a31bd6fba39383610 my_activity: add --completed-issues option. (tandrii@chromium.org)
  https://crrev.com/aaf2cc09c6874e394c6c1e4692360cc400d6b388 Implement --no-autocc flag for Gerrit (sergiyb@chromium.org)
  https://crrev.com/a06cd091a9e2c9017058f55ce19d7d7a97dcd727 Revert "git cl upload: print response headers on 404 Gerrit RPC status." (ajp@chromium.org)
  https://crrev.com/482d615b83e1a498a2cb3549dc3ad683bab3e78f Revert "my_activity: Add review.coreboot.org as a source" (gab@chromium.org)
  https://crrev.com/64b61330ec7f3632d5eb1ea97133ce11f3bf6627 [led] Roll led to fix missing expiration_secs issue. (iannucci@chromium.org)
  https://crrev.com/d4c867355a8bc3b62fa53d886d229632435c3172 git cl: use explicit Gerrit mirrors on 404s during upload. (tandrii@chromium.org)
  https://crrev.com/8e64369342f22b0541d438bac748c93fe4b8d14e git cl: delete old support code for Git Numberer with Rietveld. (tandrii@chromium.org)
  https://crrev.com/c4a7356a469b3b6267965d7bcc318cf35cdd3b62 git cl: cache also LABELS data on a change. (tandrii@chromium.org)
  https://crrev.com/d9fdc1f5b5ded0b2b8189a08b3f45dcdbc5951dd git cl: save description before doing any RPCs during upload. (tandrii@chromium.org)
  https://crrev.com/95d4c855637a039f4befbef17af1708ae06386b0 Add skia reviews to my_activity (enne@chromium.org)
  https://crrev.com/0daedf7758e157ee22a64e9dabcb089c0da5ef4c Remove agable, bradleynelson from //OWNERS. (dpranke@chromium.org)
  https://crrev.com/22300e1fb562291b55eb702fe73b164cb1a2317d [led] Roll led to add gerritcodereview scope to edit-cr-cl (iannucci@chromium.org)
  https://crrev.com/6af3aa85495695d609a881ad1c75fd2aa5407135 Support omitting the space after -C (brucedawson@chromium.org)
  https://crrev.com/c08566e6e27cf671133e2787fd49ca9451535163 Add non --full support to python git cl format (abenner@google.com)
  https://crrev.com/684313d6a319a33b8aef29cd0600e2dcbe26f8db gclient setdep doesn't need to update_depot_tools (oprypin@webrtc.org)
  https://crrev.com/b250ec16d39169c4f7df3f9ae40230934d0f4ddb [git_cl] Don't check .gitcookies when running on LUCI. (vadimsh@chromium.org)
  https://crrev.com/e8f574a2167a69418b45ada45f178faca7bad83a Remove git-crsync (asanka@chromium.org)
  https://crrev.com/5b1fa949bba4c75c88aead94948d89c6cb161e0c gclient: Sync CIPD deps before running hooks. (ehmaldonado@chromium.org)
  https://crrev.com/f98905e8f03cd79d132cdd72bf4af1bb5fa3ca0b [led] Roll led to fix broken Milo annotation stream. (hinoka@google.com)
  https://crrev.com/2fb6310237302dd249452470fcddeaaf2eb3941d Reland gerrit_util: Support OAuth2 bearer tokens in CookieAuthenticator (borenet@google.com)
recipe_engine:
  https://crrev.com/5831fa01c47fb7248495566e80d4d049c47d3f78 Fix config.Dict.schema_proto. (nodir@google.com)
  https://crrev.com/1f3949c4d11c89d35d1e4c688c3a1c14985bdad7 [file] Fix naming conflict bug in flatten_single_directories. (iannucci@chromium.org)
  https://crrev.com/04e26b62818d4848aed3631d9c58c2d41ecc2ed8 [buildbucket] Pass v2 build as a dict, not base64 bytes (nodir@google.com)
  https://crrev.com/241d879a3dee0f9f1a0dc8933dc67f24e0d33391 analyze: Output field default values (martiniss@google.com)
  https://crrev.com/b8db432be1add133ef005e17d5729c537349f2c9 analyze.py: Actually include default fields (martiniss@google.com)
  https://crrev.com/f7a834467c55fc302e5da1bdc0ef78c7bdecf2d9 Add comment to failing_step to indicate that it raises an exception. (erikchen@chromium.org)
  https://crrev.com/7a22cddcd7f3255e357a63c73df4396a43def8cd [context] Stringify name_prefix if unicode in api.context (joshuaseaton@google.com)
  https://crrev.com/ecba3385f199e9f9aecf783d7ce8d87c23775640 [buildbucket] Add bucket_v1 property (nodir@google.com)
  https://crrev.com/ec1f045f324fd25c985a60cdcddb913f82da0490 Add AnnotationContains post processing step (erikchen@chromium.org)
  https://crrev.com/702c6847b3cc129007d58f1ba864b009e820c11e [buildbucket] Populate created_by from legacy property (nodir@google.com)
  https://crrev.com/4232dd9f1c5aa35874d70634ae86f1cc4720bc6a Add documentation for placeholders. (erikchen@chromium.org)
  https://crrev.com/673743d3e861ad9c6d9a8cc71088f4be7d01a1bb [buildbucket] add builder_name (nodir@google.com)
  https://crrev.com/39df254c20b7052fed669e3319036b20f96e75e3 [buildbucket] Fix typo. (nodir@google.com)
  https://crrev.com/66dfa7cca67be5376d6cb54b462e9ccd832e4f01 [buildbucket] Add gitiles_commit shortcut (nodir@google.com)
  https://crrev.com/ad0e2563a79f19f916cf2939811a2019dec16386 Improve local execution of recipes (martiniss@google.com)
  https://crrev.com/d5fd7cc14d7f0a82d1358617f1ec94c4417ec85e [buildbucket] Split try_build/ci_build (nodir@google.com)
  https://crrev.com/da81755358cf32a496ed8a9eddf6ec6d4f0efd18 post_process: Add StepCommandContains check. (jbudorick@chromium.org)
  https://crrev.com/65fffecb2f6a041d71107292b1453a92ab1127fc Add post_process functions for asserting on a step's command. (gbeaty@chromium.org)
  https://crrev.com/dc1bf00db5252bb54dd09745865c3160778a882d Fix cmd error in StepCommandContains check (aluo@chromium.org)
  https://crrev.com/7d52a83204be2083edfc82042b13769846db9dff Update the recipes user guide to use post_process. (gbeaty@chromium.org)
  https://crrev.com/9f1afcb08b95a9c2cbae653dd320cd84d62287ff raw_io: pipe placeholder name through for input placeholders. (jbudorick@chromium.org)
  https://crrev.com/840950f4bfb6469b4ff72ae4e54ab5c0f5e71116 [cipd] Fix typo in pkg-deploy method. (iannucci@chromium.org)


TBR=borenet@google.com

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Id1922dd605a1b399b52c52e58d7908ab308575d5
Reviewed-on: https://skia-review.googlesource.com/c/159942
Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
Reviewed-by: Recipe Roller <recipe-roller@chromium.org>
2018-10-05 14:34:47 +00:00
Mike Klein
b3ce196a4d de-guard SK_LEGACY_TF_APPLY
Didn't need it after all.

Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
Change-Id: I85685c3d838053269b10327ecf31f85c4fea1d67
Reviewed-on: https://skia-review.googlesource.com/c/159940
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2018-10-05 11:39:08 +00:00
skia-autoroll
a6262495da Roll third_party/externals/angle2 14246813a110..0ca09753392d (1 commits)
14246813a1..0ca0975339


git log 14246813a110..0ca09753392d --date=short --no-merges --format='%ad %ae %s'
2018-10-05 oetuaho@nvidia.com Add GLES3 support for EXT_blend_func_extended


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

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

Change-Id: Ie1fd11b9c0982fcb86a3e095f3bfb77af01b4b53
Reviewed-on: https://skia-review.googlesource.com/c/159920
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-05 11:18:54 +00:00
skia-bookmaker
92d10833de Update markdown files
Automatic commit by the Housekeeper-Nightly-Bookmaker bot.

TBR=rmistry@google.com
NO_MERGE_BUILDS

Change-Id: Ic67d7c882ee7b17e439e23764fe26177494c2606
Reviewed-on: https://skia-review.googlesource.com/c/159901
Reviewed-by: <skia-bookmaker@skia-swarming-bots.iam.gserviceaccount.com>
Commit-Queue: <skia-bookmaker@skia-swarming-bots.iam.gserviceaccount.com>
2018-10-05 05:58:29 +00:00
skia-recreate-skps
787bb77798 Update go_deps asset
Automatic commit by the UpdateGoDEPS bot.

TBR=borenet@google.com

Change-Id: I105314b8ce6eed61421bee7865dddcc4d1ac975b
Reviewed-on: https://skia-review.googlesource.com/c/159900
Commit-Queue: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
Reviewed-by: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
2018-10-05 05:52:48 +00:00
skia-autoroll
4f87e2255b Roll third_party/externals/angle2 76dd2d6f9f5e..14246813a110 (4 commits)
76dd2d6f9f..14246813a1


git log 76dd2d6f9f5e..14246813a110 --date=short --no-merges --format='%ad %ae %s'
2018-10-04 jmadill@chromium.org Update sampler directly on Texture change.
2018-10-04 jmadill@chromium.org Update Textures immediately on program change.
2018-10-04 fjhenigman@chromium.org Vulkan: read pixel buffer alignment must be 4.
2018-10-04 syoussefi@chromium.org Roll VK and SPIR-V deps forward


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

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

Change-Id: I91b175816606fca9142342c353c57e0b810304a5
Reviewed-on: https://skia-review.googlesource.com/c/159860
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-05 02:32:47 +00:00
Chris Dalton
1b4ad76562 ccpr: Unblacklist PowerVR Rogue
Tweaks some workarounds and re-allows PowerVR Rogue.

Bug: skia:8098
Change-Id: I0fca7380f8f071928ee9ffd18fcfb4c9abe99009
Reviewed-on: https://skia-review.googlesource.com/c/159184
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
2018-10-05 01:02:31 +00:00
Mike Klein
d945698c5d remove SkColorSpaceTransferFn::operator()()
Looks like SkColorSpaceXformSteps is its only user,
and it can easily switch over to skcms instead.

We're now making 3-6 function calls instead of inlining,
but on the other hand, they're replacing 3-6 calls to powf()...

Guarded with SK_LEGACY_TF_APPLY.

Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
Change-Id: I502d4b3979a4e912820c925b63a174406801be0b
Reviewed-on: https://skia-review.googlesource.com/c/159762
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2018-10-04 22:35:03 +00:00
Mike Klein
7e587330c8 Reland "remove deprecated SkRect::MakeFromIRect()"
This is a reland of 4fea17393a

Original change's description:
> remove deprecated SkRect::MakeFromIRect()
> 
> Needs https://chromium-review.googlesource.com/c/chromium/src/+/1261818
> 
> Change-Id: I529a2cd16d46ad13bc1eb9d3746e3587e25e9dbe
> Reviewed-on: https://skia-review.googlesource.com/c/159481
> Reviewed-by: Cary Clark <caryclark@google.com>

Change-Id: I53e5b23f765d5b28df50bea70cd8d8f9aac7e740
Reviewed-on: https://skia-review.googlesource.com/c/159821
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2018-10-04 22:05:27 +00:00
Chris Dalton
b7e0371650 ccpr: Fix a divide-by-zero in corner attenuation
Bug: skia:8098
Change-Id: I4ab1a9872a483b971b5e2e1903bf9ca61713eb01
Reviewed-on: https://skia-review.googlesource.com/c/159700
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
2018-10-04 21:52:17 +00:00
Hal Canary
2e01805298 SkDynamicMemoryWStream: make moveable
Motivation:  using this in an experiment of mine (I want a
std::vector<SkDynamicMemoryWStream>.)

Change-Id: I28e2c468156ace2f9e7d5e09937e05bc8b7e8200
Reviewed-on: https://skia-review.googlesource.com/c/159326
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
2018-10-04 21:29:49 +00:00
Mike Klein
4302eb9a6e Revert "remove deprecated SkRect::MakeFromIRect()"
This reverts commit 4fea17393a.

Reason for revert: one more in Google3.

Original change's description:
> remove deprecated SkRect::MakeFromIRect()
> 
> Needs https://chromium-review.googlesource.com/c/chromium/src/+/1261818
> 
> Change-Id: I529a2cd16d46ad13bc1eb9d3746e3587e25e9dbe
> Reviewed-on: https://skia-review.googlesource.com/c/159481
> Reviewed-by: Cary Clark <caryclark@google.com>

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

Change-Id: I02872a3dd6031e360ce7c1988c8a73c9b7096067
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/159820
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2018-10-04 20:57:58 +00:00
Mike Klein
d295dff5c6 remove SkColorSpaceTransferFn::invert()
Looks like DM may be its only user?
That was me and just for convenience... I can fold it through.

Change-Id: I4ed6ee659df4192e3d6db7ce5b055c4c923673bd
Reviewed-on: https://skia-review.googlesource.com/c/159761
Reviewed-by: Brian Osman <brianosman@google.com>
2018-10-04 20:33:20 +00:00
Brian Osman
e47e5b69da Restore proper name of the SkImage_Gpu2Cpu unit test
Looks like this was accidentally renamed as part of
https://codereview.chromium.org/1885623002

Bug: skia:
Change-Id: Ie38d8e3e64d11f0bcbe388622f0b96b2672cd8b0
Reviewed-on: https://skia-review.googlesource.com/c/159663
Auto-Submit: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2018-10-04 20:11:25 +00:00
Hal Canary
d18d7bd294 SK_SUPPORT_LEGACY_DOCUMENT_FACTORY: clean up part 2/2
Change-Id: Ibab2f420c779e0307f4df214f229609b377acf29
Reviewed-on: https://skia-review.googlesource.com/c/156369
Reviewed-by: Hal Canary <halcanary@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
2018-10-04 20:00:24 +00:00
Mike Klein
ae16b74365 Reland "hash tf, and whole colorspace"
This is a reland of 58887bc3c1

Original change's description:
> hash tf, and whole colorspace
> 
> Change-Id: I088124ead162d369c5c9f8bdd3fc0a39b2b3de46
> Reviewed-on: https://skia-review.googlesource.com/c/159486
> Commit-Queue: Mike Klein <mtklein@google.com>
> Reviewed-by: Brian Osman <brianosman@google.com>

Change-Id: Idec6b6817f7a2136083caecd20c35e1eb9f2f388
Reviewed-on: https://skia-review.googlesource.com/c/159622
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2018-10-04 19:33:04 +00:00
Mike Klein
4fea17393a remove deprecated SkRect::MakeFromIRect()
Needs https://chromium-review.googlesource.com/c/chromium/src/+/1261818

Change-Id: I529a2cd16d46ad13bc1eb9d3746e3587e25e9dbe
Reviewed-on: https://skia-review.googlesource.com/c/159481
Reviewed-by: Cary Clark <caryclark@google.com>
2018-10-04 19:09:42 +00:00
Jim Van Verth
8026ccc46e Implement more SkImage_GpuYUVA functionality
Bug: skia:7901
Change-Id: I78a947edb924e0a1240537a83aa0bc111239e567
Reviewed-on: https://skia-review.googlesource.com/c/159320
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2018-10-04 19:01:07 +00:00
Mike Klein
5959353a31 remove SkColorSpace::toXYZD50()
Change-Id: I005623828b6f074077d5ba6a4e72f3192bfbfb12
Reviewed-on: https://skia-review.googlesource.com/c/159623
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2018-10-04 18:50:24 +00:00
Mike Klein
fd69b6da3a tune SkOpts::hash_fn() quality
We noticed a hash collision scenario we'd like to avoid, and it looks
pretty easy.  The new test failed on my desktop at both asserts,
depending on whether I build 32- or 64-bit, and also on my
CRC-supporting phone.  The Murmur3 path should be fine.

Change-Id: I005de38d68f9b0461536c29e48cf7e5be5caac3e
Reviewed-on: https://skia-review.googlesource.com/c/159621
Commit-Queue: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2018-10-04 18:32:21 +00:00
Brian Osman
11c221a5ce Remove unused Options parameter from SkImageGenerator::getPixels
I'd like to remove this from the virtual onGetPixels as well, but that
requires staging a chromium change.

Bug: skia:
Change-Id: I078e5135daaa77803d8474027a98da2973556afb
Reviewed-on: https://skia-review.googlesource.com/c/159522
Commit-Queue: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Auto-Submit: Brian Osman <brianosman@google.com>
2018-10-04 18:22:12 +00:00
Brian Osman
e4f938cf5a Remove scaling support from SkBitmapCacheDesc, and unused factories
Bug: skia:
Change-Id: I9d6229a0cfe56671ea1494274c2717419078363d
Reviewed-on: https://skia-review.googlesource.com/c/159662
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-10-04 18:18:21 +00:00
Hal Canary
0f88861600 SkPDF: build shared lib with skia_enable_pdf=false
Change-Id: Ie9e91f4faccea4ddfa05d46d80835195a0163b83
Reviewed-on: https://skia-review.googlesource.com/c/159661
Commit-Queue: Hal Canary <halcanary@google.com>
Auto-Submit: Hal Canary <halcanary@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2018-10-04 18:11:19 +00:00
Hal Canary
d95303e10c SkQP: update script tools/skqp/make_universal_apk
works if skqp/src/main/assets/files.checksum is missing.
works with new version of tools that put APK in new place.

No-Try: true
Change-Id: I83649c50fe88a4d80204200c609603b4bed0b6b0
Reviewed-on: https://skia-review.googlesource.com/c/159660
Reviewed-by: Hal Canary <halcanary@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
2018-10-04 18:00:22 +00:00
Brian Osman
080e77f06b Use SkPMColor4f in OverrideInput, remove some kruft from SkGr
Bug: skia:
Change-Id: I2263048fea3b708aa0ac7758a80cbdc47e4f45f2
Reviewed-on: https://skia-review.googlesource.com/c/159540
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-10-04 17:57:19 +00:00
skia-autoroll
d3afe57f4f Roll third_party/externals/angle2 5541a6c86a64..76dd2d6f9f5e (2 commits)
5541a6c86a..76dd2d6f9f


git log 5541a6c86a64..76dd2d6f9f5e --date=short --no-merges --format='%ad %ae %s'
2018-10-04 brandon1.jones@intel.com Change capitilization mismatch in 2D array shaders to fix clang error
2018-10-04 brandon1.jones@intel.com Implement ANGLE_copy_texture_3d Extension


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

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

Change-Id: I700e9c8efa3dbcd80c28df38bc223ef10edeefa7
Reviewed-on: https://skia-review.googlesource.com/c/159601
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2018-10-04 17:43:30 +00:00
Hal Canary
363a3f838c SkCanvas: remove unused SkCanvas::InitFlags
Change-Id: Ib5a0a873ebe6a3c8c671afc1e9f7f102cfee4aa7
Reviewed-on: https://skia-review.googlesource.com/c/159580
Commit-Queue: Hal Canary <halcanary@google.com>
Auto-Submit: Hal Canary <halcanary@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2018-10-04 16:49:34 +00:00
Mike Klein
5c99c210e0 Revert "hash tf, and whole colorspace"
This reverts commit 58887bc3c1.

Reason for revert: hash collisions reported on 32-bit x86

Original change's description:
> hash tf, and whole colorspace
> 
> Change-Id: I088124ead162d369c5c9f8bdd3fc0a39b2b3de46
> Reviewed-on: https://skia-review.googlesource.com/c/159486
> Commit-Queue: Mike Klein <mtklein@google.com>
> Reviewed-by: Brian Osman <brianosman@google.com>

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

Change-Id: Ia8580074bd94a9fa158cdd98dc6b021ee5650883
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/159620
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2018-10-04 16:40:34 +00:00
Stan Iliev
98590d2934 Update android apps to latest android plugin
NDK depricated mips toolchain, which is causing a build error,
because old android gradle plugin is looking for it.
Updating to latest plugin is fixing the build issue.

Test: Built skottie demo app from command line and Android Studio
Bug: skia:
Change-Id: I0071bf996c44f96969079cb680cb05ec38efdc93
Reviewed-on: https://skia-review.googlesource.com/c/159581
Reviewed-by: Heather Miller <hcm@google.com>
Reviewed-by: Hal Canary <halcanary@google.com>
Commit-Queue: Stan Iliev <stani@google.com>
2018-10-04 16:39:06 +00:00
Mike Klein
58887bc3c1 hash tf, and whole colorspace
Change-Id: I088124ead162d369c5c9f8bdd3fc0a39b2b3de46
Reviewed-on: https://skia-review.googlesource.com/c/159486
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2018-10-04 16:20:42 +00:00
Mike Klein
fe5ad67dea remove deprecated SkBitmap::eraseRGB()
Change-Id: I1adf711d39f441154aa1c032d49583d0c45d2568
Reviewed-on: https://skia-review.googlesource.com/c/159482
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Cary Clark <caryclark@google.com>
2018-10-04 15:37:27 +00:00
Robert Phillips
1c7062db88 Update YUV GM
Change-Id: I7b35dd063c19cacd0022840d17207cbf4bb03cc7
Reviewed-on: https://skia-review.googlesource.com/c/159063
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2018-10-04 15:12:25 +00:00