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

Issue 2069173002: Lots of progress switching to SkColorSpace rather than SkColorProfileType (Closed)

Created:
4 years, 6 months ago by Brian Osman
Modified:
4 years, 6 months ago
Reviewers:
herb_g, msarett, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Lots of progress on switching to SkColorSpace rather than SkColorProfileType Fixed a bunch of code in Ganesh, as well as usage of SkColorProfileType in most of our tools (DM, SampleApp, Viewer, nanobench, skiaserve, HelloWorld). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2069173002 Committed: https://skia.googlesource.com/skia/+/6a61a875467646f8dbc37cfecf49e12d1f475170 Committed: https://skia.googlesource.com/skia/+/b109b8c5ec40a7dd85a0a2951a1f98fa63b805aa

Patch Set 1 #

Patch Set 2 : Compile fix #

Patch Set 3 : More replacement (focused on DM) #

Patch Set 4 : Fix more problems. Back to using nullptr for linear/unspecified #

Patch Set 5 : Rebase #

Patch Set 6 : Fix yet more tools (HelloWorld, Viewer) #

Patch Set 7 : Rebase #

Patch Set 8 : Fix nanobench and skiaserve #

Patch Set 9 : Use new shared sRGB similarity function #

Total comments: 3

Patch Set 10 : Formatting fix #

Patch Set 11 : Fix bad assert #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -134 lines) Patch
M bench/GrMipMapBench.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M bench/nanobench.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M bench/nanobench.cpp View 1 2 3 4 5 6 7 4 chunks +17 lines, -16 lines 0 comments Download
M dm/DM.cpp View 1 2 3 3 chunks +6 lines, -4 lines 0 comments Download
M dm/DMSrcSink.h View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M dm/DMSrcSink.cpp View 1 2 3 4 5 6 7 8 9 10 4 chunks +6 lines, -6 lines 0 comments Download
M example/HelloWorld.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -7 lines 0 comments Download
M include/core/SkBitmap.h View 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkImageInfo.h View 1 2 3 4 1 chunk +5 lines, -3 lines 0 comments Download
M include/core/SkPixelRef.h View 1 chunk +1 line, -1 line 0 comments Download
M include/gpu/SkGr.h View 1 chunk +3 lines, -2 lines 0 comments Download
M include/gpu/SkGrPixelRef.h View 1 chunk +1 line, -2 lines 0 comments Download
M include/views/SkWindow.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M samplecode/SampleApp.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M samplecode/SampleApp.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +11 lines, -8 lines 0 comments Download
M src/core/SkBitmap.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/SkGr.cpp View 1 2 3 4 5 6 7 8 9 10 5 chunks +11 lines, -8 lines 0 comments Download
M src/gpu/SkGrPixelRef.cpp View 6 chunks +6 lines, -7 lines 0 comments Download
M src/image/SkImage_Gpu.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M src/views/SkWindow.cpp View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M tests/ReadPixelsTest.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tests/TestConfigParsing.cpp View 1 2 3 4 chunks +9 lines, -12 lines 0 comments Download
M tools/flags/SkCommonFlagsConfig.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M tools/flags/SkCommonFlagsConfig.cpp View 1 2 3 5 chunks +9 lines, -9 lines 0 comments Download
M tools/picture_utils.cpp View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M tools/skiaserve/Request.cpp View 1 2 3 4 5 6 7 3 chunks +8 lines, -6 lines 0 comments Download
M tools/viewer/Viewer.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -3 lines 0 comments Download
M tools/viewer/sk_app/DisplayParams.h View 1 2 3 4 5 1 chunk +5 lines, -5 lines 0 comments Download
M tools/viewer/sk_app/GLWindowContext.cpp View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M tools/viewer/sk_app/VulkanWindowContext.cpp View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M tools/viewer/sk_app/WindowContext.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M tools/viewer/sk_app/android/GLWindowContext_android.cpp View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M tools/viewer/sk_app/android/RasterWindowContext_android.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 31 (17 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/2069173002/120001
4 years, 6 months ago (2016-06-16 14:05:30 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-16 14:19:21 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/2069173002/160001
4 years, 6 months ago (2016-06-16 14:56:06 UTC) #8
Brian Osman
https://codereview.chromium.org/2069173002/diff/160001/samplecode/SampleApp.cpp File samplecode/SampleApp.cpp (right): https://codereview.chromium.org/2069173002/diff/160001/samplecode/SampleApp.cpp#newcode51 samplecode/SampleApp.cpp:51: bool fSRGB; Not using sk_sp<SkColorSpace> here to avoid static ...
4 years, 6 months ago (2016-06-16 15:15:06 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-16 15:46:16 UTC) #13
msarett
Woo this is awesome! Thanks Brian for taking this on! LGTM https://codereview.chromium.org/2069173002/diff/160001/example/HelloWorld.cpp File example/HelloWorld.cpp (right): ...
4 years, 6 months ago (2016-06-16 15:56:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2069173002/180001
4 years, 6 months ago (2016-06-16 16:41:39 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/10479)
4 years, 6 months ago (2016-06-16 16:43:50 UTC) #19
reed1
lgtm
4 years, 6 months ago (2016-06-16 18:08:15 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2069173002/180001
4 years, 6 months ago (2016-06-16 18:08:40 UTC) #22
commit-bot: I haz the power
Committed patchset #10 (id:180001) as https://skia.googlesource.com/skia/+/6a61a875467646f8dbc37cfecf49e12d1f475170
4 years, 6 months ago (2016-06-16 18:10:07 UTC) #24
Brian Osman
A revert of this CL (patchset #10 id:180001) has been created in https://codereview.chromium.org/2072813002/ by brianosman@google.com. ...
4 years, 6 months ago (2016-06-16 18:41:17 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2069173002/200001
4 years, 6 months ago (2016-06-16 19:42:39 UTC) #29
commit-bot: I haz the power
4 years, 6 months ago (2016-06-16 20:03:29 UTC) #31
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://skia.googlesource.com/skia/+/b109b8c5ec40a7dd85a0a2951a1f98fa63b805aa

Powered by Google App Engine
This is Rietveld 408576698