summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2012-10-30 10:51:39 +0000
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-10-30 10:51:39 +0000
commit77653bfda5aff9930096d1ca2db9db13eeabe2ac (patch)
treec9757936997c04199fce7a48594e69c11c1cd8e8
parent8d1d532f4bcd04bc2855980669dc6cabec0c6415 (diff)
Mention EGL cases on readme.
-rw-r--r--README.markdown11
1 files changed, 8 insertions, 3 deletions
diff --git a/README.markdown b/README.markdown
index 6f212f5e..68c9c4af 100644
--- a/README.markdown
+++ b/README.markdown
@@ -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