EglConnection

Wraps the objects needed to interact with EGL that are independent of a particular EGLSurface. In practice this means EGLContext, EGLDisplay and EGLConfig objects. Separating them out in a standalone object allows for multiple EglBase instances to use the same underlying EGLContext, while still operating on their own EGLSurface.

Inheritors

Functions

Link copied to clipboard
open fun create(@Nullable sharedContext: EglBase.Context, configAttributes: Array<Int>): EglBase.EglConnection
Analogous to corresponding EglBase#create below.
Link copied to clipboard
open fun createEgl10(configAttributes: Array<Int>): EglBase.EglConnection
Analogous to corresponding EglBase#createEgl10 below.
Link copied to clipboard
open fun createEgl14(configAttributes: Array<Int>): EglBase.EglConnection
Analogous to corresponding EglBase#createEgl14 below.

Inherited functions

Link copied to clipboard
abstract fun release()
Decreases ref count by one.
Link copied to clipboard
abstract fun retain()
Increases ref count by one.