We provide some demos and well documented tutorials that help you to understand how the underlying code works, and let you build your own application using the Composition Manager.
The demonstration programs include EGL and OpenKODE versions of the gears application. The gears application renders a set of animated gears onto the user's display.
To get the source code for the EGL and OpenKODE versions of the gears application, go to the Graphics project on our Foundry27 community website (http://community.qnx.com/sf/projects/graphics), and download apps/egl/demos/gles1-egl-gears/ and apps/egl/demos/demos/gles1-kd-gears/ from the source-code repository.
The gears application has the following usage information:
The syntax for each specifier is as follows:
format=[rgba8888|rgba5551|rgb565|rgba4444] sampling=[int]x, e.g. 2x [int] (a valid EGL configuration number)
A few examples:
-config=rgb565 -config=rgba8888,4x -config=12
In addition to the demo applications, the Composition Manager provides a set of well-documented tutorials that guide you through the process of writing an application. In particular, the tutorials provide an example of vsync using each of the provided external APIs.
The tutorials are provided in the following file locations: To get the tutorials, go to the Graphics project on our Foundry27 community website (http://community.qnx.com/sf/projects/graphics), and look for the following directories in the source-code repository:
Do you have questions? Do you want in on the latest Composition Manager news?
Check out the graphics project on Foundry 27: Graphics project homepage
Do you want to see what other people are doing with Composition Manager? Do you want to share your experiences?
Check out the Composition Manager forum on Foundry 27: Composition Manager/Open KODE forum