public class EglBase14 extends EglBase
| Modifier and Type | Class and Description |
|---|---|
static class |
EglBase14.Context |
CONFIG_PIXEL_BUFFER, CONFIG_PIXEL_RGBA_BUFFER, CONFIG_PLAIN, CONFIG_RECORDABLE, CONFIG_RGBA, lock| Constructor and Description |
|---|
EglBase14(EglBase14.Context sharedContext,
int[] configAttributes) |
| Modifier and Type | Method and Description |
|---|---|
void |
createDummyPbufferSurface() |
void |
createPbufferSurface(int width,
int height) |
void |
createSurface(android.view.Surface surface) |
void |
createSurface(android.graphics.SurfaceTexture surfaceTexture) |
void |
detachCurrent() |
EglBase14.Context |
getEglBaseContext() |
android.opengl.EGLContext |
getEglContext() |
long |
getNativeEglContext() |
boolean |
hasSurface() |
static boolean |
isEGL14Supported() |
void |
makeCurrent() |
void |
release() |
void |
releaseSurface() |
int |
surfaceHeight() |
int |
surfaceWidth() |
void |
swapBuffers() |
void |
swapBuffers(long timeStampNs) |
create, create, create, createEgl10, createEgl10, createEgl14, createEgl14public EglBase14(EglBase14.Context sharedContext, int[] configAttributes)
public static boolean isEGL14Supported()
public android.opengl.EGLContext getEglContext()
public void createSurface(android.view.Surface surface)
createSurface in class EglBasepublic void createSurface(android.graphics.SurfaceTexture surfaceTexture)
createSurface in class EglBasepublic void createDummyPbufferSurface()
createDummyPbufferSurface in class EglBasepublic void createPbufferSurface(int width,
int height)
createPbufferSurface in class EglBasepublic EglBase14.Context getEglBaseContext()
getEglBaseContext in class EglBasepublic boolean hasSurface()
hasSurface in class EglBasepublic int surfaceWidth()
surfaceWidth in class EglBasepublic int surfaceHeight()
surfaceHeight in class EglBasepublic void releaseSurface()
releaseSurface in class EglBasepublic void makeCurrent()
makeCurrent in class EglBasepublic void detachCurrent()
detachCurrent in class EglBasepublic void swapBuffers()
swapBuffers in class EglBasepublic void swapBuffers(long timeStampNs)
public long getNativeEglContext()
getNativeEglContext in class EglBase