NERtc Android SDK V5.6.20
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper类 参考

Public 成员函数

Object getEglContext ()
 
boolean isEGL14Supported ()
 
void createSurface (Surface surface)
 
void createSurface (SurfaceTexture surfaceTexture)
 
void createDummyPbufferSurface ()
 
void createPbufferSurface (int width, int height)
 
boolean hasSurface ()
 
int surfaceWidth ()
 
int surfaceHeight ()
 
void releaseSurface ()
 
void makeCurrent ()
 
void detachCurrent ()
 
void swapBuffers ()
 
void swapBuffers (long presentationTimeStampNs)
 
void release ()
 

静态 Public 成员函数

static NERtcEglContextWrapper createEglContext ()
 
static NERtcEglContextWrapper createEgl10Context ()
 
static NERtcEglContextWrapper createEgl14Context ()
 
static NERtcEglContextWrapper createEgl10Context (int[] configAttributes)
 
static NERtcEglContextWrapper createEgl14Context (int[] configAttributes)
 

详细描述

egl 帮助类

成员函数说明

◆ createDummyPbufferSurface()

void com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.createDummyPbufferSurface ( )

Create dummy 1x1 pixel buffer surface so the context can be made current.

◆ createEgl10Context() [1/2]

static NERtcEglContextWrapper com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.createEgl10Context ( )
static

to be added

◆ createEgl10Context() [2/2]

static NERtcEglContextWrapper com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.createEgl10Context ( int[] configAttributes)
static

to be added

◆ createEgl14Context() [1/2]

static NERtcEglContextWrapper com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.createEgl14Context ( )
static

to be added

◆ createEgl14Context() [2/2]

static NERtcEglContextWrapper com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.createEgl14Context ( int[] configAttributes)
static

to be added

◆ createEglContext()

static NERtcEglContextWrapper com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.createEglContext ( )
static

to be added

◆ createPbufferSurface()

void com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.createPbufferSurface ( int width,
int height )

to be added

◆ createSurface() [1/2]

void com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.createSurface ( Surface surface)

to be added

◆ createSurface() [2/2]

void com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.createSurface ( SurfaceTexture surfaceTexture)

Create EGLSurface from the Android SurfaceTexture.

◆ detachCurrent()

void com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.detachCurrent ( )

Detach the current EGL context, so that it can be made current on another thread.

◆ getEglContext()

Object com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.getEglContext ( )

to be added

◆ hasSurface()

boolean com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.hasSurface ( )

to be added

◆ isEGL14Supported()

boolean com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.isEGL14Supported ( )

to be added

◆ makeCurrent()

void com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.makeCurrent ( )

to be added

◆ release()

void com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.release ( )

Detach the current EGL context, so that it can be made current on another thread.

◆ releaseSurface()

void com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.releaseSurface ( )

to be added

◆ surfaceHeight()

int com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.surfaceHeight ( )

to be added

◆ surfaceWidth()

int com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.surfaceWidth ( )

to be added

◆ swapBuffers() [1/2]

void com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.swapBuffers ( )

Detach the current EGL context, so that it can be made current on another thread.

◆ swapBuffers() [2/2]

void com.netease.lava.nertc.sdk.video.NERtcEglContextWrapper.swapBuffers ( long presentationTimeStampNs)

Detach the current EGL context, so that it can be made current on another thread.


该类的文档由以下文件生成: