X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=README.markdown;h=38dfa5e21c357ae47a9187ded3d786b895a9dee4;hb=225193db0f50a8f3a1d59d7cff351c9be31e8044;hp=0a1bcebab065ecf85aa12ac15aa085ab45506417;hpb=7a6a32e2271a34d530c6914b0ad2bc95700f2cb2;p=apitrace diff --git a/README.markdown b/README.markdown index 0a1bceb..38dfa5e 100644 --- a/README.markdown +++ b/README.markdown @@ -64,6 +64,34 @@ Advanced command line usage =========================== +Call sets +--------- + +Several tools take `CALLSET` arguments, e.g: + + apitrace dump --calls CALLSET foo.trace + glretrace -S CALLSET foo.trace + +The call syntax is very flexible. Here are a few examples: + + * `4` one call + + * `1,2,4,5` set of calls + + * `"1 2 4 5"` set of calls (commas are optional and can be replaced with whitespace) + + * `1-100/2` calls 1, 3, 5, ..., 99 + + * `1-1000/draw` all draw calls between 1 and 1000 + + * `1-1000/fbo` all fbo changes between calls 1 and 1000 + + * `frame` all calls at end of frames + + * `@foo.txt` read call numbers from `foo.txt`, using the same syntax as above + + + Tracing manually ----------------