summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2012-10-30 10:57:28 +0000
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-10-30 11:05:47 +0000
commit83efce7fb4eb9714a48c1e2b278c9a491cd95d8b (patch)
treef7ec77e511d37e8d61f06fe0639e54069221618f
parent77653bfda5aff9930096d1ca2db9db13eeabe2ac (diff)
Update documentation for D3DPERF_XXX
-rw-r--r--README.markdown10
1 files changed, 8 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown
index 68c9c4af..ab145305 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