summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2012-09-27 19:33:32 +0100
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-09-27 19:33:32 +0100
commitfe7a377fa5ace19a7448a91134fd55eabfd12a83 (patch)
treedaf81dc8f4352d75891dd4220472ed9364d98f0b /common
parent7a381ff57d1616c9b80f67b9a0626beede8443ce (diff)
Recognise D3D rendertarget swapping.
Diffstat (limited to 'common')
-rw-r--r--common/trace_parser_flags.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/trace_parser_flags.cpp b/common/trace_parser_flags.cpp
index dcc846be..fe245149 100644
--- a/common/trace_parser_flags.cpp
+++ b/common/trace_parser_flags.cpp
@@ -74,6 +74,7 @@ callFlagTable[] = {
{ "IDirect3DDevice9::GetDeviceCaps", CALL_FLAG_NO_SIDE_EFFECTS | CALL_FLAG_VERBOSE },
{ "IDirect3DDevice9::GetRenderTargetData", CALL_FLAG_END_FRAME },
{ "IDirect3DDevice9::Present", CALL_FLAG_END_FRAME },
+ { "IDirect3DDevice9::SetRenderTarget", CALL_FLAG_SWAP_RENDERTARGET },
{ "IDirect3DDevice9Ex::Clear", CALL_FLAG_RENDER },
{ "IDirect3DDevice9Ex::DrawIndexedPrimitive", CALL_FLAG_RENDER },
{ "IDirect3DDevice9Ex::DrawIndexedPrimitiveUP", CALL_FLAG_RENDER },
@@ -84,6 +85,7 @@ callFlagTable[] = {
{ "IDirect3DDevice9Ex::GetDeviceCaps", CALL_FLAG_NO_SIDE_EFFECTS | CALL_FLAG_VERBOSE },
{ "IDirect3DDevice9Ex::GetRenderTargetData", CALL_FLAG_END_FRAME },
{ "IDirect3DDevice9Ex::Present", CALL_FLAG_END_FRAME },
+ { "IDirect3DDevice9Ex::SetRenderTarget", CALL_FLAG_SWAP_RENDERTARGET },
{ "IDirect3DSwapChain9::Present", CALL_FLAG_END_FRAME },
{ "IDirect3DSwapChain9Ex::Present", CALL_FLAG_END_FRAME },
{ "eglGetProcAddress", CALL_FLAG_NO_SIDE_EFFECTS | CALL_FLAG_VERBOSE },