Commit | Line | Data |
---|---|---|
a09e091a JB |
1 | /* |
2 | * (C) Copyright IBM Corporation 2005 | |
3 | * All Rights Reserved. | |
4 | * | |
5 | * Permission is hereby granted, free of charge, to any person obtaining a | |
6 | * copy of this software and associated documentation files (the "Software"), | |
7 | * to deal in the Software without restriction, including without limitation | |
8 | * the rights to use, copy, modify, merge, publish, distribute, sub license, | |
9 | * and/or sell copies of the Software, and to permit persons to whom the | |
10 | * Software is furnished to do so, subject to the following conditions: | |
11 | * | |
12 | * The above copyright notice and this permission notice (including the next | |
13 | * paragraph) shall be included in all copies or substantial portions of the | |
14 | * Software. | |
15 | * | |
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL | |
19 | * IBM, | |
20 | * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | |
21 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF | |
22 | * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
23 | * SOFTWARE. | |
24 | */ | |
25 | ||
26 | #ifndef __GLX_INDIRECT_UTIL_H__ | |
27 | #define __GLX_INDIRECT_UTIL_H__ | |
28 | ||
29 | extern GLint __glGetBooleanv_variable_size(GLenum e); | |
30 | ||
31 | extern void *__glXGetAnswerBuffer(__GLXclientState * cl, | |
32 | size_t required_size, void *local_buffer, | |
33 | size_t local_size, unsigned alignment); | |
34 | ||
35 | extern void __glXSendReply(ClientPtr client, const void *data, | |
36 | size_t elements, size_t element_size, | |
37 | GLboolean always_array, CARD32 retval); | |
38 | ||
39 | extern void __glXSendReplySwap(ClientPtr client, const void *data, | |
40 | size_t elements, size_t element_size, | |
41 | GLboolean always_array, CARD32 retval); | |
42 | ||
43 | struct __glXDispatchInfo; | |
44 | ||
45 | extern void *__glXGetProtocolDecodeFunction(const struct __glXDispatchInfo | |
46 | *dispatch_info, int opcode, | |
47 | int swapped_version); | |
48 | ||
49 | extern int __glXGetProtocolSizeData(const struct __glXDispatchInfo | |
50 | *dispatch_info, int opcode, | |
51 | __GLXrenderSizeData * data); | |
52 | ||
53 | #endif /* __GLX_INDIRECT_UTIL_H__ */ |