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

Issue 1867163002: Mac: Clean up ImageTransportSurfaceOverlayMac timing (Closed)

Created:
4 years, 8 months ago by ccameron
Modified:
4 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org, enne (OOO), danakj
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mac: Clean up ImageTransportSurfaceOverlayMac timing Change the processing of a frame to be the following: 0. GPU commands are decoded (compositor, WebGL, nor nothing) 1. SwapBuffers is called on ImageTransportSurfaceOverlayMac 2. Do glFinish on the GL context 3. Update the CALayer tree and ack the swap to the browser This is much simpler to reason about, and appears to result in improved performance. BUG=601608 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/5a3c87b37a46ce1b0813f0530d981165daaa7cfe Cr-Commit-Position: refs/heads/master@{#386316}

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -283 lines) Patch
M gpu/ipc/service/image_transport_surface_overlay_mac.h View 1 4 chunks +0 lines, -41 lines 0 comments Download
M gpu/ipc/service/image_transport_surface_overlay_mac.mm View 1 11 chunks +29 lines, -242 lines 0 comments Download

Messages

Total messages: 26 (10 generated)
ccameron
This makes the change that we tested locally, and then deletes all of the now-dead ...
4 years, 8 months ago (2016-04-07 22:27:16 UTC) #2
Ken Russell (switch to Gerrit)
Based on our local testing, this patch significantly improves behavior for GPU-bound content. The large ...
4 years, 8 months ago (2016-04-07 22:38:54 UTC) #3
piman
On Thu, Apr 7, 2016 at 3:38 PM, <kbr@chromium.org> wrote: > Based on our local ...
4 years, 8 months ago (2016-04-07 23:07:03 UTC) #4
ccameron
On 2016/04/07 23:07:03, piman wrote: > On Thu, Apr 7, 2016 at 3:38 PM, <mailto:kbr@chromium.org> ...
4 years, 8 months ago (2016-04-07 23:24:30 UTC) #5
piman
On Thu, Apr 7, 2016 at 4:24 PM, <ccameron@chromium.org> wrote: > On 2016/04/07 23:07:03, piman ...
4 years, 8 months ago (2016-04-07 23:27:39 UTC) #6
ccameron
On 2016/04/07 23:27:39, piman wrote: > On Thu, Apr 7, 2016 at 4:24 PM, <mailto:ccameron@chromium.org> ...
4 years, 8 months ago (2016-04-07 23:47:34 UTC) #7
piman
Ok, LGTM from my side if we're happy with this.
4 years, 8 months ago (2016-04-08 00:46:47 UTC) #8
sunnyps
Did you consider using a fence to delay SwapBuffersAck to the browser instead of using ...
4 years, 8 months ago (2016-04-08 02:22:05 UTC) #10
sunnyps
On 2016/04/08 02:22:05, sunnyps wrote: > Did you consider using a fence to delay SwapBuffersAck ...
4 years, 8 months ago (2016-04-08 02:29:15 UTC) #11
ccameron
Thanks!
4 years, 8 months ago (2016-04-08 19:43:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867163002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867163002/1
4 years, 8 months ago (2016-04-08 19:44:27 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/166539)
4 years, 8 months ago (2016-04-08 19:53:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867163002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867163002/1
4 years, 8 months ago (2016-04-09 06:40:40 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867163002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867163002/20001
4 years, 8 months ago (2016-04-10 04:41:56 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-10 05:34:48 UTC) #24
commit-bot: I haz the power
4 years, 8 months ago (2016-04-10 05:36:42 UTC) #26
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5a3c87b37a46ce1b0813f0530d981165daaa7cfe
Cr-Commit-Position: refs/heads/master@{#386316}

Powered by Google App Engine
This is Rietveld 408576698