summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2015-02-06 10:30:01 +0000
committerJosé Fonseca <jfonseca@vmware.com>2015-02-06 11:16:27 +0000
commite354d8de334a4ad52d131f0575ccf9f79e86cadd (patch)
treede4310570be1d1dc88b623b68eed4ea6f5c8878f /docs
parente5a86273d50e0cc1a1c3d25c40d616a076a2ce2a (diff)
dxgitrace: Trace D3DPERF_* functions too.
Diffstat (limited to 'docs')
-rw-r--r--docs/USAGE.markdown7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/USAGE.markdown b/docs/USAGE.markdown
index 6df7ba0f..2c56271d 100644
--- a/docs/USAGE.markdown
+++ b/docs/USAGE.markdown
@@ -200,6 +200,8 @@ to hook only the APIs of interest.
## Emitting annotations to the trace ##
+### OpenGL annotations ###
+
From within OpenGL applications you can embed annotations in the trace file
through the following extensions:
@@ -260,10 +262,13 @@ For OpenGL ES applications you can embed annotations in the trace file through t
extensions.
+### Direct3D annotations ###
+
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.
+- `D3DPERF_BeginEvent`, `D3DPERF_EndEvent`, and `D3DPERF_SetMarker` for D3D9,
+ D3D10, and D3D11.0 applications.
- `ID3DUserDefinedAnnotation::BeginEvent`,
`ID3DUserDefinedAnnotation::EndEvent`, and