Clone of mesa.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

ggimesa.h 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /* $Id: ggimesa.h,v 1.2 1999/08/23 22:34:08 jtaylor Exp $ */
  2. /*
  3. * Mesa 3-D graphics library
  4. * Version: 3.1
  5. * Copyright (C) 1995-1998 Brian Paul
  6. * Copyright (C) 1998 Uwe Maurer
  7. *
  8. * This library is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU Library General Public
  10. * License as published by the Free Software Foundation; either
  11. * version 2 of the License, or (at your option) any later version.
  12. *
  13. * This library is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. * Library General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU Library General Public
  19. * License along with this library; if not, write to the Free
  20. * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21. */
  22. /*
  23. * $Log: ggimesa.h,v $
  24. * Revision 1.2 1999/08/23 22:34:08 jtaylor
  25. * Misc small cleanups
  26. *
  27. * Revision 1.1.1.1 1999/08/19 00:55:40 jtg
  28. * Imported sources
  29. *
  30. * Revision 1.2 1998/09/29 01:46:40 brianp
  31. * applied Emmanuel Marty's patches for latest GGI
  32. *
  33. */
  34. #ifndef GGIMESA_H
  35. #define GGIMESA_H
  36. #ifdef __cplusplus
  37. extern "C" {
  38. #endif
  39. #include "GL/gl.h"
  40. typedef struct ggi_mesa_context *GGIMesaContext;
  41. #include <ggi/ggi.h>
  42. extern GGIMesaContext GGIMesaCreateContext(void);
  43. extern void GGIMesaDestroyContext(GGIMesaContext ctx);
  44. extern void GGIMesaMakeCurrent(GGIMesaContext ctx);
  45. extern GGIMesaContext GGIMesaGetCurrentContext(void);
  46. extern void GGIMesaSwapBuffers(void);
  47. extern int GGIMesaSetVisual(GGIMesaContext ctx, ggi_visual_t vis,
  48. GLboolean rgb_flag, GLboolean db_flag);
  49. #ifdef __cplusplus
  50. }
  51. #endif
  52. #endif