MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

Graphics

The Graphics topics contain public APIs for generating and rendering 2D and 3D graphics.

The following table describes the Graphics APIs:

Graphics services APIs
API name Description Belongs to
EGL™ 1.4
  • An interface between the platform window system and rendering APIs such as OpenGL and OpenVG
  • Makes it possible to use several rendering APIs together
  • Can be used for accelerated mixed-mode 2D and 3D rendering

Example use: Use in your application to enable mixed-mode rendering.

-
OpenGL® ES 1.1
  • A low-level API for producing hardware-accelerated 2D and 3D graphics
  • Defined relative to the OpenGL® 1.5 specification
  • Provides performance improving optimisations that also reduce memory bandwidth usage in order to save power
  • Use OpenGL ES 1.1 to maximise portability to a large number of devices

Example use: Use for creating 3D graphics in your application

-
OpenGL® ES 2.0
  • The current and improved version of OpenGL® ES
  • Defined relative to the OpenGL® 2.0 specification
  • Features a programmable 3D graphics pipeline
  • Use OpenGL ES 2.0 to achieve maximum performance with the programmable hardware

Example use: Use for creating 3D graphics in your application

-
Qt Games API
  • Adds to Qt an OpenGL ES 2.0 interface with specific functionalities to aid in game development and game porting.

Example use: Use in your Qt application to enable easier integration of OpenGL® 3D graphics

-
QtOpenGL
  • Allows Qt applications to use the OpenGL® APIs to create hardware-accelerated 2D and 3D graphics
  • The base of OpenGL® in Qt is the QGLWidget class, which creates a display buffer for rendering OpenGL® objects

Example use: Use in your Qt application to enable easier integration of OpenGL® 3D graphics

Qt

Best practices

  • To avoid incompatibility issues, only one of the following should be used in a single application: QtOpenGL Module, OpenGL® ES 1.1, or OpenGL® ES 2.0. OpenGL ES 2.0 is not backwards-compatible with OpenGL ES 1.1.

Legal notice

Nokia is a registered trademark of Nokia Corporation. OpenGL is a registered trademark and the OpenGL ES logo is a trademark of Silicon Graphics Inc. used by permission by Khronos. Other product and company names mentioned herein may be trademarks or trade names of their respective owners.

GStreamer is released under the LGPL license.

MeeGo is a registered trademark of The Linux Foundation.

Copyright © 2010-2012 Nokia Corporation. All rights reserved.