0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-27 20:25:44 +00:00
ryujinx-fork/Ryujinx.HLE/HOS/Services/SurfaceFlinger/BufferQueue.cs

16 lines
498 B
C#
Raw Normal View History

namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
static class BufferQueue
{
public static BufferQueueCore CreateBufferQueue(Switch device, ulong pid, out BufferQueueProducer producer, out BufferQueueConsumer consumer)
{
BufferQueueCore core = new BufferQueueCore(device, pid);
producer = new BufferQueueProducer(core, device.System.TickSource);
consumer = new BufferQueueConsumer(core);
return core;
}
}
}