Code example for GL10

Methods: glGetString

0
		 *  
		 * @return the name of the OpenGL ES renderer. 
		 */ 
		public String getRenderer()
		{ 
			return mGL.glGetString(GL10.GL_RENDERER);
		} 
 
		private EGLConfig chooseConfig() 
		{ 
			int[] attribList = new int[] {
					EGL10.EGL_DEPTH_SIZE, 0,
					EGL10.EGL_STENCIL_SIZE, 0,
					EGL10.EGL_RED_SIZE, 8,
					EGL10.EGL_GREEN_SIZE, 8,
					EGL10.EGL_BLUE_SIZE, 8,
					EGL10.EGL_ALPHA_SIZE, 8,
					EGL10.EGL_NONE
			}; 
 
			// No error checking performed, minimum required code to elucidate logic