Modified UIX libs to allow use from UWP

This commit is contained in:
Yoshi Askharoun
2021-07-15 22:00:36 -05:00
parent dd63b8d273
commit c3d90fccbd
27 changed files with 326 additions and 173 deletions
@@ -13,10 +13,10 @@ namespace Microsoft.Iris.Render.Protocol
{
private RenderPort m_port;
private RemoteDataBuffer m_remoteBuffer;
private unsafe void* m_pvData;
private byte[] m_pvData;
private uint m_cbSize;
public unsafe DataBuffer(RenderPort port, void* pvData, uint cbSize)
public unsafe DataBuffer(RenderPort port, byte[] pvData, uint cbSize)
{
this.m_port = port;
this.m_remoteBuffer = null;
@@ -44,7 +44,7 @@ namespace Microsoft.Iris.Render.Protocol
public uint DataSize => this.m_cbSize;
public unsafe void* Data => this.m_pvData;
public byte[] Data => this.m_pvData;
public RemoteDataBuffer RemoteStub => this.m_remoteBuffer;