Bug 1745492 Part 4: Make NativeLayerCA create specialized video layers for HDR video...
commit748350ebb5c73e4dccfc003cd096c45330d92bf9
authorBrad Werth <bwerth@mozilla.com>
Tue, 22 Feb 2022 19:17:20 +0000 (22 19:17 +0000)
committerBrad Werth <bwerth@mozilla.com>
Tue, 22 Feb 2022 19:17:20 +0000 (22 19:17 +0000)
treeeccb4279340687c72b6d071041f3ff95eda5c583
parentd8eec5151a50d460ec1d3806d61b7899a43771ca
Bug 1745492 Part 4: Make NativeLayerCA create specialized video layers for HDR video. r=mstange

This adds additional logic to detect when video requires a specialized video
layer. The logic from NativeLayerCA::Representation::CanSpecializeSurface has
been rolled into the mainline decision of whether or not to specialize the
video layer at all.

Differential Revision: https://phabricator.services.mozilla.com/D135634
gfx/layers/NativeLayerCA.h
gfx/layers/NativeLayerCA.mm
widget/cocoa/SDKDeclarations.h