aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gdisp/gdisp_streaming/gfxconf.h
blob: b38be85421528f3065e071e4d964811d087231ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
 * This file has a different license to the rest of the GFX system.
 * You can copy, modify and distribute this file as you see fit.
 * You do not need to publish your source modifications to this file.
 * The only thing you are not permitted to do is to relicense it
 * under a different license.
 */

#ifndef _GFXCONF_H
#define _GFXCONF_H

/* The operating system to use - one of these must be defined */
//#define GFX_USE_OS_CHIBIOS		TRUE
//#define GFX_USE_OS_WIN32		FALSE
//#define GFX_USE_OS_POSIX		FALSE

/* GFX sub-systems to turn on */
#define GFX_USE_GDISP			TRUE
#define GFX_USE_GMISC			TRUE

/* Features for the GDISP sub-system. */
#define GDISP_NEED_AUTOFLUSH	FALSE
#define GDISP_NEED_VALIDATION	TRUE
#define GDISP_NEED_CLIP			FALSE
#define GDISP_NEED_TEXT			FALSE
#define GDISP_NEED_CIRCLE		FALSE
#define GDISP_NEED_ELLIPSE		FALSE
#define GDISP_NEED_ARC			FALSE
#define GDISP_NEED_SCROLL		FALSE
#define GDISP_NEED_PIXELREAD	FALSE
#define GDISP_NEED_CONTROL		FALSE
#define GDISP_NEED_MULTITHREAD  FALSE
#define GDISP_NEED_STREAMING	TRUE

/* Builtin Fonts */
#define GDISP_INCLUDE_FONT_UI2          FALSE

#define GFX_USE_GMISC				TRUE
#define GMISC_NEED_FIXEDTRIG		FALSE
#define GMISC_NEED_FASTTRIG			FALSE
#define GMISC_NEED_INVSQRT			TRUE
//#define GDISP_INVSQRT_MIXED_ENDIAN	TRUE
//#define GDISP_INVSQRT_REAL_SLOW		TRUE

#endif /* _GFXCONF_H */