MiniGUI API Reference (MiniGUI-Processes)
v4.0.4
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
#include <exstubs.h>
Data Fields | |
DrmDriver *(* | create_driver )(int device_fd) |
void(* | destroy_driver )(DrmDriver *driver) |
void(* | flush_driver )(DrmDriver *driver) |
DrmSurfaceBuffer *(* | create_buffer )(DrmDriver *driver, uint32_t drm_format, unsigned int width, unsigned int height) |
DrmSurfaceBuffer *(* | create_buffer_from_handle )(DrmDriver *driver, uint32_t handle, unsigned long size, uint32_t drm_format, unsigned int width, unsigned int height, unsigned int pitch) |
DrmSurfaceBuffer *(* | create_buffer_from_name )(DrmDriver *driver, uint32_t name, uint32_t drm_format, unsigned int width, unsigned int height, unsigned int pitch) |
DrmSurfaceBuffer *(* | create_buffer_from_prime_fd )(DrmDriver *driver, int prime_fd, unsigned long size, uint32_t drm_format, unsigned int width, unsigned int height, unsigned int pitch) |
uint8_t *(* | map_buffer )(DrmDriver *driver, DrmSurfaceBuffer *buffer) |
void(* | unmap_buffer )(DrmDriver *driver, DrmSurfaceBuffer *buffer) |
void(* | destroy_buffer )(DrmDriver *driver, DrmSurfaceBuffer *buffer) |
int(* | clear_buffer )(DrmDriver *driver, DrmSurfaceBuffer *dst_buf, const GAL_Rect *rc, uint32_t pixel_value) |
int(* | check_blit )(DrmDriver *driver, DrmSurfaceBuffer *src_buf, DrmSurfaceBuffer *dst_buf) |
int(* | copy_blit )(DrmDriver *driver, DrmSurfaceBuffer *src_buf, const GAL_Rect *src_rc, DrmSurfaceBuffer *dst_buf, const GAL_Rect *dst_rc, enum DrmColorLogicOp logic_op) |
int(* | alpha_blit )(DrmDriver *driver, DrmSurfaceBuffer *src_buf, const GAL_Rect *src_rc, DrmSurfaceBuffer *dst_buf, const GAL_Rect *dst_rc, uint8_t alpha) |
int(* | key_blit )(DrmDriver *driver, DrmSurfaceBuffer *src_buf, const GAL_Rect *src_rc, DrmSurfaceBuffer *dst_buf, const GAL_Rect *dst_rc, uint32_t color_key) |
int(* | alpha_key_blit )(DrmDriver *driver, DrmSurfaceBuffer *src_buf, const GAL_Rect *src_rc, DrmSurfaceBuffer *dst_buf, const GAL_Rect *dst_rc, uint8_t alpha, uint32_t color_key) |
int(* alpha_blit) (DrmDriver *driver, DrmSurfaceBuffer *src_buf, const GAL_Rect *src_rc, DrmSurfaceBuffer *dst_buf, const GAL_Rect *dst_rc, uint8_t alpha) |
int(* alpha_key_blit) (DrmDriver *driver, DrmSurfaceBuffer *src_buf, const GAL_Rect *src_rc, DrmSurfaceBuffer *dst_buf, const GAL_Rect *dst_rc, uint8_t alpha, uint32_t color_key) |
This operation blits pixles from a source buffer with the source alpha value specified to a destination buffer, but skipping the pixel value specified.
int(* check_blit) (DrmDriver *driver, DrmSurfaceBuffer *src_buf, DrmSurfaceBuffer *dst_buf) |
This operation checks whether a hardware accelerated blit can be done between the source buffer and the destination buffer. If succeed, it returns 0.
int(* clear_buffer) (DrmDriver *driver, DrmSurfaceBuffer *dst_buf, const GAL_Rect *rc, uint32_t pixel_value) |
int(* copy_blit) (DrmDriver *driver, DrmSurfaceBuffer *src_buf, const GAL_Rect *src_rc, DrmSurfaceBuffer *dst_buf, const GAL_Rect *dst_rc, enum DrmColorLogicOp logic_op) |
DrmSurfaceBuffer*(* create_buffer) (DrmDriver *driver, uint32_t drm_format, unsigned int width, unsigned int height) |
This operation creates a buffer with the specified pixel format, width, and height. If succeed, a valid DrmSurfaceBuffer object will be returned; NULL on error. Note that the field of pixels
of the DrmSurfaceBuffer object is NULL until the map_buffer was called.
DrmSurfaceBuffer*(* create_buffer_from_handle) (DrmDriver *driver, uint32_t handle, unsigned long size, uint32_t drm_format, unsigned int width, unsigned int height, unsigned int pitch) |
DrmSurfaceBuffer*(* create_buffer_from_name) (DrmDriver *driver, uint32_t name, uint32_t drm_format, unsigned int width, unsigned int height, unsigned int pitch) |
DrmSurfaceBuffer*(* create_buffer_from_prime_fd) (DrmDriver *driver, int prime_fd, unsigned long size, uint32_t drm_format, unsigned int width, unsigned int height, unsigned int pitch) |
DrmDriver*(* create_driver) (int device_fd) |
void(* destroy_buffer) (DrmDriver *driver, DrmSurfaceBuffer *buffer) |
void(* destroy_driver) (DrmDriver *driver) |
void(* flush_driver) (DrmDriver *driver) |
int(* key_blit) (DrmDriver *driver, DrmSurfaceBuffer *src_buf, const GAL_Rect *src_rc, DrmSurfaceBuffer *dst_buf, const GAL_Rect *dst_rc, uint32_t color_key) |
uint8_t*(* map_buffer) (DrmDriver *driver, DrmSurfaceBuffer *buffer) |
void(* unmap_buffer) (DrmDriver *driver, DrmSurfaceBuffer *buffer) |