Go to the documentation of this file.
12 #ifndef HAL_GFX_UTILS_H_
13 #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.
hal_gfx_buffer_t hal_gfx_load_file(const char *filename, int length, void *buffer)
load file to buffer, need to porting
The base structure of gpu memory.
unsigned int hal_gfx_rand(void)
generate a random number, need to porting
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
float hal_gfx_calculate_fps_ext(float start_time, uint32_t frame)
calculate the fps, need to porting