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

Issue 671653005: SetNeedsRedraw directly when updating a visible tile. (Closed)

Created:
6 years, 1 month ago by danakj
Modified:
6 years, 1 month ago
CC:
cc-bugs_chromium.org, chromium-reviews, piman, ernstm
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

SetNeedsRedraw directly when updating a visible tile. Removes the UpdateVisibleTiles scheduler state, instead if the current set of raster tasks starts with a visible tile, we optimistically call SetNeedsRedraw() at the start of each impl frame to cause us to try and draw. At draw time we UpdateVisibleTiles in the tile manager to collect any completed tasks. To handle other cases, whenever a visible tile is completed, we call SetNeedsRedraw() in addition to setting damage on the layer. Last, when NotifyReadyToDraw() happens, we have a complete frame, so we can stop optimistically calling SetNeedsRedraw() at the start of each impl frame. This allows us to remove the full viewport damage when ending a pinch gesture. This change adds 2 integration unit tests for pinch zoom. The first ensures that when a pinch ends we don't leave blurry tiles on the screen, but update them to ideal. The second ensures we continuously try to draw while we have an incomplete frame. BUG=427423 Committed: https://crrev.com/a819c2552ffe135e2e15fb0eb64341882a7d4912 Cr-Commit-Position: refs/heads/master@{#304147}

Patch Set 1 #

Total comments: 17

Patch Set 2 : pinchblurmerge-test: forrealz #

Patch Set 3 : pinchblurmerge-test: nologs #

Total comments: 2

Patch Set 4 : pinchblurmerge-test: call-UpdateVisibleTiles #

Patch Set 5 : pinchblurmerge-test: has_active_visible_tile_scheduled #

Total comments: 5

Patch Set 6 : pinchblurmerge-test: WithTest #

Patch Set 7 : pinchblurmerge-test: nits #

Total comments: 7

Patch Set 8 : pinchblurmerge-test: helper #

Patch Set 9 : pinchblurmerge-test: rebase #

Patch Set 10 : pinchblurmerge-test: fix #

Patch Set 11 : pinchblurmerge-test: fix2 #

Patch Set 12 : pinchblurmerge-test: fix3 #

Patch Set 13 : pinchblurmerge-test: is_top_prio.. #

Patch Set 14 : pinchblurmerge-test: const #

Patch Set 15 : pinchblurmerge-test: fixflakiness #

Total comments: 5

Patch Set 16 : pinchblurmerge-test: in-lthi #

Total comments: 2

Patch Set 17 : pinchblurmerge-test: addcomment #

Total comments: 2

Patch Set 18 : pinchblurmerge-test: commentfix #

Patch Set 19 : pinchblurmerge-test: rebase-on-draw-required #

Patch Set 20 : pinchblurmerge-test: comments #

Total comments: 12

Patch Set 21 : pinchblurmerge-test: brianderson-feedback #

Patch Set 22 : pinchblurmerge-test: rebase #

Patch Set 23 : pinchblurmerge-test: addTODOs #

Patch Set 24 : pinchblurmerge-test: rebase #

Patch Set 25 : pinchblurmerge-test: delayedraster #

Patch Set 26 : pinchblurmerge-test: tweak #

Total comments: 24

Patch Set 27 : pinchblurmerge-test: rebase-but-test-fails #

Patch Set 28 : pinchblurmerge-test: reviews #

Patch Set 29 : pinchblurmerge-test: testfix #

Total comments: 1

Patch Set 30 : pinchblurmerge-test: rebase-on-picture-pile-base-removal #

Total comments: 9

Patch Set 31 : pinchblurmerge-test: . #

Total comments: 4

Patch Set 32 : pinchblurmerge-test: rebase #

Patch Set 33 : pinchblurmerge-test: comment #

Patch Set 34 : pinchblurmerge-test: renamethings #

Total comments: 3

Patch Set 35 : pinchblurmerge-test: . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+525 lines, -386 lines) Patch
M cc/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +1 line, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/picture_layer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layers/picture_layer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +6 lines, -0 lines 0 comments Download
M cc/resources/picture_pile_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +8 lines, -1 line 0 comments Download
M cc/resources/tile_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +1 line, -3 lines 0 comments Download
M cc/resources/tile_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 4 chunks +1 line, -9 lines 0 comments Download
M cc/scheduler/scheduler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +0 lines, -2 lines 0 comments Download
M cc/scheduler/scheduler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +0 lines, -8 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.h View 1 5 chunks +0 lines, -5 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 11 chunks +0 lines, -58 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 7 chunks +0 lines, -85 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -1 line 0 comments Download
M cc/test/fake_picture_layer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +10 lines, -2 lines 0 comments Download
M cc/test/fake_picture_layer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +13 lines, -2 lines 0 comments Download
M cc/test/fake_picture_pile.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 3 chunks +16 lines, -0 lines 0 comments Download
A cc/test/fake_picture_pile.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +15 lines, -0 lines 0 comments Download
M cc/test/fake_picture_pile_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3 chunks +15 lines, -1 line 0 comments Download
M cc/test/fake_picture_pile_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 6 chunks +26 lines, -6 lines 0 comments Download
M cc/test/layer_tree_test.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +3 lines, -2 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 3 chunks +8 lines, -8 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 7 chunks +1 line, -10 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 15 chunks +42 lines, -37 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 3 chunks +0 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 4 chunks +354 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_damage.cc View 1 1 chunk +0 lines, -93 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +0 lines, -2 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +0 lines, -11 lines 0 comments Download
M cc/trees/thread_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +0 lines, -2 lines 0 comments Download
M cc/trees/thread_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 3 chunks +2 lines, -32 lines 0 comments Download

Messages

Total messages: 79 (6 generated)
danakj
Please discuss :) If we did this then I could remove a bunch of code ...
6 years, 1 month ago (2014-10-28 00:18:50 UTC) #1
vmpstr
(read comments in reverse order) https://codereview.chromium.org/671653005/diff/1/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/671653005/diff/1/cc/resources/tile_manager.cc#newcode328 cc/resources/tile_manager.cc:328: rasterizer_->CheckForCompletedTasks(); This would normally ...
6 years, 1 month ago (2014-10-28 01:35:34 UTC) #2
enne (OOO)
https://codereview.chromium.org/671653005/diff/1/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/671653005/diff/1/cc/resources/tile_manager.cc#newcode437 cc/resources/tile_manager.cc:437: rasterizer_->CheckForCompletedTasks(); On 2014/10/28 at 01:35:34, vmpstr wrote: > We ...
6 years, 1 month ago (2014-10-28 18:09:23 UTC) #3
danakj
https://codereview.chromium.org/671653005/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/671653005/diff/1/cc/trees/layer_tree_host_impl.cc#newcode1349 cc/trees/layer_tree_host_impl.cc:1349: if (visible_tile && !client_->IsInsideDraw()) On 2014/10/28 18:09:22, enne wrote: ...
6 years, 1 month ago (2014-10-28 18:24:49 UTC) #4
enne (OOO)
https://codereview.chromium.org/671653005/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/671653005/diff/1/cc/trees/layer_tree_host_impl.cc#newcode1349 cc/trees/layer_tree_host_impl.cc:1349: if (visible_tile && !client_->IsInsideDraw()) On 2014/10/28 18:24:48, danakj wrote: ...
6 years, 1 month ago (2014-10-28 18:47:34 UTC) #5
brianderson
On 2014/10/28 00:18:50, danakj wrote: > Please discuss :) If we did this then I ...
6 years, 1 month ago (2014-10-28 21:07:50 UTC) #6
danakj
OK I did this for real and removed it entirely from the scheduler. To give ...
6 years, 1 month ago (2014-10-29 19:56:56 UTC) #7
enne (OOO)
I like this a lot in general, but have some questions about the details. I ...
6 years, 1 month ago (2014-10-29 20:34:45 UTC) #8
brianderson
Two things: 1) Regarding the task set grouping concerns: I wonder if we can add ...
6 years, 1 month ago (2014-10-29 21:43:21 UTC) #9
danakj
https://codereview.chromium.org/671653005/diff/40001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/671653005/diff/40001/cc/resources/tile_manager.cc#newcode320 cc/resources/tile_manager.cc:320: rasterizer_->CheckForCompletedTasks(); On 2014/10/29 20:34:44, enne wrote: > Should this ...
6 years, 1 month ago (2014-10-30 15:04:52 UTC) #10
danakj
On 2014/10/29 20:34:45, enne wrote: > I like this a lot in general, but have ...
6 years, 1 month ago (2014-10-30 15:06:28 UTC) #11
danakj
On 2014/10/29 21:43:21, brianderson wrote: > Two things: > > 1) Regarding the task set ...
6 years, 1 month ago (2014-10-30 15:13:36 UTC) #12
danakj
+reveman
6 years, 1 month ago (2014-10-30 15:14:04 UTC) #14
danakj
On 2014/10/29 21:43:21, brianderson wrote: > Two things: > > 1) Regarding the task set ...
6 years, 1 month ago (2014-10-30 15:37:33 UTC) #15
danakj
In the latest patch set I have added has_active_visible_tile_scheduled() to the TileManager, and when it ...
6 years, 1 month ago (2014-10-30 15:59:03 UTC) #16
reveman
On 2014/10/29 20:34:45, enne wrote: > I like this a lot in general, but have ...
6 years, 1 month ago (2014-10-30 16:42:06 UTC) #17
reveman
On 2014/10/30 15:06:28, danakj wrote: > On 2014/10/29 20:34:45, enne wrote: > > I like ...
6 years, 1 month ago (2014-10-30 16:47:35 UTC) #18
reveman
https://codereview.chromium.org/671653005/diff/80001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/671653005/diff/80001/cc/resources/tile_manager.cc#newcode321 cc/resources/tile_manager.cc:321: UpdateVisibleTiles(); UpdateVisibleTiles() is part of the public TileManager API. ...
6 years, 1 month ago (2014-10-30 16:58:17 UTC) #19
danakj
https://codereview.chromium.org/671653005/diff/80001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/671653005/diff/80001/cc/resources/tile_manager.cc#newcode321 cc/resources/tile_manager.cc:321: UpdateVisibleTiles(); On 2014/10/30 16:58:17, reveman wrote: > UpdateVisibleTiles() is ...
6 years, 1 month ago (2014-10-30 16:59:54 UTC) #20
danakj
https://codereview.chromium.org/671653005/diff/80001/cc/resources/tile_manager.h File cc/resources/tile_manager.h (right): https://codereview.chromium.org/671653005/diff/80001/cc/resources/tile_manager.h#newcode109 cc/resources/tile_manager.h:109: bool has_active_visible_tile_scheduled() { On 2014/10/30 16:59:53, danakj wrote: > ...
6 years, 1 month ago (2014-10-30 17:00:58 UTC) #21
danakj
I added a LTH unittest that shows when we have a visible active tile scheduled ...
6 years, 1 month ago (2014-10-30 17:20:41 UTC) #22
danakj
On 2014/10/30 16:58:17, reveman wrote: > https://codereview.chromium.org/671653005/diff/80001/cc/resources/tile_manager.cc > File cc/resources/tile_manager.cc (right): > > https://codereview.chromium.org/671653005/diff/80001/cc/resources/tile_manager.cc#newcode321 > ...
6 years, 1 month ago (2014-10-30 17:32:06 UTC) #24
reveman
On 2014/10/30 17:00:58, danakj wrote: > https://codereview.chromium.org/671653005/diff/80001/cc/resources/tile_manager.h > File cc/resources/tile_manager.h (right): > > https://codereview.chromium.org/671653005/diff/80001/cc/resources/tile_manager.h#newcode109 > ...
6 years, 1 month ago (2014-10-30 17:36:08 UTC) #25
danakj
On Thu, Oct 30, 2014 at 1:36 PM, <reveman@chromium.org> wrote: > If a visible tile ...
6 years, 1 month ago (2014-10-30 17:58:26 UTC) #26
reveman
https://codereview.chromium.org/671653005/diff/140001/cc/resources/tile_manager.h File cc/resources/tile_manager.h (right): https://codereview.chromium.org/671653005/diff/140001/cc/resources/tile_manager.h#newcode109 cc/resources/tile_manager.h:109: bool has_active_visible_tile_scheduled() { I think this is too implementation ...
6 years, 1 month ago (2014-10-30 19:37:42 UTC) #27
danakj
https://codereview.chromium.org/671653005/diff/140001/cc/resources/tile_manager.h File cc/resources/tile_manager.h (right): https://codereview.chromium.org/671653005/diff/140001/cc/resources/tile_manager.h#newcode109 cc/resources/tile_manager.h:109: bool has_active_visible_tile_scheduled() { On 2014/10/30 19:37:42, reveman wrote: > ...
6 years, 1 month ago (2014-10-30 19:49:07 UTC) #28
danakj
PTAL it's now just using the top priority tile. The test cases still pass.
6 years, 1 month ago (2014-10-30 19:56:23 UTC) #29
brianderson
Calling SetNeedsRedraw in WillBeginImplFrame is a nice way to get rid of the need for ...
6 years, 1 month ago (2014-10-30 21:19:28 UTC) #30
danakj
On Thu, Oct 30, 2014 at 5:19 PM, <brianderson@chromium.org> wrote: > Calling SetNeedsRedraw in WillBeginImplFrame ...
6 years, 1 month ago (2014-10-30 21:22:13 UTC) #31
reveman
https://codereview.chromium.org/671653005/diff/140001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/671653005/diff/140001/cc/trees/layer_tree_host_impl.cc#newcode1686 cc/trees/layer_tree_host_impl.cc:1686: SetNeedsRedraw(); On 2014/10/30 19:49:07, danakj wrote: > On 2014/10/30 ...
6 years, 1 month ago (2014-10-31 00:44:01 UTC) #32
danakj
https://codereview.chromium.org/671653005/diff/140001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/671653005/diff/140001/cc/trees/layer_tree_host_impl.cc#newcode1686 cc/trees/layer_tree_host_impl.cc:1686: SetNeedsRedraw(); On 2014/10/31 00:44:01, reveman wrote: > On 2014/10/30 ...
6 years, 1 month ago (2014-10-31 15:39:46 UTC) #34
danakj
PTAL
6 years, 1 month ago (2014-10-31 15:39:55 UTC) #35
vmpstr
https://codereview.chromium.org/671653005/diff/330001/cc/resources/tile_manager.h File cc/resources/tile_manager.h (right): https://codereview.chromium.org/671653005/diff/330001/cc/resources/tile_manager.h#newcode63 cc/resources/tile_manager.h:63: // Called when all tiles from the previous BuildRasterQueue ...
6 years, 1 month ago (2014-10-31 15:46:30 UTC) #36
danakj
https://codereview.chromium.org/671653005/diff/330001/cc/resources/tile_manager.h File cc/resources/tile_manager.h (right): https://codereview.chromium.org/671653005/diff/330001/cc/resources/tile_manager.h#newcode63 cc/resources/tile_manager.h:63: // Called when all tiles from the previous BuildRasterQueue ...
6 years, 1 month ago (2014-10-31 15:47:30 UTC) #37
danakj
Changed it to // Called when all tiles from the previous BuildRasterQueue that will be ...
6 years, 1 month ago (2014-10-31 15:49:04 UTC) #38
reveman
+ernstm https://codereview.chromium.org/671653005/diff/140001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/671653005/diff/140001/cc/trees/layer_tree_host_impl.cc#newcode1686 cc/trees/layer_tree_host_impl.cc:1686: SetNeedsRedraw(); On 2014/10/31 15:39:46, danakj wrote: > On ...
6 years, 1 month ago (2014-10-31 16:08:50 UTC) #39
danakj
https://codereview.chromium.org/671653005/diff/350001/cc/resources/tile_manager.h File cc/resources/tile_manager.h (right): https://codereview.chromium.org/671653005/diff/350001/cc/resources/tile_manager.h#newcode67 cc/resources/tile_manager.h:67: virtual void FinishedRasterQueue() = 0; On 2014/10/31 16:08:50, reveman ...
6 years, 1 month ago (2014-10-31 16:34:39 UTC) #40
danakj
On Fri, Oct 31, 2014 at 12:34 PM, <danakj@chromium.org> wrote: > > https://codereview.chromium.org/671653005/diff/350001/cc/ > resources/tile_manager.h ...
6 years, 1 month ago (2014-10-31 16:43:42 UTC) #41
danakj
Here's my patch rebased on manfred's required-to-draw patch.
6 years, 1 month ago (2014-10-31 19:47:38 UTC) #42
danakj
https://codereview.chromium.org/671653005/diff/1/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/671653005/diff/1/cc/resources/tile_manager.cc#newcode328 cc/resources/tile_manager.cc:328: rasterizer_->CheckForCompletedTasks(); On 2014/10/28 01:35:34, vmpstr wrote: > This would ...
6 years, 1 month ago (2014-10-31 20:02:01 UTC) #43
reveman
https://codereview.chromium.org/671653005/diff/410001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/671653005/diff/410001/cc/trees/layer_tree_host_impl.cc#newcode1295 cc/trees/layer_tree_host_impl.cc:1295: } How about using conditional assignment here instead of ...
6 years, 1 month ago (2014-10-31 20:28:39 UTC) #44
danakj
https://codereview.chromium.org/671653005/diff/410001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/671653005/diff/410001/cc/trees/layer_tree_host_impl.cc#newcode1295 cc/trees/layer_tree_host_impl.cc:1295: } On 2014/10/31 20:28:39, reveman wrote: > How about ...
6 years, 1 month ago (2014-10-31 20:43:02 UTC) #45
reveman
https://codereview.chromium.org/671653005/diff/410001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/671653005/diff/410001/cc/trees/layer_tree_host_impl.cc#newcode1295 cc/trees/layer_tree_host_impl.cc:1295: } On 2014/10/31 20:43:01, danakj wrote: > On 2014/10/31 ...
6 years, 1 month ago (2014-10-31 21:38:13 UTC) #46
brianderson
https://codereview.chromium.org/671653005/diff/410001/cc/test/fake_content_layer_client.cc File cc/test/fake_content_layer_client.cc (left): https://codereview.chromium.org/671653005/diff/410001/cc/test/fake_content_layer_client.cc#oldcode47 cc/test/fake_content_layer_client.cc:47: draw_rect.Inset(draw_rect.width() / 4.0f, draw_rect.height() / 4.0f); Why is this ...
6 years, 1 month ago (2014-10-31 22:42:54 UTC) #47
danakj
https://codereview.chromium.org/671653005/diff/410001/cc/test/fake_content_layer_client.cc File cc/test/fake_content_layer_client.cc (left): https://codereview.chromium.org/671653005/diff/410001/cc/test/fake_content_layer_client.cc#oldcode47 cc/test/fake_content_layer_client.cc:47: draw_rect.Inset(draw_rect.width() / 4.0f, draw_rect.height() / 4.0f); On 2014/10/31 22:42:53, ...
6 years, 1 month ago (2014-11-03 16:26:04 UTC) #48
danakj
On 2014/10/31 21:38:13, reveman wrote: > Can you have picture playback block on a base::WaitableEvent ...
6 years, 1 month ago (2014-11-05 16:06:48 UTC) #49
danakj
On 2014/11/05 16:06:48, danakj wrote: > On 2014/10/31 21:38:13, reveman wrote: > > Can you ...
6 years, 1 month ago (2014-11-05 19:40:02 UTC) #50
danakj
On 2014/11/05 19:40:02, danakj wrote: > On 2014/11/05 16:06:48, danakj wrote: > > On 2014/10/31 ...
6 years, 1 month ago (2014-11-07 22:07:49 UTC) #51
danakj
I think this CL does everything everyone has asked from it. Would love to get ...
6 years, 1 month ago (2014-11-10 17:45:01 UTC) #53
brianderson
lgtm https://codereview.chromium.org/671653005/diff/550001/cc/trees/layer_tree_host_impl.h File cc/trees/layer_tree_host_impl.h (right): https://codereview.chromium.org/671653005/diff/550001/cc/trees/layer_tree_host_impl.h#newcode292 cc/trees/layer_tree_host_impl.h:292: virtual bool SwapBuffers(const FrameData& frame); Does this still ...
6 years, 1 month ago (2014-11-10 22:12:31 UTC) #54
vmpstr
https://codereview.chromium.org/671653005/diff/550001/cc/test/delayed_raster_trigger.h File cc/test/delayed_raster_trigger.h (right): https://codereview.chromium.org/671653005/diff/550001/cc/test/delayed_raster_trigger.h#newcode20 cc/test/delayed_raster_trigger.h:20: class DelayedRasterTrigger { nit: This is just a DelayedTrigger ...
6 years, 1 month ago (2014-11-10 22:47:05 UTC) #55
vmpstr
On 2014/11/10 22:47:05, vmpstr wrote: > https://codereview.chromium.org/671653005/diff/550001/cc/test/delayed_raster_trigger.h > File cc/test/delayed_raster_trigger.h (right): > > https://codereview.chromium.org/671653005/diff/550001/cc/test/delayed_raster_trigger.h#newcode20 > ...
6 years, 1 month ago (2014-11-10 22:51:27 UTC) #56
reveman
https://codereview.chromium.org/671653005/diff/550001/cc/test/delayed_raster_picture_pile_impl.h File cc/test/delayed_raster_picture_pile_impl.h (right): https://codereview.chromium.org/671653005/diff/550001/cc/test/delayed_raster_picture_pile_impl.h#newcode14 cc/test/delayed_raster_picture_pile_impl.h:14: class DelayedRasterPicturePileImpl : public PicturePileImpl { Did you consider ...
6 years, 1 month ago (2014-11-10 23:43:02 UTC) #57
enne (OOO)
lgtm % other reviewers. I think all my previous high level concerns got addressed by ...
6 years, 1 month ago (2014-11-11 18:09:31 UTC) #58
danakj
PTAL The continuous draws test fails now after rebase, I need to look into what ...
6 years, 1 month ago (2014-11-12 20:19:40 UTC) #59
danakj
https://codereview.chromium.org/671653005/diff/610001/cc/test/layer_tree_test.cc File cc/test/layer_tree_test.cc (right): https://codereview.chromium.org/671653005/diff/610001/cc/test/layer_tree_test.cc#newcode272 cc/test/layer_tree_test.cc:272: LayerTreeHostImpl::NotifyReadyToDraw(); Here's the fix for the unit test. The ...
6 years, 1 month ago (2014-11-12 20:50:35 UTC) #60
brianderson
On 2014/11/12 20:19:40, danakj wrote: > https://codereview.chromium.org/671653005/diff/550001/cc/trees/layer_tree_host_unittest_damage.cc > File cc/trees/layer_tree_host_unittest_damage.cc (left): > > https://codereview.chromium.org/671653005/diff/550001/cc/trees/layer_tree_host_unittest_damage.cc#oldcode532 > ...
6 years, 1 month ago (2014-11-12 21:15:35 UTC) #61
danakj
Updated the description to what this CL finally ended up doing.
6 years, 1 month ago (2014-11-12 22:02:08 UTC) #62
reveman
https://codereview.chromium.org/671653005/diff/640001/cc/test/thread_blocker.h File cc/test/thread_blocker.h (right): https://codereview.chromium.org/671653005/diff/640001/cc/test/thread_blocker.h#newcode17 cc/test/thread_blocker.h:17: class ThreadBlocker { What's the difference between an instance ...
6 years, 1 month ago (2014-11-13 20:10:04 UTC) #64
vmpstr
Everything looks good, I just have a question about LTHI::required_for_draw_tile_is_top_of_raster_queue_ below. https://codereview.chromium.org/671653005/diff/640001/cc/resources/picture_pile_impl.h File cc/resources/picture_pile_impl.h (right): ...
6 years, 1 month ago (2014-11-13 20:13:49 UTC) #65
danakj
https://codereview.chromium.org/671653005/diff/640001/cc/test/thread_blocker.h File cc/test/thread_blocker.h (right): https://codereview.chromium.org/671653005/diff/640001/cc/test/thread_blocker.h#newcode17 cc/test/thread_blocker.h:17: class ThreadBlocker { On 2014/11/13 20:10:04, reveman wrote: > ...
6 years, 1 month ago (2014-11-13 20:14:17 UTC) #66
danakj
https://codereview.chromium.org/671653005/diff/640001/cc/test/thread_blocker.h File cc/test/thread_blocker.h (right): https://codereview.chromium.org/671653005/diff/640001/cc/test/thread_blocker.h#newcode17 cc/test/thread_blocker.h:17: class ThreadBlocker { On 2014/11/13 20:14:17, danakj wrote: > ...
6 years, 1 month ago (2014-11-13 20:20:18 UTC) #67
danakj
https://codereview.chromium.org/671653005/diff/640001/cc/resources/picture_pile_impl.h File cc/resources/picture_pile_impl.h (right): https://codereview.chromium.org/671653005/diff/640001/cc/resources/picture_pile_impl.h#newcode20 cc/resources/picture_pile_impl.h:20: #include "third_party/skia/include/core/SkPicture.h" On 2014/11/13 20:13:49, vmpstr wrote: > nit: ...
6 years, 1 month ago (2014-11-13 20:27:54 UTC) #68
danakj
Removed the ThreadBlocker, using a base::WaitableEvent directly.
6 years, 1 month ago (2014-11-13 20:28:16 UTC) #69
vmpstr
lgtm https://codereview.chromium.org/671653005/diff/640001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/671653005/diff/640001/cc/trees/layer_tree_host_impl.cc#newcode1203 cc/trees/layer_tree_host_impl.cc:1203: required_for_draw_tile_is_top_of_raster_queue_ = On 2014/11/13 20:27:54, danakj wrote: > ...
6 years, 1 month ago (2014-11-13 20:37:41 UTC) #70
danakj
https://codereview.chromium.org/671653005/diff/640001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/671653005/diff/640001/cc/trees/layer_tree_host_impl.cc#newcode1203 cc/trees/layer_tree_host_impl.cc:1203: required_for_draw_tile_is_top_of_raster_queue_ = On 2014/11/13 20:37:41, vmpstr wrote: > On ...
6 years, 1 month ago (2014-11-13 20:39:41 UTC) #71
reveman
https://codereview.chromium.org/671653005/diff/660001/cc/test/fake_picture_pile.h File cc/test/fake_picture_pile.h (right): https://codereview.chromium.org/671653005/diff/660001/cc/test/fake_picture_pile.h#newcode64 cc/test/fake_picture_pile.h:64: base::WaitableEvent* raster_thread_blocker_; I don't think this code should be ...
6 years, 1 month ago (2014-11-13 20:50:59 UTC) #72
danakj
PTAL https://codereview.chromium.org/671653005/diff/660001/cc/test/fake_picture_pile.h File cc/test/fake_picture_pile.h (right): https://codereview.chromium.org/671653005/diff/660001/cc/test/fake_picture_pile.h#newcode64 cc/test/fake_picture_pile.h:64: base::WaitableEvent* raster_thread_blocker_; On 2014/11/13 20:50:58, reveman wrote: > ...
6 years, 1 month ago (2014-11-13 21:24:40 UTC) #73
reveman
lgtm https://codereview.chromium.org/671653005/diff/720001/cc/test/fake_picture_pile_impl.h File cc/test/fake_picture_pile_impl.h (right): https://codereview.chromium.org/671653005/diff/720001/cc/test/fake_picture_pile_impl.h#newcode32 cc/test/fake_picture_pile_impl.h:32: base::WaitableEvent* blocker); nit: s/blocker/playback_allowed_event/ https://codereview.chromium.org/671653005/diff/720001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): ...
6 years, 1 month ago (2014-11-13 21:52:48 UTC) #74
danakj
https://codereview.chromium.org/671653005/diff/720001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/671653005/diff/720001/cc/trees/layer_tree_host_unittest.cc#newcode5511 cc/trees/layer_tree_host_unittest.cc:5511: // TestContext()->set_query_result_available_ext(1); On 2014/11/13 21:52:48, reveman wrote: > nit: ...
6 years, 1 month ago (2014-11-13 21:54:11 UTC) #75
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/671653005/740001
6 years, 1 month ago (2014-11-13 23:19:10 UTC) #77
commit-bot: I haz the power
Committed patchset #35 (id:740001)
6 years, 1 month ago (2014-11-14 02:05:14 UTC) #78
commit-bot: I haz the power
6 years, 1 month ago (2014-11-14 02:06:12 UTC) #79
Message was sent while issue was closed.
Patchset 35 (id:??) landed as
https://crrev.com/a819c2552ffe135e2e15fb0eb64341882a7d4912
Cr-Commit-Position: refs/heads/master@{#304147}

Powered by Google App Engine
This is Rietveld 408576698