Go to the documentation of this file.
52 #ifndef HAL_GFX_UTILS_H_
53 #define HAL_GFX_UTILS_H_
void hal_gfx_calculate_fps(void)
calculate the fps, need to porting
float hal_gfx_get_time(void)
Return system timestamp in second, need to porting.
int stride
Texture image stride.
hal_gfx_buffer_t bo
Texture image info.
hal_gfx_buffer_t hal_gfx_load_file(const char *filename, int length, void *buffer)
load file to buffer, need to porting
uint8_t format
Texture image rgb format.
uint8_t sampling_mode
Texture image FILTER.
The base structure of gpu memory.
uint32_t color
Texture image color, default 0.
unsigned int hal_gfx_rand(void)
generate a random number, need to porting
uint16_t w
Texture image width.
float hal_gfx_get_wall_time(void)
Return system timestamp in millisecond, need to porting.
int hal_gfx_save_file(const char *filename, int length, void *buffer)
save buffer to file, need to porting
struct _img_obj_ img_obj_t
Image object defination.
void * hal_gfx_memcpy(void *destination, const void *source, size_t num)
memcpy function, need to porting
uint16_t h
Texture image high.
float hal_gfx_calculate_fps_ext(float start_time, uint32_t frame)
calculate the fps, need to porting
Header file containing functions prototypes of Graphics library.