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

Issue 295793002: stop calling SkBitmap::flatten (Closed)

Created:
6 years, 7 months ago by reed1
Modified:
6 years, 7 months ago
Reviewers:
hal.canary, scroggo
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

stop calling SkBitmap::flatten BUG=skia: Committed: http://code.google.com/p/skia/source/detail?r=14867

Patch Set 1 #

Total comments: 10

Patch Set 2 : rebase, address review comments #

Patch Set 3 : add rawpixels -- buggy #

Patch Set 4 : less buggy, add colortable support #

Patch Set 5 : #

Total comments: 9

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -52 lines) Patch
M include/core/SkBitmap.h View 1 2 3 4 5 6 4 chunks +13 lines, -0 lines 0 comments Download
M include/core/SkPicture.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M include/core/SkReadBuffer.h View 1 2 3 4 5 2 chunks +7 lines, -1 line 0 comments Download
M src/core/SkBitmap.cpp View 1 2 3 4 5 6 2 chunks +78 lines, -0 lines 0 comments Download
M src/core/SkReadBuffer.cpp View 1 2 3 4 5 6 5 chunks +15 lines, -8 lines 0 comments Download
M src/core/SkValidatingReadBuffer.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M src/core/SkValidatingReadBuffer.cpp View 1 2 3 4 5 6 7 1 chunk +0 lines, -13 lines 0 comments Download
M src/core/SkWriteBuffer.cpp View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M src/effects/SkBitmapSource.cpp View 1 2 chunks +11 lines, -9 lines 0 comments Download
M tests/FlatDataTest.cpp View 1 2 chunks +0 lines, -16 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
reed1
6 years, 7 months ago (2014-05-19 21:28:39 UTC) #1
scroggo
Can we go ahead and remove SkPixelRef::flatten/::unflatten? (Or are you leaving that to its own ...
6 years, 7 months ago (2014-05-20 13:27:50 UTC) #2
reed1
https://codereview.chromium.org/295793002/diff/1/include/core/SkBitmap.h File include/core/SkBitmap.h (right): https://codereview.chromium.org/295793002/diff/1/include/core/SkBitmap.h#newcode703 include/core/SkBitmap.h:703: #ifdef SK_SUPPORT_LEGACY_BITMAPFLATTEN On 2014/05/20 13:27:50, scroggo wrote: > Could ...
6 years, 7 months ago (2014-05-20 17:49:58 UTC) #3
scroggo
On 2014/05/20 17:49:58, reed1 wrote: > https://codereview.chromium.org/295793002/diff/1/include/core/SkBitmap.h > File include/core/SkBitmap.h (right): > > https://codereview.chromium.org/295793002/diff/1/include/core/SkBitmap.h#newcode703 > ...
6 years, 7 months ago (2014-05-20 18:49:45 UTC) #4
reed1
new patchset uploaded
6 years, 7 months ago (2014-05-20 20:04:13 UTC) #5
scroggo
On 2014/05/20 20:04:13, reed1 wrote: > new patchset uploaded 1gtm, once you update stream_to_new_picture() to ...
6 years, 7 months ago (2014-05-20 20:58:22 UTC) #6
reed1
ptal
6 years, 7 months ago (2014-05-20 21:57:41 UTC) #7
scroggo
On 2014/05/20 21:57:41, reed1 wrote: > ptal lgtm. Worth writing tests? Or do you think ...
6 years, 7 months ago (2014-05-21 14:47:49 UTC) #8
scroggo
https://codereview.chromium.org/295793002/diff/80001/src/core/SkBitmap.cpp File src/core/SkBitmap.cpp (right): https://codereview.chromium.org/295793002/diff/80001/src/core/SkBitmap.cpp#newcode1278 src/core/SkBitmap.cpp:1278: char* srcBytes = (char*)storage.get(); srcBytes is confusing here. How ...
6 years, 7 months ago (2014-05-21 14:48:01 UTC) #9
hal.canary
https://codereview.chromium.org/295793002/diff/80001/src/core/SkBitmap.cpp File src/core/SkBitmap.cpp (right): https://codereview.chromium.org/295793002/diff/80001/src/core/SkBitmap.cpp#newcode1295 src/core/SkBitmap.cpp:1295: SkPixelRef* SkBitmap::ReadRawPixels(SkReadBuffer* buffer) { void SkBitmap::WriteRawPixels(SkWriteBuffer* buffer, const SkBitmap& ...
6 years, 7 months ago (2014-05-21 15:18:11 UTC) #10
hal.canary
https://codereview.chromium.org/295793002/diff/80001/src/core/SkBitmap.cpp File src/core/SkBitmap.cpp (right): https://codereview.chromium.org/295793002/diff/80001/src/core/SkBitmap.cpp#newcode1304 src/core/SkBitmap.cpp:1304: const size_t ramRB = info.minRowBytes(); When is ramRB != ...
6 years, 7 months ago (2014-05-21 15:20:29 UTC) #11
reed1
https://codereview.chromium.org/295793002/diff/80001/src/core/SkBitmap.cpp File src/core/SkBitmap.cpp (right): https://codereview.chromium.org/295793002/diff/80001/src/core/SkBitmap.cpp#newcode1278 src/core/SkBitmap.cpp:1278: char* srcBytes = (char*)storage.get(); On 2014/05/21 14:48:01, scroggo wrote: ...
6 years, 7 months ago (2014-05-21 20:33:03 UTC) #12
hal.canary
https://codereview.chromium.org/295793002/diff/80001/src/core/SkBitmap.cpp File src/core/SkBitmap.cpp (right): https://codereview.chromium.org/295793002/diff/80001/src/core/SkBitmap.cpp#newcode1304 src/core/SkBitmap.cpp:1304: const size_t ramRB = info.minRowBytes(); On 2014/05/21 20:33:04, reed1 ...
6 years, 7 months ago (2014-05-21 20:39:49 UTC) #13
scroggo
On 2014/05/21 20:33:03, reed1 wrote: > https://codereview.chromium.org/295793002/diff/80001/src/core/SkBitmap.cpp > File src/core/SkBitmap.cpp (right): > > https://codereview.chromium.org/295793002/diff/80001/src/core/SkBitmap.cpp#newcode1278 > ...
6 years, 7 months ago (2014-05-21 20:42:32 UTC) #14
reed1
The CQ bit was checked by reed@google.com
6 years, 7 months ago (2014-05-23 13:16:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/reed@google.com/295793002/130001
6 years, 7 months ago (2014-05-23 13:16:55 UTC) #16
commit-bot: I haz the power
6 years, 7 months ago (2014-05-23 13:21:59 UTC) #17
Message was sent while issue was closed.
Change committed as 14867

Powered by Google App Engine
This is Rietveld 408576698