Agora Java API Reference for Android
|
Classes | |
interface | Context |
Public Member Functions | |
abstract void | createSurface (Surface surface) |
abstract void | createSurface (SurfaceTexture surfaceTexture) |
abstract void | createDummyPbufferSurface () |
abstract void | createPbufferSurface (int width, int height) |
abstract Context | getEglBaseContext () |
abstract boolean | hasSurface () |
abstract int | surfaceWidth () |
abstract int | surfaceHeight () |
abstract void | releaseSurface () |
abstract void | release () |
abstract void | makeCurrent () |
abstract void | detachCurrent () |
abstract void | swapBuffers () |
abstract void | swapBuffers (long presentationTimeStampNs) |
Static Public Member Functions | |
static EglBase | create (Context sharedContext, int[] configAttributes) |
static EglBase | create () |
static EglBase | create (Context sharedContext) |
static EglBase | createEgl10 (int[] configAttributes) |
static EglBase | createEgl10 (javax.microedition.khronos.egl.EGLContext sharedContext, int[] configAttributes) |
static EglBase | createEgl14 (int[] configAttributes) |
static EglBase | createEgl14 (android.opengl.EGLContext sharedContext, int[] configAttributes) |
Holds EGL state and utility methods for handling an egl 1.0 EGLContext, an EGLDisplay, and an EGLSurface.
|
static |
Create a new context with the specified config attributes, sharing data with |sharedContext|. If |sharedContext| is null, a root context is created. This function will try to create an EGL 1.4 context if possible, and an EGL 1.0 context otherwise.
|
static |
Helper function for creating a plain root context. This function will try to create an EGL 1.4 context if possible, and an EGL 1.0 context otherwise.
Helper function for creating a plain context, sharing data with |sharedContext|. This function will try to create an EGL 1.4 context if possible, and an EGL 1.0 context otherwise.
|
static |
Explicitly create a root EGl 1.0 context with the specified config attributes.
|
static |
Explicitly create a root EGl 1.0 context with the specified config attributes and shared context.
|
static |
Explicitly create a root EGl 1.4 context with the specified config attributes.
|
static |
Explicitly create a root EGl 1.4 context with the specified config attributes and shared context.
|
static |
|
static |
|
static |
|
static |
|
static |