using Avalonia.Media;
namespace Avalonia.LinuxFramebuffer
{
///
/// DRM Output Options
///
public class DrmOutputOptions
{
///
/// Scaling factor.
/// Default: 1.0
///
public double Scaling { get; set; } = 1.0;
///
/// If true an two cycle buffer swapping is processed at init.
/// Default: True
///
public bool EnableInitialBufferSwapping { get; set; } = true;
///
/// Color for
/// Default: R0 G0 B0 A0
///
public Color InitialBufferSwappingColor { get; set; } = new Color(0, 0, 0, 0);
///
/// Specifies the video mode with which the DrmOutput should be created, if it is not found it will fallback to the preferred mode.
/// If null, the preferred mode will be used.
///
public PixelSize? VideoMode { get; set; }
///
/// Specifies whether our connector is HDMI-A, DVI, DisplayPort, etc.
/// If null, the preferred connector will be used.
///
public DrmConnectorType? ConnectorType { get; set; }
///
/// Specifies the connector type ID used with .
/// If null, the preferred connector type ID will be used.
///
public uint? ConnectorTypeId { get; set; }
}
}