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

Issue 70473003: switch GatherPixelRefs to use SkBaseDevice instead of SkBitmapDevice (Closed)

Created:
7 years, 1 month ago by reed1
Modified:
7 years, 1 month ago
Reviewers:
scroggo, robertphillips
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

switch GatherPixelRefs to use SkBaseDevice instead of SkBitmapDevice BUG= R=robertphillips@google.com, scroggo@google.com Committed: https://code.google.com/p/skia/source/detail?r=12259

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -54 lines) Patch
M include/core/SkBitmapDevice.h View 1 chunk +0 lines, -7 lines 0 comments Download
M include/core/SkDevice.h View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M include/gpu/SkGpuDevice.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/core/SkBitmapDevice.cpp View 1 chunk +0 lines, -8 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 chunk +0 lines, -7 lines 0 comments Download
M src/utils/SkPictureUtils.cpp View 1 2 3 3 chunks +65 lines, -30 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
reed1
7 years, 1 month ago (2013-11-12 18:15:26 UTC) #1
scroggo
https://codereview.chromium.org/70473003/diff/1/include/core/SkDevice.h File include/core/SkDevice.h (right): https://codereview.chromium.org/70473003/diff/1/include/core/SkDevice.h#newcode88 include/core/SkDevice.h:88: bounds->setXYWH(origin.x(), origin.y(), this->width(), this->height()); Check for NULL or assert? ...
7 years, 1 month ago (2013-11-12 18:21:59 UTC) #2
reed1
I vote to leave the missing newlines missing, just to keep all that crap compact ...
7 years, 1 month ago (2013-11-12 18:33:00 UTC) #3
robertphillips
lgtm - it's a start. https://codereview.chromium.org/70473003/diff/1/src/utils/SkPictureUtils.cpp File src/utils/SkPictureUtils.cpp (right): https://codereview.chromium.org/70473003/diff/1/src/utils/SkPictureUtils.cpp#newcode90 src/utils/SkPictureUtils.cpp:90: // TODO: allow this ...
7 years, 1 month ago (2013-11-12 18:36:24 UTC) #4
scroggo
On 2013/11/12 18:33:00, reed1 wrote: > I vote to leave the missing newlines missing, just ...
7 years, 1 month ago (2013-11-12 18:37:30 UTC) #5
reed1
https://codereview.chromium.org/70473003/diff/80001/src/utils/SkPictureUtils.cpp File src/utils/SkPictureUtils.cpp (right): https://codereview.chromium.org/70473003/diff/80001/src/utils/SkPictureUtils.cpp#newcode49 src/utils/SkPictureUtils.cpp:49: * FIXME: Derive from SkBaseDevice. On 2013/11/12 18:37:31, scroggo ...
7 years, 1 month ago (2013-11-12 21:21:24 UTC) #6
scroggo
https://codereview.chromium.org/70473003/diff/170001/src/utils/SkPictureUtils.cpp File src/utils/SkPictureUtils.cpp (right): https://codereview.chromium.org/70473003/diff/170001/src/utils/SkPictureUtils.cpp#newcode170 src/utils/SkPictureUtils.cpp:170: return SkNEW_ARGS(GatherPixelRefDevice, (width, height, fPRSet)); Does this mean that ...
7 years, 1 month ago (2013-11-12 21:28:48 UTC) #7
reed1
https://codereview.chromium.org/70473003/diff/170001/src/utils/SkPictureUtils.cpp File src/utils/SkPictureUtils.cpp (right): https://codereview.chromium.org/70473003/diff/170001/src/utils/SkPictureUtils.cpp#newcode170 src/utils/SkPictureUtils.cpp:170: return SkNEW_ARGS(GatherPixelRefDevice, (width, height, fPRSet)); On 2013/11/12 21:28:48, scroggo ...
7 years, 1 month ago (2013-11-12 21:37:41 UTC) #8
reed1
ptal
7 years, 1 month ago (2013-11-12 22:05:34 UTC) #9
scroggo
On 2013/11/12 22:05:34, reed1 wrote: > ptal Sorry, I thought I had already approved this. ...
7 years, 1 month ago (2013-11-12 22:10:25 UTC) #10
reed1
7 years, 1 month ago (2013-11-12 22:14:16 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 manually as r12259 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698