diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-11-05 00:36:54 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-11-05 00:36:54 +1000 |
commit | ece5bcd6ab566dc3bef092e6a0b5260ba771bc85 (patch) | |
tree | 8d7e8b2f0e04ac51b78dc24613a7e3701163af8d /drivers/multiple/Win32 | |
parent | 0399c33aebeae0f60c31f87a6649371ff2a78242 (diff) | |
download | uGFX-ece5bcd6ab566dc3bef092e6a0b5260ba771bc85.tar.gz uGFX-ece5bcd6ab566dc3bef092e6a0b5260ba771bc85.tar.bz2 uGFX-ece5bcd6ab566dc3bef092e6a0b5260ba771bc85.zip |
Auto-generate pixel formats using macro's.
Prepare for (but not yet complete) supporting a different high level GDISP pixel format to the low level driver format.
This will be useful in multiple display scenario's where displays have different pixel formats.
Diffstat (limited to 'drivers/multiple/Win32')
-rw-r--r-- | drivers/multiple/Win32/gdisp_lld_config.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/multiple/Win32/gdisp_lld_config.h b/drivers/multiple/Win32/gdisp_lld_config.h index e2fc3de4..4985bc43 100644 --- a/drivers/multiple/Win32/gdisp_lld_config.h +++ b/drivers/multiple/Win32/gdisp_lld_config.h @@ -21,10 +21,10 @@ /*===========================================================================*/
/* Driver hardware support. */
/*===========================================================================*/
-
+ // Calling gdispGFlush() is optional for this driver but can be used by the // application to force a display update. eg after streaming. -
+ #define GDISP_HARDWARE_FLUSH TRUE #define GDISP_HARDWARE_CONTROL TRUE @@ -45,7 +45,7 @@ #define GDISP_HARDWARE_SCROLL TRUE #endif -#define GDISP_PIXELFORMAT GDISP_PIXELFORMAT_RGB888 +#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_RGB888 #endif /* GFX_USE_GDISP */
|