Android_OpenGL_ES_Issues - Android OpenGL ES Issues OmniG...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Android OpenGL ES Issues OmniG Software Inc. (www.omnigsoft.com) Monday, January 21, 2008 Contact: hongkun@omnigsoft.com X-Benchmark for Android This document lists all issues we got during the development of OmniGSoft X-Benchmark for Android. X-Benchmark is a comprehensive mobile performance benchmark, which tests the most important capabilities of a mobile device, including: processor, memory, I/O, 2D graphics, 3D graphics. While developing the 3D graphics test module for Android OpenGL ES implementation, we got several issues in OpenGL ES. The issues listed here are based on X-Benchmark running on the latest Android SDK ( android_sdk_windows_m3-rc37a.zip ). We also include the test result of X-Benchmark Java ME edition running on Sun Wireless Toolkit 2.5 with Sun OpenGL ES implementation (JSR-239 Java Binding for OpenGL ES). All Android OpenGL ES issues listed here are concluded from comparison between Android OpenGL ES test results and Sun OpenGL ES test results. However, they are still not finally confirmed, which means: 1. The issue could be a bug in Android OpenGL ES implementation. 2. This issue might be caused by improper usage of OpenGL ES functions, such as incorrect function parameters. Issue 1: OpenGL Fog causes wrong 3D rendering gl.glFogx(GL10.GL_FOG_MODE, GL10.GL_LINEAR); gl.glFogf(GL10.GL_FOG_START, fog.frontDistance); gl.glFogf(GL10.GL_FOG_END, fog.backDistance); Left: Sun Wireless Toolkit (JSR-239); Right: Android OpenGL ES
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Issue 2: OpenGL Fog function glFogf() causes “Invalid Enum” exception When calling glFogf() with any one OpenGL constant of GL_LINEAR, GL_EXP, GL_EXP2, Android OpenGL generate an “Invalid Enum” exception. Following is the Dalvik Debug output: gl.glFogf(GL10.GL_FOG_MODE, GL10.GL_LINEAR); gl.glFogf(GL10.GL_FOG_MODE, GL10.GL_EXP); gl.glFogf(GL10.GL_FOG_MODE, GL10.GL_EXP2); If remove glFogf() calling, the OpenGL works, but not sure what kind of fog formula is used. Issue 3: OpenGL Texture does not support GL_LUMINANCE_ALPHA
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/19/2011 for the course CS 101 taught by Professor Vqd during the Spring '11 term at University of Engineering & Technology.

Page1 / 7

Android_OpenGL_ES_Issues - Android OpenGL ES Issues OmniG...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online