SRM
v0.10.0-1
Simple Rendering Manager
|
SRM data types. More...
SRM data types.
Functions | |
const char * | srmGetRenderModeString (SRM_RENDER_MODE mode) |
Get a string representation of a rendering mode. More... | |
const char * | srmGetPlaneTypeString (SRM_PLANE_TYPE type) |
Get a string representation of a plane type. More... | |
const char * | srmGetConnectorStateString (SRM_CONNECTOR_STATE state) |
Get a string representation of a connector state. More... | |
const char * | srmGetConnectorTypeString (UInt32 type) |
Get a string representation of a connector type. More... | |
const char * | srmGetConnectorSubPixelString (SRM_CONNECTOR_SUBPIXEL subpixel) |
Get a string representation of a connector subpixel layout. More... | |
const char * | srmGetConnectorContentTypeString (SRM_CONNECTOR_CONTENT_TYPE contentType) |
Get a string representation of a connector content type hint. More... | |
void | srmSaveContext () |
Saves the current EGL context state. More... | |
void | srmRestoreContext () |
Restores the previously saved context. More... | |
Alias for a signed 8-bit integer (int8_t).
Alias for an unsigned 8-bit integer (uint8_t).
Alias for a signed 16-bit integer (int16_t).
Alias for an unsigned 16-bit integer (uint16_t).
Alias for a signed 32-bit integer (int32_t).
Alias for an unsigned 32-bit integer (uint32_t).
Alias for a signed 64-bit integer (int64_t).
Alias for an unsigned 64-bit integer (uint64_t).
Alias for a 32-bit floating point (float).
Alias for a 64-bit floating point (double).
typedef UInt32 SRM_BUFFER_FORMAT |
A DRM format defined in drm_fourcc.h.
typedef UInt64 SRM_BUFFER_MODIFIER |
A DRM format modifier defined in drm_fourcc.h.
const char* srmGetRenderModeString | ( | SRM_RENDER_MODE | mode | ) |
Get a string representation of a rendering mode.
mode | The rendering mode to retrieve the string for. |
const char* srmGetPlaneTypeString | ( | SRM_PLANE_TYPE | type | ) |
Get a string representation of a plane type.
type | The plane type to retrieve the string for. |
const char* srmGetConnectorStateString | ( | SRM_CONNECTOR_STATE | state | ) |
Get a string representation of a connector state.
state | The connector state to retrieve the string for. |
const char* srmGetConnectorTypeString | ( | UInt32 | type | ) |
Get a string representation of a connector type.
type | The connector type to retrieve the string for. |
const char* srmGetConnectorSubPixelString | ( | SRM_CONNECTOR_SUBPIXEL | subpixel | ) |
Get a string representation of a connector subpixel layout.
subpixel | The connector subpixel layout to retrieve the string for. |
const char* srmGetConnectorContentTypeString | ( | SRM_CONNECTOR_CONTENT_TYPE | contentType | ) |
Get a string representation of a connector content type hint.
contentType | The connector content type hint to retrieve the string for. |
void srmSaveContext | ( | ) |
Saves the current EGL context state.
This method stores the currently bound EGLDisplay
, as well as the read and write EGLSurfaces
and EGLContext
.
void srmRestoreContext | ( | ) |
Restores the previously saved context.