From f14d4bce66aad04fc28031245ee7e512a396561b Mon Sep 17 00:00:00 2001 From: lecoanet Date: Fri, 12 Nov 2004 08:53:21 +0000 Subject: Updated and clarified the meaning of -render --- doc/refman.tex | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/refman.tex b/doc/refman.tex index ca12781..ea242d0 100644 --- a/doc/refman.tex +++ b/doc/refman.tex @@ -714,10 +714,21 @@ actual source of the default color. Its default value is \option{render}{render}{Render} \begin{blockindent} - Specifies whether to use or not the openGL rendering. When True, requires the GLX - extension to the X server. Must be defined at widget creation time. This option is - readonly and can be used to ask if the widget is drawing with the GLX extension or - in plain X (to adapt the application code for example). The default value is {\tt false}. + Specifies whether to use or not the openGL rendering. The value is + a positive integer that can have the values 0, 1 and 2. The value 0 + specifies a X11 rendering while the other two ask for an OpenGL + rendering and as such requires the GLX extension to the X server. + A value of 1 asks for direct OpenGL rendering which is the faster but + is limited to a local session with the display while a value of 2 + requests an indirect rendering which is slower but can be streamed + to a distant display (at least under X11). If a direct rendering + mode is requested but can't be achieved the indirect render mode + will be tried automatically. If neither OpenGL modes are available + the X11 mode is used as a fallback. + This option must be defined at widget creation time and is readonly + for the rest of the session. It can be used to ask if the widget is + drawing in OpenGL mode or in plain X mode (to adapt the + application code for example). The default value is {\tt 0}. \end{blockindent} \option{reshape}{reshape}{Reshape} @@ -2272,7 +2283,7 @@ false. \zinccmd{hasanchors}{tagOrId} -{\tt\large \$bool = \$zinc->{\bf hasanchor}(tagOrId);} +{\tt\large \$bool = \$zinc->{\bf hasanchors}(tagOrId);} \begin{blockindent} This command returns a boolean telling if the item specified by {\tt tagOrId} supports -- cgit v1.1