home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / System / Mesa-3.1 / src / AOS / cmnDisplay.h < prev    next >
C/C++ Source or Header  |  1999-09-23  |  2KB  |  51 lines

  1. #ifndef    AMIGAMESAcmn_H
  2. #define    AMIGAMESAcmn_H
  3.  
  4. /*
  5.  * $Id: $
  6.  */
  7.  
  8. /*
  9.  * Mesa 3-D graphics library
  10.  * Version:  3.1
  11.  * Copyright (C) 1995  Brian Paul  (brianp@ssec.wisc.edu)
  12.  *
  13.  * This library is free software; you can redistribute it and/or
  14.  * modify it under the terms of the GNU Library General Public
  15.  * License as published by the Free Software Foundation; either
  16.  * version 2 of the License, or (at your option) any later version.
  17.  *
  18.  * This library is distributed in the hope that it will be useful,
  19.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  20.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  21.  * Library General Public License for more details.
  22.  *
  23.  * You should have received a copy of the GNU Library General Public
  24.  * License along with this library; if not, write to the Free
  25.  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  26.  */
  27.  
  28. GLboolean cmnStandardInit(amigaMesaContext amesa, struct TagItem *tagList);
  29. GLboolean cmnStandardInitDB(amigaMesaContext amesa, struct TagItem *tagList);
  30. void cmnStandardResize(GLcontext *ctx, GLuint *width, GLuint *height);
  31. void cmnStandardResizeDB(GLcontext *ctx, GLuint *width, GLuint *height);
  32. void cmnStandardSwapBuffer(amigaMesaContext amesa);
  33. void cmnStandardSwapBufferDB(amigaMesaContext amesa);
  34. void cmnStandardDispose(amigaMesaContext amesa);
  35. void cmnStandardDisposeDB(amigaMesaContext amesa);
  36.  
  37. GLboolean cmnSetBuffer(GLcontext *ctx, GLenum mode);
  38. #define    cmnSetBufferDB    cmnSetBuffer
  39. void cmnFinish(void);
  40. #define    cmnFinishDB    cmnFinish
  41. void cmnRenderStart(GLcontext *ctx);
  42. #define    cmnRenderStartDB    NULL
  43. void cmnRenderFinish(GLcontext *ctx);
  44. #define    cmnRenderFinishDB    NULL
  45. void cmnDither(GLcontext *ctx, GLboolean enable);
  46. #define    cmnDitherDB    cmnDither
  47. void cmnFlush(GLcontext *ctx);
  48. #define    cmnFlushDB    cmnFlush
  49.  
  50. #endif
  51.