aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp/gdisp_options.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@embedded.pro>2017-01-10 10:18:52 +0100
committerJoel Bodenmann <joel@embedded.pro>2017-01-10 10:18:52 +0100
commit2b75db44a096ddce161452c66c97ee20e724787e (patch)
tree56d3b4ac3df57dc14f50abde3d10b7e01a08bebd /src/gdisp/gdisp_options.h
parentbfe41b4cfde9dea7bc4f54f14575c2e23546e14b (diff)
downloaduGFX-2b75db44a096ddce161452c66c97ee20e724787e.tar.gz
uGFX-2b75db44a096ddce161452c66c97ee20e724787e.tar.bz2
uGFX-2b75db44a096ddce161452c66c97ee20e724787e.zip
Adding GDISP_IMAGE_BMP_BLIT_BUFFER_SIZE configuration option
Diffstat (limited to 'src/gdisp/gdisp_options.h')
-rw-r--r--src/gdisp/gdisp_options.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gdisp/gdisp_options.h b/src/gdisp/gdisp_options.h
index 09502618..4ae267ea 100644
--- a/src/gdisp/gdisp_options.h
+++ b/src/gdisp/gdisp_options.h
@@ -388,6 +388,15 @@
#ifndef GDISP_NEED_IMAGE_BMP_32
#define GDISP_NEED_IMAGE_BMP_32 TRUE
#endif
+ /**
+ * @brief The blit buffer size.
+ * @details Defaults to TRUE
+ * @note Bigger is faster but requires more RAM.
+ * @note This must be greater than 40 bytes and 32 pixels as we read our headers into this space as well.
+ */
+ #ifndef GDISP_IMAGE_BMP_BLIT_BUFFER_SIZE
+ #define GDISP_IMAGE_BMP_BLIT_BUFFER_SIZE 32
+ #endif
/**
* @}
*