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.6 systemd platform.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/cogl/1.18/cogl-1.18.2.tar.xz
Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/cogl/1.18/cogl-1.18.2.tar.xz
Download MD5 sum: 952155d526d35f297737266408e842b5
Download size: 1.6 MB
Estimated disk space required: 50 MB
Estimated build time: 0.7 SBU
gdk-pixbuf-2.30.8, MesaLib-10.2.7, and Pango-1.36.7
gobject-introspection-1.40.0 and Wayland-1.5.0
gst-plugins-base-1.4.1, GTK-Doc-1.20, SDL-1.2.15, and SDL2
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/cogl
Install Cogl by running the following commands:
./configure --prefix=/usr \ --enable-gles1 \ --enable-gles2 \ --enable-kms-egl-platform \ --enable-wayland-egl-platform \ --enable-xlib-egl-platform \ --enable-wayland-egl-server && 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 root
user:
make install
--enable-gles1
: This switch
enables support for OpenGL ES 1.1.
--enable-gles2
: This switch
enables support for OpenGL ES 2.0.
--enable-*-egl-platform
:
This switch enables support for KMS, Wayland and Xlib EGL
platforms. They are required for GNOME Wayland support.
--enable-wayland-egl-server
: This
switch enables Cogl's Wayland
Server API which is required for GNOME Wayland support.
--enable-cogl-gst
: This switch enables
gstreamer 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 2014-08-24 15:52:32 -0700