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

Issue 2057563002: SkPixmap::setColorSpace (Closed)

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

Description

SkPixmap::setColorSpace BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2057563002

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -1 line) Patch
M include/core/SkImageInfo.h View 1 chunk +4 lines, -0 lines 0 comments Download
M include/core/SkPixmap.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/core/SkImageInfo.cpp View 1 chunk +7 lines, -1 line 0 comments Download
M src/core/SkPixmap.cpp View 1 chunk +4 lines, -0 lines 1 comment Download

Messages

Total messages: 13 (6 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/2057563002/1
4 years, 6 months ago (2016-06-09 13:54:04 UTC) #3
reed1
This crashes on all_bitmap_configs when the backend is PDF. We seem to underflow refcnts of ...
4 years, 6 months ago (2016-06-09 13:59:18 UTC) #5
commit-bot: I haz the power
Dry run: 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/8974)
4 years, 6 months ago (2016-06-09 14:00:55 UTC) #7
reed1
Line 39 in SkImageInfo.cpp seems to be the key. If I comment that out (i.e. ...
4 years, 6 months ago (2016-06-09 14:03:15 UTC) #8
hal.canary
out/Debug/dm --config f16 --src gm -m dstreadshuffle crashes for me.
4 years, 6 months ago (2016-06-09 14:13:44 UTC) #9
reed1
On 2016/06/09 14:13:44, Hal Canary wrote: > out/Debug/dm --config f16 --src gm -m dstreadshuffle > ...
4 years, 6 months ago (2016-06-09 15:28:13 UTC) #10
msarett
4 years, 6 months ago (2016-06-09 17:29:52 UTC) #11
I think this will help:
https://codereview.chromium.org/2052943002

https://codereview.chromium.org/2057563002/diff/1/src/core/SkPixmap.cpp
File src/core/SkPixmap.cpp (right):

https://codereview.chromium.org/2057563002/diff/1/src/core/SkPixmap.cpp#newco...
src/core/SkPixmap.cpp:56: fInfo = fInfo.makeColorSpace(cs);
nit: Could be std::move()?

Powered by Google App Engine
This is Rietveld 408576698