aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/QImage/gdisp_lld_config.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@embedded.pro>2016-07-19 01:24:05 +0200
committerJoel Bodenmann <joel@embedded.pro>2016-07-19 01:24:05 +0200
commit038a1f3630a480cc9b2951e0af80b7a5dba58401 (patch)
tree611cd313e8d20132029b08d2e517033af23346a3 /drivers/gdisp/QImage/gdisp_lld_config.h
parent5ad68305a7c5929ca9e31ca7682fcce5dded769b (diff)
downloaduGFX-038a1f3630a480cc9b2951e0af80b7a5dba58401.tar.gz
uGFX-038a1f3630a480cc9b2951e0af80b7a5dba58401.tar.bz2
uGFX-038a1f3630a480cc9b2951e0af80b7a5dba58401.zip
Adding QImage display driver
Diffstat (limited to 'drivers/gdisp/QImage/gdisp_lld_config.h')
-rw-r--r--drivers/gdisp/QImage/gdisp_lld_config.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/gdisp/QImage/gdisp_lld_config.h b/drivers/gdisp/QImage/gdisp_lld_config.h
new file mode 100644
index 00000000..ae97cfcb
--- /dev/null
+++ b/drivers/gdisp/QImage/gdisp_lld_config.h
@@ -0,0 +1,21 @@
+/*
+ * This file is subject to the terms of the GFX License. If a copy of
+ * the license was not distributed with this file, you can obtain one at:
+ *
+ * http://ugfx.org/license.html
+ */
+
+#pragma once
+
+#if GFX_USE_GDISP
+
+/*===========================================================================*/
+/* Driver hardware support. */
+/*===========================================================================*/
+
+#define GDISP_HARDWARE_DRAWPIXEL TRUE
+#define GDISP_HARDWARE_PIXELREAD TRUE
+
+#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_RGB888
+
+#endif /* GFX_USE_GDISP */