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

Issue 732723004: Make sure pictures draw Clears even when the clip is empty. (Closed)

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

Description

Make sure pictures draw Clears even when the clip is empty. We fix this by rewriting empty queries to very tiny queries, which will certainly hit ops that span the entire picture (like Clear) and hopefully not much more. (This doesn't quite work in the full cull rect world if [0,0,ε,ε] doesn't overlap the picture. Let's cross that bridge when we get there.) BUG=432991 Committed: https://skia.googlesource.com/skia/+/7cc1a34fbf5506e3a9e6834f0dcd988aa7c94084

Patch Set 1 #

Patch Set 2 : Fix in SkRecordDraw instead #

Patch Set 3 : rebase again #

Patch Set 4 : only if empty #

Total comments: 1

Patch Set 5 : Decouple #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -3 lines) Patch
M src/core/SkRecordDraw.cpp View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M tests/PictureBBHTest.cpp View 1 2 3 4 2 chunks +34 lines, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
mtklein_C
C.f. https://code.google.com/p/chromium/issues/detail?id=432991, #23-#30. I'm not convinced this is actually related to the underlying bug there, ...
6 years, 1 month ago (2014-11-19 21:59:45 UTC) #2
Justin Novosad
https://codereview.chromium.org/732723004/diff/60001/src/core/SkRecordDraw.cpp File src/core/SkRecordDraw.cpp (right): https://codereview.chromium.org/732723004/diff/60001/src/core/SkRecordDraw.cpp#newcode29 src/core/SkRecordDraw.cpp:29: query = SkRect::MakeWH(SK_ScalarNearlyZero, SK_ScalarNearlyZero); Having content at 0,0 is ...
6 years, 1 month ago (2014-11-19 22:22:26 UTC) #3
mtklein
> Having content at 0,0 is common, if you positioned the rectangle at a far ...
6 years, 1 month ago (2014-11-19 23:07:26 UTC) #4
Justin Novosad
lgtm
6 years, 1 month ago (2014-11-19 23:30:55 UTC) #5
mtklein
On 2014/11/19 23:30:55, junov wrote: > lgtm So, after we realized that the problem was ...
6 years, 1 month ago (2014-11-20 15:46:25 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/732723004/80001
6 years, 1 month ago (2014-11-20 15:52:07 UTC) #8
commit-bot: I haz the power
6 years, 1 month ago (2014-11-20 16:01:14 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/7cc1a34fbf5506e3a9e6834f0dcd988aa7c94084

Powered by Google App Engine
This is Rietveld 408576698