Mention apitrace trim in the documentation.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Wed, 15 Feb 2012 07:18:22 +0000 (07:18 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Wed, 15 Feb 2012 07:18:22 +0000 (07:18 +0000)
NEWS.markdown
README.markdown
TODO.markdown

index 29ca619..c53e2bb 100644 (file)
@@ -9,6 +9,8 @@ Development
 
 * Trace and retrace support for EGL, GLES1, and GLES2 APIs.
 
+* Ability to trim traces.
+
 
 Version 2.0
 ===========
index 38dfa5e..732f935 100644 (file)
@@ -205,6 +205,18 @@ You can make a video of the output by doing
     | ffmpeg -r 30 -f image2pipe -vcodec ppm -i pipe: -vcodec mpeg4 -y output.mp4
 
 
+Triming a trace
+---------------
+
+You can make a smaller trace by doing:
+
+    apitrace trim --callset 100-1000 -o trimed.trace applicated.trace
+
+If you need precise control over which calls to trim you can specify the
+individual call numbers a plaintext file, as described in the 'Call sets'
+section above.
+
+
 Advanced usage for OpenGL implementors
 ======================================
 
index 2fd2383..e596687 100644 (file)
@@ -55,7 +55,6 @@ CLI
 ---
 
 * Add retrace     Replay all the calls in a trace
-* Add trim        Trim a trace by including only the specified calls/frames
 * Add dump-state  Output the OpenGL state in JSON format
 * Add dump-images Create image files for each frame/drawing operation of a trace