diff options
author | Joel Bodenmann <joel@embedded.pro> | 2017-01-10 10:18:52 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@embedded.pro> | 2017-01-10 10:18:52 +0100 |
commit | 2b75db44a096ddce161452c66c97ee20e724787e (patch) | |
tree | 56d3b4ac3df57dc14f50abde3d10b7e01a08bebd /src/gdisp/gdisp_options.h | |
parent | bfe41b4cfde9dea7bc4f54f14575c2e23546e14b (diff) | |
download | uGFX-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.h | 9 |
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 /** * @} * |