PlayerErrorCode IDisplayable <PlayerErrorCode> .ApplyEcoreWindow(IntPtr windowHandle) { Debug.Assert(IsDisposed == false); return(NativeDisplay.SetEcoreDisplay(Handle, _uiSync ? PlayerDisplayType.OverlayUISync : PlayerDisplayType.Overlay, windowHandle)); }
private PlayerErrorCode SetDisplay(Display display) { if (display == null) { return(NativeDisplay.SetDisplay(Handle, PlayerDisplayType.None, IntPtr.Zero)); } return(display.ApplyTo(this)); }
PlayerErrorCode IDisplayable <PlayerErrorCode> .ApplyEvasDisplay(DisplayType type, ElmSharp.EvasObject evasObject) { Debug.Assert(IsDisposed == false); Debug.Assert(Enum.IsDefined(typeof(DisplayType), type)); Debug.Assert(type != DisplayType.None); return(NativeDisplay.SetDisplay(Handle, type == DisplayType.Overlay ? PlayerDisplayType.Overlay : PlayerDisplayType.Evas, evasObject)); }