Bug 1731136 Part 2: Allow native compositors to handle surface backdrops. r=gw
commit4b0f3f3d0f0060d86fa6f4913897f48915c7f9ea
authorBrad Werth <bwerth@mozilla.com>
Tue, 31 May 2022 22:21:14 +0000 (31 22:21 +0000)
committerBrad Werth <bwerth@mozilla.com>
Tue, 31 May 2022 22:21:14 +0000 (31 22:21 +0000)
tree895c6f2cbd018aa788522aeee9151297c70e23c7
parent5455eef7f669b50dce325dcc5bcaf4e454a587a6
Bug 1731136 Part 2: Allow native compositors to handle surface backdrops. r=gw

This only allows native compositors to claim this capability, without changing
any compositors to do so. In Part 4, the macOS native compositor claims this
capability in conjunction with adding the code that handles the color layers.

Differential Revision: https://phabricator.services.mozilla.com/D127175
gfx/webrender_bindings/RenderCompositorNative.cpp
gfx/webrender_bindings/RenderCompositorNative.h
gfx/wr/webrender/src/composite.rs