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

Issue 1984873002: Add logic to ResourceProvider to correctly lock GpuMemoryBuffer Resources. (Closed)

Created:
4 years, 7 months ago by erikchen
Modified:
4 years, 7 months ago
Reviewers:
ccameron
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add logic to ResourceProvider to correctly lock GpuMemoryBuffer Resources. The new logic will hold onto GpuMemoryBuffer Resources until they are no longer in use by the Window Server. BUG=608026 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/87aa976eacd8ed0c530d32a7c85d6ba706dcabf6 Cr-Commit-Position: refs/heads/master@{#395150}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Patch Set 6 : #

Total comments: 8

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -16 lines) Patch
M cc/output/gl_renderer.h View 1 2 3 4 5 6 1 chunk +12 lines, -3 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 2 3 4 5 6 7 4 chunks +40 lines, -13 lines 0 comments Download
M cc/resources/resource_provider.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M cc/resources/resource_provider.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 46 (20 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1984873002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1984873002/20001
4 years, 7 months ago (2016-05-16 23:32:25 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1984873002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1984873002/40001
4 years, 7 months ago (2016-05-16 23:36:57 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/161315)
4 years, 7 months ago (2016-05-16 23:55:01 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1984873002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1984873002/60001
4 years, 7 months ago (2016-05-17 00:46:45 UTC) #10
erikchen
ccameron: Please review.
4 years, 7 months ago (2016-05-17 01:04:12 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-17 01:59:29 UTC) #14
ccameron
Couple structural suggestions. IMO the cc::ResourceProvider part of this doesn't have enough of the dependent ...
4 years, 7 months ago (2016-05-17 03:36:38 UTC) #15
erikchen
On 2016/05/17 03:36:38, ccameron wrote: > Couple structural suggestions. > > IMO the cc::ResourceProvider part ...
4 years, 7 months ago (2016-05-17 05:13:06 UTC) #16
ccameron
On 2016/05/17 05:13:06, erikchen wrote: > On 2016/05/17 03:36:38, ccameron wrote: > > Couple structural ...
4 years, 7 months ago (2016-05-17 14:09:26 UTC) #17
ccameron
On 2016/05/17 14:09:26, ccameron wrote: > On 2016/05/17 05:13:06, erikchen wrote: > > On 2016/05/17 ...
4 years, 7 months ago (2016-05-17 16:39:37 UTC) #18
erikchen
ccameron: PTAL https://codereview.chromium.org/1984873002/diff/60001/cc/output/gl_renderer.h File cc/output/gl_renderer.h (right): https://codereview.chromium.org/1984873002/diff/60001/cc/output/gl_renderer.h#newcode277 cc/output/gl_renderer.h:277: std::deque<GmbResourceLockList> in_use_gmb_resources_; On 2016/05/17 03:36:38, ccameron wrote: ...
4 years, 7 months ago (2016-05-17 22:13:21 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1984873002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1984873002/100001
4 years, 7 months ago (2016-05-17 22:14:04 UTC) #23
ccameron
https://codereview.chromium.org/1984873002/diff/100001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (left): https://codereview.chromium.org/1984873002/diff/100001/cc/output/gl_renderer.cc#oldcode2726 cc/output/gl_renderer.cc:2726: if (!settings_->release_overlay_resources_on_swap_complete && This "!settings_->release_overlay_resources_on_swap_complete" logic is used by ...
4 years, 7 months ago (2016-05-17 22:40:25 UTC) #24
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/230638)
4 years, 7 months ago (2016-05-17 22:56:37 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1984873002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1984873002/120001
4 years, 7 months ago (2016-05-17 23:14:17 UTC) #28
erikchen
https://codereview.chromium.org/1984873002/diff/100001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (left): https://codereview.chromium.org/1984873002/diff/100001/cc/output/gl_renderer.cc#oldcode2726 cc/output/gl_renderer.cc:2726: if (!settings_->release_overlay_resources_on_swap_complete && On 2016/05/17 22:40:25, ccameron wrote: > ...
4 years, 7 months ago (2016-05-17 23:22:33 UTC) #29
ccameron
lgtm
4 years, 7 months ago (2016-05-17 23:32:18 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1984873002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1984873002/140001
4 years, 7 months ago (2016-05-17 23:34:08 UTC) #32
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/229416)
4 years, 7 months ago (2016-05-17 23:47:17 UTC) #34
erikchen
On 2016/05/17 23:47:17, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 7 months ago (2016-05-17 23:55:40 UTC) #35
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1984873002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1984873002/140001
4 years, 7 months ago (2016-05-18 17:38:13 UTC) #37
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-18 18:09:25 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1984873002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1984873002/140001
4 years, 7 months ago (2016-05-20 19:05:32 UTC) #41
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 7 months ago (2016-05-20 20:13:59 UTC) #43
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/87aa976eacd8ed0c530d32a7c85d6ba706dcabf6 Cr-Commit-Position: refs/heads/master@{#395150}
4 years, 7 months ago (2016-05-20 20:17:02 UTC) #45
erikchen
4 years, 7 months ago (2016-05-23 23:44:35 UTC) #46
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.chromium.org/2006153002/ by erikchen@chromium.org.

The reason for reverting is: Depending on an implementation still in review.
Results in flooding of LOG messages.

https://bugs.chromium.org/p/chromium/issues/detail?id=614155
https://codereview.chromium.org/1993333002/.

Powered by Google App Engine
This is Rietveld 408576698