Agora Java API Reference for Android
|
Public Member Functions | |
void | drawOes (int oesTextureId, float[] texMatrix, int x, int y, int width, int height) |
void | drawRgb (int textureId, float[] texMatrix, int x, int y, int width, int height) |
void | drawYuv (int[] yuvTextures, float[] texMatrix, int x, int y, int width, int height) |
void | release () |
Interface for rendering frames on an EGLSurface.
void io.agora.rtc.video.RendererCommon.GlDrawer.drawOes | ( | int | oesTextureId, |
float [] | texMatrix, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
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.video.GlRectDrawer.
void io.agora.rtc.video.RendererCommon.GlDrawer.release | ( | ) |
Release all GL resources. This needs to be done manually, otherwise resources may leak.
Implemented in io.agora.rtc.video.GlRectDrawer.