VirtualBox

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

最後變更 在這個檔案從62425是 40349,由 vboxsync 提交於 13 年 前

Additions/xorg: support X.Org Server 1.12.

  • 屬性 svn:eol-style 設為 native
檔案大小: 2.0 KB
 
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, size_t local_size,
33 unsigned alignment );
34
35extern void __glXSendReply( ClientPtr client, const void * data,
36 size_t elements, size_t element_size, GLboolean always_array,
37 CARD32 retval );
38
39extern void __glXSendReplySwap( ClientPtr client, const void * data,
40 size_t elements, size_t element_size, GLboolean always_array,
41 CARD32 retval );
42
43struct __glXDispatchInfo;
44
45extern void *__glXGetProtocolDecodeFunction(
46 const struct __glXDispatchInfo *dispatch_info, int opcode,
47 int swapped_version);
48
49extern int __glXGetProtocolSizeData(
50 const struct __glXDispatchInfo *dispatch_info, int opcode,
51 __GLXrenderSizeData *data);
52
53#endif /* __GLX_INDIRECT_UTIL_H__ */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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