Bug 1734854: Make NativeLayerRootCA avoid changing sublayers when it has no effect...
commit6603a4e814faeeef8f19a05ee40b546f805ea43c
authorBrad Werth <bwerth@mozilla.com>
Sat, 23 Oct 2021 03:39:10 +0000 (23 03:39 +0000)
committerBrad Werth <bwerth@mozilla.com>
Sat, 23 Oct 2021 03:39:10 +0000 (23 03:39 +0000)
treee91f53f2f26486b114727852a3669e2742b6b917
parent34f4d6afec034fda81a2ea00bd87bb188589ecb6
Bug 1734854: Make NativeLayerRootCA avoid changing sublayers when it has no effect. r=gfx-reviewers,jrmuizel

When isolating video layers, changes to sublayers that we are already ignoring
should not cause us to change our sublayers. This patch checks to see if the
changes to sublayers can all be safely ignored.

Differential Revision: https://phabricator.services.mozilla.com/D129330
gfx/layers/NativeLayerCA.h
gfx/layers/NativeLayerCA.mm