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

Issue 14925009: Run all LayerTreeHost tests with a delegating renderer. (Closed)

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

Description

cc: Run all LayerTreeHost tests with a delegating renderer. Unless they choose to opt out. The VideoResourceUpdater was deleting resources when the ResourceProvider shut down, which was not ideal. Instead, it deletes them when it shuts down itself (before the ResourceProvider). This works out fine, since anyone else using it will be using it through a mailbox. DelegatingRenderer needs to use and export the resources in the quads it is given inside of DrawFrame() as they may be deleted afterward, instead of waiting until SwapBuffers(). Depends on: https://codereview.chromium.org/14960006/ TEST=cc_unittests R=jamesr, piman BUG=123444 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199496

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 12

Patch Set 4 : #

Patch Set 5 : rebase #

Patch Set 6 : perftestcompile #

Patch Set 7 : Fix context tests #

Total comments: 3

Patch Set 8 : #

Patch Set 9 : rebase #

Total comments: 8

Patch Set 10 : Put back CandR, and Delete everything in VRU #

Patch Set 11 : #

Patch Set 12 : uber-unittests: for landing #

Patch Set 13 : uber-unittests: for landing2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+418 lines, -192 lines) Patch
M cc/layers/heads_up_display_layer_impl.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M cc/layers/heads_up_display_layer_impl.cc View 1 2 3 1 chunk +0 lines, -12 lines 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 1 chunk +11 lines, -2 lines 0 comments Download
M cc/layers/texture_layer_unittest.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -2 lines 0 comments Download
M cc/output/delegating_renderer_unittest.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -8 lines 0 comments Download
M cc/resources/video_resource_updater.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -1 line 0 comments Download
M cc/resources/video_resource_updater.cc View 1 2 3 4 5 6 7 8 9 6 chunks +29 lines, -5 lines 0 comments Download
M cc/test/layer_tree_pixel_test.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M cc/test/layer_tree_test.h View 1 2 3 4 5 6 7 6 chunks +56 lines, -22 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +30 lines, -18 lines 0 comments Download
M cc/trees/layer_tree_host_perftest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +4 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +22 lines, -37 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_context.cc View 1 2 3 4 5 6 7 8 9 11 chunks +168 lines, -56 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_damage.cc View 8 9 10 3 chunks +13 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_delegated.cc View 1 2 3 4 5 chunks +14 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 1 chunk +57 lines, -12 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
danakj
7 years, 7 months ago (2013-05-08 18:44:26 UTC) #1
piman
https://codereview.chromium.org/14925009/diff/4001/cc/layers/heads_up_display_layer_impl.cc File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/14925009/diff/4001/cc/layers/heads_up_display_layer_impl.cc#newcode173 cc/layers/heads_up_display_layer_impl.cc:173: } Looks like this function doesn't do anything anymore. ...
7 years, 7 months ago (2013-05-08 19:24:36 UTC) #2
danakj
https://codereview.chromium.org/14925009/diff/4001/cc/output/delegating_renderer.cc File cc/output/delegating_renderer.cc (right): https://codereview.chromium.org/14925009/diff/4001/cc/output/delegating_renderer.cc#newcode154 cc/output/delegating_renderer.cc:154: resource_provider_->PrepareSendToParent(resources, &out_data.resource_list); On 2013/05/08 19:24:36, piman wrote: > I ...
7 years, 7 months ago (2013-05-08 19:28:03 UTC) #3
piman
https://codereview.chromium.org/14925009/diff/4001/cc/output/delegating_renderer.cc File cc/output/delegating_renderer.cc (right): https://codereview.chromium.org/14925009/diff/4001/cc/output/delegating_renderer.cc#newcode154 cc/output/delegating_renderer.cc:154: resource_provider_->PrepareSendToParent(resources, &out_data.resource_list); On 2013/05/08 19:28:03, danakj wrote: > On ...
7 years, 7 months ago (2013-05-08 19:35:15 UTC) #4
danakj
https://codereview.chromium.org/14925009/diff/4001/cc/output/delegating_renderer.cc File cc/output/delegating_renderer.cc (right): https://codereview.chromium.org/14925009/diff/4001/cc/output/delegating_renderer.cc#newcode154 cc/output/delegating_renderer.cc:154: resource_provider_->PrepareSendToParent(resources, &out_data.resource_list); On 2013/05/08 19:35:16, piman wrote: > On ...
7 years, 7 months ago (2013-05-08 19:38:22 UTC) #5
piman
https://codereview.chromium.org/14925009/diff/4001/cc/output/delegating_renderer.cc File cc/output/delegating_renderer.cc (right): https://codereview.chromium.org/14925009/diff/4001/cc/output/delegating_renderer.cc#newcode154 cc/output/delegating_renderer.cc:154: resource_provider_->PrepareSendToParent(resources, &out_data.resource_list); On 2013/05/08 19:38:23, danakj wrote: > On ...
7 years, 7 months ago (2013-05-08 19:47:00 UTC) #6
danakj
https://codereview.chromium.org/14925009/diff/4001/cc/output/delegating_renderer.cc File cc/output/delegating_renderer.cc (right): https://codereview.chromium.org/14925009/diff/4001/cc/output/delegating_renderer.cc#newcode154 cc/output/delegating_renderer.cc:154: resource_provider_->PrepareSendToParent(resources, &out_data.resource_list); On 2013/05/08 19:47:00, piman wrote: > On ...
7 years, 7 months ago (2013-05-08 23:35:30 UTC) #7
danakj
PTAL https://codereview.chromium.org/14925009/diff/4001/cc/layers/heads_up_display_layer_impl.cc File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/14925009/diff/4001/cc/layers/heads_up_display_layer_impl.cc#newcode173 cc/layers/heads_up_display_layer_impl.cc:173: } On 2013/05/08 19:24:36, piman wrote: > Looks ...
7 years, 7 months ago (2013-05-08 23:43:46 UTC) #8
piman
lgtm
7 years, 7 months ago (2013-05-08 23:49:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/14925009/22001
7 years, 7 months ago (2013-05-09 00:06:08 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-09 00:31:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/14925009/30001
7 years, 7 months ago (2013-05-09 00:47:56 UTC) #12
danakj
PTAL. I missed a few CreateOutputSurface() overrides. https://codereview.chromium.org/14925009/diff/41001/cc/output/delegating_renderer.cc File cc/output/delegating_renderer.cc (right): https://codereview.chromium.org/14925009/diff/41001/cc/output/delegating_renderer.cc#newcode155 cc/output/delegating_renderer.cc:155: resource_provider_->PrepareSendToParent(resources, &out_data.resource_list); ...
7 years, 7 months ago (2013-05-09 02:42:50 UTC) #13
danakj
https://codereview.chromium.org/14925009/diff/41001/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/14925009/diff/41001/cc/resources/resource_provider.cc#newcode307 cc/resources/resource_provider.cc:307: if (style == ForShutdown) On 2013/05/09 02:42:50, danakj wrote: ...
7 years, 7 months ago (2013-05-09 02:43:11 UTC) #14
piman
We can't ignore CompositeAndReadback and pretend it doesn't exist... https://codereview.chromium.org/14925009/diff/50002/cc/output/delegating_renderer.cc File cc/output/delegating_renderer.cc (right): https://codereview.chromium.org/14925009/diff/50002/cc/output/delegating_renderer.cc#newcode136 cc/output/delegating_renderer.cc:136: ...
7 years, 7 months ago (2013-05-09 20:38:47 UTC) #15
danakj
PTAL https://codereview.chromium.org/14925009/diff/50002/cc/output/delegating_renderer.cc File cc/output/delegating_renderer.cc (right): https://codereview.chromium.org/14925009/diff/50002/cc/output/delegating_renderer.cc#newcode136 cc/output/delegating_renderer.cc:136: DCHECK(!frame_for_swap_buffers_.delegated_frame_data); On 2013/05/09 20:38:47, piman wrote: > This ...
7 years, 7 months ago (2013-05-09 22:42:37 UTC) #16
piman
LGTM, thanks
7 years, 7 months ago (2013-05-09 22:58:07 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/14925009/74001
7 years, 7 months ago (2013-05-10 12:35:29 UTC) #18
commit-bot: I haz the power
Failed to apply patch for cc/output/delegating_renderer.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-10 12:35:34 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/14925009/83001
7 years, 7 months ago (2013-05-10 13:29:12 UTC) #20
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-10 13:49:11 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/14925009/92001
7 years, 7 months ago (2013-05-10 14:21:59 UTC) #22
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 7 months ago (2013-05-10 14:32:50 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/14925009/92001
7 years, 7 months ago (2013-05-10 14:46:08 UTC) #24
commit-bot: I haz the power
7 years, 7 months ago (2013-05-10 16:54:37 UTC) #25
Message was sent while issue was closed.
Change committed as 199496

Powered by Google App Engine
This is Rietveld 408576698