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

Issue 1917723002: Move logic from ImageTransportSurfaceOverlayMac into ui/ (Closed)

Created:
4 years, 8 months ago by ccameron
Modified:
4 years, 7 months ago
Reviewers:
erikchen
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move logic from ImageTransportSurfaceOverlayMac into ui/ This CL is a refactor and should have no functional effects. Move the logic that handles switching between CALayerTree (from the CoreAnimation renderer) and CALayerPartialDamageTree (from the OpenGL renderer) into ui/accelerated_widget_mac. Rename the structures to have clearer meanings. The CARendererLayerTree (formerly CALayerTree) is produced by CoreAnimation renderer, and the GLRendererLayerTree (formerly CALayerPartialDamageTree) is produced by the OpenGL renderer. The CALayerTreeCoordinator coordinates switching between these types of trees. This is to - Continue the process of moving CoreAnimation renderer entirely to the browser process - Provide a place to plug in and update low power video layers. - Allow for testing of the transition between CoreAnimation renderer and OpenGL renderer. BUG=604052 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/f3c6c059d5318978e9171ae7a1ca54f56091de85 Cr-Commit-Position: refs/heads/master@{#389959}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Mass rename #

Patch Set 3 : More feedback #

Total comments: 1

Patch Set 4 : Fix grammar #

Unified diffs Side-by-side diffs Delta from patch set Stats (+314 lines, -1319 lines) Patch
M gpu/ipc/service/image_transport_surface_overlay_mac.h View 1 3 chunks +2 lines, -12 lines 0 comments Download
M gpu/ipc/service/image_transport_surface_overlay_mac.mm View 1 2 8 chunks +23 lines, -55 lines 0 comments Download
M ui/accelerated_widget_mac/BUILD.gn View 1 1 chunk +6 lines, -4 lines 0 comments Download
M ui/accelerated_widget_mac/accelerated_widget_mac.gyp View 1 1 chunk +6 lines, -4 lines 0 comments Download
D ui/accelerated_widget_mac/ca_layer_partial_damage_tree_mac.h View 1 1 chunk +0 lines, -58 lines 0 comments Download
D ui/accelerated_widget_mac/ca_layer_partial_damage_tree_mac.mm View 1 1 chunk +0 lines, -287 lines 0 comments Download
A ui/accelerated_widget_mac/ca_layer_tree_coordinator.h View 1 2 3 1 chunk +71 lines, -0 lines 0 comments Download
A ui/accelerated_widget_mac/ca_layer_tree_coordinator.mm View 1 2 1 chunk +97 lines, -0 lines 0 comments Download
D ui/accelerated_widget_mac/ca_layer_tree_mac.h View 1 1 chunk +0 lines, -212 lines 0 comments Download
D ui/accelerated_widget_mac/ca_layer_tree_mac.mm View 1 1 chunk +0 lines, -598 lines 0 comments Download
M ui/accelerated_widget_mac/ca_layer_tree_unittest_mac.mm View 1 21 chunks +39 lines, -21 lines 0 comments Download
A + ui/accelerated_widget_mac/ca_renderer_layer_tree.h View 1 4 chunks +10 lines, -9 lines 0 comments Download
A + ui/accelerated_widget_mac/ca_renderer_layer_tree.mm View 1 16 chunks +37 lines, -36 lines 0 comments Download
A + ui/accelerated_widget_mac/gl_renderer_layer_tree.h View 1 2 3 2 chunks +8 lines, -8 lines 0 comments Download
A + ui/accelerated_widget_mac/gl_renderer_layer_tree.mm View 1 2 3 8 chunks +15 lines, -15 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (9 generated)
ccameron
I'm not enamored with the name CALayerTreeHost -- other suggestions welcome. I also thought of ...
4 years, 8 months ago (2016-04-25 02:41:43 UTC) #3
erikchen
Can you clean up your commit message? Maybe: """ Move logic from ImageTransportSurfaceOverlayMac into ui/. ...
4 years, 8 months ago (2016-04-25 20:05:36 UTC) #4
erikchen
Otherwise, lgtm.
4 years, 8 months ago (2016-04-25 20:06:01 UTC) #5
ccameron
Updated with lots more renaming, and I think it clears things up quite a bit. ...
4 years, 7 months ago (2016-04-26 22:36:40 UTC) #9
erikchen
thanks, this is a lot better. lgtm https://codereview.chromium.org/1917723002/diff/40001/ui/accelerated_widget_mac/ca_layer_tree_coordinator.h File ui/accelerated_widget_mac/ca_layer_tree_coordinator.h (right): https://codereview.chromium.org/1917723002/diff/40001/ui/accelerated_widget_mac/ca_layer_tree_coordinator.h#newcode35 ui/accelerated_widget_mac/ca_layer_tree_coordinator.h:35: // The ...
4 years, 7 months ago (2016-04-26 23:09:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1917723002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1917723002/60001
4 years, 7 months ago (2016-04-26 23:55:16 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-04-27 00:51:13 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-04-27 00:52:47 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f3c6c059d5318978e9171ae7a1ca54f56091de85
Cr-Commit-Position: refs/heads/master@{#389959}

Powered by Google App Engine
This is Rietveld 408576698