public class EglBase10 extends EglBase
Modifier and Type | Class and Description |
---|---|
static class |
EglBase10.Context |
CONFIG_PIXEL_BUFFER, CONFIG_PIXEL_RGBA_BUFFER, CONFIG_PLAIN, CONFIG_RECORDABLE, CONFIG_RGBA, lock
Constructor and Description |
---|
EglBase10(EglBase10.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() |
EglBase.Context |
getEglBaseContext() |
javax.microedition.khronos.egl.EGLContext |
getEglContext() |
long |
getNativeEglContext() |
boolean |
hasSurface() |
void |
makeCurrent() |
void |
release() |
void |
releaseSurface() |
int |
surfaceHeight() |
int |
surfaceWidth() |
void |
swapBuffers() |
create, create, create, createEgl10, createEgl10, createEgl14, createEgl14
public EglBase10(EglBase10.Context sharedContext, int[] configAttributes)
public javax.microedition.khronos.egl.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 EglBase.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 long getNativeEglContext()
getNativeEglContext
in class EglBase