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-8.0 platform.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/cogl/1.22/cogl-1.22.2.tar.xz
Download MD5 sum: d53b708ca7c4af03d7254e46945d6b33
Download size: 1.6 MB
Estimated disk space required: 64 MB
Estimated build time: 0.8 SBU (additional 0.4 SBU for tests)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/cogl
Install Cogl by running the following commands:
This package may occasionally fail when building with multiple processors. See Using Multiple Processors for more information.
sed -i 's/^#if COGL/#ifdef COGL/' cogl/winsys/cogl-winsys-egl.c && ./configure --prefix=/usr --enable-gles1 --enable-gles2 && make
To test the results, issue: make check. The tests should be run from an X terminal on the hardware accelerated Xorg Server.
Now, as the
--enable-gles1: This switch
enables support for OpenGL ES 1.1.
--enable-gles2: This switch
enables support for OpenGL ES 2.0.
--enable-cogl-gst: This switch enables
switches enable support for KMS, Wayland and Xlib EGL platforms.
They are required for GNOME
switch enables Cogl's Wayland
Server API which is required for GNOME Wayland support.
--enable-gtk-doc: Use this parameter if
GTK-Doc is installed and you wish
to rebuild and install the API documentation.
Last updated on 2017-02-17 18:10:58 -0600