GLSurfaceView

    안드로이드에서 OpenGL ES를 사용하는 GLSurfaceView의 기본 골격

    이전 포스팅에서는 기본적인 View와 SurfaceView를 사용하는 기본 구조에 대해 포스팅했다. 그러나 OPENGL ES를 사용한다면 GLSurfaceView를 사용해야 하며 이 구조는 이전과는 또 상이하다. import android.app.Activity; import android.opengl.GLSurfaceView; import android.os.Bundle; import android.view.Window; public class Main extends Activity { private GLSurfaceView mView = null; private MainRenderer mRenderer = null; @Override public void onCreate(Bundle savedInst..