vglite_support.h 1018 B

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