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

Issue 666253003: When tracking regions, treat sub-pixel areas as belonging to the region. (Closed)

Created:
6 years, 2 months ago by Sergey
Modified:
6 years, 1 month ago
Reviewers:
zino, Justin Novosad
CC:
blink-reviews, krit, Rik, jbroman, mkwst+moarreviews_chromium.org, pdr+graphicswatchlist_chromium.org, Stephen Chennney, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

When tracking regions, treat sub-pixel areas as belonging to the region. It is critical to display list canvases, due to the fact, that we fallback from rendering on impl thread, when the canvas is not fully redrawn inside each frame. On Browsermark 2 it is actually messed up due to floating point rounding. The area in SkScalar is {0.00061, 0.00061, 1599.99997, 999.99998}, rounded down to {1,1,1599,999} and the entire canvas area seems to be not redrawn. BUG=386601 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184327

Patch Set 1 #

Patch Set 2 : Adjusting to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -7 lines) Patch
M Source/platform/graphics/RegionTracker.cpp View 1 1 chunk +9 lines, -7 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
Sergey
Junov, PTAL. This actually fixes Browsermark from falling back on display list canvases. I've also ...
6 years, 2 months ago (2014-10-22 02:35:45 UTC) #2
zino
Looks reasonable to me. non-owner lgtm.
6 years, 2 months ago (2014-10-22 04:56:19 UTC) #4
Justin Novosad
On 2014/10/22 04:56:19, zino wrote: > Looks reasonable to me. > > non-owner lgtm. Thank ...
6 years, 1 month ago (2014-10-22 14:49:53 UTC) #5
danakj
On 2014/10/22 14:49:53, junov wrote: > On 2014/10/22 04:56:19, zino wrote: > > Looks reasonable ...
6 years, 1 month ago (2014-10-22 14:57:34 UTC) #6
Justin Novosad
On 2014/10/22 14:57:34, danakj wrote: > On 2014/10/22 14:49:53, junov wrote: > > On 2014/10/22 ...
6 years, 1 month ago (2014-10-22 15:02:14 UTC) #7
Sergey
On 2014/10/22 14:49:53, junov wrote: > On 2014/10/22 04:56:19, zino wrote: > > Looks reasonable ...
6 years, 1 month ago (2014-10-23 03:12:25 UTC) #8
Justin Novosad
Ok, let me add some clarity. In the case of the display list 2D canvas ...
6 years, 1 month ago (2014-10-23 03:44:58 UTC) #9
Sergey
On 2014/10/23 03:44:58, junov wrote: > Ok, let me add some clarity. > > In ...
6 years, 1 month ago (2014-10-23 04:45:41 UTC) #10
Sergey
On 2014/10/22 14:49:53, junov wrote: > I think something like this would be more appropriate: ...
6 years, 1 month ago (2014-10-23 07:32:04 UTC) #11
Justin Novosad
On 2014/10/23 07:32:04, Sergey wrote: > On 2014/10/22 14:49:53, junov wrote: > > I think ...
6 years, 1 month ago (2014-10-23 14:29:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/666253003/20001
6 years, 1 month ago (2014-10-24 02:00:15 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_chromium_gn_rel/builds/14692)
6 years, 1 month ago (2014-10-24 02:13:03 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/666253003/20001
6 years, 1 month ago (2014-10-24 04:29:41 UTC) #18
commit-bot: I haz the power
6 years, 1 month ago (2014-10-24 05:09:10 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 184327

Powered by Google App Engine
This is Rietveld 408576698