Tutorial: Create a basic 2-D application

In this tutorial, we'll explore the OpenGL ES 1.1 project template that demonstrates how to set up the BlackBerry Platform Services library, the screen.h library, and EGL to display a rotating, 2-D, colored square on a white background. This application is available by creating a new project in the QNX Momentics IDE and choosing the BlackBerry 10 OS OpenGL ES 1.1 Application Template Project.

2d_app_sample

You will learn to

  • Set up the BlackBerry Platform Services library
  • Create a screen context
  • Initialize EGL for 2-D rendering
  • Clean up graphics