public class NERtcEglContextWrapper
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
void |
createDummyPbufferSurface() |
static NERtcEglContextWrapper |
createEgl10Context() |
static NERtcEglContextWrapper |
createEgl10Context(int[] configAttributes) |
static NERtcEglContextWrapper |
createEgl14Context() |
static NERtcEglContextWrapper |
createEgl14Context(int[] configAttributes) |
static NERtcEglContextWrapper |
createEglContext() |
void |
createPbufferSurface(int width,
int height) |
void |
createSurface(android.view.Surface surface) |
void |
createSurface(android.graphics.SurfaceTexture surfaceTexture) |
void |
detachCurrent() |
java.lang.Object |
getEglContext() |
boolean |
hasSurface() |
boolean |
isEGL14Supported() |
void |
makeCurrent() |
void |
release() |
void |
releaseSurface() |
int |
surfaceHeight() |
int |
surfaceWidth() |
void |
swapBuffers() |
void |
swapBuffers(long presentationTimeStampNs) |
public static NERtcEglContextWrapper createEglContext()
public static NERtcEglContextWrapper createEgl10Context()
public static NERtcEglContextWrapper createEgl14Context()
public static NERtcEglContextWrapper createEgl10Context(int[] configAttributes)
public static NERtcEglContextWrapper createEgl14Context(int[] configAttributes)
public java.lang.Object getEglContext()
public boolean isEGL14Supported()
public void createSurface(android.view.Surface surface)
public void createSurface(android.graphics.SurfaceTexture surfaceTexture)
public void createDummyPbufferSurface()
public void createPbufferSurface(int width, int height)
public boolean hasSurface()
public int surfaceWidth()
public int surfaceHeight()
public void releaseSurface()
public void makeCurrent()
public void detachCurrent()
public void swapBuffers()
public void swapBuffers(long presentationTimeStampNs)
public void release()