X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=retrace%2Fd3dstate.hpp;h=eb0e3cd4f33fd0a6d73e6302fea4dc6706613bce;hb=HEAD;hp=86614d565b414760d5c151d34bf01e4ed19dfd62;hpb=1592ad278ba90ed2d5f6fa2b49fadf2cc6e4e77e;p=apitrace diff --git a/retrace/d3dstate.hpp b/retrace/d3dstate.hpp index 86614d5..eb0e3cd 100644 --- a/retrace/d3dstate.hpp +++ b/retrace/d3dstate.hpp @@ -32,6 +32,7 @@ #include +struct IDirect3DDevice8; struct IDirect3DDevice9; struct ID3D10Device; struct ID3D11DeviceContext; @@ -50,9 +51,22 @@ namespace d3dstate { extern const GUID GUID_D3DSTATE; +image::Image * +getRenderTargetImage(IDirect3DDevice8 *pDevice); + +void +dumpFramebuffer(JSONWriter &json, IDirect3DDevice8 *pDevice); + +void +dumpDevice(std::ostream &os, IDirect3DDevice8 *pDevice); + + image::Image * getRenderTargetImage(IDirect3DDevice9 *pDevice); +void +dumpFramebuffer(JSONWriter &json, IDirect3DDevice9 *pDevice); + void dumpDevice(std::ostream &os, IDirect3DDevice9 *pDevice);