Skip to content
Browse files

Recognize IDirect3DSwapChain9::Present as end of frame

  • Loading branch information...
1 parent 12ac428 commit d6c4372e46219a1e54ac749852d1bdb1ecec0fce @jrfonseca jrfonseca committed Aug 8, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 common/trace_parser_flags.cpp
View
2 common/trace_parser_flags.cpp
@@ -84,6 +84,8 @@ callFlagTable[] = {
{ "IDirect3DDevice9Ex::GetDeviceCaps", CALL_FLAG_NO_SIDE_EFFECTS | CALL_FLAG_VERBOSE },
{ "IDirect3DDevice9Ex::GetRenderTargetData", CALL_FLAG_END_FRAME },
{ "IDirect3DDevice9Ex::Present", CALL_FLAG_END_FRAME },
+ { "IDirect3DSwapChain9::Present", CALL_FLAG_END_FRAME },
+ { "IDirect3DSwapChain9Ex::Present", CALL_FLAG_END_FRAME },
{ "eglGetProcAddress", CALL_FLAG_NO_SIDE_EFFECTS | CALL_FLAG_VERBOSE },
{ "eglQueryString", CALL_FLAG_NO_SIDE_EFFECTS | CALL_FLAG_VERBOSE },
{ "eglSwapBuffers", CALL_FLAG_SWAPBUFFERS },

0 comments on commit d6c4372

Please sign in to comment.
Something went wrong with that request. Please try again.