Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2052)

Issue 7346044: Added support for non-separable blending modes

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by RikC
Modified:
11 years, 2 months ago
Reviewers:
Steve VanDeBogart, Stephen White, senorblanco, caryclark1;reed, bungeman, reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Added support for non-separable blending modes

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -7 lines) Patch
M gm/xfermodes.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M include/core/SkXfermode.h View 1 2 chunks +9 lines, -5 lines 0 comments Download
M src/core/SkXfermode.cpp View 1 2 3 4 5 3 chunks +234 lines, -0 lines 0 comments Download
M src/pdf/SkPDFGraphicState.cpp View 1 2 3 4 3 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 44
reed1
https://codereview.appspot.com/7346044/diff/1/include/core/SkXfermode.h File include/core/SkXfermode.h (right): https://codereview.appspot.com/7346044/diff/1/include/core/SkXfermode.h#newcode122 include/core/SkXfermode.h:122: I don't see these documented on http://www.w3.org/TR/2009/WD-SVGCompositing-20090430. Can you ...
11 years, 2 months ago (2013-02-20 17:56:02 UTC) #1
Steve VanDeBogart
These modes are directly supported by PDF, please add entries to blend_mode_from_xfermode() in src/pdf/SkPDFGraphicState.cpp
11 years, 2 months ago (2013-02-20 18:11:37 UTC) #2
RikC
On 2013/02/20 18:11:37, Steve VanDeBogart wrote: > These modes are directly supported by PDF, please ...
11 years, 2 months ago (2013-02-20 18:20:32 UTC) #3
RikC
https://codereview.appspot.com/7346044/diff/1/src/core/SkXfermode.cpp File src/core/SkXfermode.cpp (right): https://codereview.appspot.com/7346044/diff/1/src/core/SkXfermode.cpp#newcode434 src/core/SkXfermode.cpp:434: // the non-separable blend modes rely on the following ...
11 years, 2 months ago (2013-02-20 18:20:42 UTC) #4
reed1
On 2013/02/20 18:20:42, RikC wrote: > https://codereview.appspot.com/7346044/diff/1/src/core/SkXfermode.cpp > File src/core/SkXfermode.cpp (right): > > https://codereview.appspot.com/7346044/diff/1/src/core/SkXfermode.cpp#newcode434 > ...
11 years, 2 months ago (2013-02-20 18:26:41 UTC) #5
reed1
include/core/SkColorPriv.h SkComputeLuminance(r, g, b)
11 years, 2 months ago (2013-02-20 18:30:11 UTC) #6
RikC
Added missing blend modes. Also, fixed the multiply blend mode. It was incorrectly using modulate ...
11 years, 2 months ago (2013-02-20 19:42:47 UTC) #7
RikC
On 2013/02/20 18:11:37, Steve VanDeBogart wrote: > These modes are directly supported by PDF, please ...
11 years, 2 months ago (2013-02-20 19:58:24 UTC) #8
Steve VanDeBogart
On 2013/02/20 19:58:24, RikC wrote: > On 2013/02/20 18:11:37, Steve VanDeBogart wrote: > > These ...
11 years, 2 months ago (2013-02-20 20:18:53 UTC) #9
RikC
On 2013/02/20 20:18:53, Steve VanDeBogart wrote: > On 2013/02/20 19:58:24, RikC wrote: > > On ...
11 years, 2 months ago (2013-02-20 20:33:33 UTC) #10
RikC
https://codereview.appspot.com/7346044/diff/8001/src/pdf/SkPDFGraphicState.cpp File src/pdf/SkPDFGraphicState.cpp (right): https://codereview.appspot.com/7346044/diff/8001/src/pdf/SkPDFGraphicState.cpp#newcode49 src/pdf/SkPDFGraphicState.cpp:49: case SkXfermode::kModulate_Mode: On 2013/02/20 20:18:53, Steve VanDeBogart wrote: > ...
11 years, 2 months ago (2013-02-20 20:43:49 UTC) #11
Steve VanDeBogart
On 2013/02/20 20:33:33, RikC wrote: > On 2013/02/20 20:18:53, Steve VanDeBogart wrote: > > On ...
11 years, 2 months ago (2013-02-20 21:06:17 UTC) #12
RikC
On 2013/02/20 21:06:17, Steve VanDeBogart wrote: > On 2013/02/20 20:33:33, RikC wrote: > > On ...
11 years, 2 months ago (2013-02-20 21:24:53 UTC) #13
Steve VanDeBogart
On 2013/02/20 21:24:53, RikC wrote: > On 2013/02/20 21:06:17, Steve VanDeBogart wrote: > > On ...
11 years, 2 months ago (2013-02-20 21:39:55 UTC) #14
RikC
Is there anything else that is needed for this patch?
11 years, 2 months ago (2013-02-22 22:42:26 UTC) #15
Steve VanDeBogart
PDF code LGTM with nit https://codereview.appspot.com/7346044/diff/16001/src/pdf/SkPDFGraphicState.cpp File src/pdf/SkPDFGraphicState.cpp (right): https://codereview.appspot.com/7346044/diff/16001/src/pdf/SkPDFGraphicState.cpp#newcode17 src/pdf/SkPDFGraphicState.cpp:17: case SkXfermode::kModulate_Mode: nit: add ...
11 years, 2 months ago (2013-02-22 22:54:56 UTC) #16
RikC
On 2013/02/22 22:54:56, Steve VanDeBogart wrote: > PDF code LGTM with nit > > https://codereview.appspot.com/7346044/diff/16001/src/pdf/SkPDFGraphicState.cpp ...
11 years, 2 months ago (2013-02-22 23:06:19 UTC) #17
Steve VanDeBogart
https://codereview.appspot.com/7346044/diff/19001/src/pdf/SkPDFGraphicState.cpp File src/pdf/SkPDFGraphicState.cpp (right): https://codereview.appspot.com/7346044/diff/19001/src/pdf/SkPDFGraphicState.cpp#newcode17 src/pdf/SkPDFGraphicState.cpp:17: case SkXfermode::kModulate_Mode: // kModulate is not really like multipy ...
11 years, 2 months ago (2013-02-22 23:10:25 UTC) #18
RikC
https://codereview.appspot.com/7346044/diff/19001/src/pdf/SkPDFGraphicState.cpp File src/pdf/SkPDFGraphicState.cpp (right): https://codereview.appspot.com/7346044/diff/19001/src/pdf/SkPDFGraphicState.cpp#newcode17 src/pdf/SkPDFGraphicState.cpp:17: case SkXfermode::kModulate_Mode: // kModulate is not really like multipy ...
11 years, 2 months ago (2013-02-22 23:35:28 UTC) #19
Steve VanDeBogart
PDF code LGTM. reed1 is on EST, so you probably won't get a final ok ...
11 years, 2 months ago (2013-02-22 23:38:41 UTC) #20
reed1
https://codereview.appspot.com/7346044/diff/22001/src/core/SkXfermode.cpp File src/core/SkXfermode.cpp (right): https://codereview.appspot.com/7346044/diff/22001/src/core/SkXfermode.cpp#newcode435 src/core/SkXfermode.cpp:435: // (See https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#blendingnonseparable) Why not call SkComputeLuminance?
11 years, 2 months ago (2013-02-25 13:57:43 UTC) #21
reed1
Do we already have benchs that exercise each of the xfermodes? These new ones look ...
11 years, 2 months ago (2013-02-25 13:58:53 UTC) #22
RikC
https://codereview.appspot.com/7346044/diff/22001/src/core/SkXfermode.cpp File src/core/SkXfermode.cpp (right): https://codereview.appspot.com/7346044/diff/22001/src/core/SkXfermode.cpp#newcode435 src/core/SkXfermode.cpp:435: // (See https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#blendingnonseparable) On 2013/02/25 13:57:43, reed1 wrote: > ...
11 years, 2 months ago (2013-02-25 17:00:14 UTC) #23
RikC
I'm unsure about that. is that a benchmark suite that skia runs? gm/xfermodes.cpp <https://codereview.appspot.com/7346044/patch/22001/16002> exercises ...
11 years, 2 months ago (2013-02-25 17:01:13 UTC) #24
reed1
The coefficients we use for Luminance are derived from http://www.itu.int/rec/R-REC-BT.709/ Our understanding is that these ...
11 years, 2 months ago (2013-02-25 17:43:47 UTC) #25
RikC
On 2013/02/25 17:43:47, reed1 wrote: > The coefficients we use for Luminance are derived from ...
11 years, 2 months ago (2013-02-25 18:33:00 UTC) #26
Stephen White
On 2013/02/25 18:33:00, RikC wrote: > On 2013/02/25 17:43:47, reed1 wrote: > > The coefficients ...
11 years, 2 months ago (2013-02-25 18:39:48 UTC) #27
RikC
On 2013/02/25 18:39:48, Stephen White wrote: > On 2013/02/25 18:33:00, RikC wrote: > > On ...
11 years, 2 months ago (2013-02-25 18:49:13 UTC) #28
bungeman
On 2013/02/25 18:49:13, RikC wrote: > On 2013/02/25 18:39:48, Stephen White wrote: > > On ...
11 years, 2 months ago (2013-02-25 19:10:54 UTC) #29
RikC
On 2013/02/25 19:10:54, bungeman wrote: > On 2013/02/25 18:49:13, RikC wrote: > > On 2013/02/25 ...
11 years, 2 months ago (2013-02-25 19:25:24 UTC) #30
bungeman
> > > > Yes, the reason to go with 709 in Skia is primarily ...
11 years, 2 months ago (2013-02-25 19:44:48 UTC) #31
RikC
On 2013/02/25 19:44:48, bungeman wrote: > > > > > > Yes, the reason to ...
11 years, 2 months ago (2013-02-25 20:50:09 UTC) #32
reed1
It is unfortunate that this spec has chosen the older values. If that cannot be ...
11 years, 2 months ago (2013-02-25 21:05:23 UTC) #33
RikC
On 2013/02/25 21:05:23, reed1 wrote: > It is unfortunate that this spec has chosen the ...
11 years, 2 months ago (2013-02-25 21:36:48 UTC) #34
RikC
On 2013/02/25 21:05:23, reed1 wrote: > It is unfortunate that this spec has chosen the ...
11 years, 2 months ago (2013-02-26 04:33:51 UTC) #35
reed1
lgtm
11 years, 2 months ago (2013-02-26 13:56:06 UTC) #36
RikC
On 2013/02/26 13:56:06, reed1 wrote: > lgtm Great! Does that mean it will be submitted?
11 years, 2 months ago (2013-02-26 16:53:17 UTC) #37
RikC
On 2013/02/26 13:56:06, reed1 wrote: > lgtm Can it be submitted to the depot? Has ...
11 years, 2 months ago (2013-02-27 16:31:49 UTC) #38
RikC
On 2013/02/27 16:31:49, RikC wrote: > On 2013/02/26 13:56:06, reed1 wrote: > > lgtm > ...
11 years, 2 months ago (2013-03-01 18:12:07 UTC) #39
reed1
Some warnings that need to be fixed (we treat these as errors on some of ...
11 years, 2 months ago (2013-03-04 17:16:27 UTC) #40
reed1
Perhaps you should start a new CL... if you do, it will be hosted by ...
11 years, 2 months ago (2013-03-04 17:17:12 UTC) #41
RikC
On 2013/03/04 17:17:12, reed1 wrote: > Perhaps you should start a new CL... if you ...
11 years, 2 months ago (2013-03-04 17:19:45 UTC) #42
reed1
the chromium part of the URL is a side-effect of us trying to share code. ...
11 years, 2 months ago (2013-03-04 17:27:04 UTC) #43
RikC
11 years, 2 months ago (2013-03-04 18:57:03 UTC) #44
On 2013/03/04 17:27:04, reed1 wrote:
> the chromium part of the URL is a side-effect of us trying to share code. the
CL
> will *not* be part of chrome per-se.
> 
> If you sync, and re-run 'gcl change foo', it should create a new CL with the
new
> backend.

created new cl https://codereview.chromium.org/12393049/
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b