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

Issue 2143263002: cc: Remove OutputSurfaceClient::DidSwapBuffers(). (Closed)

Created:
4 years, 5 months ago by danakj
Modified:
4 years, 5 months ago
CC:
anandc+watch-blimp_chromium.org, android-webview-reviews_chromium.org, brianderson, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dtrainor+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, mlamouri+watch-content_chromium.org, nyquist+watch-blimp_chromium.org, piman, piman+watch_chromium.org, rjkroege, shaktisahu+watch-blimp_chromium.org, sievers+watch_chromium.org, sriramsr+watch-blimp_chromium.org, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Remove OutputSurfaceClient::DidSwapBuffers(). If we call swap, we know that we swapped, so we don't need a callback to tell us about that. Instead, just have places that call Renderer::SwapBuffers() do what they would have in the DidSwapBuffers callback. It is the DidSwapBuffersComplete() callback that is used for throttling/unblocking frame production. This one has no purpose on OutputSurfaceClient. R=enne, jbauman TBR=sky,boliu,sievers BUG=606056 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel Committed: https://crrev.com/4600da1be6cc2719af18c4cbdc07101e1ba77127 Cr-Commit-Position: refs/heads/master@{#405300}

Patch Set 1 #

Patch Set 2 : removedidswap: testfix #

Patch Set 3 : removedidswap: fix-webview-swap #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -74 lines) Patch
M android_webview/browser/parent_output_surface.cc View 1 chunk +0 lines, -1 line 0 comments Download
M blimp/client/feature/compositor/blimp_output_surface.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/output/output_surface.h View 1 chunk +1 line, -2 lines 0 comments Download
M cc/output/output_surface_client.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/output/output_surface_unittest.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M cc/output/overlay_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/output/renderer_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/surfaces/display.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/surfaces/display.cc View 2 chunks +4 lines, -6 lines 0 comments Download
M cc/surfaces/surface_display_output_surface.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl_client.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/test/fake_output_surface.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/test/fake_output_surface_client.h View 1 chunk +1 line, -2 lines 0 comments Download
M cc/test/fake_output_surface_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/test/pixel_test_delegating_output_surface.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/test/pixel_test_output_surface.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.h View 2 chunks +0 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/proxy_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/proxy_impl.cc View 2 chunks +4 lines, -7 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/single_thread_proxy.cc View 2 chunks +5 lines, -8 lines 0 comments Download
M content/browser/compositor/gpu_browser_compositor_output_surface.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/compositor/offscreen_browser_compositor_output_surface.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/compositor/software_browser_compositor_output_surface.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/compositor/software_browser_compositor_output_surface_unittest.cc View 1 2 chunks +0 lines, -4 lines 0 comments Download
M content/browser/compositor/vulkan_browser_compositor_output_surface.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.cc View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.cc View 1 chunk +0 lines, -1 line 0 comments Download
M services/ui/public/cpp/lib/output_surface.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M services/ui/surfaces/direct_output_surface.cc View 1 chunk +0 lines, -1 line 0 comments Download
M services/ui/surfaces/direct_output_surface_ozone.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M ui/compositor/test/in_process_context_factory.cc View 1 chunk +0 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 47 (26 generated)
danakj
4 years, 5 months ago (2016-07-12 22:43:36 UTC) #3
danakj
+sievers for content +boliu for webview +fsamuel for mus
4 years, 5 months ago (2016-07-12 22:44:08 UTC) #5
danakj
+nyquist for blimp
4 years, 5 months ago (2016-07-12 22:44:39 UTC) #7
danakj
+sky for services/ui/public/cpp/lib/output_surface.cc
4 years, 5 months ago (2016-07-12 22:45:16 UTC) #9
jbauman
lgtm
4 years, 5 months ago (2016-07-12 22:48:10 UTC) #12
enne (OOO)
Nice! lgtm
4 years, 5 months ago (2016-07-12 23:15:37 UTC) #14
Fady Samuel
services/ui/surfaces lgtm
4 years, 5 months ago (2016-07-12 23:21:51 UTC) #15
nyquist
lgtm
4 years, 5 months ago (2016-07-12 23:52:12 UTC) #16
danakj
TBRing the rest, just deleting stuff.
4 years, 5 months ago (2016-07-13 00:00:34 UTC) #24
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/2143263002/20001
4 years, 5 months ago (2016-07-13 00:05:15 UTC) #25
boliu
lgtm
4 years, 5 months ago (2016-07-13 00:31:55 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/102755)
4 years, 5 months ago (2016-07-13 01:12:26 UTC) #28
danakj
I missed a call to DidSwapBuffers looks like. 07-13 00:56:56.849 10350 10368 F chromium: [FATAL:scheduler.cc(162)] ...
4 years, 5 months ago (2016-07-13 01:14:51 UTC) #29
piman
lgtm
4 years, 5 months ago (2016-07-13 18:29:55 UTC) #31
danakj
boliu: PTAL, fix for webview included. That fallback tick thing we did in SwapBuffers, where ...
4 years, 5 months ago (2016-07-13 19:56:12 UTC) #32
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names without "master." prefix is ...
4 years, 5 months ago (2016-07-13 19:57:34 UTC) #35
boliu
On 2016/07/13 19:56:12, danakj wrote: > boliu: PTAL, fix for webview included. > > That ...
4 years, 5 months ago (2016-07-13 20:01:52 UTC) #37
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/2143263002/40001
4 years, 5 months ago (2016-07-13 20:04:28 UTC) #42
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-13 21:40:29 UTC) #44
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 21:40:38 UTC) #45
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 21:43:43 UTC) #47
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4600da1be6cc2719af18c4cbdc07101e1ba77127
Cr-Commit-Position: refs/heads/master@{#405300}

Powered by Google App Engine
This is Rietveld 408576698