]> git.cworth.org Git - apitrace/commitdiff
Mention EGL cases on readme.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Tue, 30 Oct 2012 10:51:39 +0000 (10:51 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Tue, 30 Oct 2012 10:51:39 +0000 (10:51 +0000)
README.markdown

index 6f212f5e94413068cbd209cb4c5ec1c08b854bc4..68c9c4af378d59e19588fd5e0915a285ff89c75d 100644 (file)
@@ -52,7 +52,9 @@ Replay an OpenGL trace with
     glretrace application.trace
 
 Pass the `-sb` option to use a single buffered visual.  Pass `--help` to
-glretrace for more options.
+`glretrace` for more options.
+
+EGL traces must be replayed with `eglretrace` instead of `glretrace`.
 
 
 Basic GUI usage
@@ -112,14 +114,17 @@ or 32 bits.  This can be done by doing
 But beware of wrapper shell scripts -- what matters is the architecture of the
 main process.
 
-Run the application you want to trace as
+Run the GLX application you want to trace as
 
-     LD_PRELOAD=/path/to/apitrace/wrappers/glxtrace.so /path/to/application
+    LD_PRELOAD=/path/to/apitrace/wrappers/glxtrace.so /path/to/application
 
 and it will generate a trace named `application.trace` in the current
 directory.  You can specify the written trace filename by setting the
 `TRACE_FILE` environment variable before running.
 
+For EGL applications you will need to use `egltrace.so` instead of
+`glxtrace.so`.
+
 The `LD_PRELOAD` mechanism should work with the majority applications.  There
 are some applications (e.g., Unigine Heaven, Android GPU emulator, etc.), that
 have global function pointers with the same name as GL entrypoints, living in a