X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=retrace%2Fd3dstate.hpp;h=c21c3618c75214f656946500db99170e2a141481;hb=d1623a2829191e6837d89bc2022ee1495f3d5aee;hp=c0ef017c1ccf9f6d3173f6265ce238efa7088629;hpb=f6b0dfe46e320daa8f59b935372223ba0308b2ce;p=apitrace diff --git a/retrace/d3dstate.hpp b/retrace/d3dstate.hpp index c0ef017..c21c361 100644 --- a/retrace/d3dstate.hpp +++ b/retrace/d3dstate.hpp @@ -27,7 +27,12 @@ #define _D3DSTATE_HPP_ -class IDirect3DDevice9; +#include + + +struct IDirect3DDevice9; +struct ID3D10Device; +struct ID3D11DeviceContext; namespace image { @@ -41,6 +46,23 @@ namespace d3dstate { image::Image * getRenderTargetImage(IDirect3DDevice9 *pDevice); +void +dumpDevice(std::ostream &os, IDirect3DDevice9 *pDevice); + + +image::Image * +getRenderTargetImage(ID3D10Device *pDevice); + +void +dumpDevice(std::ostream &os, ID3D10Device *pDevice); + + +image::Image * +getRenderTargetImage(ID3D11DeviceContext *pDeviceContext); + +void +dumpDevice(std::ostream &os, ID3D11DeviceContext *pDeviceContext); + } /* namespace d3dstate */