Introduction to Cogl

Cogl is a modern 3D graphics API with associated utility APIs designed to expose the features of 3D graphics hardware using a direct state access API design, as opposed to the state-machine style of OpenGL.

This package is known to build and work properly using an LFS-7.4 platform.

Package Information

Cogl Dependencies


gdk-pixbuf-2.28.2, MesaLib-9.2.0, and Pango-1.34.1



GTK-Doc-1.19, SDL-1.2.15, SDL2, and Wayland

User Notes:

Installation of Cogl

Install Cogl by running the following commands:

./configure --prefix=/usr --enable-gles1 --enable-gles2 &&

To test the results, issue: make check. The tests should be ran from an X terminal running on the hardware accelerated Xorg Server.

Now, as the root user:

make install

Command Explanations

--enable-gles1: This switch enables support for OpenGL ES 1.1.

--enable-gles2: This switch enables support for OpenGL ES 2.0.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.


Installed Programs: None
Installed Libraries:,, and
Installed Directories: /usr/include/cogl and /usr/share/cogl

Short Descriptions

is the OpenGL ES 2.0 integration library for Cogl.

is the Pango integration library for Cogl.

is an object oriented GL/GLES Abstraction/Utility Layer library.

Last updated on 2013-09-03 12:08:19 -0700