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

Issue 1313623002: Add support for blending of LCD for all blend modes. (Closed)

Created:
5 years, 4 months ago by egdaniel
Modified:
5 years, 3 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add support for blending of LCD for all blend modes. BUG=skia: Committed: https://skia.googlesource.com/skia/+/723b0501e22373bb3e6c306daaceae02cda8a124

Patch Set 1 #

Patch Set 2 : updates #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : Review updates #

Patch Set 5 : Added gm #

Total comments: 24

Patch Set 6 : Fix gm #

Patch Set 7 : #

Patch Set 8 : Compile fix #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+402 lines, -20 lines) Patch
A gm/lcdblendmodes.cpp View 1 2 3 4 5 6 7 8 1 chunk +133 lines, -0 lines 0 comments Download
M include/gpu/effects/GrPorterDuffXferProcessor.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M src/gpu/GrPipelineBuilder.cpp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrProcOptInfo.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrProcOptInfo.cpp View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M src/gpu/GrTextContext.cpp View 1 3 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrPorterDuffXferProcessor.cpp View 1 2 3 10 chunks +64 lines, -15 lines 0 comments Download
M tests/GrPorterDuffTest.cpp View 1 2 6 chunks +196 lines, -1 line 0 comments Download

Messages

Total messages: 22 (6 generated)
egdaniel
So this CL adds LCD blending support for all porter duff and advanced blends. It ...
5 years, 3 months ago (2015-09-02 21:16:56 UTC) #2
robertphillips
lgtm (but I can't say I understand this very deeply) https://codereview.chromium.org/1313623002/diff/40001/src/gpu/GrTextContext.cpp File src/gpu/GrTextContext.cpp (right): https://codereview.chromium.org/1313623002/diff/40001/src/gpu/GrTextContext.cpp#newcode81 ...
5 years, 3 months ago (2015-09-03 13:28:41 UTC) #3
egdaniel
https://codereview.chromium.org/1313623002/diff/40001/src/gpu/GrTextContext.cpp File src/gpu/GrTextContext.cpp (right): https://codereview.chromium.org/1313623002/diff/40001/src/gpu/GrTextContext.cpp#newcode81 src/gpu/GrTextContext.cpp:81: bool GrTextContext::ShouldDisableLCD(const SkPaint& paint) { On 2015/09/03 13:28:41, robertphillips ...
5 years, 3 months ago (2015-09-03 13:50:38 UTC) #4
egdaniel
just pinging Brian for a final review, no real rush on this cl though
5 years, 3 months ago (2015-09-11 13:39:06 UTC) #5
bsalomon
lgtm but do we have good GM coverage?
5 years, 3 months ago (2015-09-11 13:47:53 UTC) #6
egdaniel
On 2015/09/11 13:47:53, bsalomon wrote: > lgtm but do we have good GM coverage? we ...
5 years, 3 months ago (2015-09-11 13:57:30 UTC) #7
egdaniel
added a gm
5 years, 3 months ago (2015-09-14 13:58:18 UTC) #8
bsalomon
https://codereview.chromium.org/1313623002/diff/80001/gm/lcdblendmodes.cpp File gm/lcdblendmodes.cpp (right): https://codereview.chromium.org/1313623002/diff/80001/gm/lcdblendmodes.cpp#newcode101 gm/lcdblendmodes.cpp:101: canvas->drawText(string.c_str(), string.size(), 0, y, paint); should we have a ...
5 years, 3 months ago (2015-09-14 14:32:45 UTC) #9
robertphillips
https://codereview.chromium.org/1313623002/diff/80001/gm/lcdblendmodes.cpp File gm/lcdblendmodes.cpp (right): https://codereview.chromium.org/1313623002/diff/80001/gm/lcdblendmodes.cpp#newcode8 gm/lcdblendmodes.cpp:8: This doesn't seem correct ? https://codereview.chromium.org/1313623002/diff/80001/gm/lcdblendmodes.cpp#newcode13 gm/lcdblendmodes.cpp:13: #include "SkCanvas.h" ...
5 years, 3 months ago (2015-09-14 16:04:14 UTC) #10
egdaniel
Cleaned up gm, and added a gradient variation as well https://codereview.chromium.org/1313623002/diff/80001/gm/lcdblendmodes.cpp File gm/lcdblendmodes.cpp (right): https://codereview.chromium.org/1313623002/diff/80001/gm/lcdblendmodes.cpp#newcode8 ...
5 years, 3 months ago (2015-09-15 14:26:11 UTC) #11
robertphillips
I think you're good to go.
5 years, 3 months ago (2015-09-15 14:34:41 UTC) #12
bsalomon
lgtm
5 years, 3 months ago (2015-09-15 14:47:47 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313623002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313623002/120001
5 years, 3 months ago (2015-09-15 16:16:25 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/3253)
5 years, 3 months ago (2015-09-15 16:17:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313623002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313623002/160001
5 years, 3 months ago (2015-09-15 16:25:49 UTC) #21
commit-bot: I haz the power
5 years, 3 months ago (2015-09-15 16:31:43 UTC) #22
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://skia.googlesource.com/skia/+/723b0501e22373bb3e6c306daaceae02cda8a124

Powered by Google App Engine
This is Rietveld 408576698