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

Issue 1934313002: move colorshader into its own .cpp, add color4f variant (Closed)

Created:
4 years, 7 months ago by reed1
Modified:
4 years, 7 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

move colorshader into its own .cpp, add color4f variant Implemented as a different subclass for SkColorShader (which is also private) partly to make the CL clearer/simpler, and partly for flatten/unflatten compatibility. Later I'm sure we could combine these if that proves useful. Lots of TODOs at the moment, but still valuable to get reviewed. Note: this ignores the question (for the moment) about how to interpret SkColor in the larger world. That needs to happen, but this CL is more focused on what *else* to do besides handle the old-style input (and old-style pipeline). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1934313002 Committed: https://skia.googlesource.com/skia/+/0ccc62d4f79809fe20de299ba1fabdf2592ce2e5

Patch Set 1 #

Patch Set 2 : add new subclass for color4f #

Patch Set 3 : add new file #

Patch Set 4 : add gm #

Patch Set 5 : #

Patch Set 6 : register for serialization, amend GM view for future picture expansion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+448 lines, -165 lines) Patch
M gm/color4f.cpp View 1 2 3 4 1 chunk +39 lines, -0 lines 0 comments Download
M gyp/core.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkShader.h View 2 chunks +9 lines, -0 lines 0 comments Download
M samplecode/GMSampleView.cpp View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
M src/core/SkColorShader.h View 1 2 3 4 5 1 chunk +56 lines, -0 lines 0 comments Download
A src/core/SkColorShader.cpp View 1 2 3 4 5 1 chunk +313 lines, -0 lines 0 comments Download
M src/core/SkGlobalInitialization_core.cpp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkShader.cpp View 1 1 chunk +1 line, -165 lines 0 comments Download

Messages

Total messages: 27 (16 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1934313002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1934313002/20001
4 years, 7 months ago (2016-05-02 15:23:29 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/8245) Test-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-Trybot on ...
4 years, 7 months ago (2016-05-02 15:24:39 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1934313002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1934313002/40001
4 years, 7 months ago (2016-05-02 15:25:08 UTC) #8
reed1
4 years, 7 months ago (2016-05-02 15:26:09 UTC) #11
reed1
4 years, 7 months ago (2016-05-02 15:27:48 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-02 15:47:02 UTC) #16
bsalomon
lgtm
4 years, 7 months ago (2016-05-02 18:46:07 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1934313002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1934313002/80001
4 years, 7 months ago (2016-05-04 19:09:14 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/8308)
4 years, 7 months ago (2016-05-04 19:19:24 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1934313002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1934313002/100001
4 years, 7 months ago (2016-05-04 19:53:03 UTC) #25
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 20:09:42 UTC) #27
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://skia.googlesource.com/skia/+/0ccc62d4f79809fe20de299ba1fabdf2592ce2e5

Powered by Google App Engine
This is Rietveld 408576698