aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/multiple/Win32/gdisp_lld_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/multiple/Win32/gdisp_lld_config.h')
-rw-r--r--drivers/multiple/Win32/gdisp_lld_config.h22
1 files changed, 17 insertions, 5 deletions
diff --git a/drivers/multiple/Win32/gdisp_lld_config.h b/drivers/multiple/Win32/gdisp_lld_config.h
index f6544eb4..e2fc3de4 100644
--- a/drivers/multiple/Win32/gdisp_lld_config.h
+++ b/drivers/multiple/Win32/gdisp_lld_config.h
@@ -26,12 +26,24 @@
// application to force a display update. eg after streaming.
#define GDISP_HARDWARE_FLUSH TRUE
-#define GDISP_HARDWARE_DRAWPIXEL TRUE
-#define GDISP_HARDWARE_FILLS TRUE
-#define GDISP_HARDWARE_PIXELREAD TRUE
#define GDISP_HARDWARE_CONTROL TRUE
-#define GDISP_HARDWARE_BITFILLS TRUE
-#define GDISP_HARDWARE_SCROLL TRUE
+
+//#define GDISP_WIN32_STREAMING_TEST
+#ifdef GDISP_WIN32_STREAMING_TEST
+ // These streaming routines are here only to debug the high level gdisp
+ // code for streaming controllers. They are slow, inefficient and have
+ // lots of debugging turned on.
+ #define GDISP_HARDWARE_STREAM_WRITE TRUE
+ #define GDISP_HARDWARE_STREAM_READ TRUE
+ #define GDISP_HARDWARE_STREAM_POS TRUE
+#else
+ // The proper way on the Win32. These routines are nice and fast.
+ #define GDISP_HARDWARE_DRAWPIXEL TRUE
+ #define GDISP_HARDWARE_FILLS TRUE
+ #define GDISP_HARDWARE_PIXELREAD TRUE
+ #define GDISP_HARDWARE_BITFILLS TRUE
+ #define GDISP_HARDWARE_SCROLL TRUE
+#endif
#define GDISP_PIXELFORMAT GDISP_PIXELFORMAT_RGB888