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

Issue 129423002: add SkBitmap::installPixelRef() (Closed)

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

Description

add SkBitmap::installPixelRef() BUG= R=scroggo@google.com Committed: https://code.google.com/p/skia/source/detail?r=13055

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -46 lines) Patch
M include/core/SkBitmap.h View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M include/core/SkImageInfo.h View 1 2 3 4 1 chunk +54 lines, -0 lines 0 comments Download
M src/core/SkBitmap.cpp View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
M src/core/SkImageFilterUtils.cpp View 1 2 3 4 1 chunk +2 lines, -8 lines 0 comments Download
M src/core/SkScaledImageCache.cpp View 1 2 3 4 1 chunk +4 lines, -8 lines 0 comments Download
M src/effects/gradients/SkGradientShader.cpp View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M src/image/SkImagePriv.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M src/image/SkImagePriv.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/image/SkImage_Base.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/image/SkImage_Raster.cpp View 1 2 3 chunks +7 lines, -10 lines 0 comments Download
M src/image/SkSurface_Raster.cpp View 1 1 chunk +3 lines, -6 lines 0 comments Download
M src/lazy/SkCachingPixelRef.cpp View 1 chunk +2 lines, -4 lines 0 comments Download
M src/lazy/SkDiscardablePixelRef.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/MallocPixelRefTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/PixelRefTest.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
reed1
sort of close to ready ...
6 years, 11 months ago (2014-01-08 22:48:25 UTC) #1
scroggo
https://codereview.chromium.org/129423002/diff/60001/include/core/SkImageInfo.h File include/core/SkImageInfo.h (right): https://codereview.chromium.org/129423002/diff/60001/include/core/SkImageInfo.h#newcode130 include/core/SkImageInfo.h:130: static SkImageInfo MakePMPremul(int width, int height) { Not a ...
6 years, 11 months ago (2014-01-09 00:02:10 UTC) #2
hal.canary
https://codereview.chromium.org/129423002/diff/60001/src/lazy/SkDiscardablePixelRef.cpp File src/lazy/SkDiscardablePixelRef.cpp (right): https://codereview.chromium.org/129423002/diff/60001/src/lazy/SkDiscardablePixelRef.cpp#newcode87 src/lazy/SkDiscardablePixelRef.cpp:87: || (!dst->setConfig(info, 0))) { Do we need dst->setConfig anymore? ...
6 years, 11 months ago (2014-01-09 13:46:56 UTC) #3
reed1
https://codereview.chromium.org/129423002/diff/60001/include/core/SkImageInfo.h File include/core/SkImageInfo.h (right): https://codereview.chromium.org/129423002/diff/60001/include/core/SkImageInfo.h#newcode130 include/core/SkImageInfo.h:130: static SkImageInfo MakePMPremul(int width, int height) { On 2014/01/09 ...
6 years, 11 months ago (2014-01-13 16:27:25 UTC) #4
scroggo
On 2014/01/13 16:27:25, reed1 wrote: > https://codereview.chromium.org/129423002/diff/60001/include/core/SkImageInfo.h > File include/core/SkImageInfo.h (right): > > https://codereview.chromium.org/129423002/diff/60001/include/core/SkImageInfo.h#newcode130 > ...
6 years, 11 months ago (2014-01-13 16:47:30 UTC) #5
scroggo
https://codereview.chromium.org/129423002/diff/60001/include/core/SkImageInfo.h File include/core/SkImageInfo.h (right): https://codereview.chromium.org/129423002/diff/60001/include/core/SkImageInfo.h#newcode130 include/core/SkImageInfo.h:130: static SkImageInfo MakePMPremul(int width, int height) { On 2014/01/13 ...
6 years, 11 months ago (2014-01-13 17:48:48 UTC) #6
reed1
Committed patchset #5 manually as r13055 (presubmit successful).
6 years, 11 months ago (2014-01-13 20:18:09 UTC) #7
reed1
A revert of this CL has been created in https://codereview.chromium.org/137133003/ by reed@google.com. The reason for ...
6 years, 11 months ago (2014-01-13 20:23:31 UTC) #8
epoger
6 years, 11 months ago (2014-01-13 21:29:31 UTC) #9
Message was sent while issue was closed.
On 2014/01/13 20:23:31, reed1 wrote:
> A revert of this CL has been created in
> https://codereview.chromium.org/137133003/ by mailto:reed@google.com.
> 
> The reason for reverting is: broke tests (compile).

Please consider committing via the commit queue.  It won't catch all build
failures, but it will catch some of them.

As an added bonus, you can use a pure git checkout when using the commit queue! 
See
https://sites.google.com/site/skiadocs/developer-documentation/contributing-c...
for updated step-by-step directions.

Powered by Google App Engine
This is Rietveld 408576698