Modifier and Type | Interface and Description |
---|---|
static class |
EglBase.ConfigBuilder |
static interface |
EglBase.Context |
Modifier and Type | Field and Description |
---|---|
static int[] |
CONFIG_PIXEL_BUFFER |
static int[] |
CONFIG_PIXEL_RGBA_BUFFER |
static int[] |
CONFIG_PLAIN |
static int[] |
CONFIG_RECORDABLE |
static int[] |
CONFIG_RGBA |
static int |
EGL_OPENGL_ES2_BIT |
static int |
EGL_OPENGL_ES3_BIT |
static int |
EGL_RECORDABLE_ANDROID |
static java.lang.Object |
lock |
Modifier and Type | Method and Description |
---|---|
static EglBase.ConfigBuilder |
configBuilder() |
static EglBase |
create()
Helper function for creating a plain root context.
|
static EglBase |
create(EglBase.Context sharedContext)
Helper function for creating a plain context, sharing data with |sharedContext|.
|
static EglBase |
create(EglBase.Context sharedContext,
int[] configAttributes)
Create a new context with the specified config attributes, sharing data with |sharedContext|.
|
void |
createDummyPbufferSurface() |
static EglBase10 |
createEgl10(EglBase10.Context sharedContext,
int[] configAttributes)
Explicitly create a root EGl 1.0 context with the specified config attributes and shared
context.
|
static EglBase10 |
createEgl10(javax.microedition.khronos.egl.EGLContext sharedContext,
int[] configAttributes)
Explicitly create a root EGl 1.0 context with the specified config attributes
and shared context.
|
static EglBase10 |
createEgl10(int[] configAttributes)
Explicitly create a root EGl 1.0 context with the specified config attributes.
|
static EglBase14 |
createEgl14(EglBase14.Context sharedContext,
int[] configAttributes)
Explicitly create a root EGl 1.4 context with the specified config attributes and shared
context.
|
static EglBase14 |
createEgl14(android.opengl.EGLContext sharedContext,
int[] configAttributes)
Explicitly create a root EGl 1.4 context with the specified config attributes
and shared context.
|
static EglBase14 |
createEgl14(int[] configAttributes)
Explicitly create a root EGl 1.4 context with the specified config attributes.
|
void |
createPbufferSurface(int width,
int height) |
void |
createSurface(android.view.Surface surface) |
void |
createSurface(android.graphics.SurfaceTexture surfaceTexture) |
void |
detachCurrent() |
EglBase.Context |
getEglBaseContext() |
static int |
getOpenGlesVersionFromConfig(int[] configAttributes) |
boolean |
hasSurface() |
void |
makeCurrent() |
void |
release() |
void |
releaseSurface() |
int |
surfaceHeight() |
int |
surfaceWidth() |
void |
swapBuffers() |
void |
swapBuffers(long presentationTimeStampNs) |
static final java.lang.Object lock
static final int EGL_OPENGL_ES2_BIT
static final int EGL_OPENGL_ES3_BIT
static final int EGL_RECORDABLE_ANDROID
static final int[] CONFIG_PLAIN
static final int[] CONFIG_RGBA
static final int[] CONFIG_PIXEL_BUFFER
static final int[] CONFIG_PIXEL_RGBA_BUFFER
static final int[] CONFIG_RECORDABLE
static EglBase.ConfigBuilder configBuilder()
static int getOpenGlesVersionFromConfig(int[] configAttributes)
static EglBase create(@Nullable EglBase.Context sharedContext, int[] configAttributes)
static EglBase create()
static EglBase create(EglBase.Context sharedContext)
static EglBase10 createEgl10(int[] configAttributes)
static EglBase10 createEgl10(EglBase10.Context sharedContext, int[] configAttributes)
static EglBase10 createEgl10(javax.microedition.khronos.egl.EGLContext sharedContext, int[] configAttributes)
static EglBase14 createEgl14(int[] configAttributes)
static EglBase14 createEgl14(EglBase14.Context sharedContext, int[] configAttributes)
static EglBase14 createEgl14(android.opengl.EGLContext sharedContext, int[] configAttributes)
void createSurface(android.view.Surface surface)
void createSurface(android.graphics.SurfaceTexture surfaceTexture)
void createDummyPbufferSurface()
void createPbufferSurface(int width, int height)
EglBase.Context getEglBaseContext()
boolean hasSurface()
int surfaceWidth()
int surfaceHeight()
void releaseSurface()
void release()
void makeCurrent()
void detachCurrent()
void swapBuffers()
void swapBuffers(long presentationTimeStampNs)
6.0.0