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

Issue 100723005: Update all callsites to use info for pixelrefs (Closed)

Created:
7 years ago by reed1
Modified:
7 years ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Update all callsites to use info for pixelrefs #define SK_SUPPORT_LEGACY_PIXELREF_CONSTRUCTOR in chrome to keep old API signature (for now) BUG= R=scroggo@google.com Committed: https://code.google.com/p/skia/source/detail?r=12677

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Patch Set 5 : add comments #

Patch Set 6 : address comments #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -221 lines) Patch
M include/core/SkMallocPixelRef.h View 1 chunk +35 lines, -14 lines 0 comments Download
M include/core/SkPixelRef.h View 1 1 chunk +1 line, -1 line 0 comments Download
M include/gpu/GrSurface.h View 2 chunks +3 lines, -0 lines 0 comments Download
M include/gpu/SkGr.h View 1 chunk +1 line, -0 lines 0 comments Download
M include/gpu/SkGrPixelRef.h View 4 chunks +1 line, -5 lines 0 comments Download
M include/images/SkImageRef.h View 2 chunks +1 line, -2 lines 0 comments Download
M include/images/SkImageRef_GlobalPool.h View 1 chunk +1 line, -1 line 0 comments Download
M samplecode/SamplePicture.cpp View 1 chunk +3 lines, -1 line 0 comments Download
src/core/SkBitmap.cpp View 1 2 3 2 chunks +21 lines, -9 lines 0 comments Download
M src/core/SkImageFilterUtils.cpp View 2 chunks +13 lines, -3 lines 0 comments Download
M src/core/SkMallocPixelRef.cpp View 1 2 3 4 chunks +106 lines, -17 lines 0 comments Download
M src/core/SkMaskFilter.cpp View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M src/core/SkPixelRef.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M src/effects/gradients/SkGradientShader.cpp View 2 chunks +7 lines, -7 lines 0 comments Download
M src/gpu/GrSurface.cpp View 1 chunk +10 lines, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 5 chunks +20 lines, -8 lines 0 comments Download
M src/gpu/SkGr.cpp View 1 chunk +30 lines, -0 lines 0 comments Download
M src/gpu/SkGrPixelRef.cpp View 3 chunks +14 lines, -23 lines 0 comments Download
M src/image/SkDataPixelRef.h View 1 chunk +1 line, -1 line 0 comments Download
M src/image/SkDataPixelRef.cpp View 1 chunk +4 lines, -1 line 0 comments Download
M src/image/SkImage_Raster.cpp View 1 chunk +2 lines, -4 lines 0 comments Download
M src/image/SkSurface_Raster.cpp View 1 chunk +3 lines, -13 lines 0 comments Download
M src/images/SkImageRef.cpp View 6 chunks +4 lines, -15 lines 0 comments Download
M src/images/SkImageRef_GlobalPool.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M src/images/SkImageRef_ashmem.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/images/SkImageRef_ashmem.cpp View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M src/lazy/SkCachingPixelRef.h View 1 chunk +2 lines, -4 lines 0 comments Download
M src/lazy/SkCachingPixelRef.cpp View 2 chunks +14 lines, -15 lines 0 comments Download
M src/lazy/SkDiscardablePixelRef.h View 2 chunks +1 line, -5 lines 0 comments Download
M src/lazy/SkDiscardablePixelRef.cpp View 3 chunks +13 lines, -15 lines 0 comments Download
M tests/PictureTest.cpp View 3 chunks +3 lines, -32 lines 0 comments Download
M tests/PixelRefTest.cpp View 1 chunk +13 lines, -11 lines 0 comments Download
M tests/SerializationTest.cpp View 2 chunks +16 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
reed1
should be 1/2 of the rowbytes CL, just including the SkImageInfo parts. My goal is ...
7 years ago (2013-12-13 17:29:46 UTC) #1
reed1
7 years ago (2013-12-13 17:32:32 UTC) #2
scroggo
https://codereview.chromium.org/100723005/diff/40001/src/core/SkMallocPixelRef.cpp File src/core/SkMallocPixelRef.cpp (right): https://codereview.chromium.org/100723005/diff/40001/src/core/SkMallocPixelRef.cpp#newcode12 src/core/SkMallocPixelRef.cpp:12: static bool check_info(const SkImageInfo& info, SkColorTable* ctable) { I ...
7 years ago (2013-12-13 19:17:28 UTC) #3
reed1
https://codereview.chromium.org/100723005/diff/40001/src/core/SkMallocPixelRef.cpp File src/core/SkMallocPixelRef.cpp (right): https://codereview.chromium.org/100723005/diff/40001/src/core/SkMallocPixelRef.cpp#newcode12 src/core/SkMallocPixelRef.cpp:12: static bool check_info(const SkImageInfo& info, SkColorTable* ctable) { On ...
7 years ago (2013-12-13 19:42:30 UTC) #4
reed1
ptal
7 years ago (2013-12-13 19:42:52 UTC) #5
scroggo
On 2013/12/13 19:42:52, reed1 wrote: > ptal lgtm
7 years ago (2013-12-13 19:45:11 UTC) #6
reed1
7 years ago (2013-12-13 19:46:14 UTC) #7
Message was sent while issue was closed.
Committed patchset #7 manually as r12677 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698