From: José Fonseca Date: Tue, 30 Oct 2012 10:57:28 +0000 (+0000) Subject: Update documentation for D3DPERF_XXX X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=83efce7fb4eb9714a48c1e2b278c9a491cd95d8b;hp=77653bfda5aff9930096d1ca2db9db13eeabe2ac;p=apitrace Update documentation for D3DPERF_XXX --- diff --git a/README.markdown b/README.markdown index 68c9c4a..ab14530 100644 --- a/README.markdown +++ b/README.markdown @@ -282,8 +282,14 @@ From OpenGL ES applications you can embed annotations in the trace file through extension. -For Direct3D applications you can follow the same procedure used for -[instrumenting an application for PIX](http://technet.microsoft.com/en-us/query/ee417250) +For Direct3D applications you can follow the standard procedure for +[adding user defined events to Visual Studio Graphics Debugger / PIX](http://msdn.microsoft.com/en-us/library/vstudio/hh873200.aspx): + +- `D3DPERF_BeginEvent`, `D3DPERF_EndEvent`, and `D3DPERF_SetMarker` for D3D9 applications. + +- `ID3DUserDefinedAnnotation::BeginEvent`, + `ID3DUserDefinedAnnotation::EndEvent`, and + `ID3DUserDefinedAnnotation::SetMarker` for D3D11.1 applications. Dump GL state at a particular call