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

Issue 1266883002: unify pixelref and image ID space, so we can share IDs when we share pixels (Closed)

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

Description

unify pixelref and image ID space, so we can share IDs when we share pixels I view this as a performance opportunity, not a feature or bug fix per-se. BUG=skia: Committed: https://skia.googlesource.com/skia/+/80c772b2a46aea7efe0632e580fbc8233ff2a190

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -43 lines) Patch
M include/core/SkImage.h View 1 1 chunk +1 line, -10 lines 0 comments Download
A src/core/SkNextID.h View 1 chunk +21 lines, -0 lines 0 comments Download
M src/core/SkPixelRef.cpp View 2 chunks +8 lines, -7 lines 0 comments Download
M src/image/SkImage.cpp View 1 3 chunks +10 lines, -11 lines 0 comments Download
M src/image/SkImage_Base.h View 1 chunk +6 lines, -2 lines 0 comments Download
M src/image/SkImage_Gpu.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/image/SkImage_Gpu.cpp View 4 chunks +8 lines, -6 lines 0 comments Download
M src/image/SkImage_Raster.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M src/image/SkSurface_Gpu.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/ImageTest.cpp View 1 1 chunk +86 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
reed1
will add tests to assert that we we create an image from an immutable bitmap, ...
5 years, 4 months ago (2015-07-30 19:56:02 UTC) #2
f(malita)
lgtm https://codereview.chromium.org/1266883002/diff/1/include/core/SkImage.h File include/core/SkImage.h (right): https://codereview.chromium.org/1266883002/diff/1/include/core/SkImage.h#newcode289 include/core/SkImage.h:289: fUniqueID(uniqueID ? uniqueID : NextUniqueID()) { Nit: since ...
5 years, 4 months ago (2015-07-30 20:24:26 UTC) #3
reed1
https://codereview.chromium.org/1266883002/diff/1/include/core/SkImage.h File include/core/SkImage.h (right): https://codereview.chromium.org/1266883002/diff/1/include/core/SkImage.h#newcode289 include/core/SkImage.h:289: fUniqueID(uniqueID ? uniqueID : NextUniqueID()) { On 2015/07/30 20:24:26, ...
5 years, 4 months ago (2015-07-30 21:17:08 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1266883002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1266883002/20001
5 years, 4 months ago (2015-07-30 21:17:50 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-07-30 21:25:15 UTC) #8
bsalomon
lgtm
5 years, 4 months ago (2015-07-30 21:54:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1266883002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1266883002/20001
5 years, 4 months ago (2015-07-31 01:57:50 UTC) #12
commit-bot: I haz the power
5 years, 4 months ago (2015-07-31 01:58:27 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/80c772b2a46aea7efe0632e580fbc8233ff2a190

Powered by Google App Engine
This is Rietveld 408576698