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

Issue 2018793002: Mac: Move remote layer use to GpuOutputSurfaceMac (Closed)

Created:
4 years, 7 months ago by ccameron
Modified:
4 years, 6 months ago
Reviewers:
Mark Mentovai, tapted
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@clean_up_mac
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mac: Move remote layer use to GpuOutputSurfaceMac Move the logic for managing remote layers from AcceleratedWidgetMac to GpuOutputSurfaceMac. Change AcceleratedWidgetMac's interface to take CALayers for new content, not remote handles (CAContextIDs). In future patches, GpuOutputSurfaceMac will instantiate a CALayerTreeCoordinatorMac locally (as opposed to in the GPU process), and will present the resulting CALayers directly. BUG=604052 Committed: https://crrev.com/898bf6cab1519ef567ecfc0dd07d3fef9b941247 Cr-Commit-Position: refs/heads/master@{#397646}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Incorporate review feedback #

Total comments: 6

Patch Set 3 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -218 lines) Patch
M content/browser/compositor/gpu_output_surface_mac.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/compositor/gpu_output_surface_mac.mm View 1 2 3 chunks +52 lines, -8 lines 0 comments Download
M content/browser/compositor/software_output_device_mac.mm View 1 chunk +12 lines, -8 lines 0 comments Download
M content/browser/renderer_host/browser_compositor_view_mac.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M ui/accelerated_widget_mac/accelerated_widget_mac.h View 1 2 7 chunks +15 lines, -50 lines 0 comments Download
M ui/accelerated_widget_mac/accelerated_widget_mac.mm View 4 chunks +62 lines, -148 lines 0 comments Download
M ui/views/widget/native_widget_mac_unittest.mm View 1 2 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
ccameron
Adding tapted@ for ui::AcceleratedWidgetMac. Adding mark@ for base/mac.
4 years, 7 months ago (2016-05-26 23:08:06 UTC) #2
tapted
https://codereview.chromium.org/2018793002/diff/1/content/browser/compositor/gpu_output_surface_mac.h File content/browser/compositor/gpu_output_surface_mac.h (right): https://codereview.chromium.org/2018793002/diff/1/content/browser/compositor/gpu_output_surface_mac.h#newcode12 content/browser/compositor/gpu_output_surface_mac.h:12: class GpuOutputSurfaceMac Is there an upstream patch? (this file ...
4 years, 7 months ago (2016-05-27 00:33:20 UTC) #3
Mark Mentovai
LGTM in base
4 years, 6 months ago (2016-05-27 19:45:49 UTC) #4
ccameron
Thanks -- updated https://codereview.chromium.org/2018793002/diff/1/content/browser/compositor/gpu_output_surface_mac.h File content/browser/compositor/gpu_output_surface_mac.h (right): https://codereview.chromium.org/2018793002/diff/1/content/browser/compositor/gpu_output_surface_mac.h#newcode12 content/browser/compositor/gpu_output_surface_mac.h:12: class GpuOutputSurfaceMac On 2016/05/27 00:33:19, tapted ...
4 years, 6 months ago (2016-06-03 02:43:01 UTC) #5
tapted
lgtm % nits https://codereview.chromium.org/2018793002/diff/20001/content/browser/compositor/gpu_output_surface_mac.mm File content/browser/compositor/gpu_output_surface_mac.mm (right): https://codereview.chromium.org/2018793002/diff/20001/content/browser/compositor/gpu_output_surface_mac.mm#newcode91 content/browser/compositor/gpu_output_surface_mac.mm:91: base::scoped_nsobject<CALayer>( nit: I think the preferred ...
4 years, 6 months ago (2016-06-03 03:10:47 UTC) #6
ccameron
Thanks! https://codereview.chromium.org/2018793002/diff/20001/content/browser/compositor/gpu_output_surface_mac.mm File content/browser/compositor/gpu_output_surface_mac.mm (right): https://codereview.chromium.org/2018793002/diff/20001/content/browser/compositor/gpu_output_surface_mac.mm#newcode91 content/browser/compositor/gpu_output_surface_mac.mm:91: base::scoped_nsobject<CALayer>( On 2016/06/03 03:10:46, tapted wrote: > nit: ...
4 years, 6 months ago (2016-06-03 05:37:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2018793002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2018793002/40001
4 years, 6 months ago (2016-06-03 05:37:54 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-03 06:14:06 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 06:15:56 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/898bf6cab1519ef567ecfc0dd07d3fef9b941247
Cr-Commit-Position: refs/heads/master@{#397646}

Powered by Google App Engine
This is Rietveld 408576698