Code example for GL10

Methods: glDrawArraysglFlush

0
			GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, GL10.GL_RGB, image, 0);
		//	firstTexture=false; 
		//}else{ 
		//	GLUtils.texSubImage2D(GL10.GL_TEXTURE_2D, 0, 0, 0, image); 
		//} 
		gl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 0, 4);
		gl.glFlush();
		mEglHelper.swap();
		 
		mRomView.drawFPS();
		// System.out.println("Drawn to screen"); 
	} 
	 
	RomView mRomView;
	 
	public RomRenderer(RomView view) {
		mRomView =view;
	} 
	 
}