MiniGUI API Reference (MiniGUI-Threads)
v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
Go to the documentation of this file.
92 typedef struct _DrmDriver DrmDriver;
169 DrmDriver* (*create_driver) (
int device_fd);
196 uint32_t drm_format, uint32_t hdr_size,
197 uint32_t width, uint32_t height);
210 uint32_t handle,
size_t size);
234 int prime_fd,
size_t size);
335 uint8_t alpha, uint32_t color_key);
355 #define DRM_DRIVER_VERSION 1
394 #ifdef _MGGAL_COMMLCD
405 #define COMMLCD_PSEUDO_RGB332 1
406 #define COMMLCD_TRUE_RGB555 2
407 #define COMMLCD_TRUE_RGB565 3
408 #define COMMLCD_TRUE_RGB888 4
409 #define COMMLCD_TRUE_RGB0888 5
410 #define COMMLCD_TRUE_ARGB1555 6
411 #define COMMLCD_TRUE_ARGB8888 7
412 #define COMMLCD_TRUE_ABRG8888 8
414 #define COMMLCD_UPDATE_NONE 0
415 #define COMMLCD_UPDATE_SYNC 1
416 #define COMMLCD_UPDATE_ASYNC 2
482 int width,
int height,
int depth);
529 #define COMM_MOUSEINPUT 0x01
530 #define COMM_KBINPUT 0x02
532 #define COMM_MOUSELBUTTON 0x01
533 #define COMM_MOUSERBUTTON 0x04
int(* alpha_pixel_blit)(DrmDriver *driver, DrmSurfaceBuffer *src_buf, const GAL_Rect *src_rc, DrmSurfaceBuffer *dst_buf, const GAL_Rect *dst_rc, ColorBlendMethod blend_method)
int __comminput_kb_getdata(short *key, short *status)
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(* check_blit)(DrmDriver *driver, DrmSurfaceBuffer *src_buf, DrmSurfaceBuffer *dst_buf)
void(* destroy_buffer)(DrmDriver *driver, DrmSurfaceBuffer *buffer)
void(* unmap_buffer)(DrmDriver *driver, DrmSurfaceBuffer *buffer)
DrmDriverOps * __drm_ex_driver_get(const char *driver_name, int device_fd, int *version)
int __commlcd_drv_getinfo(struct commlcd_info *li, int width, int height, int depth)
unsigned char Uint8
A type definition for an 8-bit unsigned character.
struct _DrmDriverOps DrmDriverOps
int __commlcd_drv_update(const RECT *rc_dirty)
int __commlcd_drv_setclut(int firstcolor, int ncolors, GAL_Color *colors)
int __comminput_ts_getdata(short *x, short *y, short *button)
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 __comminput_init(void)
int(* clear_buffer)(DrmDriver *driver, DrmSurfaceBuffer *dst_buf, const GAL_Rect *rc, uint32_t pixel_value)
void(* flush_driver)(DrmDriver *driver)
void(* destroy_driver)(DrmDriver *driver)
int __comminput_wait_for_input(struct timeval *timeout)
struct _DrmSurfaceBuffer DrmSurfaceBuffer
int __commlcd_drv_release(void)
int __commlcd_drv_init(void)
void __comminput_deinit(void)
int(* copy_blit)(DrmDriver *driver, DrmSurfaceBuffer *src_buf, const GAL_Rect *src_rc, DrmSurfaceBuffer *dst_buf, const GAL_Rect *dst_rc, ColorLogicalOp logic_op)
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)