#include <EGLUtils.h>
§ CEGLContextUtils() [1/2]
CEGLContextUtils::CEGLContextUtils |
( |
| ) |
|
§ CEGLContextUtils() [2/2]
CEGLContextUtils::CEGLContextUtils |
( |
EGLenum |
platform, |
|
|
std::string const & |
platformExtension |
|
) |
| |
- Parameters
-
platform | platform as constant from an extension building on EGL_EXT_platform_base |
§ ~CEGLContextUtils()
CEGLContextUtils::~CEGLContextUtils |
( |
| ) |
|
§ BindContext()
bool CEGLContextUtils::BindContext |
( |
| ) |
|
§ CreateContext()
bool CEGLContextUtils::CreateContext |
( |
const EGLint * |
contextAttribs | ) |
|
§ CreateDisplay()
bool CEGLContextUtils::CreateDisplay |
( |
EGLNativeDisplayType |
nativeDisplay, |
|
|
EGLint |
renderableType, |
|
|
EGLint |
renderingApi |
|
) |
| |
§ CreatePlatformDisplay()
bool CEGLContextUtils::CreatePlatformDisplay |
( |
void * |
nativeDisplay, |
|
|
EGLNativeDisplayType |
nativeDisplayLegacy, |
|
|
EGLint |
renderableType, |
|
|
EGLint |
renderingApi, |
|
|
EGLint |
visualId = 0 |
|
) |
| |
Create EGLDisplay with EGL_EXT_platform_base
Falls back to CreateDisplay (with nativeDisplayLegacy) on failure. The native displays to use with the platform-based and the legacy approach may be defined to have different types and/or semantics, so this function takes both as separate parameters.
- Parameters
-
nativeDisplay | native display to use with eglGetPlatformDisplayEXT |
nativeDisplayLegacy | native display to use with eglGetDisplay |
§ CreatePlatformSurface()
bool CEGLContextUtils::CreatePlatformSurface |
( |
void * |
nativeWindow, |
|
|
EGLNativeWindowType |
nativeWindowLegacy |
|
) |
| |
§ CreateSurface()
bool CEGLContextUtils::CreateSurface |
( |
EGLNativeWindowType |
nativeWindow | ) |
|
§ Destroy()
void CEGLContextUtils::Destroy |
( |
| ) |
|
§ DestroyContext()
void CEGLContextUtils::DestroyContext |
( |
| ) |
|
§ DestroySurface()
void CEGLContextUtils::DestroySurface |
( |
| ) |
|
§ GetEGLConfig()
EGLConfig CEGLContextUtils::GetEGLConfig |
( |
| ) |
const |
|
inline |
§ GetEGLContext()
EGLContext CEGLContextUtils::GetEGLContext |
( |
| ) |
const |
|
inline |
§ GetEGLDisplay()
EGLDisplay CEGLContextUtils::GetEGLDisplay |
( |
| ) |
const |
|
inline |
§ GetEGLSurface()
EGLSurface CEGLContextUtils::GetEGLSurface |
( |
| ) |
const |
|
inline |
§ IsPlatformSupported()
bool CEGLContextUtils::IsPlatformSupported |
( |
| ) |
const |
§ SetVSync()
bool CEGLContextUtils::SetVSync |
( |
bool |
enable | ) |
|
§ TrySwapBuffers()
bool CEGLContextUtils::TrySwapBuffers |
( |
| ) |
|
The documentation for this class was generated from the following files: