MiniGUI API Reference (MiniGUI-Processes)  v4.0.4
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Data Fields
_DrmSurfaceBuffer Struct Reference

#include <exstubs.h>

Data Fields

int prime_fd
 
uint32_t name
 
uint32_t handle
 
uint32_t id
 
uint32_t width
 
uint32_t height
 
uint32_t pitch
 
uint32_t drm_format
 
uint32_t bpp:8
 
uint32_t cpp:8
 
uint32_t foreign:1
 
unsigned long size
 
uint8_t * pixels
 

Detailed Description

The struct type represents the bufffer can be used by MiniGUI NEWGAL engine for hardware surface.

Definition at line 98 of file exstubs.h.

Field Documentation

◆ bpp

uint32_t bpp

The bits per pixel

Definition at line 117 of file exstubs.h.

◆ cpp

uint32_t cpp

The bytes per pixel

Definition at line 119 of file exstubs.h.

◆ drm_format

uint32_t drm_format

The DRM format of the buffer

Definition at line 114 of file exstubs.h.

◆ foreign

uint32_t foreign

Is foreign surface

Definition at line 121 of file exstubs.h.

◆ handle

uint32_t handle

The local handle of the buffer

Definition at line 104 of file exstubs.h.

◆ height

uint32_t height

The height of the buffer

Definition at line 110 of file exstubs.h.

◆ id

uint32_t id

The buffer identifier

Definition at line 106 of file exstubs.h.

◆ name

uint32_t name

The global name of the buffer

Definition at line 102 of file exstubs.h.

◆ pitch

uint32_t pitch

The pitch (row stride in bytes) of the buffer

Definition at line 112 of file exstubs.h.

◆ pixels

uint8_t* pixels

The mapped address of the buffer; NULL when the buffer is not mapped yet.

Definition at line 126 of file exstubs.h.

◆ prime_fd

int prime_fd

The prime fd of the buffer

Definition at line 100 of file exstubs.h.

◆ size

unsigned long size

The whole size in bytes of the buffer

Definition at line 124 of file exstubs.h.

◆ width

uint32_t width

The widht of the buffer

Definition at line 108 of file exstubs.h.


The documentation for this struct was generated from the following file: