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

Issue 1400813006: Remove SK_SUPPORT_LEGACY_GRADIENT_DITHERING from Skia proper (Closed)

Created:
5 years, 2 months ago by f(malita)
Modified:
5 years, 2 months ago
CC:
reviews_skia.org, djsollen
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Remove SK_SUPPORT_LEGACY_GRADIENT_DITHERING from Skia proper Migrating the flag to embedder defines (Chromium already guarded). Also augment gradient-focused GMs to generate both dithered/undithered results. BUG=skia:4436 R=reed@google.com,robertphillips@google.com Committed: https://skia.googlesource.com/skia/+/063675ba374cb520fe58bbcdaf5afeea0aa0ad60

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -48 lines) Patch
M gm/gradients.cpp View 17 chunks +85 lines, -26 lines 0 comments Download
M gm/gradients_2pt_conical.cpp View 3 chunks +13 lines, -9 lines 0 comments Download
M gm/gradients_no_texture.cpp View 6 chunks +20 lines, -6 lines 0 comments Download
M gm/shallowgradient.cpp View 2 chunks +14 lines, -5 lines 0 comments Download
M gyp/skia_for_android_framework_defines.gypi View 1 chunk +1 line, -0 lines 1 comment Download
M src/effects/gradients/SkGradientShader.cpp View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
f(malita)
Gradients are used extensively in GMs: I'm seeing ~120 diffs locally. Can't think of a ...
5 years, 2 months ago (2015-10-12 17:13:40 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1400813006/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1400813006/1
5 years, 2 months ago (2015-10-12 17:14:02 UTC) #3
reed1
lgtm
5 years, 2 months ago (2015-10-12 17:20:39 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-12 17:21:44 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1400813006/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1400813006/1
5 years, 2 months ago (2015-10-12 17:40:51 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/063675ba374cb520fe58bbcdaf5afeea0aa0ad60
5 years, 2 months ago (2015-10-12 17:41:50 UTC) #9
scroggo
https://codereview.chromium.org/1400813006/diff/1/gyp/skia_for_android_framework_defines.gypi File gyp/skia_for_android_framework_defines.gypi (right): https://codereview.chromium.org/1400813006/diff/1/gyp/skia_for_android_framework_defines.gypi#newcode20 gyp/skia_for_android_framework_defines.gypi:20: 'SK_SUPPORT_LEGACY_GRADIENT_DITHERING', Thanks for thinking about Android! What is the ...
5 years, 2 months ago (2015-10-13 13:46:43 UTC) #11
f(malita)
On 2015/10/13 13:46:43, scroggo wrote: > https://codereview.chromium.org/1400813006/diff/1/gyp/skia_for_android_framework_defines.gypi > File gyp/skia_for_android_framework_defines.gypi (right): > > https://codereview.chromium.org/1400813006/diff/1/gyp/skia_for_android_framework_defines.gypi#newcode20 > ...
5 years, 2 months ago (2015-10-13 14:29:26 UTC) #12
reed1
I think android already tweaks what a "default" paint is (for text encoding), so perhaps ...
5 years, 2 months ago (2015-10-13 15:45:57 UTC) #13
f(malita)
5 years, 2 months ago (2015-10-13 15:54:22 UTC) #14
Message was sent while issue was closed.
On 2015/10/13 15:45:57, reed1 wrote:
> I think android already tweaks what a "default" paint is (for text encoding),
so
> perhaps we should wack that to always set the dither-bit. Would that address
> some of the concerns?

Yup, I think that would solve point #2.

Powered by Google App Engine
This is Rietveld 408576698