mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-27 12:09:08 +01:00
15 lines
472 B
C#
15 lines
472 B
C#
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);
|
|
consumer = new BufferQueueConsumer(core);
|
|
|
|
return core;
|
|
}
|
|
}
|
|
}
|