source: trunk/sys/TinyGL/src/zfeatures.h @ 72

Last change on this file since 72 was 1, checked in by alain, 8 years ago

First import

File size: 1.2 KB
Line 
1#ifndef _tgl_features_h_
2#define _tgl_features_h_
3
4/* It is possible to enable/disable (compile time) features in this
5   header file. */
6
7#define TGL_FEATURE_ARRAYS         1
8#define TGL_FEATURE_DISPLAYLISTS   1
9#define TGL_FEATURE_POLYGON_OFFSET 1
10
11/*
12 * Matrix of internal and external pixel formats supported. 'Y' means
13 * supported.
14 *
15 *           External  8    16    24    32
16 * Internal
17 *  15                 .     .     .     .
18 *  16                 Y     Y     Y     Y
19 *  24                 .     Y     Y     .
20 *  32                 .     Y     .     Y
21 *
22 *
23 * 15 bpp does not work yet (although it is easy to add it - ask me if
24 * you need it).
25 *
26 * Internal pixel format: see TGL_FEATURE_RENDER_BITS
27 * External pixel format: see TGL_FEATURE_xxx_BITS
28 */
29
30/* enable various convertion code from internal pixel format (usually
31   16 bits per pixel) to any external format */
32#define TGL_FEATURE_16_BITS        1
33#define TGL_FEATURE_8_BITS         1
34#define TGL_FEATURE_24_BITS        1
35#define TGL_FEATURE_32_BITS        1
36
37
38//#define TGL_FEATURE_RENDER_BITS    15
39#define TGL_FEATURE_RENDER_BITS    16
40//#define TGL_FEATURE_RENDER_BITS    24
41//#define TGL_FEATURE_RENDER_BITS    32
42
43#endif /* _tgl_features_h_ */
Note: See TracBrowser for help on using the repository browser.