I used standard vertex, color and point buffers to display a 3D object.
I can..
>Use Touch event to rotate the object
>Use GL10 to render the object using openGL ES 1.0
>Everything is g
I used standard vertex, color and point buffers to display a 3D object.
I can..
>Use Touch event to rotate the object
>Use GL10 to render the object using openGL ES 1.0
>Everything is g
Simple customizing GLSurfaceView.
package com.byteflow.app;
import android.content.Context;
import android.opengl.GLSurfaceView;
import android.util.AttributeSet;
import android.util.Lo
If your game does not eat CPU, it is better to use View, which conforms to the standard Android operation mode, and the system determines the timing of refreshing the surface. But if unfortunate
MediaCodec decodes to GLSurfaceView private< /span> void createCodecFromGL(){ mRtmpView = (RTMPDisplayView2)findViewById(R.id.view_preview); mRtmpView.init(); new Thread(){ @Override public void ru