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

Issue 2695243006: Don't delete CopyOutputRequests when queueing a new Surface frame. (Closed)

Created:
3 years, 10 months ago by jbauman
Modified:
3 years, 9 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't delete CopyOutputRequests when queueing a new Surface frame. This reduces the risk that the CopyOutputRequests will be discarded unnecessarily. This only affects CopyOutputRequests created through SurfaceFactory::RequestCopyOfSurface, as requests submitted on RenderPasses directly with the frame will still be discarded. BUG=681988 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2695243006 Cr-Commit-Position: refs/heads/master@{#453807} Committed: https://chromium.googlesource.com/chromium/src/+/37b0e1379938325304eeaff6afb9e7cb9f8bb618

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : add test #

Total comments: 1

Patch Set 4 : save all copy requests on the root pass #

Patch Set 5 : rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -0 lines) Patch
M cc/surfaces/surface.cc View 1 2 3 4 2 chunks +11 lines, -0 lines 0 comments Download
M cc/surfaces/surface_unittest.cc View 1 2 3 4 2 chunks +55 lines, -0 lines 1 comment Download

Messages

Total messages: 36 (26 generated)
jbauman
3 years, 10 months ago (2017-02-23 02:18:43 UTC) #14
danakj
I'm concerned about the complexity of now having two stashes of copy requests. Some questions ...
3 years, 10 months ago (2017-02-23 22:52:28 UTC) #15
jbauman
On 2017/02/23 22:52:28, danakj wrote: > I'm concerned about the complexity of now having two ...
3 years, 10 months ago (2017-02-23 23:02:19 UTC) #16
chromium-reviews
On Thu, Feb 23, 2017 at 6:02 PM, <jbauman@chromium.org> wrote: > On 2017/02/23 22:52:28, danakj ...
3 years, 10 months ago (2017-02-23 23:19:10 UTC) #17
jbauman
PTAL. I've made it just save and copy over all requests on the root pass.
3 years, 10 months ago (2017-02-24 22:16:09 UTC) #26
danakj
This is a lot simpler, thanks! LGTM https://codereview.chromium.org/2695243006/diff/80001/cc/surfaces/surface_unittest.cc File cc/surfaces/surface_unittest.cc (right): https://codereview.chromium.org/2695243006/diff/80001/cc/surfaces/surface_unittest.cc#newcode105 cc/surfaces/surface_unittest.cc:105: surface->GetActiveFrame().render_pass_list.back()->copy_requests.size()); This ...
3 years, 9 months ago (2017-02-28 17:33:15 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2695243006/80001
3 years, 9 months ago (2017-02-28 23:00:36 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/331059)
3 years, 9 months ago (2017-03-01 00:18:32 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2695243006/80001
3 years, 9 months ago (2017-03-01 01:51:14 UTC) #33
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 03:05:10 UTC) #36
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/37b0e1379938325304eeaff6afb9...

Powered by Google App Engine
This is Rietveld 408576698