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, createEgl14
public 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 EglBase
public void createSurface(android.graphics.SurfaceTexture surfaceTexture)
createSurface
in class EglBase
public void createDummyPbufferSurface()
createDummyPbufferSurface
in class EglBase
public void createPbufferSurface(int width, int height)
createPbufferSurface
in class EglBase
public EglBase14.Context getEglBaseContext()
getEglBaseContext
in class EglBase
public boolean hasSurface()
hasSurface
in class EglBase
public int surfaceWidth()
surfaceWidth
in class EglBase
public int surfaceHeight()
surfaceHeight
in class EglBase
public void releaseSurface()
releaseSurface
in class EglBase
public void makeCurrent()
makeCurrent
in class EglBase
public void detachCurrent()
detachCurrent
in class EglBase
public void swapBuffers()
swapBuffers
in class EglBase
public void swapBuffers(long timeStampNs)
public long getNativeEglContext()
getNativeEglContext
in class EglBase