]> git.cworth.org Git - apitrace/commitdiff
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 29ca6198c5b962b3d9c6984961831f9710876b39..c53e2bbbdba3d8d14e9b1588bdc2b20d1ef55df8 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 38dfa5e21c357ae47a9187ded3d786b895a9dee4..732f93545adfa525c435bcfa8cb1eae968354dd3 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 2fd23831aa55beec34ef9d7db5a30f5058a39650..e59668768ed1e12cbfb7406d23afe6ce01e63b88 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