public class GLUtil
extends java.lang.Object
| Constructor and Description |
|---|
GLUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
genTexture(int target,
int width,
int height) |
static int |
genTextureWithBitmap(android.graphics.Bitmap bitmap) |
static float[] |
multiplyMatrices(float[] var0,
float[] var1) |
static float[] |
rotateTextureMatrix(float[] var0,
float var1) |
static void |
updateVertexBuffer(java.nio.FloatBuffer buffer,
PictureInPictureDisplayInfo info)
更新定点坐标信息,主要用于双摄开播小画面的位置调整
|
public static int genTexture(int target,
int width,
int height)
public static int genTextureWithBitmap(android.graphics.Bitmap bitmap)
public static void updateVertexBuffer(java.nio.FloatBuffer buffer,
PictureInPictureDisplayInfo info)
buffer - 原定点坐标info - 位置信息public static float[] rotateTextureMatrix(float[] var0,
float var1)
public static float[] multiplyMatrices(float[] var0,
float[] var1)