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

Issue 465673003: Add callback when queueing frame on Surface to create backpressure. (Closed)

Created:
6 years, 4 months ago by jbauman
Modified:
6 years, 3 months ago
Reviewers:
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
Project:
chromium
Visibility:
Public.

Description

Add callback when queueing frame on Surface to create backpressure. When a frame is queued on a surface, a callback can queued that will be called when that surface is used to draw a frame. This can be used to create backpressure on renderers or the browser compositor. BUG= Committed: https://crrev.com/878e9535344a864efec4c5137e3b1363f911f378 Cr-Commit-Position: refs/heads/master@{#291605}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -23 lines) Patch
M cc/surfaces/display.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M cc/surfaces/surface.h View 1 2 3 3 chunks +7 lines, -1 line 0 comments Download
M cc/surfaces/surface.cc View 1 2 3 2 chunks +13 lines, -1 line 0 comments Download
M cc/surfaces/surface_aggregator_unittest.cc View 1 5 chunks +5 lines, -5 lines 0 comments Download
M cc/surfaces/surface_factory.h View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M cc/surfaces/surface_factory.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M cc/surfaces/surface_factory_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/surfaces/surfaces_pixeltest.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M content/browser/compositor/delegated_frame_host.cc View 1 2 chunks +8 lines, -3 lines 0 comments Download
M content/browser/compositor/surface_display_output_surface.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/compositor/surface_display_output_surface.cc View 2 chunks +9 lines, -2 lines 0 comments Download
M mojo/services/surfaces/surfaces_impl.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
jbauman
6 years, 4 months ago (2014-08-11 22:58:45 UTC) #1
jbauman
jamesr, ping
6 years, 4 months ago (2014-08-20 23:36:13 UTC) #2
jamesr
sorry for delay, lgtm should we be returning unused resources on this callback as well? ...
6 years, 4 months ago (2014-08-22 06:00:12 UTC) #3
jamesr
I guess we'd also want to return resources if we decided we were going to ...
6 years, 4 months ago (2014-08-22 06:00:35 UTC) #4
jbauman
On 2014/08/22 06:00:12, jamesr wrote: > sorry for delay, lgtm > > should we be ...
6 years, 4 months ago (2014-08-23 00:02:01 UTC) #5
chromium-reviews
On Fri, Aug 22, 2014 at 8:02 PM, <jbauman@chromium.org> wrote: > On 2014/08/22 06:00:12, jamesr ...
6 years, 4 months ago (2014-08-23 00:03:22 UTC) #6
jbauman
The CQ bit was checked by jbauman@chromium.org
6 years, 4 months ago (2014-08-23 00:22:59 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbauman@chromium.org/465673003/60001
6 years, 4 months ago (2014-08-23 04:56:30 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (60001) as 6d328221f3f428755cb104eb80ffb85eb585e78c
6 years, 4 months ago (2014-08-23 22:10:30 UTC) #9
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:31:57 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/878e9535344a864efec4c5137e3b1363f911f378
Cr-Commit-Position: refs/heads/master@{#291605}

Powered by Google App Engine
This is Rietveld 408576698