glxutil.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #ifdef HAVE_DIX_CONFIG_H
  2. #include <dix-config.h>
  3. #endif
  4. #ifndef _glxcmds_h_
  5. #define _glxcmds_h_
  6. /*
  7. * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
  8. * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
  9. *
  10. * Permission is hereby granted, free of charge, to any person obtaining a
  11. * copy of this software and associated documentation files (the "Software"),
  12. * to deal in the Software without restriction, including without limitation
  13. * the rights to use, copy, modify, merge, publish, distribute, sublicense,
  14. * and/or sell copies of the Software, and to permit persons to whom the
  15. * Software is furnished to do so, subject to the following conditions:
  16. *
  17. * The above copyright notice including the dates of first publication and
  18. * either this permission notice or a reference to
  19. * http://oss.sgi.com/projects/FreeB/
  20. * shall be included in all copies or substantial portions of the Software.
  21. *
  22. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  23. * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  24. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  25. * SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  26. * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
  27. * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  28. * SOFTWARE.
  29. *
  30. * Except as contained in this notice, the name of Silicon Graphics, Inc.
  31. * shall not be used in advertising or otherwise to promote the sale, use or
  32. * other dealings in this Software without prior written authorization from
  33. * Silicon Graphics, Inc.
  34. */
  35. extern GLboolean __glXDrawableInit(__GLXdrawable * drawable,
  36. __GLXscreen * screen,
  37. DrawablePtr pDraw, int type, XID drawID,
  38. __GLXconfig * config);
  39. extern void __glXDrawableRelease(__GLXdrawable * drawable);
  40. /* context helper routines */
  41. extern __GLXcontext *__glXLookupContextByTag(__GLXclientState *, GLXContextTag);
  42. /* init helper routines */
  43. extern void *__glXglDDXScreenInfo(void);
  44. extern void *__glXglDDXExtensionInfo(void);
  45. #endif /* _glxcmds_h_ */