SRM  v0.10.0-1
Simple Rendering Manager
SRMEGL

Utility EGL functions. More...

Detailed Description

Utility EGL functions.

EGL is an interface between Khronos rendering APIs and the underlying native platform windowing system. This module provides access to common and device-specific EGL extensions and functions.

See also
srmCoreGetEGLExtensions()
srmCoreGetEGLFunctions()
srmDeviceGetEGLExtensions()
srmDeviceGetEGLFunctions()

Functions

const char * srmEGLGetErrorString (EGLint error)
 Get a human-readable error string for an EGL error code. More...
 
UInt8 srmEGLHasExtension (const char *extensions, const char *extension)
 Check if an EGL extension is supported. More...
 
const char * srmEGLGetContextPriorityString (EGLint priority)
 Get a human-readable string for an EGL context priority. More...
 
EGLImage srmEGLCreateImageFromDMA (SRMDevice *device, const SRMBufferDMAData *dma)
 

Function Documentation

◆ srmEGLGetErrorString()

const char* srmEGLGetErrorString ( EGLint  error)

Get a human-readable error string for an EGL error code.

Parameters
errorAn EGL error code.
Returns
A pointer to a string describing the EGL error.

◆ srmEGLHasExtension()

UInt8 srmEGLHasExtension ( const char *  extensions,
const char *  extension 
)

Check if an EGL extension is supported.

Parameters
extensionsA string containing EGL extensions.
extensionThe name of the extension to check.
Returns
1 if the extension is supported, 0 otherwise.

◆ srmEGLGetContextPriorityString()

const char* srmEGLGetContextPriorityString ( EGLint  priority)

Get a human-readable string for an EGL context priority.

◆ srmEGLCreateImageFromDMA()

EGLImage srmEGLCreateImageFromDMA ( SRMDevice device,
const SRMBufferDMAData dma 
)