mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-16 10:05:25 +00:00
16 lines
478 B
C#
16 lines
478 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|