2019-09-19 00:45:11 +00:00
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
2019-11-03 17:26:29 +00:00
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
|
2019-09-19 00:45:11 +00:00
|
|
|
|
{
|
|
|
|
|
[StructLayout(LayoutKind.Explicit)]
|
|
|
|
|
struct QueueBufferObject
|
|
|
|
|
{
|
|
|
|
|
[FieldOffset(0x0)]
|
|
|
|
|
public long Timestamp;
|
|
|
|
|
|
|
|
|
|
[FieldOffset(0x8)]
|
|
|
|
|
public int IsAutoTimestamp;
|
|
|
|
|
|
|
|
|
|
[FieldOffset(0xC)]
|
|
|
|
|
public Rect Crop;
|
|
|
|
|
|
|
|
|
|
[FieldOffset(0x1C)]
|
|
|
|
|
public int ScalingMode;
|
|
|
|
|
|
|
|
|
|
[FieldOffset(0x20)]
|
|
|
|
|
public HalTransform Transform;
|
|
|
|
|
|
|
|
|
|
[FieldOffset(0x24)]
|
|
|
|
|
public int StickyTransform;
|
|
|
|
|
|
|
|
|
|
[FieldOffset(0x28)]
|
|
|
|
|
public int Unknown;
|
|
|
|
|
|
|
|
|
|
[FieldOffset(0x2C)]
|
|
|
|
|
public int SwapInterval;
|
|
|
|
|
|
|
|
|
|
[FieldOffset(0x30)]
|
|
|
|
|
public MultiFence Fence;
|
|
|
|
|
}
|
|
|
|
|
}
|