Package com.mapbox.mapboxsdk.maps.renderer.egl
Contains the Mapbox Maps Android EGL API classes.
Types
Name | Summary |
---|---|
EGLConfigChooser | open class EGLConfigChooser : GLSurfaceView.EGLConfigChooser Selects the right EGLConfig needed for mapbox-gl-native |
EGLContextFactory | open class EGLContextFactory : GLSurfaceView.EGLContextFactory |
EGLLogWrapper | open class EGLLogWrapper : EGL11 |
EGLWindowSurfaceFactory | open class EGLWindowSurfaceFactory : GLSurfaceView.EGLWindowSurfaceFactory |
EGLConfigChooser
open class EGLConfigChooser : GLSurfaceView.EGLConfigChooser
Selects the right EGLConfig needed for mapbox-gl-native
Constructors
Name | Summary |
---|---|
EGLConfigChooser | open fun EGLConfigChooser() |
EGLConfigChooser | open fun EGLConfigChooser(translucentSurface: Boolean) |
Types
Name | Summary |
---|---|
BufferFormat | enum BufferFormat |
DepthStencilFormat | enum DepthStencilFormat |
Functions
Name | Summary |
---|---|
chooseConfig | abstract fun chooseConfig(p: EGL10, p1: EGLDisplay): EGLConfig open fun chooseConfig(egl: EGL10, display: EGLDisplay): EGLConfig |
chooseConfig
open fun chooseConfig(egl: EGL10, display: EGLDisplay): EGLConfig
BufferFormat
enum BufferFormat
Constructors
Name | Summary |
---|---|
BufferFormat | open fun BufferFormat(value: Int) |
Entries
Name | Summary |
---|---|
Format16Bit | Format16Bit |
Format32BitNoAlpha | Format32BitNoAlpha |
Format32BitAlpha | Format32BitAlpha |
Format24Bit | Format24Bit |
Unknown | Unknown |
Functions
Name | Summary |
---|---|
valueOf | open fun valueOf(name: String): EGLConfigChooser.BufferFormat |
values | open fun values(): Array<EGLConfigChooser.BufferFormat> |
Properties
Name | Summary |
---|---|
value | open val value: Int |
valueOf
open fun valueOf(name: String): EGLConfigChooser.BufferFormat
value
open val value: Int
values
open fun values(): Array<EGLConfigChooser.BufferFormat>
Format16Bit
Format24Bit
Format32BitAlpha
Format32BitNoAlpha
Unknown
DepthStencilFormat
enum DepthStencilFormat
Constructors
Name | Summary |
---|---|
DepthStencilFormat | open fun DepthStencilFormat(value: Int) |
Entries
Name | Summary |
---|---|
Format16Depth8Stencil | Format16Depth8Stencil |
Format24Depth8Stencil | Format24Depth8Stencil |
Functions
Name | Summary |
---|---|
valueOf | open fun valueOf(name: String): EGLConfigChooser.DepthStencilFormat |
values | open fun values(): Array<EGLConfigChooser.DepthStencilFormat> |
Properties
Name | Summary |
---|---|
value | open val value: Int |
valueOf
open fun valueOf(name: String): EGLConfigChooser.DepthStencilFormat
value
open val value: Int
values
open fun values(): Array<EGLConfigChooser.DepthStencilFormat>
Format16Depth8Stencil
Format24Depth8Stencil
EGLContextFactory
open class EGLContextFactory : GLSurfaceView.EGLContextFactory
Functions
Name | Summary |
---|---|
createContext | abstract fun createContext(p: EGL10, p1: EGLDisplay, p2: EGLConfig): EGLContext open fun createContext(egl: EGL10, display: EGLDisplay, config: EGLConfig): EGLContext |
destroyContext | abstract fun destroyContext(p: EGL10, p1: EGLDisplay, p2: EGLContext) open fun destroyContext(egl: EGL10, display: EGLDisplay, context: EGLContext) |
createContext
open fun createContext(egl: EGL10, display: EGLDisplay, config: EGLConfig): EGLContext
destroyContext
open fun destroyContext(egl: EGL10, display: EGLDisplay, context: EGLContext)
EGLLogWrapper
open class EGLLogWrapper : EGL11
Constructors
Name | Summary |
---|---|
EGLLogWrapper | open fun EGLLogWrapper(egl: EGL, configFlags: Int, log: Writer) |
Functions
Name | Summary |
---|---|
eglChooseConfig | open fun eglChooseConfig(display: EGLDisplay, attrib_list: Array abstract fun [eglChooseConfig](#eglchooseconfig)(p: EGLDisplay, p1: Array |
eglCopyBuffers | open fun eglCopyBuffers(display: EGLDisplay, surface: EGLSurface, native_pixmap: Any): Boolean abstract fun eglCopyBuffers(p: EGLDisplay, p1: EGLSurface, p2: Any): Boolean |
eglCreateContext | open fun eglCreateContext(display: EGLDisplay, config: EGLConfig, share_context: EGLContext, attrib_list: Array abstract fun [eglCreateContext](#eglcreatecontext)(p: EGLDisplay, p1: EGLConfig, p2: EGLContext, p3: Array |
eglCreatePbufferSurface | open fun eglCreatePbufferSurface(display: EGLDisplay, config: EGLConfig, attrib_list: Array abstract fun [eglCreatePbufferSurface](#eglcreatepbuffersurface)(p: EGLDisplay, p1: EGLConfig, p2: Array |
eglCreatePixmapSurface | open fun eglCreatePixmapSurface(display: EGLDisplay, config: EGLConfig, native_pixmap: Any, attrib_list: Array abstract fun [eglCreatePixmapSurface](#eglcreatepixmapsurface)(p: EGLDisplay, p1: EGLConfig, p2: Any, p3: Array |
eglCreateWindowSurface | open fun eglCreateWindowSurface(display: EGLDisplay, config: EGLConfig, native_window: Any, attrib_list: Array abstract fun [eglCreateWindowSurface](#eglcreatewindowsurface)(p: EGLDisplay, p1: EGLConfig, p2: Any, p3: Array |
eglDestroyContext | open fun eglDestroyContext(display: EGLDisplay, context: EGLContext): Boolean abstract fun eglDestroyContext(p: EGLDisplay, p1: EGLContext): Boolean |
eglDestroySurface | open fun eglDestroySurface(display: EGLDisplay, surface: EGLSurface): Boolean abstract fun eglDestroySurface(p: EGLDisplay, p1: EGLSurface): Boolean |
eglGetConfigAttrib | open fun eglGetConfigAttrib(display: EGLDisplay, config: EGLConfig, attribute: Int, value: Array abstract fun [eglGetConfigAttrib](#eglgetconfigattrib)(p: EGLDisplay, p1: EGLConfig, p2: Int, p3: Array |
eglGetConfigs | open fun eglGetConfigs(display: EGLDisplay, configs: Array abstract fun [eglGetConfigs](#eglgetconfigs)(p: EGLDisplay, p1: Array |
eglGetCurrentContext | open fun eglGetCurrentContext(): EGLContext abstract fun eglGetCurrentContext(): EGLContext |
eglGetCurrentDisplay | open fun eglGetCurrentDisplay(): EGLDisplay abstract fun eglGetCurrentDisplay(): EGLDisplay |
eglGetCurrentSurface | open fun eglGetCurrentSurface(readdraw: Int): EGLSurface abstract fun eglGetCurrentSurface(p: Int): EGLSurface |
eglGetDisplay | open fun eglGetDisplay(native_display: Any): EGLDisplay abstract fun eglGetDisplay(p: Any): EGLDisplay |
eglGetError | open fun eglGetError(): Int abstract fun eglGetError(): Int |
eglInitialize | open fun eglInitialize(display: EGLDisplay, major_minor: Array abstract fun [eglInitialize](#eglinitialize)(p: EGLDisplay, p1: Array |
eglMakeCurrent | open fun eglMakeCurrent(display: EGLDisplay, draw: EGLSurface, read: EGLSurface, context: EGLContext): Boolean abstract fun eglMakeCurrent(p: EGLDisplay, p1: EGLSurface, p2: EGLSurface, p3: EGLContext): Boolean |
eglQueryContext | open fun eglQueryContext(display: EGLDisplay, context: EGLContext, attribute: Int, value: Array abstract fun [eglQueryContext](#eglquerycontext)(p: EGLDisplay, p1: EGLContext, p2: Int, p3: Array |
eglQueryString | open fun eglQueryString(display: EGLDisplay, name: Int): String abstract fun eglQueryString(p: EGLDisplay, p1: Int): String |
eglQuerySurface | open fun eglQuerySurface(display: EGLDisplay, surface: EGLSurface, attribute: Int, value: Array abstract fun [eglQuerySurface](#eglquerysurface)(p: EGLDisplay, p1: EGLSurface, p2: Int, p3: Array |
eglSwapBuffers | open fun eglSwapBuffers(display: EGLDisplay, surface: EGLSurface): Boolean abstract fun eglSwapBuffers(p: EGLDisplay, p1: EGLSurface): Boolean |
eglTerminate | open fun eglTerminate(display: EGLDisplay): Boolean abstract fun eglTerminate(p: EGLDisplay): Boolean |
eglWaitGL | open fun eglWaitGL(): Boolean abstract fun eglWaitGL(): Boolean |
eglWaitNative | open fun eglWaitNative(engine: Int, bindTarget: Any): Boolean abstract fun eglWaitNative(p: Int, p1: Any): Boolean |
getErrorString | open fun getErrorString(error: Int): String |
eglChooseConfig
open fun eglChooseConfig(display: EGLDisplay, attrib_list: Array
eglCopyBuffers
open fun eglCopyBuffers(display: EGLDisplay, surface: EGLSurface, native_pixmap: Any): Boolean
eglCreateContext
open fun eglCreateContext(display: EGLDisplay, config: EGLConfig, share_context: EGLContext, attrib_list: Array
eglCreatePbufferSurface
open fun eglCreatePbufferSurface(display: EGLDisplay, config: EGLConfig, attrib_list: Array
eglCreatePixmapSurface
open fun eglCreatePixmapSurface(display: EGLDisplay, config: EGLConfig, native_pixmap: Any, attrib_list: Array
Deprecated
eglCreateWindowSurface
open fun eglCreateWindowSurface(display: EGLDisplay, config: EGLConfig, native_window: Any, attrib_list: Array
eglDestroyContext
open fun eglDestroyContext(display: EGLDisplay, context: EGLContext): Boolean
eglDestroySurface
open fun eglDestroySurface(display: EGLDisplay, surface: EGLSurface): Boolean
eglGetConfigAttrib
open fun eglGetConfigAttrib(display: EGLDisplay, config: EGLConfig, attribute: Int, value: Array
eglGetConfigs
open fun eglGetConfigs(display: EGLDisplay, configs: Array
eglGetCurrentContext
open fun eglGetCurrentContext(): EGLContext
eglGetCurrentDisplay
open fun eglGetCurrentDisplay(): EGLDisplay
eglGetCurrentSurface
open fun eglGetCurrentSurface(readdraw: Int): EGLSurface
eglGetDisplay
open fun eglGetDisplay(native_display: Any): EGLDisplay
eglGetError
open fun eglGetError(): Int
eglInitialize
open fun eglInitialize(display: EGLDisplay, major_minor: Array
eglMakeCurrent
open fun eglMakeCurrent(display: EGLDisplay, draw: EGLSurface, read: EGLSurface, context: EGLContext): Boolean
eglQueryContext
open fun eglQueryContext(display: EGLDisplay, context: EGLContext, attribute: Int, value: Array
eglQueryString
open fun eglQueryString(display: EGLDisplay, name: Int): String
eglQuerySurface
open fun eglQuerySurface(display: EGLDisplay, surface: EGLSurface, attribute: Int, value: Array
eglSwapBuffers
open fun eglSwapBuffers(display: EGLDisplay, surface: EGLSurface): Boolean
eglTerminate
open fun eglTerminate(display: EGLDisplay): Boolean
eglWaitGL
open fun eglWaitGL(): Boolean
eglWaitNative
open fun eglWaitNative(engine: Int, bindTarget: Any): Boolean
getErrorString
open fun getErrorString(error: Int): String
EGLWindowSurfaceFactory
open class EGLWindowSurfaceFactory : GLSurfaceView.EGLWindowSurfaceFactory
Functions
Name | Summary |
---|---|
createWindowSurface | abstract fun createWindowSurface(p: EGL10, p1: EGLDisplay, p2: EGLConfig, p3: Any): EGLSurface open fun createWindowSurface(egl: EGL10, display: EGLDisplay, config: EGLConfig, nativeWindow: Any): EGLSurface |
destroySurface | abstract fun destroySurface(p: EGL10, p1: EGLDisplay, p2: EGLSurface) open fun destroySurface(egl: EGL10, display: EGLDisplay, surface: EGLSurface) |
createWindowSurface
open fun createWindowSurface(egl: EGL10, display: EGLDisplay, config: EGLConfig, nativeWindow: Any): EGLSurface
destroySurface
open fun destroySurface(egl: EGL10, display: EGLDisplay, surface: EGLSurface)
Android SDK
SDK JS Reference
- Root
- attribution
- camera
- constants
- exceptions
- geometry
- http
- location
- location.engine
- location.modes
- location.permissions
- log
- maps
- maps.renderer
- maps.renderer.egl
- maps.renderer.glsurfaceview
- maps.renderer.textureview
- maps.widgets
- module.http
- module.loader
- net
- offline
- snapshotter
- storage
- style.expressions
- style.layers
- style.light
- style.sources
- style.types
- text
- utils