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

Issue 432093003: Enqueuing new frames in a Surface should cause Displays to reaggregate it (Closed)

Created:
6 years, 4 months ago by jbauman
Modified:
6 years, 4 months ago
Reviewers:
jamesr, piman
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

Enqueuing new frames in a Surface should cause Displays to reaggregate it Keep track of which Surfaces were included in a Display last frame, so if a new frame is enqueued in a Surface the Displays containing it will tell their clients to redraw. This way the browser compositor doesn't have to commit if only the renderer contents changed. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290103

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 5

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 1

Patch Set 7 : #

Patch Set 8 : #

Total comments: 2

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -36 lines) Patch
M cc/surfaces/display.h View 1 2 3 4 5 6 4 chunks +8 lines, -2 lines 0 comments Download
M cc/surfaces/display.cc View 1 2 3 4 4 chunks +12 lines, -1 line 0 comments Download
M cc/surfaces/display_client.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M cc/surfaces/surface_aggregator.h View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M cc/surfaces/surface_aggregator.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M cc/surfaces/surface_aggregator_unittest.cc View 1 2 3 15 chunks +45 lines, -16 lines 0 comments Download
A cc/surfaces/surface_damage_observer.h View 1 2 3 4 5 6 1 chunk +19 lines, -0 lines 0 comments Download
M cc/surfaces/surface_factory.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M cc/surfaces/surface_manager.h View 1 2 3 4 5 6 7 8 2 chunks +13 lines, -0 lines 0 comments Download
M cc/surfaces/surface_manager.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M cc/surfaces/surfaces_pixeltest.cc View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M content/browser/compositor/delegated_frame_host.cc View 1 2 3 4 5 6 7 8 9 3 chunks +12 lines, -2 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -2 lines 0 comments Download
M content/browser/compositor/onscreen_display_client.h View 1 2 3 2 chunks +10 lines, -1 line 0 comments Download
M content/browser/compositor/onscreen_display_client.cc View 1 2 3 4 5 6 7 8 3 chunks +24 lines, -4 lines 0 comments Download
M content/browser/compositor/surface_display_output_surface.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/services/surfaces/surfaces_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/surfaces/surfaces_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M ui/compositor/compositor.h View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
jbauman
6 years, 4 months ago (2014-08-06 19:18:48 UTC) #1
jamesr
https://codereview.chromium.org/432093003/diff/40001/cc/surfaces/display.cc File cc/surfaces/display.cc (right): https://codereview.chromium.org/432093003/diff/40001/cc/surfaces/display.cc#newcode91 cc/surfaces/display.cc:91: base::MessageLoopProxy::current()->PostTask( the Display should not self-schedule. tell the client ...
6 years, 4 months ago (2014-08-07 21:04:06 UTC) #2
piman
https://codereview.chromium.org/432093003/diff/40001/cc/surfaces/display.cc File cc/surfaces/display.cc (right): https://codereview.chromium.org/432093003/diff/40001/cc/surfaces/display.cc#newcode91 cc/surfaces/display.cc:91: base::MessageLoopProxy::current()->PostTask( On 2014/08/07 21:04:06, jamesr wrote: > the Display ...
6 years, 4 months ago (2014-08-07 21:09:33 UTC) #3
jbauman
PTAL. Modified to keep track of the SurfaceIds instead, and tell the DisplayClient when damage ...
6 years, 4 months ago (2014-08-11 15:16:40 UTC) #4
jamesr
Could you explain the 'destroy after commit' logic? Why would we need to care about ...
6 years, 4 months ago (2014-08-11 16:58:03 UTC) #5
jbauman
On 2014/08/11 16:58:03, jamesr wrote: > Could you explain the 'destroy after commit' logic? Why ...
6 years, 4 months ago (2014-08-11 17:20:51 UTC) #6
jamesr
On 2014/08/11 17:20:51, jbauman wrote: > On 2014/08/11 16:58:03, jamesr wrote: > > Could you ...
6 years, 4 months ago (2014-08-11 17:25:18 UTC) #7
jbauman
On 2014/08/11 17:25:18, jamesr wrote: > On 2014/08/11 17:20:51, jbauman wrote: > > On 2014/08/11 ...
6 years, 4 months ago (2014-08-11 17:29:29 UTC) #8
jamesr
Hm, so this is just about resizing? I'd rather handle that separately - resizing is ...
6 years, 4 months ago (2014-08-11 20:50:44 UTC) #9
jbauman
On 2014/08/11 20:50:44, jamesr wrote: > Hm, so this is just about resizing? I'd rather ...
6 years, 4 months ago (2014-08-11 21:47:13 UTC) #10
jamesr
lgtm https://codereview.chromium.org/432093003/diff/140001/cc/surfaces/surface_manager.h File cc/surfaces/surface_manager.h (right): https://codereview.chromium.org/432093003/diff/140001/cc/surfaces/surface_manager.h#newcode8 cc/surfaces/surface_manager.h:8: #include <set> not needed https://codereview.chromium.org/432093003/diff/140001/content/browser/compositor/onscreen_display_client.cc File content/browser/compositor/onscreen_display_client.cc (right): ...
6 years, 4 months ago (2014-08-11 22:04:43 UTC) #11
jbauman
piman, could I get an OWNERS review for the ui/compositor change?
6 years, 4 months ago (2014-08-14 18:24:22 UTC) #12
piman
LGTM for now. I'm not super excited about exposing the compositor's task runner because that ...
6 years, 4 months ago (2014-08-15 03:01:36 UTC) #13
chromium-reviews
On Thu, Aug 14, 2014 at 11:01 PM, <piman@chromium.org> wrote: > LGTM for now. I'm ...
6 years, 4 months ago (2014-08-15 15:50:02 UTC) #14
jbauman
The CQ bit was checked by jbauman@chromium.org
6 years, 4 months ago (2014-08-15 21:40:28 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbauman@chromium.org/432093003/180001
6 years, 4 months ago (2014-08-15 21:43:05 UTC) #16
commit-bot: I haz the power
6 years, 4 months ago (2014-08-16 06:07:49 UTC) #17
Message was sent while issue was closed.
Committed patchset #10 (180001) as 290103

Powered by Google App Engine
This is Rietveld 408576698