aboutsummaryrefslogtreecommitdiffstats
path: root/include/gdisp/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gdisp/options.h')
-rw-r--r--include/gdisp/options.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/gdisp/options.h b/include/gdisp/options.h
index 9af7788f..72fe2038 100644
--- a/include/gdisp/options.h
+++ b/include/gdisp/options.h
@@ -21,6 +21,20 @@
* @{
*/
/**
+ * @brief Should drawing operations be automatically flushed.
+ * @details Defaults to FALSE
+ * @note If set to FALSE and the controller requires flushing
+ * then the application must manually call @p gdispGFlush().
+ * Setting this to TRUE causes GDISP to automatically flush
+ * after each drawing operation. Note this may be slow but enables
+ * an application to avoid having to manually call the flush routine.
+ * @note Most controllers don't need flushing which is why this is set to
+ * FALSE by default.
+ */
+ #ifndef GDISP_NEED_AUTOFLUSH
+ #define GDISP_NEED_AUTOFLUSH FALSE
+ #endif
+ /**
* @brief Should all operations be clipped to the screen and colors validated.
* @details Defaults to TRUE.
* @note If this is FALSE, any operations that extend beyond the