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

Issue 1287043002: cc: Setup API to release OutputSurface from LTHClient. (Closed)

Created:
5 years, 4 months ago by sohanjg
Modified:
5 years, 3 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, sohanjg_
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

This sets up API to release OutputSurface from LTHClient. It will be helpful in Android where we can release OutputSurface without destroying LTHClient, thereby making OutputSurface switches have less glitches. BUG=374906 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/3a33d87b15b764a6db1cd863ce54efec2bcd2b23 Cr-Commit-Position: refs/heads/master@{#349787}

Patch Set 1 #

Total comments: 1

Patch Set 2 : unit test #

Total comments: 30

Patch Set 3 : review comments addressed. #

Total comments: 11

Patch Set 4 : review comments addressed. #

Total comments: 4

Patch Set 5 : tests updated. #

Total comments: 4

Patch Set 6 : update test. #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -6 lines) Patch
M cc/test/fake_proxy.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/fake_proxy.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 1 chunk +8 lines, -0 lines 1 comment Download
M cc/trees/layer_tree_host_impl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 2 chunks +9 lines, -5 lines 1 comment Download
M cc/trees/layer_tree_host_unittest_context.cc View 1 2 3 4 5 1 chunk +65 lines, -0 lines 0 comments Download
M cc/trees/proxy.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 1 chunk +6 lines, -0 lines 1 comment Download
M cc/trees/thread_proxy.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M cc/trees/thread_proxy.cc View 1 2 3 4 2 chunks +24 lines, -0 lines 4 comments Download

Dependent Patchsets:

Messages

Total messages: 42 (12 generated)
sohanjg
On 2015/08/12 10:47:51, sohanjg wrote: > mailto:sohan.jyoti@samsung.com changed reviewers: > + mailto:sievers@chromium.org This is pretty ...
5 years, 4 months ago (2015-08-12 10:48:41 UTC) #2
sohanjg
https://codereview.chromium.org/1287043002/diff/1/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/1287043002/diff/1/content/renderer/gpu/render_widget_compositor.cc#newcode960 content/renderer/gpu/render_widget_compositor.cc:960: did_give_back_output_surface_ = true; i have added this member to ...
5 years, 4 months ago (2015-08-12 10:50:29 UTC) #3
sohanjg
On 2015/08/12 10:50:29, sohanjg wrote: > https://codereview.chromium.org/1287043002/diff/1/content/renderer/gpu/render_widget_compositor.cc > File content/renderer/gpu/render_widget_compositor.cc (right): > > https://codereview.chromium.org/1287043002/diff/1/content/renderer/gpu/render_widget_compositor.cc#newcode960 > ...
5 years, 4 months ago (2015-08-18 04:53:42 UTC) #5
no sievers
On 2015/08/18 04:53:42, sohanjg wrote: > On 2015/08/12 10:50:29, sohanjg wrote: > > > https://codereview.chromium.org/1287043002/diff/1/content/renderer/gpu/render_widget_compositor.cc ...
5 years, 4 months ago (2015-08-19 22:29:09 UTC) #7
sohanjg
On 2015/08/19 22:29:09, sievers wrote: > On 2015/08/18 04:53:42, sohanjg wrote: > > On 2015/08/12 ...
5 years, 4 months ago (2015-08-20 14:29:05 UTC) #8
no sievers
On 2015/08/20 14:29:05, sohanjg wrote: > On 2015/08/19 22:29:09, sievers wrote: > > On 2015/08/18 ...
5 years, 4 months ago (2015-08-22 00:03:41 UTC) #9
sohanjg
Can you please advise on the test. I havent put any expectations yet. Because i ...
5 years, 3 months ago (2015-08-26 14:38:56 UTC) #10
no sievers
Sorry for the super long delay, this fell off my radar! https://codereview.chromium.org/1287043002/diff/20001/cc/test/fake_proxy.h File cc/test/fake_proxy.h (right): ...
5 years, 3 months ago (2015-09-10 00:00:22 UTC) #11
no sievers
https://codereview.chromium.org/1287043002/diff/20001/cc/trees/thread_proxy.cc File cc/trees/thread_proxy.cc (right): https://codereview.chromium.org/1287043002/diff/20001/cc/trees/thread_proxy.cc#newcode222 cc/trees/thread_proxy.cc:222: scoped_ptr<OutputSurface> ThreadProxy::GetOutputSurface() { You'll have to post this to ...
5 years, 3 months ago (2015-09-10 01:26:24 UTC) #12
sohanjg
thank you for the direction. please take a look. https://codereview.chromium.org/1287043002/diff/20001/cc/test/fake_proxy.h File cc/test/fake_proxy.h (right): https://codereview.chromium.org/1287043002/diff/20001/cc/test/fake_proxy.h#newcode28 cc/test/fake_proxy.h:28: ...
5 years, 3 months ago (2015-09-10 15:07:24 UTC) #13
no sievers
https://codereview.chromium.org/1287043002/diff/20001/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/1287043002/diff/20001/cc/trees/layer_tree_host.cc#newcode400 cc/trees/layer_tree_host.cc:400: scoped_ptr<OutputSurface> LayerTreeHost::GetOutputSurface() { On 2015/09/10 15:07:23, sohanjg wrote: > ...
5 years, 3 months ago (2015-09-10 17:27:45 UTC) #14
sohanjg
please take a look, thanks. https://codereview.chromium.org/1287043002/diff/20001/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/1287043002/diff/20001/cc/trees/layer_tree_host.cc#newcode400 cc/trees/layer_tree_host.cc:400: scoped_ptr<OutputSurface> LayerTreeHost::GetOutputSurface() { On ...
5 years, 3 months ago (2015-09-11 07:00:50 UTC) #15
no sievers
That looks good to me. @Dana: wdyt? https://codereview.chromium.org/1287043002/diff/60001/cc/trees/layer_tree_host_unittest_context.cc File cc/trees/layer_tree_host_unittest_context.cc (right): https://codereview.chromium.org/1287043002/diff/60001/cc/trees/layer_tree_host_unittest_context.cc#newcode394 cc/trees/layer_tree_host_unittest_context.cc:394: if (!made_visible_) ...
5 years, 3 months ago (2015-09-11 22:44:50 UTC) #16
sohanjg
i had to update the test a bit, seems we were skipping a lot of ...
5 years, 3 months ago (2015-09-14 13:01:28 UTC) #18
no sievers
https://codereview.chromium.org/1287043002/diff/100001/cc/trees/layer_tree_host_unittest_context.cc File cc/trees/layer_tree_host_unittest_context.cc (right): https://codereview.chromium.org/1287043002/diff/100001/cc/trees/layer_tree_host_unittest_context.cc#newcode404 cc/trees/layer_tree_host_unittest_context.cc:404: EndTest(); Can we still go through and create another ...
5 years, 3 months ago (2015-09-14 21:28:13 UTC) #19
sohanjg
please take a look. thanks. https://codereview.chromium.org/1287043002/diff/100001/cc/trees/layer_tree_host_unittest_context.cc File cc/trees/layer_tree_host_unittest_context.cc (right): https://codereview.chromium.org/1287043002/diff/100001/cc/trees/layer_tree_host_unittest_context.cc#newcode404 cc/trees/layer_tree_host_unittest_context.cc:404: EndTest(); On 2015/09/14 21:28:13, ...
5 years, 3 months ago (2015-09-15 06:39:34 UTC) #21
no sievers
lgtm, thanks. but needs https://codereview.chromium.org/1336813002/ to land first.
5 years, 3 months ago (2015-09-15 17:41:06 UTC) #22
sohanjg
On 2015/09/15 17:41:06, sievers wrote: > lgtm, thanks. > > but needs https://codereview.chromium.org/1336813002/ to land ...
5 years, 3 months ago (2015-09-16 04:43:50 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1287043002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1287043002/140001
5 years, 3 months ago (2015-09-16 05:02:33 UTC) #25
commit-bot: I haz the power
Dry run: The author sohan.jyoti@samsung.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com ...
5 years, 3 months ago (2015-09-16 07:01:49 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1287043002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1287043002/140001
5 years, 3 months ago (2015-09-17 10:05:03 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/100938)
5 years, 3 months ago (2015-09-17 10:13:29 UTC) #31
sohanjg
On 2015/09/17 10:13:29, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 3 months ago (2015-09-17 11:28:49 UTC) #32
danakj
Cool looks good, few comments. https://codereview.chromium.org/1287043002/diff/140001/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/1287043002/diff/140001/cc/trees/layer_tree_host.cc#newcode403 cc/trees/layer_tree_host.cc:403: output_surface_lost_ = true; rather ...
5 years, 3 months ago (2015-09-17 18:43:55 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1287043002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1287043002/140001
5 years, 3 months ago (2015-09-18 20:25:21 UTC) #35
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-18 21:44:11 UTC) #37
danakj
LGTM with https://codereview.chromium.org/1352763003/ as followup
5 years, 3 months ago (2015-09-18 22:17:10 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1287043002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1287043002/140001
5 years, 3 months ago (2015-09-18 22:22:30 UTC) #40
commit-bot: I haz the power
Committed patchset #6 (id:140001)
5 years, 3 months ago (2015-09-18 22:33:08 UTC) #41
commit-bot: I haz the power
5 years, 3 months ago (2015-09-18 22:33:54 UTC) #42
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/3a33d87b15b764a6db1cd863ce54efec2bcd2b23
Cr-Commit-Position: refs/heads/master@{#349787}

Powered by Google App Engine
This is Rietveld 408576698