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

Issue 485703002: Counterproposal for skirting the BBH when the query fully contains the picture. (Closed)

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

Description

Counterproposal for skirting the BBH when the query fully contains the picture. BUG=skia: Committed: https://skia.googlesource.com/skia/+/3e8232b6ef6b04290f0c280f88b38f8cd2c3f3ec

Patch Set 1 #

Total comments: 4

Patch Set 2 : reed + test #

Patch Set 3 : guard bounds in SkRecordDraw too #

Total comments: 4

Patch Set 4 : explain #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -8 lines) Patch
M src/core/SkPicture.cpp View 1 1 chunk +7 lines, -1 line 0 comments Download
M src/core/SkRecordDraw.cpp View 1 2 3 1 chunk +8 lines, -6 lines 0 comments Download
M tests/PictureTest.cpp View 1 3 chunks +48 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
mtklein
6 years, 4 months ago (2014-08-18 15:15:35 UTC) #1
reed1
new placement seems fine. https://codereview.chromium.org/485703002/diff/1/src/core/SkPicture.cpp File src/core/SkPicture.cpp (right): https://codereview.chromium.org/485703002/diff/1/src/core/SkPicture.cpp#newcode202 src/core/SkPicture.cpp:202: canvas->getClipBounds(&clipBounds); If this returns false, ...
6 years, 4 months ago (2014-08-18 18:48:44 UTC) #2
mtklein
also added a unit test https://codereview.chromium.org/485703002/diff/1/src/core/SkPicture.cpp File src/core/SkPicture.cpp (right): https://codereview.chromium.org/485703002/diff/1/src/core/SkPicture.cpp#newcode202 src/core/SkPicture.cpp:202: canvas->getClipBounds(&clipBounds); On 2014/08/18 18:48:44, ...
6 years, 4 months ago (2014-08-18 19:02:49 UTC) #3
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 4 months ago (2014-08-18 19:10:47 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/485703002/20001
6 years, 4 months ago (2014-08-18 19:10:56 UTC) #5
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 4 months ago (2014-08-18 19:10:58 UTC) #6
reed1
https://codereview.chromium.org/485703002/diff/40001/src/core/SkPicture.cpp File src/core/SkPicture.cpp (right): https://codereview.chromium.org/485703002/diff/40001/src/core/SkPicture.cpp#newcode201 src/core/SkPicture.cpp:201: SkRect clipBounds = { 0, 0, 0, 0 }; ...
6 years, 4 months ago (2014-08-18 19:42:39 UTC) #7
mtklein
https://codereview.chromium.org/485703002/diff/40001/src/core/SkRecordDraw.cpp File src/core/SkRecordDraw.cpp (right): https://codereview.chromium.org/485703002/diff/40001/src/core/SkRecordDraw.cpp#newcode20 src/core/SkRecordDraw.cpp:20: #if 1 // TODO: Why is this the right ...
6 years, 4 months ago (2014-08-18 19:45:24 UTC) #8
reed1
https://codereview.chromium.org/485703002/diff/40001/src/core/SkRecordDraw.cpp File src/core/SkRecordDraw.cpp (right): https://codereview.chromium.org/485703002/diff/40001/src/core/SkRecordDraw.cpp#newcode20 src/core/SkRecordDraw.cpp:20: #if 1 // TODO: Why is this the right ...
6 years, 4 months ago (2014-08-18 19:48:54 UTC) #9
reed1
lgtm w/ better dox for #if/else
6 years, 4 months ago (2014-08-18 19:49:12 UTC) #10
mtklein
On 2014/08/18 19:49:12, reed1 wrote: > lgtm w/ better dox for #if/else Done! Thanks for ...
6 years, 4 months ago (2014-08-18 20:29:56 UTC) #11
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 4 months ago (2014-08-18 20:30:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/485703002/60001
6 years, 4 months ago (2014-08-18 20:31:05 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-08-18 20:39:16 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (60001) as 3e8232b6ef6b04290f0c280f88b38f8cd2c3f3ec

Powered by Google App Engine
This is Rietveld 408576698