First import
[xorg_rtime.git] / xorg-server-1.4 / hw / dmx / doc / html / dmxsync_8h.html
blob53edcef9cb8ceda9ced809b8755bfc3eed969975
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5 <title>File Index</title>
6 <link href="doxygen.css" rel="stylesheet" type="text/css">
7 </head>
8 <body>
9 <!-- Generated by Doxygen 1.3.4 -->
10 <div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
11 <h1>dmxsync.h File Reference</h1>
12 <p>
13 <a href="dmxsync_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
14 <tr><td></td></tr>
15 <tr><td colspan=2><br><h2>Functions</h2></td></tr>
16 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxsync_8h.html#a0">dmxSyncActivate</a> (const char *interval)</td></tr>
18 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxsync_8h.html#a1">dmxSyncInit</a> (void)</td></tr>
20 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxsync_8h.html#a2">dmxSync</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, Bool now)</td></tr>
22 </table>
23 <hr><a name="_details"></a><h2>Detailed Description</h2>
24 Interface for sync support. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="dmxsync_8c.html">dmxsync.c</a></dd></dl>
25 <hr><h2>Function Documentation</h2>
26 <a class="anchor" name="a2" doxytag="dmxsync.h::dmxSync" ></a><p>
27 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
28 <tr>
29 <td class="mdRow">
30 <table cellpadding="0" cellspacing="0" border="0">
31 <tr>
32 <td class="md" nowrap valign="top"> void dmxSync </td>
33 <td class="md" valign="top">(&nbsp;</td>
34 <td class="md" nowrap valign="top"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *&nbsp;</td>
35 <td class="mdname" nowrap> <em>dmxScreen</em>, </td>
36 </tr>
37 <tr>
38 <td></td>
39 <td></td>
40 <td class="md" nowrap>Bool&nbsp;</td>
41 <td class="mdname" nowrap> <em>now</em></td>
42 </tr>
43 <tr>
44 <td></td>
45 <td class="md">)&nbsp;</td>
46 <td class="md" colspan="2"></td>
47 </tr>
49 </table>
50 </td>
51 </tr>
52 </table>
53 <table cellspacing=5 cellpadding=0 border=0>
54 <tr>
55 <td>
56 &nbsp;
57 </td>
58 <td>
60 <p>
61 Request an XSync() to the display used by <em>dmxScreen</em>. If <em>now</em> is TRUE, call XSync() immediately instead of waiting for the next XSync() batching point. Note that if XSync() batching was deselected with <a class="el" href="dmxsync_8c.html#a7">dmxSyncActivate()</a> before <a class="el" href="dmxsync_8c.html#a8">dmxSyncInit()</a> was called, then no XSync() batching is performed and this function always calles XSync() immediately.<p>
62 (Note that this function uses TimerSet but works correctly in the face of a server generation. See the source for details.)<p>
63 If <em>dmxScreen</em> is <em>NULL</em>, then all pending syncs will be flushed immediately. </td>
64 </tr>
65 </table>
66 <a class="anchor" name="a0" doxytag="dmxsync.h::dmxSyncActivate" ></a><p>
67 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
68 <tr>
69 <td class="mdRow">
70 <table cellpadding="0" cellspacing="0" border="0">
71 <tr>
72 <td class="md" nowrap valign="top"> void dmxSyncActivate </td>
73 <td class="md" valign="top">(&nbsp;</td>
74 <td class="md" nowrap valign="top">const char *&nbsp;</td>
75 <td class="mdname1" valign="top" nowrap> <em>interval</em> </td>
76 <td class="md" valign="top">&nbsp;)&nbsp;</td>
77 <td class="md" nowrap></td>
78 </tr>
80 </table>
81 </td>
82 </tr>
83 </table>
84 <table cellspacing=5 cellpadding=0 border=0>
85 <tr>
86 <td>
87 &nbsp;
88 </td>
89 <td>
91 <p>
92 Request the XSync() batching optimization with the specified <em>interval</em> (in mS). If the <em>interval</em> is 0, 100mS is used. If the <em>interval</em> is less than 0, then the XSync() batching optimization is not requested (e.g., so the -syncbatch -1 command line option can turn off the default 100mS XSync() batching).<p>
93 Note that the parameter to this routine is a string, since it will usually be called from <a class="el" href="dmxinit_8c.html#a40">ddxProcessArgument</a> in #dmxinit.c </td>
94 </tr>
95 </table>
96 <a class="anchor" name="a1" doxytag="dmxsync.h::dmxSyncInit" ></a><p>
97 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
98 <tr>
99 <td class="mdRow">
100 <table cellpadding="0" cellspacing="0" border="0">
101 <tr>
102 <td class="md" nowrap valign="top"> void dmxSyncInit </td>
103 <td class="md" valign="top">(&nbsp;</td>
104 <td class="md" nowrap valign="top">void&nbsp;</td>
105 <td class="mdname1" valign="top" nowrap> </td>
106 <td class="md" valign="top">&nbsp;)&nbsp;</td>
107 <td class="md" nowrap></td>
108 </tr>
110 </table>
111 </td>
112 </tr>
113 </table>
114 <table cellspacing=5 cellpadding=0 border=0>
115 <tr>
116 <td>
117 &nbsp;
118 </td>
119 <td>
122 Initialize the XSync() batching optimization, but only if <a class="el" href="dmxsync_8h.html#a0">dmxSyncActivate</a> was last called with a non-negative value. </td>
123 </tr>
124 </table>
125 <hr>
126 <address>
127 <small>
128 Generated June 29, 2004 for <a
129 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
130 <a href="http://www.doxygen.org/index.html">doxygen</a>
131 1.3.4.
132 </small>
133 </addres>
134 </hr>
135 </body>
136 </html>