android, OpenGL | 02:05android sdk1.5ããå ¥ã£ãOpenGL ESãç°¡åã«ä½¿ãããã®ã¯ã©ã¹ã以ä¸ã使ãæ¹ã®æé ããã¸ã§ã¯ãä½æeclipseã§ãã¤ãã©ããã®ããæ¹ã§ããã¸ã§ã¯ããä½æãGLRendererã¯ã©ã¹ä½ææ°è¦ã¯ã©ã¹ã§GLRendererãä½æãããã¤ã³ã¿ã¼ãã§ã¼ã¹ã§android.opengl.GLSurfaceView.Rendererããã£ã¤ãããã¡ã½ããã¹ã¿ãã®ä½æã§ç¶æ¿ãããæ½è±¡ã¡ã½ããã«ãã§ãã¯ãå ¥ãã¦ãããonSurfaceChanged()ã®ä¸ã«ä»¥ä¸ã®å¦çã追å gl.glViewport(0, 0, width, height); Activityã¯ã©ã¹ã«GLSurfaceViewã¤ã³ã¹ã¿ã³ã¹ä½æGLSurfaceViewã®ã¤ã³ã¹ã¿ã³ã¹ãä½æãã¦ãsetRenderer()ã§å ã»ã©ä½ã£ãGLRendererã¤ã³ã¹ã¿ã³ã¹ãã»ããã
{{#tags}}- {{label}}
{{/tags}}