Mobile
opengl.txt
Associated article: OpenGL & Mobile Devices
Tags: C/C++ Open Source Mobile Embedded Systems
Published source code accompanying the article by Richard S. Wright Jr., in which he examines OpenGL ES, the defacto standard for cross-platform real-time 3D graphics for mobile devices. Also see OPENGL.ZIP.
OpenGL ES & Mobile Devices
by Richard S. Wright Jr.
Listing One
case WM_CREATE:
{
hDisplay = eglGetDisplay(EGL_NO_DISPLAY);
eglInitialize(hDisplay, NULL, NULL);
eglChooseConfig(hDisplay, attrs, NULL, 0, &nConfigs);
pConfigs = (EGLConfig *)malloc(nConfigs * sizeof(EGLConfig));
eglChooseConfig(hDisplay, attrs, pConfigs, ...


