2013-05-03 14:36:17 +00:00
|
|
|
/*
|
2013-06-15 11:37:22 +00:00
|
|
|
* This file is subject to the terms of the GFX License. If a copy of
|
2013-05-03 14:36:17 +00:00
|
|
|
* the license was not distributed with this file, you can obtain one at:
|
|
|
|
*
|
2018-10-01 15:32:39 +00:00
|
|
|
* http://ugfx.io/license.html
|
2013-05-03 14:36:17 +00:00
|
|
|
*/
|
2013-07-21 15:42:25 +00:00
|
|
|
|
|
|
|
#ifndef _GDISP_LLD_CONFIG_H
|
|
|
|
#define _GDISP_LLD_CONFIG_H
|
|
|
|
|
|
|
|
#if GFX_USE_GDISP
|
|
|
|
|
|
|
|
/*===========================================================================*/
|
|
|
|
/* Driver hardware support. */
|
|
|
|
/*===========================================================================*/
|
|
|
|
|
2014-08-23 03:00:10 +00:00
|
|
|
/* This driver has problems with other orientations and requires significant
|
|
|
|
* extra code to handle them. By default we turn this on only if the GDISP_NEED_CONTROL
|
|
|
|
* is turned on. If you are worried about code size and don't need orientation support
|
|
|
|
* define GDISP_NOKIA_ORIENTATION as false in your gfxconf.h.
|
2013-10-19 06:33:56 +00:00
|
|
|
*/
|
2013-09-29 14:05:07 +00:00
|
|
|
#ifndef GDISP_NOKIA_ORIENTATION
|
2018-02-27 07:44:21 +00:00
|
|
|
#define GDISP_NOKIA_ORIENTATION GFXON
|
2013-09-29 14:05:07 +00:00
|
|
|
#endif
|
2013-09-26 15:38:37 +00:00
|
|
|
|
|
|
|
#if GDISP_NOKIA_ORIENTATION && GDISP_NEED_CONTROL
|
2018-02-27 07:44:21 +00:00
|
|
|
#define GDISP_HARDWARE_CONTROL GFXON
|
|
|
|
#define GDISP_HARDWARE_DRAWPIXEL GFXON
|
|
|
|
#define GDISP_HARDWARE_FILLS GFXON
|
|
|
|
#define GDISP_HARDWARE_BITFILLS GFXON
|
2013-09-26 15:38:37 +00:00
|
|
|
#else
|
2018-02-27 07:44:21 +00:00
|
|
|
#define GDISP_HARDWARE_CONTROL GFXON
|
|
|
|
#define GDISP_HARDWARE_STREAM_WRITE GFXON
|
2013-09-26 15:38:37 +00:00
|
|
|
#endif
|
2013-07-21 15:42:25 +00:00
|
|
|
|
2013-11-04 14:36:54 +00:00
|
|
|
#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_RGB444
|
2013-07-21 15:42:25 +00:00
|
|
|
|
|
|
|
#endif /* GFX_USE_GDISP */
|
|
|
|
|
|
|
|
#endif /* _GDISP_LLD_CONFIG_H */
|