diff options
author | Gunnar Sletta <gunnar.sletta@jollamobile.com> | 2014-06-26 20:48:47 +0200 |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@jollamobile.com> | 2014-07-01 14:18:41 +0200 |
commit | 7a8cc93a0546bc38c54343d640e63062c3b398b2 (patch) | |
tree | db79fc70c17374ab44adbabc5b0b641ab08a96eb /src/quick/doc/src/concepts/visualcanvas | |
parent | c67af3861f8ecec0eb16808d6d4984eef89db5d1 (diff) |
Use categorized logging for all things scenegraph.
Change-Id: I865ee838b0fd6c257b7189f24130012b98206fd1
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src/quick/doc/src/concepts/visualcanvas')
-rw-r--r-- | src/quick/doc/src/concepts/visualcanvas/scenegraph.qdoc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/quick/doc/src/concepts/visualcanvas/scenegraph.qdoc b/src/quick/doc/src/concepts/visualcanvas/scenegraph.qdoc index 1f8147c4d1..f07d981e5f 100644 --- a/src/quick/doc/src/concepts/visualcanvas/scenegraph.qdoc +++ b/src/quick/doc/src/concepts/visualcanvas/scenegraph.qdoc @@ -325,7 +325,29 @@ framebuffer object (FBO), so the rendering is a two-step operation. First rasterize the surface, then draw the surface. Using scene graph API directly is always significantly faster. +\section1 Logging Support +The scene graph has support for a number of logging categories. These +can be useful in tracking down both performance issues and bugs in +addition to being helpful to Qt contributors. + +\list + +\li \c {qt.scenegraph.time.texture} - logs the time spent doing texture uploads + +\li \c {qt.scenegraph.time.compilation} - logs the time spent doing shader compilation + +\li \c {qt.scenegraph.time.renderer} - logs the time spent in the various steps of the renderer + +\li \c {qt.scenegraph.time.renderloop} - logs the time spent in the various steps of the render loop + +\li \c {qt.scenegraph.time.glyph} - logs the time spent preparing distance field glyphs + +\li \c {qt.scenegraph.info} - logs general information about various parts of the scene graph and the graphics stack + +\li \c {qt.scenegraph.renderloop} - creates a detailed log of the various stages involved in rendering. This log mode is primarily useful for developers working on Qt. + +\endlist \section1 Scene Graph Backend |