1 /* 2 * Copyright 2019, 2021 NXP 3 * All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 */ 7 8 #ifndef _VGLITE_SUPPORT_H_ 9 #define _VGLITE_SUPPORT_H_ 10 11 #include "fsl_common.h" 12 13 /******************************************************************************* 14 * Definitions 15 ******************************************************************************/ 16 17 /******************************************************************************* 18 * API 19 ******************************************************************************/ 20 #if defined(__cplusplus) 21 extern "C" { 22 #endif /* __cplusplus */ 23 24 #define VG_LITE_COMMAND_BUFFER_SIZE (256 << 10) /* 256 KB */ 25 26 /* Default tessellation window width and height, in pixels */ 27 #define DEFAULT_VG_LITE_TW_WIDTH 128 /* pixels */ 28 #define DEFAULT_VG_LITE_TW_HEIGHT 128 /* pixels */ 29 30 status_t BOARD_PrepareVGLiteController(void); 31 32 #if defined(__cplusplus) 33 } 34 #endif /* __cplusplus */ 35 36 #endif /* _VGLITE_SUPPORT_H_ */ 37