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

Issue 12912008: Check if priority actually changed in Tile::SetPriority() (Closed)

Created:
7 years, 9 months ago by Xianzhu
Modified:
7 years, 9 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Check if priority actually changed in Tile::SetPriority() To prevent unnecessary TileManager::WillModifyTilePriority() calls which blocks ActivatePendingTree(), commits and the whole event queue. BUG=181708 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189543

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -0 lines) Patch
M cc/resources/tile.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M cc/resources/tile_priority.h View 1 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Xianzhu
A question: what's TilePriority::current_screen_quad for? It's set in TilePriority::set_current_screen_quad() but only accessed in TilePriority::AsValue(). Is ...
7 years, 9 months ago (2013-03-20 00:03:39 UTC) #1
Xianzhu
7 years, 9 months ago (2013-03-20 15:58:47 UTC) #2
enne (OOO)
https://codereview.chromium.org/12912008/diff/1/cc/resources/tile.cc File cc/resources/tile.cc (right): https://codereview.chromium.org/12912008/diff/1/cc/resources/tile.cc#newcode49 cc/resources/tile.cc:49: if (priority_[tree] != priority) { style nit: early out ...
7 years, 9 months ago (2013-03-20 17:05:57 UTC) #3
nduca
Should we be addressing the bigger issue of computing priority too often, sometimes?
7 years, 9 months ago (2013-03-20 17:07:51 UTC) #4
Xianzhu
On 2013/03/20 17:07:51, nduca wrote: > Should we be addressing the bigger issue of computing ...
7 years, 9 months ago (2013-03-20 17:24:45 UTC) #5
nduca
> Yes, I think so. Would filing another bug for it work? Yeah totally. Was ...
7 years, 9 months ago (2013-03-20 17:26:13 UTC) #6
brianderson
Does this completely fix 181708? Or is it still possible for animations to prevent activation ...
7 years, 9 months ago (2013-03-20 18:11:25 UTC) #7
Xianzhu
On 2013/03/20 18:11:25, Brian Anderson wrote: > Does this completely fix 181708? Or is it ...
7 years, 9 months ago (2013-03-20 18:38:38 UTC) #8
enne (OOO)
Oh, then this doesn't fix the entire bug. If you manage tiles and nothing gets ...
7 years, 9 months ago (2013-03-20 19:59:57 UTC) #9
Xianzhu
On 2013/03/20 19:59:57, enne wrote: > Oh, then this doesn't fix the entire bug. If ...
7 years, 9 months ago (2013-03-20 20:16:23 UTC) #10
Xianzhu
On 2013/03/20 19:59:57, enne wrote: > Oh, then this doesn't fix the entire bug. If ...
7 years, 9 months ago (2013-03-20 20:38:16 UTC) #11
enne (OOO)
On 2013/03/20 20:38:16, Xianzhu wrote: > On 2013/03/20 19:59:57, enne wrote: > > Oh, then ...
7 years, 9 months ago (2013-03-20 20:55:44 UTC) #12
Xianzhu
On 2013/03/20 20:55:44, enne wrote: > > Can you explain what's causing the hang in ...
7 years, 9 months ago (2013-03-20 21:16:21 UTC) #13
enne (OOO)
Even if there are more fixes to be had, I think this is worth landing, ...
7 years, 9 months ago (2013-03-20 23:28:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/12912008/7002
7 years, 9 months ago (2013-03-20 23:49:34 UTC) #15
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests, content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=125344
7 years, 9 months ago (2013-03-21 02:49:45 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/12912008/7002
7 years, 9 months ago (2013-03-21 03:11:03 UTC) #17
commit-bot: I haz the power
7 years, 9 months ago (2013-03-21 07:10:34 UTC) #18
Message was sent while issue was closed.
Change committed as 189543

Powered by Google App Engine
This is Rietveld 408576698