mirror of
https://github.com/ZuneDev/Xune.git
synced 2026-07-27 13:13:10 -07:00
Moved CreateGraphcsDevice and InvokePaint implementations to RenderWindowBase
This commit is contained in:
@@ -206,6 +206,9 @@ namespace Microsoft.Iris.Session
|
||||
|
||||
private PriorityQueue.HookProc GetQueueDrainHook(DispatchPriority priority) => _masterQueue.GetDrainHook((int)priority);
|
||||
|
||||
/// <summary>
|
||||
/// Creates a <see cref="MessageLoop"/> and starts handling items in <paramref name="queue"/>.
|
||||
/// </summary>
|
||||
private void MainLoop(Queue queue, LoopCondition condition)
|
||||
{
|
||||
using (new UIDispatcher.MessageLoop(this, condition))
|
||||
|
||||
@@ -51,12 +51,7 @@ namespace Microsoft.Iris.Session
|
||||
{
|
||||
}
|
||||
|
||||
public UISession(
|
||||
SKSurface skSurface,
|
||||
RenderWindowBase renderWindow,
|
||||
EventHandler rendererConnectedCallback,
|
||||
TimeoutHandler handlerTimeout,
|
||||
uint timeoutSecValue)
|
||||
public UISession(SKSurface skSurface, RenderWindowBase renderWindow, EventHandler rendererConnectedCallback, TimeoutHandler handlerTimeout, uint timeoutSecValue)
|
||||
{
|
||||
_syncWindowHandler = new SimpleCallback(SyncWindowHandler);
|
||||
_queueSyncLayoutComplete = new SimpleQueue();
|
||||
|
||||
Reference in New Issue
Block a user