MiniGUI API Reference (MiniGUI-Threads)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Data Fields
_DrmSurfaceInfo Struct Reference

#include <gdi.h>

Data Fields

uint32_t handle
 
int prime_fd
 
uint32_t name
 
uint32_t fb_id
 
uint32_t width
 
uint32_t height
 
uint32_t pitch
 
uint32_t drm_format
 
size_t size
 
off_t offset
 

Detailed Description

THe struct type defines the DRM surface information.

Definition at line 14458 of file gdi.h.

Field Documentation

◆ drm_format

uint32_t drm_format

The DRM pixel format.

Definition at line 14478 of file gdi.h.

◆ fb_id

uint32_t fb_id

The frame buffer identifier. If the buffer was not added as a frame buffer to the system, it has the value 0.

Definition at line 14469 of file gdi.h.

◆ handle

uint32_t handle

The local handle of the buffer object.

Definition at line 14460 of file gdi.h.

◆ height

uint32_t height

The height of the surface.

Definition at line 14474 of file gdi.h.

◆ name

uint32_t name

The global name of the buffer object. It has the value 0 when it was not expored as global buffer object.

Definition at line 14466 of file gdi.h.

◆ offset

off_t offset

The offset from the buffer start to the real pixel data.

Definition at line 14482 of file gdi.h.

◆ pitch

uint32_t pitch

The row stride of the surface.

Definition at line 14476 of file gdi.h.

◆ prime_fd

int prime_fd

The prime fd of the buffer object. If it was no exported as a global buffer object, it has the value -1.

Definition at line 14463 of file gdi.h.

◆ size

size_t size

Size in bytes of the buffer object.

Definition at line 14480 of file gdi.h.

◆ width

uint32_t width

The width of the surface.

Definition at line 14472 of file gdi.h.


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