aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/dmx/doc/html/dmxpixmap_8c.html
blob: 68bbc807ae340ed37bf78e977f5f05220146dbd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
    <title>File Index</title>
    <link href="doxygen.css" rel="stylesheet" type="text/css">
  </head>
  <body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>dmxpixmap.c File Reference</h1><code>#include &quot;<a class="el" href="dmx_8h_source.html">dmx.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="dmxsync_8h_source.html">dmxsync.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="dmxpixmap_8h_source.html">dmxpixmap.h</a>&quot;</code><br/>
<code>#include &quot;pixmapstr.h&quot;</code><br/>
<code>#include &quot;servermd.h&quot;</code><br/>
<code>#include &quot;privates.h&quot;</code><br/>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8c.html#aacf02a6e5ba85a356f09f66159e71a75">dmxInitPixmap</a> (ScreenPtr pScreen)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8c.html#ab785500b50aa10eb1d76274688413770">dmxBECreatePixmap</a> (PixmapPtr pPixmap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">PixmapPtr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8c.html#a9d26c08a4286c663250f61e63ffa3343">dmxCreatePixmap</a> (ScreenPtr pScreen, int width, int height, int depth, unsigned usage_hint)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8c.html#aa930f04f91d83243d3e6224f911bf9e8">dmxBEFreePixmap</a> (PixmapPtr pPixmap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8c.html#a7c602d928744ec2e7be73ef197fc9b12">dmxDestroyPixmap</a> (PixmapPtr pPixmap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">RegionPtr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8c.html#af943d5ec32fe35ccc74ae190b8d8bb3e">dmxBitmapToRegion</a> (PixmapPtr pPixmap)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Provides pixmap support. </p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="ab785500b50aa10eb1d76274688413770"></a><!-- doxytag: member="dmxpixmap.c::dmxBECreatePixmap" ref="ab785500b50aa10eb1d76274688413770" args="(PixmapPtr pPixmap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxBECreatePixmap </td>
          <td>(</td>
          <td class="paramtype">PixmapPtr&nbsp;</td>
          <td class="paramname"> <em>pPixmap</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create a pixmap on the back-end server. </p>

<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxpixmap_8h_source.html#l00064">DMX_GET_PIXMAP_PRIV</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>, <a class="el" href="dmxpixmap_8h_source.html#l00044">_dmxPixPriv::pixmap</a>, and <a class="el" href="dmx_8h_source.html#l00125">_DMXScreenInfo::scrnWin</a>.</p>

<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01170">dmxAttachScreen()</a>, <a class="el" href="dmxextension_8c_source.html#l00856">dmxBECreateResources()</a>, <a class="el" href="dmxextension_8c_source.html#l00918">dmxBECreateWindowTree()</a>, <a class="el" href="dmxextension_8c_source.html#l01062">dmxBERestoreRenderPict()</a>, and <a class="el" href="dmxpixmap_8c_source.html#l00084">dmxCreatePixmap()</a>.</p>

</div>
</div>
<a class="anchor" id="aa930f04f91d83243d3e6224f911bf9e8"></a><!-- doxytag: member="dmxpixmap.c::dmxBEFreePixmap" ref="aa930f04f91d83243d3e6224f911bf9e8" args="(PixmapPtr pPixmap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Bool dmxBEFreePixmap </td>
          <td>(</td>
          <td class="paramtype">PixmapPtr&nbsp;</td>
          <td class="paramname"> <em>pPixmap</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destroy the pixmap on the back-end server. </p>

<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxpixmap_8h_source.html#l00064">DMX_GET_PIXMAP_PRIV</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, and <a class="el" href="dmxpixmap_8h_source.html#l00044">_dmxPixPriv::pixmap</a>.</p>

<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01459">dmxBEDestroyResources()</a>, <a class="el" href="dmxextension_8c_source.html#l01521">dmxBEDestroyWindowTree()</a>, <a class="el" href="dmxpixmap_8c_source.html#l00154">dmxDestroyPixmap()</a>, and <a class="el" href="dmxextension_8c_source.html#l01567">dmxDetachScreen()</a>.</p>

</div>
</div>
<a class="anchor" id="af943d5ec32fe35ccc74ae190b8d8bb3e"></a><!-- doxytag: member="dmxpixmap.c::dmxBitmapToRegion" ref="af943d5ec32fe35ccc74ae190b8d8bb3e" args="(PixmapPtr pPixmap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RegionPtr dmxBitmapToRegion </td>
          <td>(</td>
          <td class="paramtype">PixmapPtr&nbsp;</td>
          <td class="paramname"> <em>pPixmap</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create and return a region based on the pixmap pointed to by <em>pPixmap</em>. </p>

<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxpixmap_8h_source.html#l00064">DMX_GET_PIXMAP_PRIV</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>, and <a class="el" href="dmxpixmap_8h_source.html#l00044">_dmxPixPriv::pixmap</a>.</p>

<p>Referenced by <a class="el" href="dmxscrinit_8c_source.html#l00212">dmxScreenInit()</a>.</p>

</div>
</div>
<a class="anchor" id="a9d26c08a4286c663250f61e63ffa3343"></a><!-- doxytag: member="dmxpixmap.c::dmxCreatePixmap" ref="a9d26c08a4286c663250f61e63ffa3343" args="(ScreenPtr pScreen, int width, int height, int depth, unsigned usage_hint)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PixmapPtr dmxCreatePixmap </td>
          <td>(</td>
          <td class="paramtype">ScreenPtr&nbsp;</td>
          <td class="paramname"> <em>pScreen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>depth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&nbsp;</td>
          <td class="paramname"> <em>usage_hint</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create a pixmap for <em>pScreen</em> with the specified <em>width</em>, <em>height</em>, and <em>depth</em>. </p>

<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxpixmap_8h_source.html#l00045">_dmxPixPriv::detachedImage</a>, <a class="el" href="dmxpixmap_8h_source.html#l00064">DMX_GET_PIXMAP_PRIV</a>, <a class="el" href="dmx_8h_source.html#l00327">DMX_UNWRAP</a>, <a class="el" href="dmx_8h_source.html#l00320">DMX_WRAP</a>, <a class="el" href="dmxpixmap_8c_source.html#l00059">dmxBECreatePixmap()</a>, <a class="el" href="dmxpixmap_8c_source.html#l00084">dmxCreatePixmap()</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, and <a class="el" href="dmxpixmap_8h_source.html#l00044">_dmxPixPriv::pixmap</a>.</p>

<p>Referenced by <a class="el" href="dmxpixmap_8c_source.html#l00084">dmxCreatePixmap()</a>, and <a class="el" href="dmxscrinit_8c_source.html#l00212">dmxScreenInit()</a>.</p>

</div>
</div>
<a class="anchor" id="a7c602d928744ec2e7be73ef197fc9b12"></a><!-- doxytag: member="dmxpixmap.c::dmxDestroyPixmap" ref="a7c602d928744ec2e7be73ef197fc9b12" args="(PixmapPtr pPixmap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Bool dmxDestroyPixmap </td>
          <td>(</td>
          <td class="paramtype">PixmapPtr&nbsp;</td>
          <td class="paramname"> <em>pPixmap</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destroy the pixmap pointed to by <em>pPixmap</em>. </p>

<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxpixmap_8h_source.html#l00045">_dmxPixPriv::detachedImage</a>, <a class="el" href="dmxpixmap_8h_source.html#l00064">DMX_GET_PIXMAP_PRIV</a>, <a class="el" href="dmx_8h_source.html#l00327">DMX_UNWRAP</a>, <a class="el" href="dmx_8h_source.html#l00320">DMX_WRAP</a>, <a class="el" href="dmxpixmap_8c_source.html#l00138">dmxBEFreePixmap()</a>, <a class="el" href="dmxpixmap_8c_source.html#l00154">dmxDestroyPixmap()</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, and <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>.</p>

<p>Referenced by <a class="el" href="dmxpixmap_8c_source.html#l00154">dmxDestroyPixmap()</a>, and <a class="el" href="dmxscrinit_8c_source.html#l00212">dmxScreenInit()</a>.</p>

</div>
</div>
<a class="anchor" id="aacf02a6e5ba85a356f09f66159e71a75"></a><!-- doxytag: member="dmxpixmap.c::dmxInitPixmap" ref="aacf02a6e5ba85a356f09f66159e71a75" args="(ScreenPtr pScreen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Bool dmxInitPixmap </td>
          <td>(</td>
          <td class="paramtype">ScreenPtr&nbsp;</td>
          <td class="paramname"> <em>pScreen</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Initialize a private area in <em>pScreen</em> for pixmap information. </p>

<p>References <a class="el" href="dmxscrinit_8c_source.html#l00075">dmxPixPrivateKey</a>.</p>

<p>Referenced by <a class="el" href="dmxscrinit_8c_source.html#l00212">dmxScreenInit()</a>.</p>

</div>
</div>
</div>
    <hr>
    <address>
      <small>
        Generated June 29, 2004 for <a
        href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
        <a href="http://www.doxygen.org/index.html">doxygen</a>
        1.3.4.
      </small>
    </addres>
    </hr>
  </body>
</html>