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

Issue 978713002: Add constant color GrFP. (Closed)

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

Description

Patch Set 1 #

Total comments: 3

Patch Set 2 : update #

Total comments: 14

Patch Set 3 : rebase #

Patch Set 4 : wrap comment #

Patch Set 5 : SK_OVERRIDE->override #

Patch Set 6 : fix #

Total comments: 7

Patch Set 7 : Address comments, add GM #

Patch Set 8 : change asserts to validates #

Patch Set 9 : Don't produce non-premul colors in TestCreate #

Patch Set 10 : fix #

Patch Set 11 : fix mulAlphaByKnownFourComponents #

Unified diffs Side-by-side diffs Delta from patch set Stats (+501 lines, -3 lines) Patch
A gm/constcolorprocessor.cpp View 1 2 3 4 5 6 1 chunk +197 lines, -0 lines 0 comments Download
M gyp/gmslides.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M gyp/gpu.gypi View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M include/gpu/GrInvariantOutput.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +100 lines, -0 lines 0 comments Download
M include/gpu/SkGr.h View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
A include/gpu/effects/GrConstColorProcessor.h View 1 2 3 4 5 6 1 chunk +64 lines, -0 lines 0 comments Download
M src/gpu/GrProcessor.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
A src/gpu/effects/GrConstColorProcessor.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +133 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
egdaniel
https://codereview.chromium.org/978713002/diff/1/include/gpu/GrInvariantOutput.h File include/gpu/GrInvariantOutput.h (right): https://codereview.chromium.org/978713002/diff/1/include/gpu/GrInvariantOutput.h#newcode134 include/gpu/GrInvariantOutput.h:134: this->updateIsSingleComponent(); at least with what is in the updateISC ...
5 years, 9 months ago (2015-03-04 15:17:03 UTC) #2
bsalomon
https://codereview.chromium.org/978713002/diff/1/include/gpu/GrInvariantOutput.h File include/gpu/GrInvariantOutput.h (right): https://codereview.chromium.org/978713002/diff/1/include/gpu/GrInvariantOutput.h#newcode134 include/gpu/GrInvariantOutput.h:134: this->updateIsSingleComponent(); On 2015/03/04 15:17:03, egdaniel wrote: > at least ...
5 years, 9 months ago (2015-03-04 19:43:36 UTC) #3
egdaniel
https://codereview.chromium.org/978713002/diff/20001/include/gpu/GrInvariantOutput.h File include/gpu/GrInvariantOutput.h (right): https://codereview.chromium.org/978713002/diff/20001/include/gpu/GrInvariantOutput.h#newcode130 include/gpu/GrInvariantOutput.h:130: } else if (0 == color) { we definitely ...
5 years, 9 months ago (2015-03-04 20:22:34 UTC) #4
bsalomon
ptal https://codereview.chromium.org/978713002/diff/20001/include/gpu/GrInvariantOutput.h File include/gpu/GrInvariantOutput.h (right): https://codereview.chromium.org/978713002/diff/20001/include/gpu/GrInvariantOutput.h#newcode130 include/gpu/GrInvariantOutput.h:130: } else if (0 == color) { On ...
5 years, 8 months ago (2015-03-31 19:33:42 UTC) #5
egdaniel
https://codereview.chromium.org/978713002/diff/100001/include/gpu/GrInvariantOutput.h File include/gpu/GrInvariantOutput.h (right): https://codereview.chromium.org/978713002/diff/100001/include/gpu/GrInvariantOutput.h#newcode207 include/gpu/GrInvariantOutput.h:207: GrColor a = GrColorUnpackA(fColor); Maybe we should create some ...
5 years, 8 months ago (2015-03-31 21:02:55 UTC) #6
bsalomon
Addressed comments and added test. https://codereview.chromium.org/978713002/diff/100001/include/gpu/GrInvariantOutput.h File include/gpu/GrInvariantOutput.h (right): https://codereview.chromium.org/978713002/diff/100001/include/gpu/GrInvariantOutput.h#newcode207 include/gpu/GrInvariantOutput.h:207: GrColor a = GrColorUnpackA(fColor); ...
5 years, 8 months ago (2015-04-01 19:54:27 UTC) #7
egdaniel
lgtm with one minor thing. So in ProcOptInfo, every time (in debug) we call processor->computeInvariantOutput(inOut*), ...
5 years, 8 months ago (2015-04-01 20:22:36 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/978713002/180001
5 years, 8 months ago (2015-04-01 21:49:34 UTC) #11
commit-bot: I haz the power
Committed patchset #10 (id:180001) as https://skia.googlesource.com/skia/+/dfbbec436cbcacc3270d4b28357c8393e67d6494
5 years, 8 months ago (2015-04-01 21:55:01 UTC) #12
bsalomon
A revert of this CL (patchset #10 id:180001) has been created in https://codereview.chromium.org/1055023002/ by bsalomon@google.com. ...
5 years, 8 months ago (2015-04-02 15:33:32 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/978713002/200001
5 years, 8 months ago (2015-04-02 18:06:55 UTC) #16
commit-bot: I haz the power
5 years, 8 months ago (2015-04-02 18:12:14 UTC) #17
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://skia.googlesource.com/skia/+/c9c3e62b4ef6ec288549a0ad1d252986d7f0889d

Powered by Google App Engine
This is Rietveld 408576698