]> git.cworth.org Git - apitrace/commitdiff
Update documentation for D3DPERF_XXX
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Tue, 30 Oct 2012 10:57:28 +0000 (10:57 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Tue, 30 Oct 2012 11:05:47 +0000 (11:05 +0000)
README.markdown

index 68c9c4af378d59e19588fd5e0915a285ff89c75d..ab1453059d6f97b325197a14ce07b1e961889a39 100644 (file)
@@ -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