提交 054ad9a5 编写于 作者: G guoshuyu

更新多种播放接口

上级 e9f39653
......@@ -16,6 +16,7 @@ import com.bumptech.glide.Glide;
import com.bumptech.glide.request.RequestOptions;
import com.example.gsyvideoplayer.effect.BitmapIconEffect;
import com.example.gsyvideoplayer.effect.GSYVideoGLViewCustomRender;
import com.example.gsyvideoplayer.effect.GSYVideoGLViewCustomRender2;
import com.example.gsyvideoplayer.effect.PixelationEffect;
import com.example.gsyvideoplayer.utils.CommonUtil;
import com.example.gsyvideoplayer.video.SampleControlVideo;
......
......@@ -24,7 +24,7 @@ public class GSYVideoGLViewCustomRender2 extends GSYVideoGLViewSimpleRender {
super.onDrawFrame(glUnused);
float[] transform = new float[16];
Matrix.setIdentityM(transform, 0);
Matrix.scaleM(transform, 0, 0.8f, 1, 1);
Matrix.scaleM(transform, 0, 0.8f, 0.8f, 1);
GLES20.glUniformMatrix4fv(getMuMVPMatrixHandle(), 1, false, transform, 0);
GLES20.glDrawArrays(GLES20.GL_TRIANGLE_STRIP, 0, 4);
GLES20.glFinish();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册