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

Issue 14263017: Cleanup: Removing unnecessary args/complexity in SkSurface_Base and friends (Closed)

Created:
7 years, 8 months ago by Justin Novosad
Modified:
7 years, 8 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Cleanup: Removing unnecessary args/complexity in SkSurface_Base and friends Committed: https://code.google.com/p/skia/source/detail?r=8708

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -23 lines) Patch
M src/core/SkCanvas.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/image/SkSurface.cpp View 1 2 3 4 5 6 7 2 chunks +8 lines, -8 lines 0 comments Download
M src/image/SkSurface_Base.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/image/SkSurface_Gpu.cpp View 2 chunks +7 lines, -6 lines 0 comments Download
M src/image/SkSurface_Picture.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/image/SkSurface_Raster.cpp View 2 chunks +6 lines, -4 lines 0 comments Download
M tests/SurfaceTest.cpp View 1 2 3 4 5 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Justin Novosad
PTAL
7 years, 8 months ago (2013-04-15 18:40:40 UTC) #1
Justin Novosad
On 2013/04/15 18:40:40, junov wrote: > PTAL Context: In a WIP CL I encountered a ...
7 years, 8 months ago (2013-04-15 18:44:36 UTC) #2
reed1
I think removing unused parameters is probably fine, but I don't understand all of the ...
7 years, 8 months ago (2013-04-15 18:56:33 UTC) #3
Justin Novosad
New Patch. https://codereview.chromium.org/14263017/diff/1/src/image/SkSurface.cpp File src/image/SkSurface.cpp (right): https://codereview.chromium.org/14263017/diff/1/src/image/SkSurface.cpp#newcode64 src/image/SkSurface.cpp:64: On 2013/04/15 18:56:33, reed1 wrote: > How ...
7 years, 8 months ago (2013-04-15 19:08:57 UTC) #4
Justin Novosad
I think the assumptions are clearer in the new version of SkSurface.cpp by putting the ...
7 years, 8 months ago (2013-04-16 15:02:42 UTC) #5
reed1
https://codereview.chromium.org/14263017/diff/3002/src/image/SkSurface.cpp File src/image/SkSurface.cpp (right): https://codereview.chromium.org/14263017/diff/3002/src/image/SkSurface.cpp#newcode69 src/image/SkSurface.cpp:69: SkASSERT(fCachedCanvas); // Can't have a cached image without a ...
7 years, 8 months ago (2013-04-16 15:31:23 UTC) #6
Justin Novosad
Patch.
7 years, 8 months ago (2013-04-16 15:38:05 UTC) #7
Justin Novosad
New Patch. Added unit tests
7 years, 8 months ago (2013-04-16 15:52:43 UTC) #8
reed1
https://codereview.chromium.org/14263017/diff/13004/src/image/SkSurface.cpp File src/image/SkSurface.cpp (right): https://codereview.chromium.org/14263017/diff/13004/src/image/SkSurface.cpp#newcode65 src/image/SkSurface.cpp:65: if (NULL == fCachedImage || NULL == fCachedCanvas) { ...
7 years, 8 months ago (2013-04-16 16:04:14 UTC) #9
Justin Novosad
https://codereview.chromium.org/14263017/diff/13004/src/image/SkSurface.cpp File src/image/SkSurface.cpp (right): https://codereview.chromium.org/14263017/diff/13004/src/image/SkSurface.cpp#newcode65 src/image/SkSurface.cpp:65: if (NULL == fCachedImage || NULL == fCachedCanvas) { ...
7 years, 8 months ago (2013-04-16 18:11:47 UTC) #10
reed1
7 years, 8 months ago (2013-04-16 19:39:15 UTC) #11
lgtm

Powered by Google App Engine
This is Rietveld 408576698