Class EglBase10
- java.lang.Object
-
- com.zego.zegoavkit2.screencapture.ve_gl.EglBase
-
- com.zego.zegoavkit2.screencapture.ve_gl.EglBase10
-
public final class EglBase10 extends EglBase
Holds EGL state and utility methods for handling an egl 1.0 EGLContext, an EGLDisplay, and an EGLSurface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEglBase10.Context
-
Field Summary
-
Fields inherited from class com.zego.zegoavkit2.screencapture.ve_gl.EglBase
CONFIG_PIXEL_BUFFER, CONFIG_PIXEL_RGBA_BUFFER, CONFIG_PLAIN, CONFIG_RECORDABLE, CONFIG_RGBA, lock
-
-
Constructor Summary
Constructors Constructor Description EglBase10(EglBase10.Context sharedContext, int[] configAttributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateDummyPbufferSurface()voidcreatePbufferSurface(int width, int height)voidcreateSurface(android.graphics.SurfaceTexture surfaceTexture)voidcreateSurface(android.view.Surface surface)voiddetachCurrent()EglBase.ContextgetEglBaseContext()booleanhasSurface()voidmakeCurrent()voidrelease()voidreleaseSurface()intsurfaceHeight()intsurfaceWidth()voidswapBuffers()
-
-
-
Constructor Detail
-
EglBase10
public EglBase10(EglBase10.Context sharedContext, int[] configAttributes)
-
-
Method Detail
-
createSurface
public void createSurface(android.view.Surface surface)
- Specified by:
createSurfacein classEglBase
-
createSurface
public void createSurface(android.graphics.SurfaceTexture surfaceTexture)
- Specified by:
createSurfacein classEglBase
-
createDummyPbufferSurface
public void createDummyPbufferSurface()
- Specified by:
createDummyPbufferSurfacein classEglBase
-
createPbufferSurface
public void createPbufferSurface(int width, int height)- Specified by:
createPbufferSurfacein classEglBase
-
getEglBaseContext
public EglBase.Context getEglBaseContext()
- Specified by:
getEglBaseContextin classEglBase
-
hasSurface
public boolean hasSurface()
- Specified by:
hasSurfacein classEglBase
-
surfaceWidth
public int surfaceWidth()
- Specified by:
surfaceWidthin classEglBase
-
surfaceHeight
public int surfaceHeight()
- Specified by:
surfaceHeightin classEglBase
-
releaseSurface
public void releaseSurface()
- Specified by:
releaseSurfacein classEglBase
-
makeCurrent
public void makeCurrent()
- Specified by:
makeCurrentin classEglBase
-
detachCurrent
public void detachCurrent()
- Specified by:
detachCurrentin classEglBase
-
swapBuffers
public void swapBuffers()
- Specified by:
swapBuffersin classEglBase
-
-