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

Issue 843633003: Enable partial texture upload support for browser compositor with Surfaces (Closed)

Created:
5 years, 11 months ago by jbauman
Modified:
5 years, 11 months ago
Reviewers:
danakj, jamesr
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, cc-bugs_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable partial texture upload support for browser compositor with Surfaces This requires that previously-used textures be returned to the browser compositor before a commit, so they can be uploaded to. This saves memory by reducing the number of textures that need to be created. Also avoid releasing old textures from renderers on SubmitFrame, as that can be unnecessarily expensive if both the old and new frames reference the same textures. BUG=446588, 446417, 446414 Committed: https://crrev.com/9bfb1a5808e5939e5b2ce272c0103902a252fcf6 Cr-Commit-Position: refs/heads/master@{#310737}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -5 lines) Patch
M cc/output/delegating_renderer.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cc/output/output_surface.h View 1 3 chunks +9 lines, -1 line 0 comments Download
M cc/surfaces/display.cc View 1 chunk +9 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/compositor/surface_display_output_surface.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/compositor/surface_display_output_surface.cc View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (3 generated)
jbauman
5 years, 11 months ago (2015-01-08 21:01:13 UTC) #2
danakj
https://codereview.chromium.org/843633003/diff/20001/cc/output/output_surface.h File cc/output/output_surface.h (right): https://codereview.chromium.org/843633003/diff/20001/cc/output/output_surface.h#newcode120 cc/output/output_surface.h:120: virtual void ForceReclaimResources() {} Question.. what about hardware overlays? ...
5 years, 11 months ago (2015-01-08 21:04:34 UTC) #4
jbauman
Thanks for looking at this. On 2015/01/08 21:04:34, danakj wrote: > https://codereview.chromium.org/843633003/diff/20001/cc/output/output_surface.h > File cc/output/output_surface.h ...
5 years, 11 months ago (2015-01-08 21:13:09 UTC) #5
danakj
On 2015/01/08 21:13:09, jbauman wrote: > Thanks for looking at this. > > On 2015/01/08 ...
5 years, 11 months ago (2015-01-08 21:17:15 UTC) #6
jbauman
On 2015/01/08 21:17:15, danakj wrote: > On 2015/01/08 21:13:09, jbauman wrote: > > Thanks for ...
5 years, 11 months ago (2015-01-09 00:23:34 UTC) #7
danakj
On Thu, Jan 8, 2015 at 4:23 PM, <jbauman@chromium.org> wrote: > On 2015/01/08 21:17:15, danakj ...
5 years, 11 months ago (2015-01-09 00:33:00 UTC) #8
jbauman
PTAL On 2015/01/09 00:33:00, danakj wrote: > On Thu, Jan 8, 2015 at 4:23 PM, ...
5 years, 11 months ago (2015-01-09 01:06:58 UTC) #9
danakj
On Thu, Jan 8, 2015 at 5:06 PM, <jbauman@chromium.org> wrote: > PTAL > > On ...
5 years, 11 months ago (2015-01-09 01:08:48 UTC) #10
danakj
https://codereview.chromium.org/843633003/diff/40001/cc/output/delegating_renderer.cc File cc/output/delegating_renderer.cc (right): https://codereview.chromium.org/843633003/diff/40001/cc/output/delegating_renderer.cc#newcode44 cc/output/delegating_renderer.cc:44: capabilities_.allow_partial_texture_updates = Thanks, this LGTM for non-impl-side painting. (I ...
5 years, 11 months ago (2015-01-09 01:11:12 UTC) #11
jamesr
lgtm w/ slightly more descriptive name https://codereview.chromium.org/843633003/diff/40001/content/browser/compositor/surface_display_output_surface.cc File content/browser/compositor/surface_display_output_surface.cc (right): https://codereview.chromium.org/843633003/diff/40001/content/browser/compositor/surface_display_output_surface.cc#newcode81 content/browser/compositor/surface_display_output_surface.cc:81: scoped_ptr<cc::CompositorFrame> frame_copy(new cc::CompositorFrame()); ...
5 years, 11 months ago (2015-01-09 01:14:45 UTC) #12
jbauman
On 2015/01/09 01:11:12, danakj wrote: > https://codereview.chromium.org/843633003/diff/40001/cc/output/delegating_renderer.cc > File cc/output/delegating_renderer.cc (right): > > https://codereview.chromium.org/843633003/diff/40001/cc/output/delegating_renderer.cc#newcode44 > ...
5 years, 11 months ago (2015-01-09 01:25:10 UTC) #13
danakj
On Jan 8, 2015 5:25 PM, <jbauman@chromium.org> wrote: > > On 2015/01/09 01:11:12, danakj wrote: ...
5 years, 11 months ago (2015-01-09 01:34:26 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/843633003/60001
5 years, 11 months ago (2015-01-09 07:42:28 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 11 months ago (2015-01-09 08:16:33 UTC) #17
commit-bot: I haz the power
5 years, 11 months ago (2015-01-09 08:17:24 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9bfb1a5808e5939e5b2ce272c0103902a252fcf6
Cr-Commit-Position: refs/heads/master@{#310737}

Powered by Google App Engine
This is Rietveld 408576698