Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2543)

Issue 6419044: Remove Bitmaps Raw Pixel Support. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by DerekS
Modified:
12 years, 4 months ago
Reviewers:
TomH, junov1, reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Remove Bitmaps Raw Pixel Support. bitmap.setPixels(...) now creates a mutable pixelRef instead of just setting fPixels.

Patch Set 1 #

Patch Set 2 : updated malloc pixel ref #

Total comments: 5

Patch Set 3 : fixes in response to comments #

Patch Set 4 : updated variable name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -77 lines) Patch
M include/core/SkBitmap.h View 1 2 3 chunks +6 lines, -10 lines 0 comments Download
M include/core/SkMallocPixelRef.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M src/core/SkBitmap.cpp View 9 chunks +8 lines, -63 lines 0 comments Download
M src/core/SkMallocPixelRef.cpp View 1 2 3 2 chunks +7 lines, -2 lines 0 comments Download
M src/core/SkPixelRef.cpp View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 5
DerekS
Here is a new CL to address step 1 of the changes I outlined in ...
12 years, 5 months ago (2012-07-18 14:01:44 UTC) #1
reed1
http://codereview.appspot.com/6419044/diff/3001/src/core/SkMallocPixelRef.cpp File src/core/SkMallocPixelRef.cpp (right): http://codereview.appspot.com/6419044/diff/3001/src/core/SkMallocPixelRef.cpp#newcode13 src/core/SkMallocPixelRef.cpp:13: SkColorTable* ctable, bool managePixels) { As written, if I ...
12 years, 5 months ago (2012-07-18 16:13:37 UTC) #2
TomH
http://codereview.appspot.com/6419044/diff/3001/include/core/SkBitmap.h File include/core/SkBitmap.h (right): http://codereview.appspot.com/6419044/diff/3001/include/core/SkBitmap.h#newcode363 include/core/SkBitmap.h:363: /** Returns a non-zero, unique value corresponding to the ...
12 years, 5 months ago (2012-07-19 19:06:26 UTC) #3
DerekS
http://codereview.appspot.com/6419044/diff/3001/include/core/SkBitmap.h File include/core/SkBitmap.h (right): http://codereview.appspot.com/6419044/diff/3001/include/core/SkBitmap.h#newcode363 include/core/SkBitmap.h:363: /** Returns a non-zero, unique value corresponding to the ...
12 years, 4 months ago (2012-07-23 12:47:31 UTC) #4
junov1
12 years, 4 months ago (2012-07-23 14:07:24 UTC) #5
Suggestion: managePixels -> ownPixels

IMHO: The term manage usually implies more than just being responsible for
releasing a resource.

lgtm
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b