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

Issue 1865143002: Fix lazy coding in ViaSingletonPictures. (Closed)

Created:
4 years, 8 months ago by mtklein_C
Modified:
4 years, 8 months ago
Reviewers:
mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Fix lazy coding in ViaSingletonPictures. I was using SkRect::MakeLargest() as bounds, which is sort of nutso, as that clearly is way out of bounds for how big a picture can feasibly be, i.e. something closer to SkIRect::MakeLargest(). This was causing spurious quick rejects in drawPatch(). I didn't really look much deeper to figure out why. It's easy enough to just feed it the proper bounds of the entire content. This means patch_primitive draws correctly in sp-8888 mode. I also noticed the GM was too small... it clipped off most of its content. So I've made it larger. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1865143002 Committed: https://skia.googlesource.com/skia/+/11064dfeb49daa64bd4e539284b9a6d1b78d6e5e

Patch Set 1 #

Patch Set 2 : cast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -64 lines) Patch
M dm/DMSrcSink.cpp View 1 3 chunks +3 lines, -1 line 0 comments Download
M gm/patch.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tools/dm_flags.json View 15 chunks +0 lines, -60 lines 0 comments Download
M tools/dm_flags.py View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1865143002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1865143002/1
4 years, 8 months ago (2016-04-06 21:46:42 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/7698)
4 years, 8 months ago (2016-04-06 21:49:54 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1865143002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1865143002/20001
4 years, 8 months ago (2016-04-06 21:52:03 UTC) #8
mtklein
lgtm
4 years, 8 months ago (2016-04-06 21:58:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1865143002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1865143002/20001
4 years, 8 months ago (2016-04-06 21:58:27 UTC) #13
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 22:02:01 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/11064dfeb49daa64bd4e539284b9a6d1b78d6e5e

Powered by Google App Engine
This is Rietveld 408576698