EglThread
EGL graphics thread that allows multiple clients to share the same underlying EGLContext.
Types
Link copied to clipboard
interface ReleaseMonitor
Callback for externally managed reference count.
Link copied to clipboard
interface RenderUpdate
Interface for clients to schedule rendering updates that will run synchronized.
Functions
Link copied to clipboard
Adds a callback that will be called on the EGL thread if there is an exception on the thread.
Link copied to clipboard
open fun create(@Nullable releaseMonitor: EglThread.ReleaseMonitor, @Nullable sharedContext: EglBase.Context, configAttributes: Array<Int>): EglThread
open fun create(@Nullable releaseMonitor: EglThread.ReleaseMonitor, @Nullable sharedContext: EglBase.Context, configAttributes: Array<Int>, @Nullable renderSynchronizer: RenderSynchronizer): EglThread
Link copied to clipboard
Creates an EglBase instance with the EglThread's EglConnection.
Link copied to clipboard
Returns the Handler to interact with Gl/EGL on.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Removes a previously added exception callback.
Link copied to clipboard
Schedules a render update (like swapBuffers) to be run in sync with other updates on the next open render window.