//private static Logger logger = LogManager.GetCurrentClassLogger(); public ScreenCastControl() { InitializeComponent(); syncContext = SynchronizationContext.Current; debugPanel.Visible = false; //videoRenderer = new D3DImageRenderer(); d3dRenderer = new D3DImageRenderer(); d3dRenderer.EnableSoftwareFallback = true; //d3dRenderer.RenderStarted += videoRenderer_RenderStarted; //d3dRenderer.RenderStopped += videoRenderer_RenderStopped; d3dImageControl.DataContext = d3dRenderer; //imageProvider.Status = "_TEST"; _UpdateControls(); statusLabel.BringToFront(); }
public D3DImageControl() { InitializeComponent(); d3dRenderer = new D3DImageRenderer(); DataContext = d3dRenderer; }