summaryrefslogtreecommitdiff
path: root/wrappers
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 /wrappers
parente39d56edca49495aa401ffd22a35da4a10a1fd38 (diff)
d3dtrace: Trace the actual DXVA2 API calls.
As opposed to internal interfaces.
Diffstat (limited to 'wrappers')
-rw-r--r--wrappers/CMakeLists.txt2
-rw-r--r--wrappers/d3d9.def2
-rw-r--r--wrappers/d3d9trace.py6
3 files changed, 6 insertions, 4 deletions
diff --git a/wrappers/CMakeLists.txt b/wrappers/CMakeLists.txt
index fd081c53..3a6f8b75 100644
--- a/wrappers/CMakeLists.txt
+++ b/wrappers/CMakeLists.txt
@@ -150,7 +150,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/wrappers/d3d9.def b/wrappers/d3d9.def
index f52c0c49..8bb86905 100644
--- a/wrappers/d3d9.def
+++ b/wrappers/d3d9.def
@@ -10,3 +10,5 @@ EXPORTS
D3DPERF_QueryRepeatFrame
D3DPERF_SetOptions
D3DPERF_GetStatus
+ DXVA2CreateDirect3DDeviceManager9
+ DXVA2CreateVideoService
diff --git a/wrappers/d3d9trace.py b/wrappers/d3d9trace.py
index 45c950d6..0850ba3e 100644
--- a/wrappers/d3d9trace.py
+++ b/wrappers/d3d9trace.py
@@ -27,8 +27,7 @@
from dlltrace import DllTracer
from specs.stdapi import API, Pointer, ObjPointer
from specs.d3d9 import d3d9, D3DSHADER9, IDirect3DSwapChain9Ex, d3dperf
-
-import specs.d3d9dxva2
+from specs.dxva2 import dxva2
class D3D9Tracer(DllTracer):
@@ -114,12 +113,13 @@ if __name__ == '__main__':
print '#include "d3d9imports.hpp"'
print '#include "d3d9size.hpp"'
print '#include "d3d9shader.hpp"'
- print '#include "dxvaint.h"'
+ print '#include "dxva2imports.hpp"'
print
d3d9.mergeModule(d3dperf)
api = API()
api.addModule(d3d9)
+ api.addModule(dxva2)
tracer = D3D9Tracer()
tracer.traceApi(api)