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

Issue 1920723002: Mac: Add detection for low power video compatible frames (Closed)

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

Description

Mac: Add detection for low power video compatible frames Create a persistent AVSampleBufferDisplayLayer in CALayerTreeHost for fullscreen low power video. Add a function to CARendererLayerTree to check to see if the frame can be represented by a single video frame on a black background, and, if so, update the AVSampleBufferDisplayLayer to show this video frame. The AVSampleBufferDisplayLayer then doesn't go anywhere. The next patch will plumb it through to the AcceleratedWidgetMac. BUG=594460 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/5796159f793cc27a4b2f6ccdef91b8bf87b00721 Cr-Commit-Position: refs/heads/master@{#390187}

Patch Set 1 #

Patch Set 2 : Remove clip #

Patch Set 3 : Rebase #

Total comments: 8

Patch Set 4 : Incorporate review feedback #

Patch Set 5 : Add const #

Patch Set 6 : add const #

Unified diffs Side-by-side diffs Delta from patch set Stats (+274 lines, -6 lines) Patch
M gpu/ipc/service/image_transport_surface_overlay_mac.mm View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M ui/accelerated_widget_mac/ca_layer_tree_coordinator.h View 1 2 3 4 3 chunks +14 lines, -4 lines 0 comments Download
M ui/accelerated_widget_mac/ca_layer_tree_coordinator.mm View 1 2 5 chunks +25 lines, -1 line 0 comments Download
M ui/accelerated_widget_mac/ca_layer_tree_unittest_mac.mm View 1 2 3 chunks +171 lines, -0 lines 0 comments Download
M ui/accelerated_widget_mac/ca_renderer_layer_tree.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M ui/accelerated_widget_mac/ca_renderer_layer_tree.mm View 1 2 3 4 5 1 chunk +52 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 16 (10 generated)
ccameron
4 years, 8 months ago (2016-04-25 05:59:59 UTC) #5
erikchen
lgtm https://codereview.chromium.org/1920723002/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/1920723002/diff/40001/ui/accelerated_widget_mac/ca_layer_tree_coordinator.h#newcode42 ui/accelerated_widget_mac/ca_layer_tree_coordinator.h:42: bool* fullscreen_low_power_layer_valid); Add the comment: If the pending ...
4 years, 8 months ago (2016-04-26 23:56:22 UTC) #8
ccameron
Thanks! https://codereview.chromium.org/1920723002/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/1920723002/diff/40001/ui/accelerated_widget_mac/ca_layer_tree_coordinator.h#newcode42 ui/accelerated_widget_mac/ca_layer_tree_coordinator.h:42: bool* fullscreen_low_power_layer_valid); On 2016/04/26 23:56:21, erikchen wrote: > ...
4 years, 7 months ago (2016-04-27 20:01:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1920723002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1920723002/100001
4 years, 7 months ago (2016-04-27 20:02:01 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-04-27 21:14:07 UTC) #14
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:13:11 UTC) #15
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5796159f793cc27a4b2f6ccdef91b8bf87b00721
Cr-Commit-Position: refs/heads/master@{#390187}

Powered by Google App Engine
This is Rietveld 408576698