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

Issue 2181713004: Mac: Correct CALayer reuse logic (Closed)

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

Description

Mac: Correct CALayer reuse logic This is a bug in how we construct the CALayer tree. The code originally assumed that we would always re-use the old CALayer if it existed. This is no longer the case now that we sometimes use AVSampleBufferDisplayLayers. With this patch, we ensure that we always put the new CALayer in the position of the old CALayer. A unit test for this is coming in another patch, but this one is being merged back to M52, and the unit test files have changed dramatically. BUG=618287 Committed: https://crrev.com/4eff049bf6baef15d02a9c2d019a38e4a50c9731 Cr-Commit-Position: refs/heads/master@{#407561}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M ui/accelerated_widget_mac/ca_renderer_layer_tree.mm View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 11 (5 generated)
ccameron
ptal -- this is for merge to M52, so it's a bit urgent. I'm working ...
4 years, 5 months ago (2016-07-25 19:21:49 UTC) #3
erikchen
lgtm
4 years, 5 months ago (2016-07-25 19:33:41 UTC) #4
ccameron
Thanks!
4 years, 5 months ago (2016-07-25 19:38:19 UTC) #5
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/2181713004/1
4 years, 5 months ago (2016-07-25 19:39:09 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-25 20:22:35 UTC) #9
commit-bot: I haz the power
4 years, 5 months ago (2016-07-25 20:26:07 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/4eff049bf6baef15d02a9c2d019a38e4a50c9731
Cr-Commit-Position: refs/heads/master@{#407561}

Powered by Google App Engine
This is Rietveld 408576698