summaryrefslogtreecommitdiff
path: root/retrace
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-07-16 12:56:54 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-07-16 13:02:11 +0100
commitf2a1305448efefacb2ec7e654d797bb9fbe7202e (patch)
tree61d46c09422ad9185f7073504895cab48fc5820f /retrace
parente39d56edca49495aa401ffd22a35da4a10a1fd38 (diff)
d3dtrace: Trace the actual DXVA2 API calls.
As opposed to internal interfaces.
Diffstat (limited to 'retrace')
-rw-r--r--retrace/CMakeLists.txt2
-rw-r--r--retrace/d3d9retrace.py5
2 files changed, 4 insertions, 3 deletions
diff --git a/retrace/CMakeLists.txt b/retrace/CMakeLists.txt
index a113b963..31d5d698 100644
--- a/retrace/CMakeLists.txt
+++ b/retrace/CMakeLists.txt
@@ -287,7 +287,7 @@ if (WIN32)
${CMAKE_SOURCE_DIR}/specs/d3d9.py
${CMAKE_SOURCE_DIR}/specs/d3d9types.py
${CMAKE_SOURCE_DIR}/specs/d3d9caps.py
- ${CMAKE_SOURCE_DIR}/specs/d3d9dxva2.py
+ ${CMAKE_SOURCE_DIR}/specs/dxva2.py
${CMAKE_SOURCE_DIR}/specs/winapi.py
${CMAKE_SOURCE_DIR}/specs/stdapi.py
)
diff --git a/retrace/d3d9retrace.py b/retrace/d3d9retrace.py
index 3f2754af..7313acc9 100644
--- a/retrace/d3d9retrace.py
+++ b/retrace/d3d9retrace.py
@@ -248,12 +248,13 @@ def main():
if support:
if moduleName == 'd3d9':
from specs.d3d9 import d3d9, d3dperf
- import specs.d3d9dxva2
+ from specs.dxva2 import dxva2
print r'#include "d3d9imports.hpp"'
print r'#include "d3d9size.hpp"'
- print r'#include "dxvaint.h"'
+ print r'#include "dxva2imports.hpp"'
d3d9.mergeModule(d3dperf)
api.addModule(d3d9)
+ api.addModule(dxva2)
print
print '''static d3dretrace::D3DDumper<IDirect3DDevice9> d3d9Dumper;'''
print '''static d3dretrace::D3DDumper<IDirect3DSwapChain9> d3d9scDumper;'''