aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/dmx/doc/html/dmxpixmap_8h.html
blob: 8feb86bea1ea41854a589cd2e46921255ded7954 (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
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
<!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.h File Reference</h1><code>#include &quot;pixmapstr.h&quot;</code><br/>

<p><a href="dmxpixmap_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct__dmxPixPriv.html">_dmxPixPriv</a></td></tr>
<tr><td colspan="2"><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8h.html#add8168a70114703a791f8d154d139e2a">DMX_GET_PIXMAP_PRIV</a>(_pPix)&nbsp;&nbsp;&nbsp;(<a class="el" href="struct__dmxPixPriv.html">dmxPixPrivPtr</a>)dixLookupPrivate(&amp;(_pPix)-&gt;devPrivates, <a class="el" href="dmxscrinit_8c.html#af5bfb64208a18ade9f50196263c9d847">dmxPixPrivateKey</a>)</td></tr>
<tr><td colspan="2"><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct__dmxPixPriv.html">_dmxPixPriv</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8h.html#af881d895a7a1cac8c226aa3aff5678c7">dmxPixPrivRec</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct__dmxPixPriv.html">_dmxPixPriv</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8h.html#a33d23370f4af28113332cd6112de22f1">dmxPixPrivPtr</a></td></tr>
<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_8h.html#aacf02a6e5ba85a356f09f66159e71a75">dmxInitPixmap</a> (ScreenPtr pScreen)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">PixmapPtr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8h.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_8h.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_8h.html#af943d5ec32fe35ccc74ae190b8d8bb3e">dmxBitmapToRegion</a> (PixmapPtr pPixmap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8h.html#ab785500b50aa10eb1d76274688413770">dmxBECreatePixmap</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_8h.html#aa930f04f91d83243d3e6224f911bf9e8">dmxBEFreePixmap</a> (PixmapPtr pPixmap)</td></tr>
<tr><td colspan="2"><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">DevPrivateKey&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8h.html#af5bfb64208a18ade9f50196263c9d847">dmxPixPrivateKey</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Interface for pixmap support. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="dmxpixmap_8c.html">dmxpixmap.c</a> </dd></dl>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="add8168a70114703a791f8d154d139e2a"></a><!-- doxytag: member="dmxpixmap.h::DMX_GET_PIXMAP_PRIV" ref="add8168a70114703a791f8d154d139e2a" args="(_pPix)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DMX_GET_PIXMAP_PRIV</td>
          <td>(</td>
          <td class="paramtype">_pPix&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td>&nbsp;&nbsp;&nbsp;(<a class="el" href="struct__dmxPixPriv.html">dmxPixPrivPtr</a>)dixLookupPrivate(&amp;(_pPix)-&gt;devPrivates, <a class="el" href="dmxscrinit_8c.html#af5bfb64208a18ade9f50196263c9d847">dmxPixPrivateKey</a>)</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get pixmap private pointer. </p>

<p>Referenced by <a class="el" href="dmxpixmap_8c_source.html#l00059">dmxBECreatePixmap()</a>, <a class="el" href="dmxpixmap_8c_source.html#l00138">dmxBEFreePixmap()</a>, <a class="el" href="dmxextension_8c_source.html#l00775">dmxBERestorePixmap()</a>, <a class="el" href="dmxextension_8c_source.html#l01406">dmxBESavePixmap()</a>, <a class="el" href="dmxpixmap_8c_source.html#l00191">dmxBitmapToRegion()</a>, <a class="el" href="dmxgc_8c_source.html#l00190">dmxChangeGC()</a>, <a class="el" href="dmxpixmap_8c_source.html#l00084">dmxCreatePixmap()</a>, <a class="el" href="dmxpixmap_8c_source.html#l00154">dmxDestroyPixmap()</a>, <a class="el" href="dmxwindow_8c_source.html#l00475">dmxDoChangeWindowAttributes()</a>, <a class="el" href="dmxpict_8c_source.html#l00696">dmxDoCreatePicture()</a>, and <a class="el" href="dmxgcops_8c_source.html#l00517">dmxFindAlternatePixmap()</a>.</p>

</div>
</div>
<hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="a33d23370f4af28113332cd6112de22f1"></a><!-- doxytag: member="dmxpixmap.h::dmxPixPrivPtr" ref="a33d23370f4af28113332cd6112de22f1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="struct__dmxPixPriv.html">_dmxPixPriv</a> * <a class="el" href="struct__dmxPixPriv.html">dmxPixPrivPtr</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af881d895a7a1cac8c226aa3aff5678c7"></a><!-- doxytag: member="dmxpixmap.h::dmxPixPrivRec" ref="af881d895a7a1cac8c226aa3aff5678c7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="struct__dmxPixPriv.html">_dmxPixPriv</a>  <a class="el" href="struct__dmxPixPriv.html">dmxPixPrivRec</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Pixmap private area. </p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="ab785500b50aa10eb1d76274688413770"></a><!-- doxytag: member="dmxpixmap.h::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.h::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.h::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.h::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.h::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.h::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>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="af5bfb64208a18ade9f50196263c9d847"></a><!-- doxytag: member="dmxpixmap.h::dmxPixPrivateKey" ref="af5bfb64208a18ade9f50196263c9d847" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DevPrivateKey <a class="el" href="dmxscrinit_8c.html#af5bfb64208a18ade9f50196263c9d847">dmxPixPrivateKey</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Private index. </p>
<dl class="see"><dt><b>See also:</b></dt><dd>dmxpicmap.h </dd>
<dd>
<a class="el" href="dmxscrinit_8c.html">dmxscrinit.c</a></dd></dl>
<p>Private index for Pixmaps </p>

<p>Referenced by <a class="el" href="dmxpixmap_8c_source.html#l00050">dmxInitPixmap()</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>