Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. ;
  2. ; If not debugging, assert does nothing.
  3. ;
  4. ;#define assert(x)      ((void)0) /* debugging disabled */
  5. ;#include <assert.h> /* debugging enabled */
  6.  
  7. ; It is possible to enable/disable (compile time) features in this
  8. ; header file.
  9.  
  10. ;TGL_FEATURE_ARRAYS         equ 1
  11. ;TGL_FEATURE_DISPLAYLISTS   equ 1
  12. ;TGL_FEATURE_POLYGON_OFFSET equ 1
  13.  
  14. ;
  15. ; Matrix of internal and external pixel formats supported. 'Y' means
  16. ; supported.
  17. ;
  18. ;           External  8    16    24    32
  19. ; Internal
  20. ;  15                 .     .     .     .
  21. ;  16                 Y     Y     Y     Y
  22. ;  24                 .     Y     Y     .
  23. ;  32                 .     Y     .     Y
  24. ;
  25. ;
  26. ; 15 bpp does not work yet (although it is easy to add it - ask me if
  27. ; you need it).
  28. ;
  29. ; Internal pixel format: see TGL_FEATURE_RENDER_BITS
  30. ; External pixel format: see TGL_FEATURE_xxx_BITS
  31. ;
  32.  
  33. ; enable various convertion code from internal pixel format (usually
  34. ; 16 bits per pixel) to any external format */
  35. ;TGL_FEATURE_16_BITS    equ 1
  36. ;TGL_FEATURE_8_BITS     equ 1
  37. TGL_FEATURE_24_BITS    equ 1
  38. ;TGL_FEATURE_32_BITS    equ 1
  39.  
  40. ;TGL_FEATURE_RENDER_BITS equ 15
  41. ;TGL_FEATURE_RENDER_BITS equ 16
  42. TGL_FEATURE_RENDER_BITS equ 24
  43. ;TGL_FEATURE_RENDER_BITS equ 32
  44.