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

Issue 736583004: allow pictures to have a full bounds (Closed)

Created:
6 years, 1 month ago by reed1
Modified:
6 years, 1 month ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

allow pictures to have a full bounds BUG=skia: Committed: https://skia.googlesource.com/skia/+/7e76bff26e7c74902841ca4f607eb0b24a833a4a

Patch Set 1 #

Patch Set 2 : #

Total comments: 15

Patch Set 3 : use new roundOut #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -40 lines) Patch
M include/core/SkBBHFactory.h View 3 chunks +4 lines, -4 lines 0 comments Download
M include/core/SkCanvas.h View 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkDevice.h View 2 chunks +7 lines, -0 lines 0 comments Download
M include/core/SkPicture.h View 2 chunks +3 lines, -4 lines 0 comments Download
M include/core/SkPictureRecorder.h View 2 chunks +8 lines, -3 lines 1 comment Download
M samplecode/SampleArc.cpp View 2 chunks +23 lines, -0 lines 1 comment Download
M src/core/SkBBHFactory.cpp View 1 2 1 chunk +9 lines, -4 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 chunks +10 lines, -5 lines 0 comments Download
M src/core/SkCanvasDrawable.cpp View 2 chunks +20 lines, -2 lines 2 comments Download
M src/core/SkPicture.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M src/core/SkPictureRecorder.cpp View 3 chunks +7 lines, -10 lines 0 comments Download
M src/core/SkRecorder.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/core/SkRecorder.cpp View 1 2 1 chunk +6 lines, -2 lines 0 comments Download
M tests/PictureTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (7 generated)
reed1
6 years, 1 month ago (2014-11-18 20:20:20 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/736583004/1
6 years, 1 month ago (2014-11-18 20:20:49 UTC) #4
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 1 month ago (2014-11-18 20:20:50 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/736583004/20001
6 years, 1 month ago (2014-11-18 20:35:35 UTC) #8
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 1 month ago (2014-11-18 20:35:36 UTC) #9
robertphillips
https://codereview.chromium.org/736583004/diff/20001/include/core/SkPicture.h File include/core/SkPicture.h (right): https://codereview.chromium.org/736583004/diff/20001/include/core/SkPicture.h#newcode132 include/core/SkPicture.h:132: */ return "const SkRect&" ? https://codereview.chromium.org/736583004/diff/20001/src/core/SkRecorder.cpp File src/core/SkRecorder.cpp (right): ...
6 years, 1 month ago (2014-11-18 20:51:53 UTC) #11
mtklein
https://codereview.chromium.org/736583004/diff/20001/include/core/SkPicture.h File include/core/SkPicture.h (right): https://codereview.chromium.org/736583004/diff/20001/include/core/SkPicture.h#newcode132 include/core/SkPicture.h:132: */ On 2014/11/18 20:51:53, robertphillips wrote: > return "const ...
6 years, 1 month ago (2014-11-18 21:06:49 UTC) #12
reed1
will update CL tomorrow https://codereview.chromium.org/736583004/diff/20001/include/core/SkPicture.h File include/core/SkPicture.h (right): https://codereview.chromium.org/736583004/diff/20001/include/core/SkPicture.h#newcode132 include/core/SkPicture.h:132: */ On 2014/11/18 21:06:49, mtklein ...
6 years, 1 month ago (2014-11-18 22:05:30 UTC) #13
mtklein
https://codereview.chromium.org/736583004/diff/20001/src/core/SkBBHFactory.cpp File src/core/SkBBHFactory.cpp (right): https://codereview.chromium.org/736583004/diff/20001/src/core/SkBBHFactory.cpp#newcode21 src/core/SkBBHFactory.cpp:21: const int width = SkScalarRoundToInt(bounds.width()); On 2014/11/18 22:05:30, reed1 ...
6 years, 1 month ago (2014-11-18 22:26:12 UTC) #14
reed1
https://codereview.chromium.org/736583004/diff/20001/src/core/SkBBHFactory.cpp File src/core/SkBBHFactory.cpp (right): https://codereview.chromium.org/736583004/diff/20001/src/core/SkBBHFactory.cpp#newcode21 src/core/SkBBHFactory.cpp:21: const int width = SkScalarRoundToInt(bounds.width()); On 2014/11/18 22:26:11, mtklein ...
6 years, 1 month ago (2014-11-19 14:49:16 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/736583004/40001
6 years, 1 month ago (2014-11-19 14:50:45 UTC) #17
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 1 month ago (2014-11-19 14:50:45 UTC) #18
robertphillips
lgtm + nit https://codereview.chromium.org/736583004/diff/40001/include/core/SkPictureRecorder.h File include/core/SkPictureRecorder.h (right): https://codereview.chromium.org/736583004/diff/40001/include/core/SkPictureRecorder.h#newcode45 include/core/SkPictureRecorder.h:45: comment change needed ?
6 years, 1 month ago (2014-11-19 14:57:22 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/7e76bff26e7c74902841ca4f607eb0b24a833a4a
6 years, 1 month ago (2014-11-19 14:59:47 UTC) #20
f(malita)
Post-landing nit. https://codereview.chromium.org/736583004/diff/40001/samplecode/SampleArc.cpp File samplecode/SampleArc.cpp (right): https://codereview.chromium.org/736583004/diff/40001/samplecode/SampleArc.cpp#newcode200 samplecode/SampleArc.cpp:200: if (true) { test_pictbounds(canvas); return; } Disabling ...
6 years, 1 month ago (2014-11-19 15:02:27 UTC) #22
mtklein
https://codereview.chromium.org/736583004/diff/40001/src/core/SkCanvasDrawable.cpp File src/core/SkCanvasDrawable.cpp (right): https://codereview.chromium.org/736583004/diff/40001/src/core/SkCanvasDrawable.cpp#newcode40 src/core/SkCanvasDrawable.cpp:40: draw_bbox(canvas, this->getBounds()); On 2014/11/19 15:02:27, Florin Malita wrote: > ...
6 years, 1 month ago (2014-11-19 15:16:00 UTC) #23
reed1
6 years, 1 month ago (2014-11-19 15:16:09 UTC) #24
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/722043005/ by reed@google.com.

The reason for reverting is: needed to update legacy width() helpers.

Powered by Google App Engine
This is Rietveld 408576698