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

Issue 1363913002: Remove SkBitmapSource (Closed)

Created:
5 years, 3 months ago by f(malita)
Modified:
5 years, 2 months ago
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Remove SkBitmapSource To avoid breaking existing SKPs, add a deserialization stub which unflattens SkBitmapSource records to SkImageSources. R=reed@google.com,mtklein@google.com,robertphillips@google.com Committed: https://skia.googlesource.com/skia/+/2f5891ea6460675b3c8d08684e1fa8b239bc0a14

Patch Set 1 #

Total comments: 2

Patch Set 2 : review comments #

Total comments: 2

Patch Set 3 : immutable bitmap #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -296 lines) Patch
M bench/LightingBench.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M gm/bigtileimagefilter.cpp View 5 chunks +17 lines, -17 lines 0 comments Download
D gm/bitmapsource.cpp View 1 chunk +0 lines, -77 lines 0 comments Download
M gm/colorcube.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M gm/filterfastbounds.cpp View 2 chunks +11 lines, -10 lines 0 comments Download
M gm/imagefilterscropped.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M gm/imagefilterstransformed.cpp View 1 4 chunks +33 lines, -27 lines 0 comments Download
M gyp/effects.gypi View 2 chunks +0 lines, -2 lines 0 comments Download
M gyp/utils.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M include/core/SkBitmap.h View 1 chunk +0 lines, -1 line 0 comments Download
M include/core/SkPicture.h View 1 chunk +3 lines, -0 lines 0 comments Download
D include/effects/SkBitmapSource.h View 1 chunk +0 lines, -45 lines 0 comments Download
D src/effects/SkBitmapSource.cpp View 1 chunk +0 lines, -110 lines 0 comments Download
M src/ports/SkGlobalInitialization_chromium.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/ports/SkGlobalInitialization_default.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
A src/utils/SkBitmapSourceDeserializer.h View 1 chunk +21 lines, -0 lines 0 comments Download
A src/utils/SkBitmapSourceDeserializer.cpp View 1 2 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (12 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/1363913002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1363913002/1
5 years, 3 months ago (2015-09-23 12:27:54 UTC) #2
f(malita)
Blink/Chromium have been converted to SkImageSource. I don't think this is used by Android at ...
5 years, 3 months ago (2015-09-23 12:31:08 UTC) #4
tomhudson
https://cs.corp.google.com/#android/ doesn't have any hits for SkBitmapSource outside of external/skia/, so if it's used it's ...
5 years, 3 months ago (2015-09-23 13:30:37 UTC) #5
tomhudson
lgtm https://codereview.chromium.org/1363913002/diff/1/gm/imagefilterstransformed.cpp File gm/imagefilterstransformed.cpp (right): https://codereview.chromium.org/1363913002/diff/1/gm/imagefilterstransformed.cpp#newcode97 gm/imagefilterstransformed.cpp:97: static SkImage* MakeGradientCircle(int width, int height) { Nit: ...
5 years, 3 months ago (2015-09-23 13:46:33 UTC) #7
f(malita)
https://codereview.chromium.org/1363913002/diff/1/gm/imagefilterstransformed.cpp File gm/imagefilterstransformed.cpp (right): https://codereview.chromium.org/1363913002/diff/1/gm/imagefilterstransformed.cpp#newcode97 gm/imagefilterstransformed.cpp:97: static SkImage* MakeGradientCircle(int width, int height) { On 2015/09/23 ...
5 years, 3 months ago (2015-09-23 14:11:16 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1363913002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1363913002/20001
5 years, 3 months ago (2015-09-23 14:11:22 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-23 18:35:51 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1363913002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1363913002/20001
5 years, 3 months ago (2015-09-24 21:35:37 UTC) #15
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/2863)
5 years, 3 months ago (2015-09-24 21:36:54 UTC) #17
f(malita)
On 2015/09/24 21:36:54, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 3 months ago (2015-09-24 21:37:50 UTC) #18
reed1
https://codereview.chromium.org/1363913002/diff/20001/src/utils/SkBitmapSourceDeserializer.cpp File src/utils/SkBitmapSourceDeserializer.cpp (right): https://codereview.chromium.org/1363913002/diff/20001/src/utils/SkBitmapSourceDeserializer.cpp#newcode30 src/utils/SkBitmapSourceDeserializer.cpp:30: SkAutoTUnref<SkImage> image(SkImage::NewFromBitmap(bitmap)); 1. do we want to mark the ...
5 years, 2 months ago (2015-09-25 08:30:08 UTC) #19
f(malita)
https://codereview.chromium.org/1363913002/diff/20001/src/utils/SkBitmapSourceDeserializer.cpp File src/utils/SkBitmapSourceDeserializer.cpp (right): https://codereview.chromium.org/1363913002/diff/20001/src/utils/SkBitmapSourceDeserializer.cpp#newcode30 src/utils/SkBitmapSourceDeserializer.cpp:30: SkAutoTUnref<SkImage> image(SkImage::NewFromBitmap(bitmap)); On 2015/09/25 08:30:08, reed1 wrote: > 1. ...
5 years, 2 months ago (2015-09-25 13:32:00 UTC) #20
robertphillips
lgtm % Mike's comments
5 years, 2 months ago (2015-09-25 15:35:50 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1363913002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1363913002/40001
5 years, 2 months ago (2015-09-25 15:50:38 UTC) #23
f(malita)
On 2015/09/25 13:32:00, f(malita) wrote: > https://codereview.chromium.org/1363913002/diff/20001/src/utils/SkBitmapSourceDeserializer.cpp > File src/utils/SkBitmapSourceDeserializer.cpp (right): > > https://codereview.chromium.org/1363913002/diff/20001/src/utils/SkBitmapSourceDeserializer.cpp#newcode30 > ...
5 years, 2 months ago (2015-09-25 15:50:39 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-09-25 15:55:18 UTC) #26
reed1
lgtm
5 years, 2 months ago (2015-09-25 16:14:58 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1363913002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1363913002/40001
5 years, 2 months ago (2015-09-25 16:15:15 UTC) #30
commit-bot: I haz the power
5 years, 2 months ago (2015-09-25 16:16:00 UTC) #31
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/2f5891ea6460675b3c8d08684e1fa8b239bc0a14

Powered by Google App Engine
This is Rietveld 408576698