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:
|
|
|
|
*
|
2013-07-21 20:20:37 +00:00
|
|
|
* http://ugfx.org/license.html
|
2013-05-03 14:36:17 +00:00
|
|
|
*/
|
2013-02-11 08:25:45 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @file drivers/multiple/Win32/gdisp_lld_config.h
|
|
|
|
* @brief GDISP Graphic Driver subsystem low level driver header for Win32.
|
|
|
|
*
|
|
|
|
* @addtogroup GDISP
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _GDISP_LLD_CONFIG_H
|
|
|
|
#define _GDISP_LLD_CONFIG_H
|
|
|
|
|
2013-10-12 03:24:40 +00:00
|
|
|
#if GFX_USE_GDISP
|
2013-02-11 08:25:45 +00:00
|
|
|
|
|
|
|
/*===========================================================================*/
|
|
|
|
/* Driver hardware support. */
|
|
|
|
/*===========================================================================*/
|
|
|
|
|
2013-10-21 03:34:55 +00:00
|
|
|
// Calling gdispGFlush() is optional for this driver but can be used by the
|
|
|
|
// application to force a display update. eg after streaming.
|
|
|
|
|
|
|
|
#define GDISP_HARDWARE_FLUSH TRUE
|
2013-09-18 13:46:37 +00:00
|
|
|
#define GDISP_HARDWARE_CONTROL TRUE
|
2013-10-24 01:30:17 +00:00
|
|
|
|
|
|
|
//#define GDISP_WIN32_STREAMING_TEST
|
|
|
|
#ifdef GDISP_WIN32_STREAMING_TEST
|
|
|
|
// These streaming routines are here only to debug the high level gdisp
|
|
|
|
// code for streaming controllers. They are slow, inefficient and have
|
|
|
|
// lots of debugging turned on.
|
|
|
|
#define GDISP_HARDWARE_STREAM_WRITE TRUE
|
|
|
|
#define GDISP_HARDWARE_STREAM_READ TRUE
|
|
|
|
#define GDISP_HARDWARE_STREAM_POS TRUE
|
|
|
|
#else
|
|
|
|
// The proper way on the Win32. These routines are nice and fast.
|
|
|
|
#define GDISP_HARDWARE_DRAWPIXEL TRUE
|
|
|
|
#define GDISP_HARDWARE_FILLS TRUE
|
|
|
|
#define GDISP_HARDWARE_PIXELREAD TRUE
|
|
|
|
#define GDISP_HARDWARE_BITFILLS TRUE
|
|
|
|
#define GDISP_HARDWARE_SCROLL TRUE
|
|
|
|
#endif
|
2013-09-18 13:46:37 +00:00
|
|
|
|
2013-10-12 03:24:40 +00:00
|
|
|
#define GDISP_PIXELFORMAT GDISP_PIXELFORMAT_RGB888
|
2013-02-11 08:25:45 +00:00
|
|
|
|
|
|
|
#endif /* GFX_USE_GDISP */
|
|
|
|
|
|
|
|
#endif /* _GDISP_LLD_CONFIG_H */
|
|
|
|
/** @} */
|
|
|
|
|