X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=README.markdown;h=26f89e4d5926bc025b12e72e97e3d829c349596a;hb=f028a8fe0d8bef4a0c27115798d3e9d11703b09b;hp=732f93545adfa525c435bcfa8cb1eae968354dd3;hpb=7b1b0a2f2c2dd9cd8943f94333d08339a85015a6;p=apitrace diff --git a/README.markdown b/README.markdown index 732f935..26f89e4 100644 --- a/README.markdown +++ b/README.markdown @@ -140,10 +140,10 @@ Note that although Mac OS X has an `LD_PRELOAD` equivalent, page for more details about these environment flags. -Emitting annotations to the trace from GL applications ------------------------------------------------------- +Emitting annotations to the trace +--------------------------------- -You can emit string and frame annotations through the +From OpenGL applications you can embed annotations in the trace file through the [`GL_GREMEDY_string_marker`](http://www.opengl.org/registry/specs/GREMEDY/string_marker.txt) and [`GL_GREMEDY_frame_terminator`](http://www.opengl.org/registry/specs/GREMEDY/frame_terminator.txt) @@ -173,6 +173,15 @@ detect and use GL extensions, you could easily accomplish this by doing: This has the added advantage of working equally well with gDEBugger. +From OpenGL ES applications you can embed annotations in the trace file through the +[`GL_EXT_debug_marker`](http://www.khronos.org/registry/gles/extensions/EXT/EXT_debug_marker.txt) +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) + + Dump GL state at a particular call ----------------------------------