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

Issue 1643873002: allow the caller to specified raster-surface rowbytes (Closed)

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

Description

allow the caller to specified raster-surface rowbytes. along the way, simplify how we copy the surface's bitmap BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1643873002 Committed: https://skia.googlesource.com/skia/+/9cd016e9b63f3827580d5b19a187dbf26b8e1436

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 4

Patch Set 6 : update dox for snapped image rowbytes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -7 lines) Patch
M include/core/SkSurface.h View 1 2 3 4 5 1 chunk +9 lines, -2 lines 0 comments Download
M src/image/SkSurface_Raster.cpp View 1 2 3 5 chunks +21 lines, -5 lines 0 comments Download
M tests/SurfaceTest.cpp View 1 2 3 4 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (11 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/1643873002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1643873002/1
4 years, 10 months ago (2016-01-28 05:02:32 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-28 05:12:54 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1643873002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1643873002/60001
4 years, 10 months ago (2016-01-29 02:01:12 UTC) #7
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
4 years, 10 months ago (2016-01-29 02:01:13 UTC) #8
reed1
ptal
4 years, 10 months ago (2016-01-29 02:57:31 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1643873002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1643873002/80001
4 years, 10 months ago (2016-01-29 02:57:37 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-29 03:18:57 UTC) #15
lsalzman1
lgtm This will allow us to clear up at least one of our inter-op issues ...
4 years, 10 months ago (2016-01-29 04:40:40 UTC) #16
bsalomon
lgtm, two q's inline https://codereview.chromium.org/1643873002/diff/80001/src/image/SkSurface_Raster.cpp File src/image/SkSurface_Raster.cpp (right): https://codereview.chromium.org/1643873002/diff/80001/src/image/SkSurface_Raster.cpp#newcode193 src/image/SkSurface_Raster.cpp:193: SkAutoTUnref<SkPixelRef> pr(SkMallocPixelRef::NewZeroed(info, rowBytes, nullptr)); Does ...
4 years, 10 months ago (2016-01-29 13:59:25 UTC) #17
bsalomon
lgtm, two q's inline https://codereview.chromium.org/1643873002/diff/80001/src/image/SkSurface_Raster.cpp File src/image/SkSurface_Raster.cpp (right): https://codereview.chromium.org/1643873002/diff/80001/src/image/SkSurface_Raster.cpp#newcode193 src/image/SkSurface_Raster.cpp:193: SkAutoTUnref<SkPixelRef> pr(SkMallocPixelRef::NewZeroed(info, rowBytes, nullptr)); Does ...
4 years, 10 months ago (2016-01-29 13:59:25 UTC) #18
reed1
https://codereview.chromium.org/1643873002/diff/80001/src/image/SkSurface_Raster.cpp File src/image/SkSurface_Raster.cpp (right): https://codereview.chromium.org/1643873002/diff/80001/src/image/SkSurface_Raster.cpp#newcode193 src/image/SkSurface_Raster.cpp:193: SkAutoTUnref<SkPixelRef> pr(SkMallocPixelRef::NewZeroed(info, rowBytes, nullptr)); On 2016/01/29 13:59:25, bsalomon wrote: ...
4 years, 10 months ago (2016-01-30 00:52:48 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1643873002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1643873002/100001
4 years, 10 months ago (2016-01-30 00:53:13 UTC) #22
commit-bot: I haz the power
4 years, 10 months ago (2016-01-30 18:01:09 UTC) #24
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://skia.googlesource.com/skia/+/9cd016e9b63f3827580d5b19a187dbf26b8e1436

Powered by Google App Engine
This is Rietveld 408576698