Code example for GL10

Methods: glActiveTexture, glBindTexture, glBlendFunc, glDisable, glDrawArrays, glEnable, glLoadIdentity, glScalef, glTexCoordPointer, glVertexPointer

0
			} 
		} 
 
		private void drawLogo(GL10 gl) {
			// TODO Auto-generated method stub 
			gl.glLoadIdentity();
			// ���ñ���͸�� 
			gl.glBlendFunc(GL10.GL_SRC_ALPHA, GL10.GL_ONE);
			gl.glEnable(GL10.GL_BLEND);
			gl.glDisable(GL10.GL_DEPTH_TEST);
 
			gl.glVertexPointer(3, GL10.GL_FLOAT, 0, logoVertexBuffer);
			gl.glEnable(GL10.GL_TEXTURE_2D); // ����2D����
			gl.glActiveTexture(logoFrame.getPic());// ��������
			gl.glBindTexture(GL10.GL_TEXTURE_2D, logoFrame.getPic()); // ָ�������ĸ�����
			gl.glTexCoordPointer(2, GL10.GL_FLOAT, 0, texBuffer); // ����������������
			gl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 0, 4);
 
			gl.glLoadIdentity();
			// ���ñ���͸�� 
			gl.glBlendFunc(GL10.GL_SRC_ALPHA, GL10.GL_ONE);
			gl.glEnable(GL10.GL_BLEND);
			gl.glDisable(GL10.GL_DEPTH_TEST);
			if (logoScale <= 0.4f) {
				logoS = -logoS;
			} else if (logoScale > 0.8f) {
				logoS = -logoS;
			} 
			if(!animationEnd){
				logoScale += logoS;
			} 
			  
			gl.glScalef(logoScale, logoScale, logoScale);
			gl.glVertexPointer(3, GL10.GL_FLOAT, 0, logoVertexBuffer);
			gl.glEnable(GL10.GL_TEXTURE_2D); // ����2D����
			gl.glActiveTexture(logo.getPic());// ��������
			gl.glBindTexture(GL10.GL_TEXTURE_2D, logo.getPic()); // ָ�������ĸ�����
			gl.glTexCoordPointer(2, GL10.GL_FLOAT, 0, texBuffer); // ����������������
			gl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 0, 4);
 
		} 
 
		private void drawBackGround(GL10 gl) {
			// TODO Auto-generated method stub