1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-14 18:56:42 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/SurfaceFlinger/BufferQueue.cs

16 lines
478 B
C#
Raw Normal View History

using Ryujinx.HLE.HOS.Kernel.Process;
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
class BufferQueue
{
public static void CreateBufferQueue(Switch device, KProcess process, out BufferQueueProducer producer, out BufferQueueConsumer consumer)
{
BufferQueueCore core = new BufferQueueCore(device, process);
producer = new BufferQueueProducer(core);
consumer = new BufferQueueConsumer(core);
}
}
}