public class GlRectDrawer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
tvi.webrtc.GlGenericDrawer.ShaderType
The different shader types representing different input sources.
|
Constructor and Description |
---|
GlRectDrawer() |
Modifier and Type | Method and Description |
---|---|
void |
drawOes(int oesTextureId,
float[] texMatrix,
int frameWidth,
int frameHeight,
int viewportX,
int viewportY,
int viewportWidth,
int viewportHeight)
Draw an OES texture frame with specified texture transformation matrix.
|
void |
drawRgb(int textureId,
float[] texMatrix,
int frameWidth,
int frameHeight,
int viewportX,
int viewportY,
int viewportWidth,
int viewportHeight)
Draw a RGB(A) texture frame with specified texture transformation matrix.
|
void |
drawYuv(int[] yuvTextures,
float[] texMatrix,
int frameWidth,
int frameHeight,
int viewportX,
int viewportY,
int viewportWidth,
int viewportHeight)
Draw a YUV frame with specified texture transformation matrix.
|
void |
release()
Release all GLES resources.
|
public void drawOes(int oesTextureId, float[] texMatrix, int frameWidth, int frameHeight, int viewportX, int viewportY, int viewportWidth, int viewportHeight)
drawOes
in interface RendererCommon.GlDrawer
public void drawRgb(int textureId, float[] texMatrix, int frameWidth, int frameHeight, int viewportX, int viewportY, int viewportWidth, int viewportHeight)
drawRgb
in interface RendererCommon.GlDrawer
public void drawYuv(int[] yuvTextures, float[] texMatrix, int frameWidth, int frameHeight, int viewportX, int viewportY, int viewportWidth, int viewportHeight)
drawYuv
in interface RendererCommon.GlDrawer
public void release()
release
in interface RendererCommon.GlDrawer
6.0.0