Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Issue 1457783005: Enable high-quality linear gradients (Closed)

Created:
5 years, 1 month ago by f(malita)
Modified:
5 years ago
Reviewers:
chrishtr, fs, reed1
CC:
chromium-reviews, bsalomon
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable high-quality linear gradients (remove SK_SUPPORT_LEGACY_LINEAR_GRADIENT_TABLE) Start using Skia's analytical linear gradients (software-only). The new implementation addresses a couple of fundamental issues present in the old/LUT-based approach: * inexact (or blurred) hard color stops * banding artifacts BUG=558622, 41756, 98436, 117140, 135568, 140208, 152706, 177293, 180783, 229561, 233879, 271552, 317502, 375630, 403959, 414254, 419344, 476548, 486063, 543625, skia:1077 R=reed@google.com,chrishtr@chromium.org Committed: https://crrev.com/32158b3da9a7a21c44698862fc5370c2ed735299 Cr-Commit-Position: refs/heads/master@{#361476}

Patch Set 1 #

Patch Set 2 : layout tests pls #

Patch Set 3 : expectations #

Patch Set 4 : drop expectations for new results #

Patch Set 5 : expectations #

Patch Set 6 : one more rebaseline #

Patch Set 7 : drop expectations for updated layout test run #

Patch Set 8 : expectations, no whitespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -16 lines) Patch
M skia/config/SkUserConfig.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 4 chunks +181 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/overflow/fixed-background-scroll-in-frame-expected.html View 1 1 chunk +12 lines, -9 lines 0 comments Download

Messages

Total messages: 40 (26 generated)
f(malita)
~170 rebaselines: https://storage.googleapis.com/chromium-layout-test-archives/mac_chromium_rel_ng/145306/layout-test-results/results.html Most are trivial. Some notable diffs - 1) hard stop accuracy progressions: ...
5 years ago (2015-11-24 20:07:53 UTC) #25
f(malita)
Forgot to mention: the ref test update is to increase numerical stability by ensuring both ...
5 years ago (2015-11-24 20:13:21 UTC) #26
fs
On 2015/11/24 at 20:07:53, fmalita wrote: > ~170 rebaselines: https://storage.googleapis.com/chromium-layout-test-archives/mac_chromium_rel_ng/145306/layout-test-results/results.html > > Most are trivial. ...
5 years ago (2015-11-24 20:36:14 UTC) #27
chrishtr
Cool! What is the performance impact? When you say software only, do you mean it ...
5 years ago (2015-11-24 21:19:03 UTC) #28
f(malita)
On 2015/11/24 21:19:03, chrishtr wrote: > Cool! > > What is the performance impact? I ...
5 years ago (2015-11-24 21:41:58 UTC) #29
f(malita)
On 2015/11/24 21:41:58, f(malita) wrote: > On 2015/11/24 21:19:03, chrishtr wrote: > > Cool! > ...
5 years ago (2015-11-24 21:46:13 UTC) #30
f(malita)
On 2015/11/24 21:41:58, f(malita) wrote: > On 2015/11/24 21:19:03, chrishtr wrote: > > Cool! > ...
5 years ago (2015-11-24 21:57:34 UTC) #31
chrishtr
lgtm
5 years ago (2015-11-24 22:09:01 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1457783005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1457783005/140001
5 years ago (2015-11-24 22:09:46 UTC) #34
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years ago (2015-11-24 22:46:52 UTC) #35
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/32158b3da9a7a21c44698862fc5370c2ed735299 Cr-Commit-Position: refs/heads/master@{#361476}
5 years ago (2015-11-24 22:47:32 UTC) #36
chrishtr
On 2015/11/24 at 21:57:34, fmalita wrote: > On 2015/11/24 21:41:58, f(malita) wrote: > > On ...
5 years ago (2015-11-25 01:05:44 UTC) #37
f(malita)
On 2015/11/25 01:05:44, chrishtr wrote: > On 2015/11/24 at 21:57:34, fmalita wrote: > > On ...
5 years ago (2015-11-25 15:24:11 UTC) #39
robertphillips
5 years ago (2015-11-25 15:32:42 UTC) #40
Message was sent while issue was closed.
Right. Ganesh uses linear filtering when sampling the 1D gradient texture. This
mitigates some of the artifacts the software path's point sampling was showing.

Note that we do hope to have a Ganesh version that searches through the stops
but we will only want to use it in cases that require it (e.g., two stops at the
same point) since it will be slower.

Powered by Google App Engine
This is Rietveld 408576698