home *** CD-ROM | disk | FTP | other *** search
/ ST-Computer Leser-CD 2001 January / LCD_01_2001.iso / develop / tinylib041 / tiny / atari / gl / oscontex.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-04-10  |  734 b   |  38 lines

  1. #ifndef _tgl_osbuffer_h_
  2. #define _tgl_osbuffer_h_
  3.  
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7.  
  8. typedef struct {
  9.   void **zbs;
  10.   void **framebuffers;
  11.   int numbuffers;
  12.   int xsize, ysize;
  13. } ostgl_context;
  14.  
  15. ostgl_context *
  16. ostgl_create_context(const int xsize,
  17.                      const int ysize,
  18.                      const int depth,
  19.                      void **framebuffers,
  20.                      const int numbuffers);
  21. void
  22. ostgl_delete_context(ostgl_context *context);
  23.  
  24. void
  25. ostgl_make_current(ostgl_context *context, const int index);
  26.  
  27. void
  28. ostgl_resize(ostgl_context * context,
  29.              const int xsize,
  30.              const int ysize,
  31.              void **framebuffers);
  32.  
  33. #ifdef __cplusplus
  34. }
  35. #endif
  36.  
  37. #endif /* _tgl_osbuffer_h_ */
  38.