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

Issue 287553003: cc: Set requires high res upon becoming visible (Closed)

Created:
6 years, 7 months ago by vmpstr
Modified:
6 years, 7 months ago
Reviewers:
danakj, reveman, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

cc: Set requires high res upon becoming visible We should delay setting the flag that we require high res tiles to draw until we become visible. The reason for this is that when invisible, we could still activate which would cause us to reset the high res flag. By delaying setting this until we're visible, we ensure that the flag is active at the earliest time when we kick off the raster system again. BUG=371624 R=enne, reveman Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270209

Patch Set 1 #

Patch Set 2 : update #

Patch Set 3 : +test #

Total comments: 3

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -2 lines) Patch
M cc/trees/layer_tree_host_impl.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
vmpstr
Please take a look.
6 years, 7 months ago (2014-05-13 17:33:52 UTC) #1
reveman
lgtm % enne's review
6 years, 7 months ago (2014-05-13 17:41:10 UTC) #2
danakj
Could we test this?
6 years, 7 months ago (2014-05-13 17:42:32 UTC) #3
vmpstr
On 2014/05/13 17:42:32, danakj wrote: > Could we test this? Of course!
6 years, 7 months ago (2014-05-13 17:42:58 UTC) #4
vmpstr
PTAL. Let me know if you want a more involved test
6 years, 7 months ago (2014-05-13 17:52:10 UTC) #5
danakj
LGTM https://codereview.chromium.org/287553003/diff/40001/cc/trees/layer_tree_host_impl_unittest.cc File cc/trees/layer_tree_host_impl_unittest.cc (right): https://codereview.chromium.org/287553003/diff/40001/cc/trees/layer_tree_host_impl_unittest.cc#newcode5745 cc/trees/layer_tree_host_impl_unittest.cc:5745: can you verify the state of RequiresHighResToDraw before ...
6 years, 7 months ago (2014-05-13 18:14:26 UTC) #6
enne (OOO)
lgtm https://codereview.chromium.org/287553003/diff/40001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/287553003/diff/40001/cc/trees/layer_tree_host_impl.cc#newcode1743 cc/trees/layer_tree_host_impl.cc:1743: active_tree()->SetRequiresHighResToDraw(); I was originally going to suggest that ...
6 years, 7 months ago (2014-05-13 18:21:53 UTC) #7
danakj
https://codereview.chromium.org/287553003/diff/40001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/287553003/diff/40001/cc/trees/layer_tree_host_impl.cc#newcode1743 cc/trees/layer_tree_host_impl.cc:1743: active_tree()->SetRequiresHighResToDraw(); On 2014/05/13 18:21:53, enne wrote: > I was ...
6 years, 7 months ago (2014-05-13 18:23:13 UTC) #8
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 7 months ago (2014-05-13 18:24:18 UTC) #9
vmpstr
On 2014/05/13 18:23:13, danakj wrote: > https://codereview.chromium.org/287553003/diff/40001/cc/trees/layer_tree_host_impl.cc > File cc/trees/layer_tree_host_impl.cc (right): > > https://codereview.chromium.org/287553003/diff/40001/cc/trees/layer_tree_host_impl.cc#newcode1743 > ...
6 years, 7 months ago (2014-05-13 18:24:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/287553003/60001
6 years, 7 months ago (2014-05-13 18:25:04 UTC) #11
commit-bot: I haz the power
6 years, 7 months ago (2014-05-13 21:30:06 UTC) #12
Message was sent while issue was closed.
Change committed as 270209

Powered by Google App Engine
This is Rietveld 408576698