b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/* $XFree86: xc/programs/Xserver/GL/glx/glxutil.h,v 1.3 2001/03/21 16:29:37 dawes Exp $ */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#ifndef _glxcmds_h_
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define _glxcmds_h_
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/*
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** License Applicability. Except to the extent portions of this file are
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** made subject to an alternative license as permitted in the SGI Free
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** Software License B, Version 1.1 (the "License"), the contents of this
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** file are subject only to the provisions of the License. You may not use
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** this file except in compliance with the License. You may obtain a copy
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync**
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** http://oss.sgi.com/projects/FreeB
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync**
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** Note that, as provided in the License, the Software is distributed on an
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync**
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** Original Code. The Original Code is: OpenGL Sample Implementation,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** Copyright in any portions created by third parties is as indicated
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** elsewhere herein. All Rights Reserved.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync**
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** Additional Notice Provisions: The application programming interfaces
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** established by SGI in conjunction with the Original Code are The
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** Window System(R) (Version 1.3), released October 19, 1998. This software
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** was created using the OpenGL(R) version 1.2.1 Sample Implementation
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** published by SGI, but has not been independently verified as being
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync** compliant with the OpenGL(R) version 1.2.1 Specification.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync**
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync*/
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncextern void __glXNop(void);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/* memory management */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncextern void *__glXMalloc(size_t size);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncextern void *__glXCalloc(size_t numElements, size_t elementSize);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncextern void *__glXRealloc(void *addr, size_t newSize);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncextern void __glXFree(void *ptr);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/* context helper routines */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncextern __GLXcontext *__glXLookupContextByTag(__GLXclientState*, GLXContextTag);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncextern DrawablePtr __glXLookupDrawableByTag(__GLXclientState *cl, GLXContextTag tag);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#endif /* _glxcmds_h_ */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync