Sdílet prostřednictvím


OverlayProperties.IsCombinationSupported Method

Definition

Indicates that hardware composition of a buffer encoded with the provided DataSpace and HardwareBuffer.Format is supported on the device.

[Android.Runtime.Register("isCombinationSupported", "(II)Z", "", ApiSince=35)]
public bool IsCombinationSupported (Android.Hardware.DataSpaceType dataspace, Android.Hardware.HardwareBufferFormat format);
[<Android.Runtime.Register("isCombinationSupported", "(II)Z", "", ApiSince=35)>]
member this.IsCombinationSupported : Android.Hardware.DataSpaceType * Android.Hardware.HardwareBufferFormat -> bool

Parameters

dataspace
DataSpaceType

Returns

True if the device can support efficiently compositing the content described by the dataspace and format. False if GPU composition fallback is otherwise required.

Attributes

Remarks

Indicates that hardware composition of a buffer encoded with the provided DataSpace and HardwareBuffer.Format is supported on the device.

Java documentation for android.hardware.OverlayProperties.isCombinationSupported(int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to