DX11 multiple canvas support

This commit is contained in:
rextimmy 2016-12-14 21:24:44 +10:00
parent 630949514a
commit efab1299ca
4 changed files with 292 additions and 241 deletions

View file

@ -146,7 +146,6 @@ protected:
virtual GFXD3D11VertexBuffer* findVBPool( const GFXVertexFormat *vertexFormat, U32 numVertsNeeded );
virtual GFXD3D11VertexBuffer* createVBPool( const GFXVertexFormat *vertexFormat, U32 vertSize );
IDXGISwapChain* getSwapChain();
// State overrides
// {
@ -281,7 +280,8 @@ public:
ID3D11Device* getDevice(){ return mD3DDevice; }
/// Reset
void reset( DXGI_SWAP_CHAIN_DESC &d3dpp );
void beginReset();
void endReset(GFXD3D11WindowTarget *windowTarget);
virtual void setupGenericShaders( GenericShaderType type = GSColor );