WinRT: more work on moving rendering code from SDL_winrtrenderer.* to SDL_render_d3d11*

This commit is contained in:
David Ludwig 2013-02-09 14:56:32 -05:00
parent 4b6b1755fe
commit 9df73a8ba1
5 changed files with 300 additions and 219 deletions

View file

@ -40,6 +40,14 @@ typedef struct
D3D_FEATURE_LEVEL featureLevel;
unsigned int vertexCount;
bool loadingComplete;
// Cached renderer properties.
DirectX::XMFLOAT2 windowSizeInDIPs;
DirectX::XMFLOAT2 renderTargetSize;
Windows::Graphics::Display::DisplayOrientations orientation;
// Transform used for display orientation.
DirectX::XMFLOAT4X4 orientationTransform3D;
} D3D11_RenderData;
typedef struct