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

Issue 1074983003: add SkPixmap and external locking to bitmaps (Closed)

Created:
5 years, 8 months ago by reed1
Modified:
5 years, 7 months ago
CC:
reviews_skia.org, enne (OOO), reveman
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

add SkPixmap and external locking to bitmaps BUG=skia: Committed: https://skia.googlesource.com/skia/+/92fc2ae58331662ec411a048686cb4801e0a909a

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 8

Patch Set 7 : #

Total comments: 20

Patch Set 8 : rebase - presprite #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : add SkPixmap.cpp #

Patch Set 12 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+556 lines, -205 lines) Patch
M gyp/core.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkBitmap.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -0 lines 0 comments Download
M include/core/SkImageInfo.h View 1 2 3 4 5 2 chunks +17 lines, -0 lines 0 comments Download
M include/core/SkPixelRef.h View 1 2 3 4 5 6 4 chunks +30 lines, -2 lines 0 comments Download
A include/core/SkPixmap.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +152 lines, -0 lines 1 comment Download
M src/core/SkBitmap.cpp View 1 2 3 4 5 6 7 8 9 10 23 chunks +175 lines, -116 lines 0 comments Download
M src/core/SkBitmapScaler.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +64 lines, -53 lines 0 comments Download
M src/core/SkDraw.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -6 lines 0 comments Download
M src/core/SkPixelRef.cpp View 1 2 3 4 5 6 7 8 9 10 4 chunks +76 lines, -13 lines 1 comment Download
A src/core/SkPixmap.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +18 lines, -0 lines 0 comments Download
M src/core/SkWriteBuffer.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -5 lines 0 comments Download
M tests/BitmapCopyTest.cpp View 1 2 3 1 chunk +7 lines, -10 lines 0 comments Download

Messages

Total messages: 30 (10 generated)
reed1
5 years, 8 months ago (2015-04-09 20:57:17 UTC) #2
scroggo
On 2015/04/09 20:57:17, reed1 wrote: Seems like the right track to me.
5 years, 8 months ago (2015-04-10 13:17:44 UTC) #3
enne (OOO)
I think if this only keeps the scaled version locked, then that'd be perfect for ...
5 years, 8 months ago (2015-04-17 17:57:54 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/1074983003/100001
5 years, 7 months ago (2015-05-18 21:25:15 UTC) #6
reed1
5 years, 7 months ago (2015-05-18 21:25:48 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/1074983003/120001
5 years, 7 months ago (2015-05-19 14:56:10 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-19 15:02:13 UTC) #13
scroggo
https://codereview.chromium.org/1074983003/diff/100001/include/core/SkBitmap.h File include/core/SkBitmap.h (right): https://codereview.chromium.org/1074983003/diff/100001/include/core/SkBitmap.h#newcode432 include/core/SkBitmap.h:432: class LockResult { inherit from SkNoncopyable? https://codereview.chromium.org/1074983003/diff/100001/include/core/SkBitmap.h#newcode441 include/core/SkBitmap.h:441: void ...
5 years, 7 months ago (2015-05-19 20:11:42 UTC) #14
reed1
https://codereview.chromium.org/1074983003/diff/100001/include/core/SkImageInfo.h File include/core/SkImageInfo.h (right): https://codereview.chromium.org/1074983003/diff/100001/include/core/SkImageInfo.h#newcode120 include/core/SkImageInfo.h:120: default: return 0; On 2015/05/19 20:11:42, scroggo wrote: > ...
5 years, 7 months ago (2015-05-21 20:02:00 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1074983003/180001
5 years, 7 months ago (2015-05-21 20:03:21 UTC) #17
scroggo
https://codereview.chromium.org/1074983003/diff/100001/include/core/SkImageInfo.h File include/core/SkImageInfo.h (right): https://codereview.chromium.org/1074983003/diff/100001/include/core/SkImageInfo.h#newcode120 include/core/SkImageInfo.h:120: default: return 0; On 2015/05/21 20:02:00, reed1 wrote: > ...
5 years, 7 months ago (2015-05-21 20:20:55 UTC) #18
reed1
https://codereview.chromium.org/1074983003/diff/100001/include/core/SkBitmap.h File include/core/SkBitmap.h (right): https://codereview.chromium.org/1074983003/diff/100001/include/core/SkBitmap.h#newcode432 include/core/SkBitmap.h:432: class LockResult { On 2015/05/19 20:11:41, scroggo wrote: > ...
5 years, 7 months ago (2015-05-21 20:59:36 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1074983003/200001
5 years, 7 months ago (2015-05-21 21:00:15 UTC) #21
reed1
https://codereview.chromium.org/1074983003/diff/100001/include/core/SkImageInfo.h File include/core/SkImageInfo.h (right): https://codereview.chromium.org/1074983003/diff/100001/include/core/SkImageInfo.h#newcode120 include/core/SkImageInfo.h:120: default: return 0; On 2015/05/21 20:20:55, scroggo wrote: > ...
5 years, 7 months ago (2015-05-21 21:19:02 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-21 22:43:29 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1074983003/220001
5 years, 7 months ago (2015-05-22 12:14:07 UTC) #26
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 7 months ago (2015-05-22 12:14:09 UTC) #27
scroggo
lgtm https://codereview.chromium.org/1074983003/diff/120001/src/core/SkBitmap.cpp File src/core/SkBitmap.cpp (right): https://codereview.chromium.org/1074983003/diff/120001/src/core/SkBitmap.cpp#newcode757 src/core/SkBitmap.cpp:757: return; // can't erase. Should we bzero so ...
5 years, 7 months ago (2015-05-22 15:04:14 UTC) #28
commit-bot: I haz the power
Committed patchset #12 (id:220001) as https://skia.googlesource.com/skia/+/92fc2ae58331662ec411a048686cb4801e0a909a
5 years, 7 months ago (2015-05-22 15:06:28 UTC) #29
scroggo
5 years, 7 months ago (2015-05-22 18:42:33 UTC) #30
Message was sent while issue was closed.
Late addition to the review:

https://codereview.chromium.org/1074983003/diff/220001/include/core/SkPixmap.h
File include/core/SkPixmap.h (right):

https://codereview.chromium.org/1074983003/diff/220001/include/core/SkPixmap....
include/core/SkPixmap.h:150: };
Should this be SK_REQUIRE_LOCAL_VAR?

Powered by Google App Engine
This is Rietveld 408576698