VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.14.0/indirect_util.h@ 77138

Last change on this file since 77138 was 45134, checked in by vboxsync, 12 years ago

Additions/X11: build vboxvideo_drv.so for X.Org Server 1.14.

  • Property svn:eol-style set to native
File size: 2.4 KB
Line 
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
29extern GLint __glGetBooleanv_variable_size(GLenum e);
30
31extern void *__glXGetAnswerBuffer(__GLXclientState * cl,
32 size_t required_size, void *local_buffer,
33 size_t local_size, unsigned alignment);
34
35extern void __glXSendReply(ClientPtr client, const void *data,
36 size_t elements, size_t element_size,
37 GLboolean always_array, CARD32 retval);
38
39extern void __glXSendReplySwap(ClientPtr client, const void *data,
40 size_t elements, size_t element_size,
41 GLboolean always_array, CARD32 retval);
42
43struct __glXDispatchInfo;
44
45extern void *__glXGetProtocolDecodeFunction(const struct __glXDispatchInfo
46 *dispatch_info, int opcode,
47 int swapped_version);
48
49extern int __glXGetProtocolSizeData(const struct __glXDispatchInfo
50 *dispatch_info, int opcode,
51 __GLXrenderSizeData * data);
52
53#endif /* __GLX_INDIRECT_UTIL_H__ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette