Agora Java API Reference for Android
|
Public Member Functions | |
void | drawOes (int oesTextureId, float[] texMatrix, int frameWidth, int frameHeight, int viewportX, int viewportY, int viewportWidth, int viewportHeight) |
void | drawRgb (int textureId, float[] texMatrix, int frameWidth, int frameHeight, int viewportX, int viewportY, int viewportWidth, int viewportHeight) |
void | drawYuv (int[] yuvTextures, float[] texMatrix, int frameWidth, int frameHeight, int viewportX, int viewportY, int viewportWidth, int viewportHeight) |
void | release () |
Interface for rendering frames on an EGLSurface.
void io.agora.rtc.gl.RendererCommon.GlDrawer.drawOes | ( | int | oesTextureId, |
float [] | texMatrix, | ||
int | frameWidth, | ||
int | frameHeight, | ||
int | viewportX, | ||
int | viewportY, | ||
int | viewportWidth, | ||
int | viewportHeight | ||
) |
Functions for drawing frames with different sources. The rendering surface target is implied by the current EGL context of the calling thread and requires no explicit argument. The coordinates specify the viewport location on the surface target.
Implemented in io.agora.rtc.gl.GlRectDrawer.
void io.agora.rtc.gl.RendererCommon.GlDrawer.release | ( | ) |
Releases all GL resources. Do this done manually, otherwise resources may leak.
Implemented in io.agora.rtc.gl.GlRectDrawer.