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

Issue 2286273003: Make cc::Display not own its BeginFrameSource (Closed)

Created:
4 years, 3 months ago by enne (OOO)
Modified:
4 years, 3 months ago
CC:
anandc+watch-blimp_chromium.org, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dtrainor+watch-blimp_chromium.org, Fady Samuel, gcasto+watch-blimp_chromium.org, jam, jbauman+watch_chromium.org, jessicag+watch-blimp_chromium.org, kalyank, khushalsagar+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, piman+watch_chromium.org, rjkroege, shaktisahu+watch-blimp_chromium.org, sievers+watch_chromium.org, sriramsr+watch-blimp_chromium.org, Ian Vollick
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make cc::Display not own its BeginFrameSource This is refactoring to allow MusBrowserCompositorOutputSurface to provide an ExternalBeginFrameSource that it owns rather than passing ownership to Display. This should also make it possible to remove begin frame sources from OutputSurface in the future after the OutputSurface/CompositorFrameSink split. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/9848a61393772cc8a9aa8349c68f7d436c743369 Cr-Commit-Position: refs/heads/master@{#415738}

Patch Set 1 #

Total comments: 6

Patch Set 2 : danakj comments #

Patch Set 3 : Android fixes #

Patch Set 4 : Fix Android #

Patch Set 5 : Fix webview #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -65 lines) Patch
M android_webview/browser/surfaces_instance.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/browser/surfaces_instance.cc View 1 2 3 4 3 chunks +2 lines, -5 lines 0 comments Download
M blimp/client/app/compositor/browser_compositor.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M blimp/client/app/compositor/browser_compositor.cc View 1 1 chunk +4 lines, -5 lines 0 comments Download
M cc/surfaces/display.h View 1 3 chunks +2 lines, -4 lines 0 comments Download
M cc/surfaces/display.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M cc/surfaces/display_unittest.cc View 3 chunks +3 lines, -5 lines 0 comments Download
M cc/surfaces/surface_display_output_surface_unittest.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M cc/test/test_delegating_output_surface.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M cc/test/test_delegating_output_surface.cc View 1 chunk +5 lines, -6 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 1 3 chunks +7 lines, -5 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M services/ui/surfaces/display_compositor.h View 2 chunks +2 lines, -0 lines 0 comments Download
M services/ui/surfaces/display_compositor.cc View 2 chunks +6 lines, -7 lines 0 comments Download
M ui/compositor/test/in_process_context_factory.h View 1 chunk +2 lines, -1 line 0 comments Download
M ui/compositor/test/in_process_context_factory.cc View 3 chunks +19 lines, -13 lines 0 comments Download

Messages

Total messages: 33 (19 generated)
enne (OOO)
4 years, 3 months ago (2016-08-30 01:01:30 UTC) #3
danakj
LGTM~ https://codereview.chromium.org/2286273003/diff/1/cc/surfaces/display.h File cc/surfaces/display.h (right): https://codereview.chromium.org/2286273003/diff/1/cc/surfaces/display.h#newcode136 cc/surfaces/display.h:136: BeginFrameSource* begin_frame_source_; can it be a const member ...
4 years, 3 months ago (2016-08-30 01:10:56 UTC) #4
enne (OOO)
https://codereview.chromium.org/2286273003/diff/1/ui/compositor/test/in_process_context_factory.cc File ui/compositor/test/in_process_context_factory.cc (right): https://codereview.chromium.org/2286273003/diff/1/ui/compositor/test/in_process_context_factory.cc#newcode177 ui/compositor/test/in_process_context_factory.cc:177: data->begin_frame_source.reset(new cc::DelayBasedBeginFrameSource( On 2016/08/30 at 01:10:56, danakj wrote: > ...
4 years, 3 months ago (2016-08-30 20:17:28 UTC) #5
enne (OOO)
fsamuel: services/ui/surfaces/ OWNERS nyquist: blimp/client/app/compositor/ OWNERS
4 years, 3 months ago (2016-08-30 20:18:21 UTC) #7
Fady Samuel
lgtm
4 years, 3 months ago (2016-08-30 20:20:14 UTC) #10
nyquist
lgtm
4 years, 3 months ago (2016-08-30 21:52:05 UTC) #13
enne (OOO)
sievers: content/browser/renderer_host/ OWNERS
4 years, 3 months ago (2016-08-30 22:19:00 UTC) #17
enne (OOO)
boliu: android_webview OWNERS
4 years, 3 months ago (2016-08-30 23:41:58 UTC) #20
boliu
On 2016/08/30 23:41:58, enne wrote: > boliu: android_webview OWNERS lgtm
4 years, 3 months ago (2016-08-30 23:42:58 UTC) #21
no sievers
On 2016/08/30 22:19:00, enne wrote: > sievers: content/browser/renderer_host/ OWNERS lgtm
4 years, 3 months ago (2016-08-31 19:10:57 UTC) #26
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/2286273003/80001
4 years, 3 months ago (2016-08-31 20:15:39 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-08-31 20:20:40 UTC) #30
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/9848a61393772cc8a9aa8349c68f7d436c743369 Cr-Commit-Position: refs/heads/master@{#415738}
4 years, 3 months ago (2016-08-31 20:23:26 UTC) #32
Ken Russell (switch to Gerrit)
4 years, 3 months ago (2016-09-01 00:08:02 UTC) #33
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/2304483002/ by kbr@chromium.org.

The reason for reverting is: Suspect this may have induced renderer crashes in
the context_lost tests; see http://crbug.com/642984 .
.

Powered by Google App Engine
This is Rietveld 408576698