Class EglBase
- java.lang.Object
-
- com.zego.zegoavkit2.screencapture.ve_gl.EglBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EglBase.Context
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description EglBase()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static EglBase
create()
static EglBase
create(EglBase.Context sharedContext)
static EglBase
create(EglBase.Context sharedContext, int[] configAttributes)
abstract void
createDummyPbufferSurface()
abstract void
createPbufferSurface(int width, int height)
abstract void
createSurface(android.graphics.SurfaceTexture surfaceTexture)
abstract void
createSurface(android.view.Surface surface)
abstract void
detachCurrent()
abstract EglBase.Context
getEglBaseContext()
abstract boolean
hasSurface()
abstract void
makeCurrent()
abstract void
release()
abstract void
releaseSurface()
abstract int
surfaceHeight()
abstract int
surfaceWidth()
abstract void
swapBuffers()
-
-
-
Field Detail
-
lock
public static final java.lang.Object lock
-
CONFIG_PLAIN
public static final int[] CONFIG_PLAIN
-
CONFIG_RGBA
public static final int[] CONFIG_RGBA
-
CONFIG_PIXEL_BUFFER
public static final int[] CONFIG_PIXEL_BUFFER
-
CONFIG_PIXEL_RGBA_BUFFER
public static final int[] CONFIG_PIXEL_RGBA_BUFFER
-
CONFIG_RECORDABLE
public static final int[] CONFIG_RECORDABLE
-
-
Method Detail
-
create
public static EglBase create(EglBase.Context sharedContext, int[] configAttributes)
-
create
public static EglBase create()
-
create
public static EglBase create(EglBase.Context sharedContext)
-
createSurface
public abstract void createSurface(android.view.Surface surface)
-
createSurface
public abstract void createSurface(android.graphics.SurfaceTexture surfaceTexture)
-
createDummyPbufferSurface
public abstract void createDummyPbufferSurface()
-
createPbufferSurface
public abstract void createPbufferSurface(int width, int height)
-
getEglBaseContext
public abstract EglBase.Context getEglBaseContext()
-
hasSurface
public abstract boolean hasSurface()
-
surfaceWidth
public abstract int surfaceWidth()
-
surfaceHeight
public abstract int surfaceHeight()
-
releaseSurface
public abstract void releaseSurface()
-
release
public abstract void release()
-
makeCurrent
public abstract void makeCurrent()
-
detachCurrent
public abstract void detachCurrent()
-
swapBuffers
public abstract void swapBuffers()
-
-