aboutsummaryrefslogtreecommitdiffstats
path: root/gfxconf.example.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-10-12 13:24:40 +1000
committerinmarket <andrewh@inmarket.com.au>2013-10-12 13:24:40 +1000
commitd22bc07e7adf459b2b83fcd0e5bd6475c18e1e9a (patch)
tree0907d29a9695d1b93b02de1582345aea6446e991 /gfxconf.example.h
parentb3ee216bd2565e8ab9298f1f54b8e6df762b7d58 (diff)
downloaduGFX-d22bc07e7adf459b2b83fcd0e5bd6475c18e1e9a.tar.gz
uGFX-d22bc07e7adf459b2b83fcd0e5bd6475c18e1e9a.tar.bz2
uGFX-d22bc07e7adf459b2b83fcd0e5bd6475c18e1e9a.zip
Multiple displays across one or more controllers is now fully supported.
Only the Win32 driver supports this so far. Other drivers are currently broken due to API changes and will be fixed.
Diffstat (limited to 'gfxconf.example.h')
-rw-r--r--gfxconf.example.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/gfxconf.example.h b/gfxconf.example.h
index e6be90db..f3a1e165 100644
--- a/gfxconf.example.h
+++ b/gfxconf.example.h
@@ -141,6 +141,29 @@
#define GMISC_NEED_FIXEDTRIG FALSE
#define GMISC_NEED_INVSQRT FALSE
+/* Optional Multiple Display support */
+/*
+ #define GDISP_TOTAL_DISPLAYS 1
+ #define GDISP_TOTAL_CONTROLLERS 1
+
+ // Extra stuff needed for when GDISP_TOTAL_CONTROLLERS > 1
+ #define GDISP_CONTROLLER_LIST GDISPVMT_Win32, GDISPVMT_Win32
+ #define GDISP_CONTROLLER_DISPLAYS 1, 1
+ #define GDISP_PIXELFORMAT GDISP_PIXELFORMAT_RGB888
+ #define GDISP_HARDWARE_STREAM_WRITE FALSE
+ #define GDISP_HARDWARE_STREAM_READ FALSE
+ #define GDISP_HARDWARE_STREAM_POS FALSE
+ #define GDISP_HARDWARE_DRAWPIXEL FALSE
+ #define GDISP_HARDWARE_CLEARS FALSE
+ #define GDISP_HARDWARE_FILLS FALSE
+ #define GDISP_HARDWARE_BITFILLS FALSE
+ #define GDISP_HARDWARE_SCROLL FALSE
+ #define GDISP_HARDWARE_PIXELREAD FALSE
+ #define GDISP_HARDWARE_CONTROL FALSE
+ #define GDISP_HARDWARE_QUERY FALSE
+ #define GDISP_HARDWARE_CLIP FALSE
+*/
+
/* Optional Parameters for various subsystems */
/*
#define GDISP_LINEBUF_SIZE 128