This simple sample application uses a native window to create an EGL on-screen
rendering surface. This surface is the target of the OpenGL ES 1.X rendering.
This sample application uses the components of a
grey hourglass, a moving blue vertical bar, and a yellow background. It aims to
demonstrate how to integrate the use of OpenGL ES 1.X and Screen in one
application.
You will learn to:
- Establish a connection to and initialize the display
- Choose an appropriate EGL configuration
- Create an OpenGL ES rendering context
- Create a native context
- Create a native window
- Set the appropriate properties for your native window
- Create an EGL on-screen rendering surface
- Create a main application loop to:
- Process events in the native context
- Render using OpenGL ES 1.X
- Release resources