BufferSlot.cs 845 B

12345678910111213141516171819202122
  1. using Ryujinx.HLE.HOS.Services.SurfaceFlinger.Types;
  2. namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
  3. {
  4. class BufferSlot
  5. {
  6. public AndroidStrongPointer<GraphicBuffer> GraphicBuffer;
  7. public BufferState BufferState;
  8. public bool RequestBufferCalled;
  9. public ulong FrameNumber;
  10. public AndroidFence Fence;
  11. public bool AcquireCalled;
  12. public bool NeedsCleanupOnRelease;
  13. public bool AttachedByConsumer;
  14. public BufferSlot()
  15. {
  16. GraphicBuffer = new AndroidStrongPointer<GraphicBuffer>();
  17. BufferState = BufferState.Free;
  18. }
  19. }
  20. }