mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-16 01:55:27 +00:00
23 lines
845 B
C#
23 lines
845 B
C#
|
using Ryujinx.HLE.HOS.Services.SurfaceFlinger.Types;
|
|||
|
|
|||
|
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
|
|||
|
{
|
|||
|
class BufferSlot
|
|||
|
{
|
|||
|
public AndroidStrongPointer<GraphicBuffer> GraphicBuffer;
|
|||
|
public BufferState BufferState;
|
|||
|
public bool RequestBufferCalled;
|
|||
|
public ulong FrameNumber;
|
|||
|
public AndroidFence Fence;
|
|||
|
public bool AcquireCalled;
|
|||
|
public bool NeedsCleanupOnRelease;
|
|||
|
public bool AttachedByConsumer;
|
|||
|
|
|||
|
public BufferSlot()
|
|||
|
{
|
|||
|
GraphicBuffer = new AndroidStrongPointer<GraphicBuffer>();
|
|||
|
BufferState = BufferState.Free;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|