1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-09-22 23:13:50 +01:00
Ryujinx/Ryujinx.HLE/HOS/Services/SurfaceFlinger/BufferQueue.cs

16 lines
471 B
C#
Raw Normal View History

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