Modifier and Type | Class and Description |
---|---|
static class |
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 java.lang.Object |
lock |
Constructor and Description |
---|
EglBase() |
Modifier and Type | Method and Description |
---|---|
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|.
|
abstract void |
createDummyPbufferSurface() |
static EglBase |
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 EglBase |
createEgl10(int[] configAttributes)
Explicitly create a root EGl 1.0 context with the specified config attributes.
|
static EglBase |
createEgl14(android.opengl.EGLContext sharedContext,
int[] configAttributes)
Explicitly create a root EGl 1.4 context with the specified config attributes
and shared context.
|
static EglBase |
createEgl14(int[] configAttributes)
Explicitly create a root EGl 1.4 context with the specified config attributes.
|
abstract void |
createPbufferSurface(int width,
int height) |
abstract void |
createSurface(android.view.Surface surface) |
abstract void |
createSurface(android.graphics.SurfaceTexture surfaceTexture) |
abstract void |
detachCurrent() |
abstract EglBase.Context |
getEglBaseContext() |
abstract long |
getNativeEglContext() |
abstract boolean |
hasSurface() |
abstract void |
makeCurrent() |
abstract void |
release() |
abstract void |
releaseSurface() |
abstract int |
surfaceHeight() |
abstract int |
surfaceWidth() |
abstract void |
swapBuffers() |
public static final java.lang.Object lock
public static final int[] CONFIG_PLAIN
public static final int[] CONFIG_RGBA
public static final int[] CONFIG_PIXEL_BUFFER
public static final int[] CONFIG_PIXEL_RGBA_BUFFER
public static final int[] CONFIG_RECORDABLE
public static EglBase create(EglBase.Context sharedContext, int[] configAttributes)
public static EglBase create()
public static EglBase create(EglBase.Context sharedContext)
public static EglBase createEgl10(int[] configAttributes)
public static EglBase createEgl10(javax.microedition.khronos.egl.EGLContext sharedContext, int[] configAttributes)
public static EglBase createEgl14(int[] configAttributes)
public static EglBase createEgl14(android.opengl.EGLContext sharedContext, int[] configAttributes)
public abstract void createSurface(android.view.Surface surface)
public abstract void createSurface(android.graphics.SurfaceTexture surfaceTexture)
public abstract void createDummyPbufferSurface()
public abstract void createPbufferSurface(int width, int height)
public abstract EglBase.Context getEglBaseContext()
public abstract boolean hasSurface()
public abstract int surfaceWidth()
public abstract int surfaceHeight()
public abstract void releaseSurface()
public abstract void release()
public abstract void makeCurrent()
public abstract void detachCurrent()
public abstract void swapBuffers()
public abstract long getNativeEglContext()