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

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

Created:
4 years, 4 months ago by ccameron
Modified:
4 years, 4 months ago
Reviewers:
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@2743
Target Ref:
refs/pending/branch-heads/2743
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 Review-Url: https://codereview.chromium.org/2181713004 Cr-Commit-Position: refs/heads/master@{#407561} (cherry picked from commit 4eff049bf6baef15d02a9c2d019a38e4a50c9731) Committed: https://chromium.googlesource.com/chromium/src/+/09bcd556fc055ba67b6ea65d708d7c1ac3091ae1

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: 2 (1 generated)
ccameron
4 years, 4 months ago (2016-07-25 21:53:56 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
09bcd556fc055ba67b6ea65d708d7c1ac3091ae1.

Powered by Google App Engine
This is Rietveld 408576698