]> git.cworth.org Git - apitrace/commitdiff
Document known issues.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Tue, 25 Oct 2011 08:57:01 +0000 (09:57 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Tue, 25 Oct 2011 08:57:20 +0000 (09:57 +0100)
Issue 47.

BUGS.markdown
TODO.markdown

index 34e78e181c908febc0451c3371ee0551f2d2a4b5..989379b540e9a5bc2c26111034ad58eb62eff952 100644 (file)
@@ -1,16 +1,89 @@
 Reporting bugs
 ==============
 
-Please report any issues on
-[github](https://github.com/apitrace/apitrace/issues).
+Before reporting, please skim through the known issues below.
 
-Always include the following information:
+Report any issues on [github](https://github.com/apitrace/apitrace/issues),
+always including the following information:
 
 * operating system name and version
 
 * OpenGL/D3D driver name and version
 
 
+Known issues
+============
+
+These are issues that the developers are already aware of, but for which there
+is no immediate plan to address them, because either:
+
+* they stem from architectural limitations that are difficult to overcome
+  and/or time-consuming;
+
+* they are corners cases that are thought to be of very little practical use;
+
+* merely lack of time/opportunity.
+
+That said, feel free to file an issue and/or send an email to the mailing list
+if:
+
+* send an email to the mailing list if you want discuss the rationale, propose
+  your ideas on how to address it, or volunteer to work on it;
+
+* file the issue in the issue tracker (or comment to it if it already exists)
+  if it is important for you and you would like to see it addressed sooner
+  rather than later.
+
+
+Tracing
+-------
+
+* Fake calls may be emitted in the trace, in order to provide complete
+  information for retracing.  The typical case is OpenGL vertex arrays in user
+  memory (as opposed to VBOs): where glXxxPointer calls will be deferred,
+  glInterleavedArrays will be decomposed, etc.
+
+  This should not affect the rendered output, but it may use different paths in
+  the OpenGL driver, exercising different paths and with different performance
+  characteristics.
+
+  There is no way to distinguish the fake calls from those actually
+  made by the application yet.
+
+* On MacOSX, the internal OpenGL calls done by GLU are not traced yet.
+
+
+Retracing
+---------
+
+* glretrace needs to infer window sizes from glViewport calls, because calls
+  that create/resize windows happen outside of OpenGL and are not traced.
+  Therefore window will be missing if the application relies on the default
+  viewport instead of explicitly invoking glViewport; or it will to too big if
+  the window is shrunk.  Most apps call glViewport before rendering.
+
+* OS specific OpenGL APIs (WGL, GLX, CGL, etc), are not retraced literally, but
+  instead partially emulated.  This is by design, to allow traces to be
+  retraced on any OS, as the focus is on the OS-independent parts of OpenGL API.
+
+* There is no guarantee that the same visual that was used on tracing will be
+  used for retracing OpenGL.  Actually currently, glretrace will always choose
+  a standard 32bit RGBA, 24bit depth, 8bit alpha, double buffer visual.  Unless
+  overridden on command line.
+
+* Multi-threaded OpenGL is not yet supported.
+
+* OpenGL context sharing is not fully respected -- all contexts are expected to
+  share state, and most likely there
+
+
+GUI
+---
+
+* Not all types of arguments can be edited.
+
+
+
 Proprietary/confidential applications
 =====================================
 
index b5dd71d55dd3737bf9d604d9bae9748aa15187da..656fce1798349377b68bef228c65034c759e29e7 100644 (file)
@@ -42,7 +42,7 @@ Retracing
 
 * Support multiple threads
 
-* Leverage ARB_debug_output where available.
+* Leverage `ARB_debug_output` where available.
 
 * D3D support.
 
@@ -71,4 +71,10 @@ Other
     of the frame.
 
 
-See also FIXME, TODO, and XXX comments on the source code.
+See also:
+
+* open issues on [github](https://github.com/apitrace/apitrace/issues)
+
+* _Known issues_ section in BUGS.markdown
+
+* FIXME, TODO, and XXX comments on the source code.