From 7b1b0a2f2c2dd9cd8943f94333d08339a85015a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 15 Feb 2012 07:18:22 +0000 Subject: [PATCH] Mention apitrace trim in the documentation. --- NEWS.markdown | 2 ++ README.markdown | 12 ++++++++++++ TODO.markdown | 1 - 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/NEWS.markdown b/NEWS.markdown index 29ca619..c53e2bb 100644 --- a/NEWS.markdown +++ b/NEWS.markdown @@ -9,6 +9,8 @@ Development * Trace and retrace support for EGL, GLES1, and GLES2 APIs. +* Ability to trim traces. + Version 2.0 =========== diff --git a/README.markdown b/README.markdown index 38dfa5e..732f935 100644 --- a/README.markdown +++ b/README.markdown @@ -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 ====================================== diff --git a/TODO.markdown b/TODO.markdown index 2fd2383..e596687 100644 --- a/TODO.markdown +++ b/TODO.markdown @@ -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 -- 2.43.0