VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/glximports.h@ 67129

最後變更 在這個檔案從67129是 51223,由 vboxsync 提交於 11 年 前

Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.

  • 屬性 svn:eol-style 設為 native
檔案大小: 3.0 KB
 
1/* $XFree86: xc/programs/Xserver/GL/glx/glximports.h,v 1.3 2001/03/21 16:29:36 dawes Exp $ */
2#ifdef HAVE_DIX_CONFIG_H
3#include <dix-config.h>
4#endif
5
6#ifndef _glximports_h_
7#define _glximports_h_
8
9/*
10** License Applicability. Except to the extent portions of this file are
11** made subject to an alternative license as permitted in the SGI Free
12** Software License B, Version 1.1 (the "License"), the contents of this
13** file are subject only to the provisions of the License. You may not use
14** this file except in compliance with the License. You may obtain a copy
15** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
16** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
17**
18** http://oss.sgi.com/projects/FreeB
19**
20** Note that, as provided in the License, the Software is distributed on an
21** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
22** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
23** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
24** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
25**
26** Original Code. The Original Code is: OpenGL Sample Implementation,
27** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
28** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
29** Copyright in any portions created by third parties is as indicated
30** elsewhere herein. All Rights Reserved.
31**
32** Additional Notice Provisions: The application programming interfaces
33** established by SGI in conjunction with the Original Code are The
34** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
35** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
36** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
37** Window System(R) (Version 1.3), released October 19, 1998. This software
38** was created using the OpenGL(R) version 1.2.1 Sample Implementation
39** published by SGI, but has not been independently verified as being
40** compliant with the OpenGL(R) version 1.2.1 Specification.
41**
42*/
43
44extern void *__glXImpMalloc(__GLcontext *gc, size_t size);
45extern void *__glXImpCalloc(__GLcontext *gc, size_t nElem, size_t eSize);
46extern void *__glXImpRealloc(__GLcontext *gc, void *addr, size_t newSize);
47extern void __glXImpFree(__GLcontext *gc, void *addr);
48
49extern void __glXImpWarning(__GLcontext *gc, char *msg);
50extern void __glXImpFatal(__GLcontext *gc, char *msg);
51
52extern char *__glXImpGetenv(__GLcontext *gc, const char *var);
53extern int __glXImpAtoi(__GLcontext *gc, const char *str);
54extern int __glXImpSprintf(__GLcontext *gc, char *str, const char *fmt, ...);
55extern void *__glXImpFopen(__GLcontext *gc, const char *path,
56 const char *mode);
57extern int __glXImpFclose(__GLcontext *gc, void *stream);
58extern int __glXImpFprintf(__GLcontext *gc, void *stream,
59 const char *fmt, ...);
60
61extern __GLdrawablePrivate *__glXImpGetDrawablePrivate(__GLcontext *gc);
62extern __GLdrawablePrivate *__glXImpGetReadablePrivate(__GLcontext *gc);
63
64
65#endif /* _glximports_h_ */
66
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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