diff --git a/Makefile.am b/Makefile.am
index b5bfce1e2..bc2ef8f7e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,7 +18,7 @@ if BUILD_COGL_GST
SUBDIRS += cogl-gst
endif
-SUBDIRS += tests examples doc po
+SUBDIRS += tests examples po
ACLOCAL_AMFLAGS = -I build/autotools ${ACLOCAL_FLAGS}
@@ -31,7 +31,6 @@ CLEANFILES=
DISTCLEANFILES=
DISTCHECK_CONFIGURE_FLAGS = \
- --enable-gtk-doc \
--enable-maintainer-flags \
--enable-profile \
--enable-gles2 \
diff --git a/autogen.sh b/autogen.sh
index 10b4dd347..200242332 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -34,12 +34,6 @@ if test -z "$AUTOMAKE"; then
exit 1
fi
-(gtkdocize --version) < /dev/null > /dev/null 2>&1 || {
- echo "You don't have gtk-doc installed to compile $PROJECT, and thus"
- echo "won't be able to generate the $PROJECT documentation."
- NOGTKDOC=1
-}
-
# NOCONFIGURE is used by gnome-common
if test -z "$NOCONFIGURE"; then
if test -z "$*"; then
@@ -66,10 +60,6 @@ fi
rm -rf autom4te.cache
-if test -z "$NOGTKDOC"; then
- gtkdocize || exit $?
-fi
-
autoreconf -vfi || exit $?
cd $ORIGDIR || exit $?
diff --git a/configure.ac b/configure.ac
index 7b12cc1d4..b1a22e88c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,7 +90,6 @@ m4_define([pangocairo_req_version], [1.20])
m4_define([gi_req_version], [0.9.5])
m4_define([gdk_pixbuf_req_version], [2.0])
m4_define([uprof_req_version], [0.3])
-m4_define([gtk_doc_req_version], [1.13])
m4_define([xfixes_req_version], [3])
m4_define([xcomposite_req_version], [0.4])
m4_define([xrandr_req_version], [1.2])
@@ -105,7 +104,6 @@ AC_SUBST([CAIRO_REQ_VERSION], [cairo_req_version])
AC_SUBST([PANGOCAIRO_REQ_VERSION], [pangocairo_req_version])
AC_SUBST([XCOMPOSITE_REQ_VERSION], [xcomposite_req_version])
AC_SUBST([XFIXES_REQ_VERSION], [xfixes_req_version])
-AC_SUBST([GTK_DOC_REQ_VERSION], [gtk_doc_req_version])
AC_SUBST([GI_REQ_VERSION], [gi_req_version])
AC_SUBST([UPROF_REQ_VERSION], [uprof_req_version])
AC_SUBST([WAYLAND_SERVER_REQ_VERSION], [wayland_server_req_version])
@@ -974,13 +972,6 @@ AM_CONDITIONAL(SUPPORT_XLIB, [test "x$SUPPORT_XLIB" = "xyes"])
dnl ================================================================
dnl Documentation stuff.
dnl ================================================================
-# gtkdocize greps for ^GTK_DOC_CHECK and parses it, so you need to have
-# it on it's own line.
-m4_ifdef([GTK_DOC_CHECK], [
-GTK_DOC_CHECK([gtk_doc_req_version], [--flavour no-tmpl])
-])
-AM_CONDITIONAL([BUILD_GTK_DOC], [test "x$enable_gtk_doc" = "xyes"])
-
GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
GDKPIXBUF_PREFIX="`$PKG_CONFIG --variable=prefix gdk-pixbuf-2.0`"
AC_SUBST(GLIB_PREFIX)
@@ -1197,14 +1188,6 @@ cogl-gst/cogl-gst-2.0-experimental.pc
cogl-gles2/Makefile
cogl-gles2/cogl-gles2-1.0.pc
cogl-gles2/cogl-gles2-2.0-experimental.pc
-doc/Makefile
-doc/reference/Makefile
-doc/reference/cogl/Makefile
-doc/reference/cogl/cogl-docs.xml
-doc/reference/cogl-2.0-experimental/Makefile
-doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-docs.xml
-doc/reference/cogl-gst/Makefile
-doc/reference/cogl-gst/cogl-gst-docs.xml
examples/Makefile
tests/Makefile
tests/config.env
@@ -1262,7 +1245,6 @@ echo " Linker flags: ${LDFLAGS} ${COGL_EXTRA_LDFLAGS}"
# Miscellaneous
echo ""
echo " • Extra:"
-echo " Build API reference: ${enable_gtk_doc}"
echo " Build introspection data: ${enable_introspection}"
echo " Build unit tests: ${enable_unit_tests}"
echo " Enable internationalization: ${USE_NLS}"
diff --git a/doc/CODING_STYLE b/doc/CODING_STYLE
deleted file mode 100644
index d982adf71..000000000
--- a/doc/CODING_STYLE
+++ /dev/null
@@ -1,50 +0,0 @@
-Cogl Coding Style
---------------------
-
-This document is intended to be a short description of the preferred
-coding style to be used for the Cogl source code.
-
-Coding style is a matter of consistency, readability and maintainance;
-coding style is also completely arbitrary and a matter of taste. This
-document will use examples at the very least to provide authoritative
-and consistent answers to common questions regarding the coding style,
-and will also try to identify the allowed exceptions.
-
-The Cogl coding style is currently defined relative to the Clutter
-coding style, so please first read clutter/docs/CODING_STYLE.
-
-Differences to the Clutter coding style:
-
-+ Headers
-
-Cogl headers are not exempt from the 80 characters limit as they are in
-Clutter. Function prototypes should not be arranged into vertical
-columns but should instead look somthing like this:
-
-void
-my_function (CoglType type,
- CoglType *a_pointer,
- CoglType another_type);
-
-+ Types
-
-Avoid the use of redundant glib typedefs and wherever possible simply
-use ANSI C/c99 types.
-
-The following types should not be used:
- gint, guint, gfloat, gdouble, glong, gulong, gchar, guchar,
- guint{8,16,32} or gint{8,16,32}
-Instead use:
- int, unsigned int, float, double, long, unsigned long, char,
- unsigned char, uint{8,16,32}_t and int{8,16,32}_t
-
-Use CoglBool for boolean types.
-
-When ever you need a byte size type for dealing with pixel data then
-uint8_t should be used.
-
-The general intention is that Cogl should look palatable to the widest
-range of C programmers including those outside the Gnome community so
-- especially for the public API - we want to minimize the number of
-foreign looking typedefs.
-
diff --git a/doc/Makefile.am b/doc/Makefile.am
deleted file mode 100644
index e8f091e78..000000000
--- a/doc/Makefile.am
+++ /dev/null
@@ -1,9 +0,0 @@
-SUBDIRS =
-
-if BUILD_GTK_DOC
-SUBDIRS += reference
-endif
-
-DIST_SUBDIRS = reference
-
-EXTRA_DIST = CODING_STYLE
diff --git a/doc/RELEASING b/doc/RELEASING
deleted file mode 100644
index 562dc7a91..000000000
--- a/doc/RELEASING
+++ /dev/null
@@ -1,129 +0,0 @@
-RELEASING
-=========
-
-When making a new release;
-
-
-== Add version defines + macros if applicable ==
-
- - If it's a new stable release that increments the Cogl minor version
- remember to add a new COGL_VERSION_1_X define to cogl/cogl-version.h
- and update cogl/cogl-macros.h accordingly
-
-
-== Update the documentation ==
-
- - Update the NEWS with:
-
- - new feature details, bugs fixed, acknowledgements
- - Use git shortlog -n -s to get the list of authors
- - The following bash snippet may help with extracting the list of
- bugs closed:
- - Grep the source code for "XXX: ONGOING BUG" and add a
- section about workarounds for un-resolved upstream bugs.
-
-URLS=$(git log $1|grep bugzilla|sort|uniq)
-for i in $URLS
-do
- ID=$(echo $i|cut -d'=' -f2)
- TITLE=$(wget --quiet -O - $i|grep -e '
.*'|sed -e 's/Bug [0-9]\+ – \(.*\)<\/title>/\1/')
- echo " #$ID - $TITLE"
-done
-
- - README: dependencies, any behavioural changes relevant to
- developers;
-
- then commit the changes.
-
-
-== Update the package version ==
-
- - Read the release comments in configure.ac
- - Bump cogl_1_micro_version to the next even number
- - Don't change the 2.0 version number
- - Update the libtool versioning
- - Update the cogl_release_status status to "release" or "snapshot"
- as appropriate.
- - commit the changes.
-
-
-== Test the release ==
-
- - Verify that you don't have uncommitted changes; both:
-
- $ git diff HEAD
-
- and:
-
- $ git diff --stat master origin/master
-
- should be empty.
-
- - Clean your work directory:
-
- $ git clean -xdf
-
- This ensures that you don't have stale files lying around.
-
- - Run:
-
- $ ./autogen.sh --enable-gtk-doc --enable-profile --enable-gles1 \
- --enable-gles2 --enable-gl --enable-xlib-egl-platform \
- --enable-wayland-egl-platform --enable-glx \
- --enable-wayland-egl-server --enable-cogl-gst
- $ make all
- $ make install
-
- And verify that the code builds and installs from a clean Git snapshot.
-
- - Run checks including running the conformance tests:
-
- $ make check
-
- - Test with Clutter:
-
- Since we haven't migrated all the Cogl unit tests from Clutter yet, you
- should now build Clutter against Cogl and run the conformance tests:
-
- $ ./autogen.sh
- $ make all
- $ make test
-
- - Test cross-compiling for Windows:
-
- Please use the build/mingw/mingw-fetch-dependencies.sh with a fresh
- build directory to make sure that all of the download links still
- work.
-
-
-== Make the release ==
-
- - Run:
-
- $ make release-publish
-
- Note: if you want to break this into multiple steps see
- build/autotools/Makefile.am.release for details. You may prefer to first
- `make release-check` and then manually use `make release-tag`, `make
- release-upload` and `make release-message`.
-
- `make release-publish` will:
-
- - do sanity checks on the build
- - distcheck the release
- - tag the repository with the version number
- - upload the tarball to the remote server (needs SSH account)
-
-
-== Prepare for the next development branch ==
-
- - Bump cogl_1_micro_version to the next odd number
- - Revert cogl_release_status to "git"
-
- - Push the branch and then the tag, e.g.:
-
- $ git push origin master
- $ git push origin 1.7.0
-
- - Announce release to the waiting world on the blog and mailing lists. Use
- the template printed by `make release-publish`.
diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am
deleted file mode 100644
index 20a45bdfa..000000000
--- a/doc/reference/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-SUBDIRS = cogl cogl-2.0-experimental
-
-if BUILD_COGL_GST
-SUBDIRS += cogl-gst
-endif
diff --git a/doc/reference/cogl-2.0-experimental/Makefile.am b/doc/reference/cogl-2.0-experimental/Makefile.am
deleted file mode 100644
index fd569c837..000000000
--- a/doc/reference/cogl-2.0-experimental/Makefile.am
+++ /dev/null
@@ -1,132 +0,0 @@
-## Process this file with automake to produce Makefile.in
-
-# We require automake 1.6 at least.
-AUTOMAKE_OPTIONS = 1.6
-
-# This is a blank Makefile.am for using gtk-doc.
-# Copy this to your project's API docs directory and modify the variables to
-# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
-# of using the various options.
-
-# The name of the module, e.g. 'glib'.
-DOC_MODULE=cogl-2.0-experimental
-
-# The top-level SGML file. You can change this if you want to.
-DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
-
-# The directory containing the source code. Relative to $(srcdir).
-# gtk-doc will search all .c & .h files beneath here for inline comments
-# documenting the functions and macros.
-# e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=../../../cogl
-
-# Extra options to pass to gtkdoc-scangobj. Not normally needed.
-SCANGOBJ_OPTIONS=--type-init-func="g_type_init()"
-
-# Extra options to supply to gtkdoc-scan.
-# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
-SCAN_OPTIONS=--deprecated-guards="COGL_DISABLE_DEPRECATED"
-
-# Extra options to supply to gtkdoc-mkdb.
-# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
-MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=cogl
-
-# Extra options to supply to gtkdoc-mktmpl
-# e.g. MKTMPL_OPTIONS=--only-section-tmpl
-MKTMPL_OPTIONS=
-
-# Extra options to supply to gtkdoc-fixref. Not normally needed.
-# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
-FIXXREF_OPTIONS=\
- --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
- --extra-dir=$(GDKPIXBUF_PREFIX)/share/gtk-doc/html/gdk-pixbuf
-
-# Used for dependencies. The docs will be rebuilt if any of these change.
-# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
-# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
-HFILE_GLOB=\
- $(top_srcdir)/cogl/*.h \
- $(top_builddir)/cogl/*.h \
- $(top_srcdir)/cogl/winsys/*.h
-CFILE_GLOB=$(top_srcdir)/cogl/*.c
-
-# Header files to ignore when scanning.
-# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
-cogl_private_headers := \
- $(shell cd $(top_srcdir)/cogl && echo *-private.h && cd - && \
- cd $(top_srcdir)/cogl/winsys && echo *-private.h && cd -)
-
-IGNORE_HFILES=\
- driver \
- tesselator \
- cogl.h \
- $(cogl_private_headers) \
- cogl-atlas.h \
- cogl-path.h \
- cogl-program.h \
- cogl-shader.h \
- cogl-bitmap-packing.h \
- cogl-bitmask.h \
- cogl-blend-string.h \
- cogl-blit.h \
- cogl-boxed-value.h \
- cogl-clip-stack.h \
- cogl-debug.h \
- cogl-debug-options.h \
- cogl-defines.h \
- cogl-driver.h \
- cogl-enum-types.h \
- cogl-flags.h \
- cogl-gles2-types.h \
- cogl-gl-header.h \
- cogl-glsl-shader-boilerplate.h \
- cogl-deprecated.h \
- cogl-profile.h \
- cogl-rectangle-map.h \
- cogl-spans.h \
- cogl-texture-driver.h \
- cogl-util.h \
- $(NULL)
-
-EXTRA_HFILES=
-
-# Images to copy into HTML directory.
-# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
-HTML_IMAGES = \
- fill-rule-non-zero.png \
- fill-rule-even-odd.png \
- quad-indices-order.png \
- quad-indices-triangles.png \
- cogl_ortho.png
-
-# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
-# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
-content_files = \
- blend-strings.xml
-
-# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
-# These files must be listed here *and* in content_files
-# e.g. expand_content_files=running.sgml
-expand_content_files = \
- blend-strings.xml
-
-# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
-# Only needed if you are using gtkdoc-scangobj to dynamically query widget
-# signals and properties.
-# e.g. AM_CPPFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
-# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
-
-AM_CPPFLAGS=-I$(top_srcdir) -I$(top_builddir)/cogl -DCOGL_ENABLE_EXPERIMENTAL_API $(COGL_DEP_CFLAGS)
-GTKDOC_LIBS=$(top_builddir)/cogl/libcogl.la $(COGL_DEP_LIBS)
-
-# This includes the standard gtk-doc make rules, copied by gtkdocize.
-if BUILD_GTK_DOC
-include $(top_srcdir)/gtk-doc.make
-else
-EXTRA_DIST =
-endif
-
-# Other files to distribute
-# e.g. EXTRA_DIST += version.xml.in
-
-EXTRA_DIST += $(HTML_IMAGES) $(content_files)
diff --git a/doc/reference/cogl-2.0-experimental/blend-strings.xml b/doc/reference/cogl-2.0-experimental/blend-strings.xml
deleted file mode 100644
index 421ab2353..000000000
--- a/doc/reference/cogl-2.0-experimental/blend-strings.xml
+++ /dev/null
@@ -1,129 +0,0 @@
-
-
-]>
-
-
-
-Blend Strings
-3
-COGL Library
-
-
-
-Blend Strings
-A simple syntax and grammar for describing blending and texture
-combining functions.
-
-
-
-Cogl Blend Strings
-
-Describing GPU blending and texture combining states is rather awkward to do
-in a consise but also readable fashion. Cogl helps by supporting
-string based descriptions using a simple syntax.
-
-
-
-Some examples
-
-Here is an example used for blending:
-
-"RGBA = ADD (SRC_COLOR * (SRC_COLOR[A]), DST_COLOR * (1-SRC_COLOR[A]))"
-
-In OpenGL terms this replaces glBlendFunc[Separate] and
-glBlendEquation[Separate]
-
-Actually in this case it's more verbose than the GL equivalent:
-
-
-glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
-
-
-But unless you are familiar with OpenGL or refer to its API documentation
-you wouldn't know that the default function used by OpenGL is GL_FUNC_ADD
-nor would you know that the above arguments determine what the source color
-and destination color will be multiplied by before being adding.
-
-
-Here is an example used for texture combining:
-
-"RGB = REPLACE (PREVIOUS)"
-"A = MODULATE (PREVIOUS, TEXTURE)"
-
-
-In OpenGL terms this replaces glTexEnv, and the above example is equivalent
-to this OpenGL code:
-
-
- glTexEnvi (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_COMBINE);
- glTexEnvi (GL_TEXTURE_ENV, GL_COMBINE_RGB, GL_REPLACE);
- glTexEnvi (GL_TEXTURE_ENV, GL_SRC0_RGB, GL_PREVIOUS);
- glTexEnvi (GL_TEXTURE_ENV, GL_OPERAND0_RGB, GL_SRC_COLOR);
- glTexEnvi (GL_TEXTURE_ENV, GL_COMBINE_ALPHA, GL_MODULATE);
- glTexEnvi (GL_TEXTURE_ENV, GL_SRC0_ALPHA, GL_PREVIOUS);
- glTexEnvi (GL_TEXTURE_ENV, GL_OPERAND0_ALPHA, GL_SRC_COLOR);
- glTexEnvi (GL_TEXTURE_ENV, GL_SRC1_ALPHA, GL_TEXTURE);
- glTexEnvi (GL_TEXTURE_ENV, GL_OPERAND1_ALPHA, GL_SRC_COLOR);
-
-
-
-
-
-Here's the syntax
-
-
-<statement>:
- <channel-mask>=<function-name>(<arg-list>)
-
- You can either use a single statement with an RGBA channel-mask or you can use
- two statements; one with an A channel-mask and the other with an RGB
- channel-mask.
-
-<channel-mask>:
- A or RGB or RGBA
-
-<function-name>:
- [A-Za-z_]*
-
-<arg-list>:
- <arg>,<arg>
- or <arg>
- or ""
-
- I.e. functions may take 0 or more arguments
-
-<arg>:
- <color-source>
- 1 - <color-source> : Only intended for texture combining
- <color-source> * ( <factor> ) : Only intended for blending
- 0 : Only intended for blending
-
- See the blending or texture combining sections for further notes and examples.
-
-<color-source>:
- <source-name>[<channel-mask>]
- <source-name>
-
- See the blending or texture combining sections for the list of source-names
- valid in each context.
-
- If a channel mask is not given then the channel mask of the statement
- is assumed instead.
-
-<factor>:
- 0
- 1
- <color-source>
- 1-<color-source>
- SRC_ALPHA_SATURATE
-
-
-
-
-
-
-
-
-
diff --git a/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-docs.xml.in b/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-docs.xml.in
deleted file mode 100644
index 8b0726a93..000000000
--- a/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-docs.xml.in
+++ /dev/null
@@ -1,229 +0,0 @@
-
-
-]>
-
-
-
- Cogl 2.0 Reference Manual
- for Cogl 2.0;
-
-
- 2008
- OpenedHand LTD
-
-
-
- 2009
- 2010
- 2011
- 2012
- 2013
- Intel Corporation
-
-
-
-
- Permission is granted to copy, distribute and/or modify this
- document under the terms of the GNU Free
- Documentation License, Version 1.1 or any later
- version published by the Free Software Foundation with no
- Invariant Sections, no Front-Cover Texts, and no Back-Cover
- Texts. You may obtain a copy of the GNU Free
- Documentation License from the Free Software
- Foundation by visiting their Web site or by writing
- to:
-
-
- The Free Software Foundation, Inc.,
- 59 Temple Place - Suite 330,
- Boston, MA 02111-1307,
- USA
-
-
-
-
-
-
-
- Cogl - a modern 3D graphics API
-
-
- About Cogl
-
- Cogl is a modern 3D graphics API with associated utility
- APIs designed to expose the features of 3D graphics hardware
- using a more object oriented design than OpenGL. The library has
- primarily been driven by the practical needs of Clutter but it
- is not tied to any one toolkit or even constrained to developing
- UI toolkits.
-
-
-
-
- General API concepts
-
-
-
-
-
-
- Setting Up A Drawing Context
-
-
-
-
-
-
-
- Setting Up A GPU Pipeline
-
-
-
-
-
-
-
- Allocating GPU Memory
-
-
-
-
-
-
- Describing the layout of GPU Memory
-
-
-
-
-
-
-
-
-
- Meta Textures
-
-
-
-
-
-
-
- Primitive Textures
-
-
-
-
-
-
-
-
-
- Utilities
-
-
-
-
-
-
-
-
-
-
-
- Binding and Integrating
-
-
-
-
-
-
-
-
-
- Glossaries
-
-
-
-
-
- Index of all symbols
-
-
-
-
- Index of deprecated symbols
-
-
-
-
- Index of new symbols in 0.8
-
-
-
-
- Index of new symbols in 1.0
-
-
-
-
- Index of new symbols in 1.2
-
-
-
-
- Index of new symbols in 1.4
-
-
-
-
- License
-
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General
- Public License as published by the Free Software
- Foundation; either version 2 of the License, or (at your option)
- any later version.
-
-
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Library General Public License for
- more details.
-
-
-
- You may obtain a copy of the GNU Library General
- Public License from the Free Software Foundation by
- visiting their Web
- site or by writing to:
-
-
- Free Software Foundation, Inc.
- 59 Temple Place - Suite 330
- Boston, MA 02111-1307
- USA
-
-
-
-
-
diff --git a/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt b/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt
deleted file mode 100644
index 94a1e6505..000000000
--- a/doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-sections.txt
+++ /dev/null
@@ -1,1058 +0,0 @@
-
-cogl-object
-The Object Interface
-CoglObject
-cogl_object_ref
-cogl_object_unref
-CoglUserDataKey
-CoglUserDataDestroyCallback
-cogl_object_get_user_data
-cogl_object_set_user_data
-
-
-
-cogl-error
-Exception handling
-CoglError
-cogl_error_matches
-cogl_error_free
-cogl_error_copy
-COGL_GLIB_ERROR
-
-
-
-cogl-types
-Common Types
-
-CoglVertexP2
-CoglVertexP3
-CoglVertexP2C4
-CoglVertexP3C4
-CoglVertexP2T2
-CoglVertexP3T2
-CoglVertexP2T2C4
-CoglVertexP3T2C4
-CoglVerticesMode
-
-
-CoglFuncPtr
-CoglPixelFormat
-CoglBufferTarget
-CoglBufferBit
-CoglAttributeType
-CoglColorMask
-
-
-CoglTextureFlags
-
-
-CoglBool
-
-
-
-cogl-renderer
-CoglRenderer: Connect to a backend renderer
-
-CoglRenderer
-cogl_is_renderer
-
-
-cogl_renderer_new
-cogl_renderer_get_n_fragment_texture_units
-cogl_renderer_connect
-
-
-CoglWinsysID
-cogl_renderer_set_winsys_id
-cogl_renderer_get_winsys_id
-CoglRendererConstraint
-cogl_renderer_add_constraint
-cogl_renderer_remove_constraint
-
-
-cogl_xlib_renderer_set_foreign_display
-cogl_xlib_renderer_get_foreign_display
-
-
-CoglXlibFilterFunc
-CoglFilterReturn
-cogl_xlib_renderer_add_filter
-cogl_xlib_renderer_remove_filter
-cogl_xlib_renderer_handle_event
-
-
-CoglWin32FilterFunc
-cogl_win32_renderer_add_filter
-cogl_win32_renderer_remove_filter
-cogl_win32_renderer_handle_event
-cogl_win32_renderer_set_event_retrieval_enabled
-
-
-cogl_wayland_renderer_set_foreign_display
-cogl_wayland_renderer_set_event_dispatch_enabled
-cogl_wayland_renderer_get_display
-
-
-
-cogl-swap-chain
-CoglSwapChain: Describe a set of back buffers for flipping between
-
-CoglSwapChain
-cogl_is_swap_chain
-
-
-cogl_swap_chain_new
-cogl_swap_chain_set_has_alpha
-cogl_swap_chain_set_length
-
-
-
-cogl-onscreen-template
-CoglOnscreenTemplate: Describe a template for onscreen framebuffers
-
-CoglOnscreenTemplate
-cogl_is_onscreen_template
-
-
-cogl_onscreen_template_new
-
-
-
-cogl-display
-CoglDisplay: Setup a display pipeline
-
-CoglDisplay
-cogl_is_display
-
-
-cogl_display_new
-cogl_display_get_renderer
-cogl_display_setup
-
-
-cogl_gdl_display_set_plane
-
-
-cogl_wayland_display_set_compositor_display
-
-
-
-cogl-context
-The Top-Level Context
-
-
-CoglContext
-cogl_is_context
-cogl_context_new
-cogl_context_get_display
-
-
-CoglFeatureID
-cogl_has_feature
-cogl_has_features
-CoglFeatureCallback
-cogl_foreach_feature
-
-
-cogl_push_matrix
-cogl_pop_matrix
-cogl_scale
-cogl_translate
-cogl_rotate
-cogl_transform
-cogl_frustum
-cogl_perspective
-cogl_ortho
-
-
-cogl_get_modelview_matrix
-cogl_set_modelview_matrix
-cogl_get_projection_matrix
-cogl_set_projection_matrix
-cogl_set_viewport
-cogl_get_viewport
-
-
-cogl_set_source
-cogl_set_source_color
-cogl_set_source_color4ub
-cogl_set_source_color4f
-cogl_set_source_texture
-cogl_get_source
-cogl_push_source
-cogl_pop_source
-
-
-COGL_TYPE_BUFFER_BIT
-cogl_clear
-
-
-CoglReadPixelsFlags
-cogl_read_pixels
-
-
-cogl_flush
-
-
-COGL_TYPE_ATTRIBUTE_TYPE
-COGL_TYPE_BLEND_STRING_ERROR
-COGL_TYPE_BUFFER_ACCESS
-COGL_TYPE_BUFFER_TARGET
-COGL_TYPE_BUFFER_UPDATE_HINT
-COGL_TYPE_BUFFER_USAGE_HINT
-COGL_TYPE_DEBUG_FLAGS
-COGL_TYPE_DRIVER_ERROR
-COGL_TYPE_FEATURE_FLAGS
-COGL_TYPE_INDICES_TYPE
-COGL_TYPE_PIXEL_FORMAT
-COGL_TYPE_READ_PIXELS_FLAGS
-COGL_TYPE_TEXTURE_FLAGS
-COGL_TYPE_VERTICES_MODE
-
-
-COGL_DRIVER_ERROR
-CoglDriverError
-cogl_attribute_type_get_type
-cogl_buffer_bit_get_type
-cogl_buffer_target_get_type
-cogl_debug_flags_get_type
-cogl_driver_error_get_type
-cogl_feature_flags_get_type
-cogl_fixed_get_type
-cogl_fog_mode_get_type
-cogl_indices_type_get_type
-cogl_pixel_format_get_type
-cogl_read_pixels_flags_get_type
-cogl_shader_type_get_type
-cogl_texture_flags_get_type
-cogl_vertices_mode_get_type
-COGL_AFIRST_BIT
-COGL_A_BIT
-COGL_BGR_BIT
-COGL_PREMULT_BIT
-
-
-
-cogl-poll
-Main loop integration
-CoglPollFDEvent
-CoglPollFD
-cogl_poll_renderer_get_info
-cogl_poll_renderer_dispatch
-cogl_glib_source_new
-cogl_glib_renderer_source_new
-
-
-
-cogl-attribute
-Vertex Attributes
-CoglAttribute
-cogl_attribute_new
-cogl_is_attribute
-cogl_attribute_set_normalized
-cogl_attribute_get_normalized
-cogl_attribute_get_buffer
-cogl_attribute_set_buffer
-
-
-
-cogl-indices
-Indices
-
-
-CoglIndices
-cogl_is_indices
-
-
-CoglIndicesType
-cogl_indices_new
-
-
-cogl_get_rectangle_indices
-
-
-
-cogl-primitive
-Primitives
-CoglPrimitive
-cogl_primitive_new
-cogl_primitive_new_with_attributes
-cogl_primitive_new_p2
-cogl_primitive_new_p3
-cogl_primitive_new_p2c4
-cogl_primitive_new_p3c4
-cogl_primitive_new_p2t2
-cogl_primitive_new_p3t2
-cogl_primitive_new_p2t2c4
-cogl_primitive_new_p3t2c4
-cogl_is_primitive
-cogl_primitive_get_first_vertex
-cogl_primitive_set_first_vertex
-cogl_primitive_get_n_vertices
-cogl_primitive_set_n_vertices
-cogl_primitive_get_mode
-cogl_primitive_set_mode
-cogl_primitive_set_attributes
-cogl_primitive_get_indices
-cogl_primitive_set_indices
-cogl_primitive_copy
-CoglPrimitiveAttributeCallback
-cogl_primitive_foreach_attribute
-cogl_primitive_draw
-
-
-
-cogl-rectangle
-Rectangles
-cogl_rectangle
-cogl_rectangles
-cogl_rectangle_with_texture_coords
-cogl_rectangles_with_texture_coords
-cogl_rectangle_with_multitexture_coords
-
-
-
-cogl-snippet
-Shader snippets
-CoglSnippet
-CoglSnippetHook
-cogl_snippet_new
-cogl_snippet_get_hook
-cogl_is_snippet
-cogl_snippet_set_declarations
-cogl_snippet_get_declarations
-cogl_snippet_set_pre
-cogl_snippet_get_pre
-cogl_snippet_set_replace
-cogl_snippet_get_replace
-cogl_snippet_set_post
-cogl_snippet_get_post
-
-
-
-cogl-primitives-deprecated
-Primitives (Deprecated)
-cogl_polygon
-
-
-
-cogl-paths
-Path Primitives
-CoglPath
-cogl_is_path
-cogl_path_new
-cogl_path_copy
-cogl_path_move_to
-cogl_path_close
-cogl_path_line_to
-cogl_path_curve_to
-cogl_path_arc
-cogl_path_rel_move_to
-cogl_path_rel_line_to
-cogl_path_rel_curve_to
-cogl_path_line
-cogl_path_polyline
-cogl_path_polygon
-cogl_path_rectangle
-cogl_path_round_rectangle
-cogl_path_ellipse
-
-
-CoglPathFillRule
-cogl_path_set_fill_rule
-cogl_path_get_fill_rule
-
-
-
-cogl-bitmap
-Bitmap
-
-
-CoglBitmap
-cogl_is_bitmap
-
-
-cogl_bitmap_new_from_file
-cogl_bitmap_new_from_buffer
-cogl_bitmap_new_with_size
-cogl_bitmap_new_for_data
-
-
-cogl_bitmap_get_format
-cogl_bitmap_get_width
-cogl_bitmap_get_height
-cogl_bitmap_get_rowstride
-cogl_bitmap_get_buffer
-cogl_bitmap_get_size_from_file
-
-
-cogl_texture_new_from_bitmap
-
-
-COGL_BITMAP_ERROR
-CoglBitmapError
-
-
-
-cogl-texture
-The Texture Interface
-CoglTexture
-cogl_is_texture
-
-
-COGL_TEXTURE_ERROR
-CoglTextureError
-
-
-cogl_texture_allocate
-cogl_texture_get_width
-cogl_texture_get_height
-cogl_texture_is_sliced
-cogl_texture_get_data
-cogl_texture_set_data
-cogl_texture_set_region
-CoglTextureType
-CoglTextureComponents
-cogl_texture_set_components
-cogl_texture_get_components
-cogl_texture_set_premultiplied
-cogl_texture_get_premultiplied
-
-
-COGL_TEXTURE_MAX_WASTE
-
-
-
-cogl-texture-2d
-2D textures
-CoglTexture2D
-cogl_texture_2d_new_with_size
-cogl_texture_2d_new_from_file
-cogl_texture_2d_new_from_bitmap
-cogl_texture_2d_new_from_data
-cogl_texture_2d_gl_new_from_foreign
-cogl_is_texture_rectangle
-
-
-
-cogl-texture-rectangle
-Rectangle textures (non-normalized coordinates)
-CoglTextureRectangle
-cogl_texture_rectangle_new_with_size
-cogl_texture_rectangle_new_from_bitmap
-cogl_is_texture_rectangle
-
-
-
-cogl-texture-3d
-3D textures
-CoglTexture3D
-cogl_texture_3d_new_with_size
-cogl_texture_3d_new_from_bitmap
-cogl_texture_3d_new_from_data
-cogl_is_texture_3d
-
-
-
-cogl-meta-texture
-High Level Meta Textures
-CoglMetaTexture
-CoglMetaTextureCallback
-cogl_meta_texture_foreach_in_region
-
-
-
-cogl-primitive-texture
-Low-level primitive textures
-CoglPrimitiveTexture
-cogl_is_primitive_texture
-cogl_primitive_texture_set_auto_mipmap
-
-
-
-cogl-sub-texture
-Sub Textures
-CoglSubTexture
-cogl_sub_texture_new
-cogl_is_sub_texture
-
-
-
-cogl-atlas-texture
-Atlas Textures
-CoglAtlasTexture
-cogl_atlas_texture_new_with_size
-cogl_atlas_texture_new_from_file
-cogl_atlas_texture_new_from_data
-cogl_atlas_texture_new_from_bitmap
-cogl_is_atlas_texture
-
-
-
-cogl-texture-2d-sliced
-Sliced Textures
-CoglTexture2DSliced
-cogl_texture_2d_sliced_new_with_size
-cogl_texture_2d_sliced_new_from_file
-cogl_texture_2d_sliced_new_from_data
-cogl_texture_2d_sliced_new_from_bitmap
-cogl_is_texture_2d_sliced
-
-
-
-cogl-texture-pixmap-x11
-X11 Texture From Pixmap
-
-CoglTexturePixmapX11
-cogl_is_texture_pixmap_x11
-
-
-cogl_texture_pixmap_x11_new
-
-
-cogl_texture_pixmap_x11_update_area
-cogl_texture_pixmap_x11_is_using_tfp_extension
-CoglTexturePixmapX11ReportLevel
-cogl_texture_pixmap_x11_set_damage_object
-
-
-
-cogl-framebuffer
-CoglFramebuffer: The Framebuffer Interface
-CoglFramebuffer
-COGL_FRAMEBUFFER
-cogl_framebuffer_allocate
-cogl_framebuffer_get_width
-cogl_framebuffer_get_height
-cogl_framebuffer_set_viewport
-cogl_framebuffer_get_viewport_x
-cogl_framebuffer_get_viewport_y
-cogl_framebuffer_get_viewport_width
-cogl_framebuffer_get_viewport_height
-cogl_framebuffer_get_viewport4fv
-cogl_framebuffer_get_red_bits
-cogl_framebuffer_get_green_bits
-cogl_framebuffer_get_blue_bits
-cogl_framebuffer_get_alpha_bits
-cogl_framebuffer_get_depth_bits
-cogl_framebuffer_get_color_mask
-cogl_framebuffer_set_color_mask
-cogl_framebuffer_get_samples_per_pixel
-cogl_framebuffer_set_samples_per_pixel
-cogl_framebuffer_resolve_samples
-cogl_framebuffer_resolve_samples_region
-cogl_framebuffer_get_context
-cogl_framebuffer_clear
-cogl_framebuffer_clear4f
-cogl_framebuffer_read_pixels_into_bitmap
-cogl_framebuffer_read_pixels
-cogl_framebuffer_set_dither_enabled
-cogl_framebuffer_get_dither_enabled
-
-
-cogl_framebuffer_draw_rectangle
-cogl_framebuffer_draw_textured_rectangle
-cogl_framebuffer_draw_multitextured_rectangle
-cogl_framebuffer_draw_rectangles
-cogl_framebuffer_draw_textured_rectangles
-cogl_framebuffer_stroke_path
-cogl_framebuffer_fill_path
-
-
-cogl_framebuffer_discard_buffers
-cogl_framebuffer_finish
-
-
-cogl_framebuffer_push_matrix
-cogl_framebuffer_pop_matrix
-cogl_framebuffer_identity_matrix
-cogl_framebuffer_scale
-cogl_framebuffer_translate
-cogl_framebuffer_rotate
-cogl_framebuffer_rotate_euler
-cogl_framebuffer_rotate_quaternion
-cogl_framebuffer_transform
-cogl_framebuffer_get_modelview_matrix
-cogl_framebuffer_set_modelview_matrix
-
-
-cogl_framebuffer_perspective
-cogl_framebuffer_frustum
-cogl_framebuffer_orthographic
-cogl_framebuffer_get_projection_matrix
-cogl_framebuffer_set_projection_matrix
-
-
-cogl_framebuffer_push_scissor_clip
-cogl_framebuffer_push_rectangle_clip
-cogl_framebuffer_push_path_clip
-cogl_framebuffer_push_primitive_clip
-cogl_framebuffer_pop_clip
-
-
-cogl_get_draw_framebuffer
-cogl_set_framebuffer
-cogl_push_framebuffer
-cogl_pop_framebuffer
-
-
-
-cogl-onscreen
-CoglOnscreen: The Onscreen Framebuffer Interface
-
-CoglOnscreen
-cogl_is_onscreen
-COGL_ONSCREEN
-
-
-cogl_onscreen_new
-
-
-CoglOnscreenX11MaskCallback
-cogl_x11_onscreen_set_foreign_window_xid
-cogl_x11_onscreen_get_window_xid
-cogl_x11_onscreen_get_visual_xid
-
-
-cogl_win32_onscreen_set_foreign_window
-cogl_win32_onscreen_get_window
-
-
-cogl_onscreen_show
-cogl_onscreen_hide
-
-
-CoglFrameCallback
-CoglFrameClosure
-cogl_onscreen_add_frame_callback
-cogl_onscreen_remove_frame_callback
-
-
-CoglOnscreenDirtyInfo
-CoglOnscreenDirtyCallback
-CoglOnscreenDirtyClosure
-cogl_onscreen_add_dirty_callback
-cogl_onscreen_remove_dirty_callback
-
-
-CoglOnscreenResizeCallback
-CoglOnscreenResizeClosure
-cogl_onscreen_add_resize_callback
-cogl_onscreen_remove_resize_callback
-
-
-cogl_onscreen_swap_buffers
-cogl_onscreen_swap_buffers_with_damage
-cogl_onscreen_swap_region
-cogl_onscreen_set_swap_throttled
-CoglSwapBuffersNotify
-cogl_onscreen_add_swap_buffers_callback
-cogl_onscreen_remove_swap_buffers_callback
-
-
-
-cogl-offscreen
-Offscreen Framebuffers
-
-CoglOffscreen
-cogl_is_offscreen
-
-
-cogl_offscreen_new_with_texture
-
-
-
-cogl-color
-Color Type
-CoglColor
-cogl_color_new
-cogl_color_copy
-cogl_color_free
-cogl_color_set_from_4ub
-cogl_color_set_from_4f
-
-
-cogl_color_get_red
-cogl_color_get_green
-cogl_color_get_blue
-cogl_color_get_alpha
-
-
-cogl_color_get_red_byte
-cogl_color_get_green_byte
-cogl_color_get_blue_byte
-cogl_color_get_alpha_byte
-
-
-cogl_color_get_red_float
-cogl_color_get_green_float
-cogl_color_get_blue_float
-cogl_color_get_alpha_float
-
-
-cogl_color_set_red
-cogl_color_set_green
-cogl_color_set_blue
-cogl_color_set_alpha
-
-
-cogl_color_set_red_byte
-cogl_color_set_green_byte
-cogl_color_set_blue_byte
-cogl_color_set_alpha_byte
-
-
-cogl_color_set_red_float
-cogl_color_set_green_float
-cogl_color_set_blue_float
-cogl_color_set_alpha_float
-
-
-cogl_color_premultiply
-cogl_color_unpremultiply
-cogl_color_equal
-
-
-cogl_color_init_from_hsl
-cogl_color_to_hsl
-
-
-
-cogl-matrix
-Matrices
-CoglMatrix
-cogl_matrix_init_identity
-cogl_matrix_init_from_array
-cogl_matrix_init_translation
-cogl_matrix_init_from_quaternion
-cogl_matrix_init_from_euler
-cogl_matrix_copy
-cogl_matrix_equal
-cogl_matrix_free
-cogl_matrix_frustum
-cogl_matrix_orthographic
-cogl_matrix_perspective
-cogl_matrix_look_at
-cogl_matrix_multiply
-cogl_matrix_rotate
-cogl_matrix_rotate_quaternion
-cogl_matrix_rotate_euler
-cogl_matrix_translate
-cogl_matrix_scale
-cogl_matrix_transpose
-cogl_matrix_get_array
-cogl_matrix_get_inverse
-cogl_matrix_transform_point
-cogl_matrix_transform_points
-cogl_matrix_project_points
-cogl_matrix_is_identity
-
-
-
-cogl-matrix-stack
-Matrix Stacks
-CoglMatrixStack
-CoglMatrixEntry
-cogl_matrix_stack_new
-cogl_matrix_stack_push
-cogl_matrix_stack_pop
-cogl_matrix_stack_load_identity
-cogl_matrix_stack_scale
-cogl_matrix_stack_translate
-cogl_matrix_stack_rotate
-cogl_matrix_stack_rotate_quaternion
-cogl_matrix_stack_rotate_euler
-cogl_matrix_stack_multiply
-cogl_matrix_stack_frustum
-cogl_matrix_stack_perspective
-cogl_matrix_stack_orthographic
-cogl_matrix_stack_get_inverse
-cogl_matrix_stack_get_entry
-cogl_matrix_stack_get
-cogl_matrix_entry_get
-cogl_matrix_stack_set
-cogl_matrix_entry_calculate_translation
-cogl_matrix_entry_is_identity
-cogl_matrix_entry_equal
-cogl_matrix_entry_ref
-cogl_matrix_entry_unref
-
-
-
-cogl-euler
-Eulers (Rotations)
-CoglEuler
-cogl_euler_init
-cogl_euler_init_from_matrix
-cogl_euler_init_from_quaternion
-cogl_euler_equal
-cogl_euler_copy
-cogl_euler_free
-
-
-
-cogl-quaternion
-Quaternions (Rotations)
-CoglQuaternion
-cogl_quaternion_init_identity
-cogl_quaternion_init
-cogl_quaternion_init_from_quaternion
-cogl_quaternion_init_from_angle_vector
-cogl_quaternion_init_from_array
-cogl_quaternion_init_from_x_rotation
-cogl_quaternion_init_from_y_rotation
-cogl_quaternion_init_from_z_rotation
-cogl_quaternion_init_from_euler
-cogl_quaternion_equal
-cogl_quaternion_copy
-cogl_quaternion_free
-cogl_quaternion_get_rotation_angle
-cogl_quaternion_get_rotation_axis
-cogl_quaternion_normalize
-cogl_quaternion_dot_product
-cogl_quaternion_invert
-cogl_quaternion_multiply
-cogl_quaternion_pow
-cogl_quaternion_slerp
-cogl_quaternion_nlerp
-cogl_quaternion_squad
-cogl_get_static_identity_quaternion
-cogl_get_static_zero_quaternion
-
-
-
-cogl-pipeline
-Pipeline
-CoglPipeline
-cogl_pipeline_new
-cogl_pipeline_copy
-cogl_is_pipeline
-
-cogl_pipeline_set_color
-cogl_pipeline_set_color4ub
-cogl_pipeline_set_color4f
-cogl_pipeline_get_color
-
-cogl_pipeline_set_ambient
-cogl_pipeline_get_ambient
-cogl_pipeline_set_diffuse
-cogl_pipeline_get_diffuse
-cogl_pipeline_set_ambient_and_diffuse
-cogl_pipeline_set_emission
-cogl_pipeline_get_emission
-cogl_pipeline_set_specular
-cogl_pipeline_get_specular
-cogl_pipeline_set_shininess
-cogl_pipeline_get_shininess
-
-CoglPipelineAlphaFunc
-cogl_pipeline_set_alpha_test_function
-
-COGL_BLEND_STRING_ERROR
-CoglBlendStringError
-cogl_pipeline_set_blend
-cogl_pipeline_set_blend_constant
-cogl_pipeline_set_point_size
-cogl_pipeline_get_point_size
-cogl_pipeline_set_per_vertex_point_size
-cogl_pipeline_get_per_vertex_point_size
-
-cogl_pipeline_get_color_mask
-cogl_pipeline_set_color_mask
-
-cogl_pipeline_set_depth_state
-cogl_pipeline_get_depth_state
-
-CoglPipelineCullFaceMode
-cogl_pipeline_set_cull_face_mode
-CoglWinding
-cogl_pipeline_set_front_face_winding
-
-cogl_pipeline_set_layer_texture
-cogl_pipeline_set_layer_null_texture
-cogl_pipeline_get_layer_texture
-CoglPipelineFilter
-cogl_pipeline_set_layer_filters
-cogl_pipeline_get_layer_min_filter
-cogl_pipeline_get_layer_mag_filter
-CoglPipelineWrapMode
-cogl_pipeline_set_layer_wrap_mode
-cogl_pipeline_set_layer_wrap_mode_s
-cogl_pipeline_set_layer_wrap_mode_t
-cogl_pipeline_set_layer_wrap_mode_p
-cogl_pipeline_set_layer_combine
-cogl_pipeline_set_layer_combine_constant
-cogl_pipeline_set_layer_matrix
-cogl_pipeline_set_layer_point_sprite_coords_enabled
-cogl_pipeline_get_layer_point_sprite_coords_enabled
-
-cogl_pipeline_remove_layer
-
-cogl_pipeline_get_n_layers
-CoglPipelineLayerCallback
-cogl_pipeline_foreach_layer
-
-cogl_pipeline_get_uniform_location
-cogl_pipeline_set_uniform_1f
-cogl_pipeline_set_uniform_1i
-cogl_pipeline_set_uniform_float
-cogl_pipeline_set_uniform_int
-cogl_pipeline_set_uniform_matrix
-
-cogl_pipeline_add_snippet
-cogl_pipeline_add_layer_snippet
-
-
-cogl_blend_string_error_get_type
-cogl_blend_string_error_domain
-
-
-
-cogl-depth-state
-Depth State
-CoglDepthState
-CoglDepthTestFunction
-cogl_depth_state_init
-cogl_depth_state_set_test_enabled
-cogl_depth_state_get_test_enabled
-cogl_depth_state_set_test_function
-cogl_depth_state_get_test_function
-cogl_depth_state_set_write_enabled
-cogl_depth_state_get_write_enabled
-cogl_depth_state_set_range
-cogl_depth_state_get_range
-
-
-
-cogl-buffer
-CoglBuffer: The Buffer Interface
-CoglBuffer
-cogl_is_buffer
-cogl_buffer_get_size
-CoglBufferUsageHint
-cogl_buffer_set_usage_hint
-cogl_buffer_get_usage_hint
-CoglBufferUpdateHint
-cogl_buffer_set_update_hint
-cogl_buffer_get_update_hint
-CoglBufferAccess
-CoglBufferMapHint
-cogl_buffer_map
-cogl_buffer_map_range
-cogl_buffer_unmap
-cogl_buffer_set_data
-
-
-CoglPixelBuffer
-cogl_pixel_buffer_new
-cogl_is_pixel_buffer
-
-
-cogl_buffer_access_get_type
-cogl_buffer_update_hint_get_type
-cogl_buffer_usage_hint_get_type
-
-
-
-cogl-attribute-buffer
-CoglAttributeBuffer: Buffers of vertex attributes
-CoglAttributeBuffer
-cogl_attribute_buffer_new_with_size
-cogl_attribute_buffer_new
-cogl_is_attribute_buffer
-
-
-
-cogl-index-buffer
-CoglIndexBuffer: Buffers of vertex indices
-CoglIndexBuffer
-cogl_index_buffer_new
-cogl_is_index_buffer
-
-
-
-cogl-vector
-3 Component Vectors
-cogl_vector3_init
-cogl_vector3_init_zero
-cogl_vector3_equal
-cogl_vector3_equal_with_epsilon
-cogl_vector3_copy
-cogl_vector3_free
-cogl_vector3_invert
-cogl_vector3_add
-cogl_vector3_subtract
-cogl_vector3_multiply_scalar
-cogl_vector3_divide_scalar
-cogl_vector3_normalize
-cogl_vector3_magnitude
-cogl_vector3_cross_product
-cogl_vector3_dot_product
-cogl_vector3_distance
-
-
-
-cogl-fence
-GPU synchronisation fences
-CoglFence
-CoglFenceCallback
-CoglFenceClosure
-cogl_fence_closure_get_user_data
-cogl_framebuffer_add_fence_callback
-cogl_framebuffer_cancel_fence_callback
-
-
-
-cogl-version
-Versioning utility macros
-COGL_VERSION_MAJOR
-COGL_VERSION_MINOR
-COGL_VERSION_MICRO
-COGL_VERSION_STRING
-COGL_VERSION
-COGL_VERSION_ENCODE
-COGL_VERSION_CHECK
-COGL_VERSION_GET_MAJOR
-COGL_VERSION_GET_MINOR
-COGL_VERSION_GET_MICRO
-
-
-
-cogl-gtype
-GType Integration API
-cogl_gtype_matrix_get_type
-
-
-
-cogl-sdl
-SDL Integration
-cogl_sdl_context_new
-cogl_sdl_renderer_set_event_type
-cogl_sdl_renderer_get_event_type
-cogl_sdl_handle_event
-cogl_sdl_idle
-cogl_sdl_onscreen_get_window
-
-
-
-cogl-gles2
-GLES 2.0 context
-
-
-CoglGLES2Context
-CoglGLES2Vtable
-COGL_GLES2_CONTEXT_ERROR
-CoglGLES2ContextError
-cogl_gles2_context_new
-cogl_is_gles2_context
-
-
-cogl_gles2_context_get_vtable
-cogl_push_gles2_context
-cogl_pop_gles2_context
-cogl_gles2_get_current_vtable
-
-
-cogl_gles2_texture_2d_new_from_handle
-cogl_gles2_texture_get_handle
-
diff --git a/doc/reference/cogl-2.0-experimental/cogl_ortho.png b/doc/reference/cogl-2.0-experimental/cogl_ortho.png
deleted file mode 100644
index 2c2a1fd20..000000000
Binary files a/doc/reference/cogl-2.0-experimental/cogl_ortho.png and /dev/null differ
diff --git a/doc/reference/cogl-2.0-experimental/fill-rule-even-odd.png b/doc/reference/cogl-2.0-experimental/fill-rule-even-odd.png
deleted file mode 100644
index 1e4fbb0f2..000000000
Binary files a/doc/reference/cogl-2.0-experimental/fill-rule-even-odd.png and /dev/null differ
diff --git a/doc/reference/cogl-2.0-experimental/fill-rule-non-zero.png b/doc/reference/cogl-2.0-experimental/fill-rule-non-zero.png
deleted file mode 100644
index 2d8ad314c..000000000
Binary files a/doc/reference/cogl-2.0-experimental/fill-rule-non-zero.png and /dev/null differ
diff --git a/doc/reference/cogl-2.0-experimental/quad-indices-order.png b/doc/reference/cogl-2.0-experimental/quad-indices-order.png
deleted file mode 100644
index a31d95d48..000000000
Binary files a/doc/reference/cogl-2.0-experimental/quad-indices-order.png and /dev/null differ
diff --git a/doc/reference/cogl-2.0-experimental/quad-indices-triangles.png b/doc/reference/cogl-2.0-experimental/quad-indices-triangles.png
deleted file mode 100644
index 18c42c845..000000000
Binary files a/doc/reference/cogl-2.0-experimental/quad-indices-triangles.png and /dev/null differ
diff --git a/doc/reference/cogl-gst/Makefile.am b/doc/reference/cogl-gst/Makefile.am
deleted file mode 100644
index 5e5c21d95..000000000
--- a/doc/reference/cogl-gst/Makefile.am
+++ /dev/null
@@ -1,106 +0,0 @@
-## Process this file with automake to produce Makefile.in
-
-# We require automake 1.6 at least.
-AUTOMAKE_OPTIONS = 1.6
-
-# This is a blank Makefile.am for using gtk-doc.
-# Copy this to your project's API docs directory and modify the variables to
-# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
-# of using the various options.
-
-# The name of the module, e.g. 'glib'.
-DOC_MODULE=cogl-gst
-
-# The top-level SGML file. You can change this if you want to.
-DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
-
-# The directory containing the source code. Relative to $(srcdir).
-# gtk-doc will search all .c & .h files beneath here for inline comments
-# documenting the functions and macros.
-# e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=../../../cogl-gst
-
-# Extra options to pass to gtkdoc-scangobj. Not normally needed.
-SCANGOBJ_OPTIONS=--type-init-func="gst_init(NULL, NULL)"
-
-# Extra options to supply to gtkdoc-scan.
-# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
-SCAN_OPTIONS=--deprecated-guards="COGL_DISABLE_DEPRECATED"
-
-# Extra options to supply to gtkdoc-mkdb.
-# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
-MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=cogl_gst
-
-# Extra options to supply to gtkdoc-mktmpl
-# e.g. MKTMPL_OPTIONS=--only-section-tmpl
-MKTMPL_OPTIONS=
-
-# Extra options to supply to gtkdoc-fixref. Not normally needed.
-# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
-FIXXREF_OPTIONS=\
- --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
- --extra-dir=$(GDKPIXBUF_PREFIX)/share/gtk-doc/html/gdk-pixbuf \
- --extra-dir=$(GSTREAMER_PREFIX)/share/gtk-doc/html/gstreamer-1.0 \
- --extra-dir=$(GSTREAMER_PREFIX)/share/gtk-doc/html/gstreamer-libs-1.0
-
-# Used for dependencies. The docs will be rebuilt if any of these change.
-# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
-# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
-HFILE_GLOB=\
- $(top_srcdir)/cogl/*.h \
- $(top_builddir)/cogl/*.h \
- $(top_srcdir)/cogl/winsys/*.h \
- $(top_srcdir)/cogl-gst/*.h
-CFILE_GLOB=$(top_srcdir)/cogl-gst/*.c
-
-IGNORE_HFILES=\
- $(NULL)
-
-EXTRA_HFILES=
-
-# Images to copy into HTML directory.
-# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
-HTML_IMAGES=\
- $(NULL)
-
-# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
-# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
-content_files=\
- $(NULL)
-
-# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
-# These files must be listed here *and* in content_files
-# e.g. expand_content_files=running.sgml
-expand_content_files=\
- $(NULL)
-
-# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
-# Only needed if you are using gtkdoc-scangobj to dynamically query widget
-# signals and properties.
-# e.g. AM_CPPFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
-# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
-
-AM_CPPFLAGS=\
- -I$(top_srcdir) \
- -I$(top_builddir) \
- -DCOGL_ENABLE_EXPERIMENTAL_API \
- $(COGL_DEP_CFLAGS) \
- $(COGL_GST_DEP_CFLAGS)
-
-GTKDOC_LIBS=\
- $(top_builddir)/cogl/libcogl.la \
- $(top_builddir)/cogl-gst/libcogl-gst.la \
- $(COGL_DEP_LIBS) \
- $(COGL_GST_DEP_LIBS)
-
-# This includes the standard gtk-doc make rules, copied by gtkdocize.
-if BUILD_GTK_DOC
-include $(top_srcdir)/gtk-doc.make
-else
-EXTRA_DIST =
-endif
-
-# Other files to distribute
-# e.g. EXTRA_DIST += version.xml.in
-
-EXTRA_DIST += $(HTML_IMAGES) $(content_files)
diff --git a/doc/reference/cogl-gst/cogl-gst-docs.xml.in b/doc/reference/cogl-gst/cogl-gst-docs.xml.in
deleted file mode 100644
index 8bf4fb6f4..000000000
--- a/doc/reference/cogl-gst/cogl-gst-docs.xml.in
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-]>
-
-
-
- Cogl GST 2.0 Reference Manual
- for Cogl &version;
-
-
- 2013
- Intel Corporation
-
-
-
-
- Permission is granted to copy, distribute and/or modify this
- document under the terms of the GNU Free
- Documentation License, Version 1.1 or any later
- version published by the Free Software Foundation with no
- Invariant Sections, no Front-Cover Texts, and no Back-Cover
- Texts. You may obtain a copy of the GNU Free
- Documentation License from the Free Software
- Foundation by visiting their Web site or by writing
- to:
-
-
- The Free Software Foundation, Inc.,
- 59 Temple Place - Suite 330,
- Boston, MA 02111-1307,
- USA
-
-
-
-
-
-
-
- Cogl GST - a library for integrating GStreamer with Cogl
-
-
- About Cogl GST
-
- Cogl GST is a small library which provides a GStreamer
- sink which can manage a CoglPipeline to render a video within a
- Cogl scene.
-
-
-
-
-
-
-
-
- Glossaries
-
-
-
-
-
- Index of all symbols
-
-
-
-
- License
-
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General
- Public License as published by the Free Software
- Foundation; either version 2 of the License, or (at your option)
- any later version.
-
-
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Library General Public License for
- more details.
-
-
-
- You may obtain a copy of the GNU Library General
- Public License from the Free Software Foundation by
- visiting their Web
- site or by writing to:
-
-
- Free Software Foundation, Inc.
- 59 Temple Place - Suite 330
- Boston, MA 02111-1307
- USA
-
-
-
-
-
diff --git a/doc/reference/cogl-gst/cogl-gst-sections.txt b/doc/reference/cogl-gst/cogl-gst-sections.txt
deleted file mode 100644
index 0b6c0bde1..000000000
--- a/doc/reference/cogl-gst/cogl-gst-sections.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-
-cogl-gst-video-sink
-CoglGstVideoSink
-
-
-CoglGstVideoSink
-CoglGstVideoSinkClass
-cogl_gst_video_sink_new
-cogl_gst_video_sink_set_context
-cogl_gst_video_sink_get_pipeline
-cogl_gst_video_sink_attach_frame
-cogl_gst_video_sink_setup_pipeline
-cogl_gst_video_sink_get_free_layer
-cogl_gst_video_sink_set_first_layer
-cogl_gst_video_sink_set_default_sample
-cogl_gst_video_sink_is_ready
-cogl_gst_video_sink_get_aspect
-cogl_gst_video_sink_get_width_for_height
-cogl_gst_video_sink_get_height_for_width
-cogl_gst_video_sink_fit_size
-
-
-COGL_GST_IS_VIDEO_SINK
-COGL_GST_IS_VIDEO_SINK_CLASS
-COGL_GST_VIDEO_SINK
-COGL_GST_VIDEO_SINK_CLASS
-COGL_GST_TYPE_VIDEO_SINK
-COGL_GST_VIDEO_SINK_GET_CLASS
-
-CoglGstVideoSinkPrivate
-cogl_gst_video_sink_get_type
-
-
diff --git a/doc/reference/cogl-gst/cogl-gst.types b/doc/reference/cogl-gst/cogl-gst.types
deleted file mode 100644
index 4d6f953e2..000000000
--- a/doc/reference/cogl-gst/cogl-gst.types
+++ /dev/null
@@ -1,2 +0,0 @@
-#include
-cogl_gst_video_sink_get_type
diff --git a/doc/reference/cogl/Makefile.am b/doc/reference/cogl/Makefile.am
deleted file mode 100644
index 64d199241..000000000
--- a/doc/reference/cogl/Makefile.am
+++ /dev/null
@@ -1,153 +0,0 @@
-## Process this file with automake to produce Makefile.in
-
-# We require automake 1.6 at least.
-AUTOMAKE_OPTIONS = 1.6
-
-# This is a blank Makefile.am for using gtk-doc.
-# Copy this to your project's API docs directory and modify the variables to
-# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
-# of using the various options.
-
-# The name of the module, e.g. 'glib'.
-DOC_MODULE=cogl
-
-# The top-level SGML file. You can change this if you want to.
-DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
-
-# The directory containing the source code. Relative to $(srcdir).
-# gtk-doc will search all .c & .h files beneath here for inline comments
-# documenting the functions and macros.
-# e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=../../../cogl
-
-# Extra options to pass to gtkdoc-scangobj. Not normally needed.
-SCANGOBJ_OPTIONS=--type-init-func="g_type_init()"
-
-# Extra options to supply to gtkdoc-scan.
-# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
-SCAN_OPTIONS=--deprecated-guards="COGL_DISABLE_DEPRECATED"
-
-# Extra options to supply to gtkdoc-mkdb.
-# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
-MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=cogl
-
-# Extra options to supply to gtkdoc-mktmpl
-# e.g. MKTMPL_OPTIONS=--only-section-tmpl
-MKTMPL_OPTIONS=
-
-# Extra options to supply to gtkdoc-fixref. Not normally needed.
-# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
-FIXXREF_OPTIONS=\
- --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
- --extra-dir=$(GDPIXBUF_PREFIX)/share/gtk-doc/html/gdk-pixbuf
-
-# Used for dependencies. The docs will be rebuilt if any of these change.
-# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
-# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
-HFILE_GLOB=\
- $(top_srcdir)/cogl/*.h \
- $(top_builddir)/cogl/*.h
-CFILE_GLOB=$(top_srcdir)/cogl/*.c
-
-# Header files to ignore when scanning.
-# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
-IGNORE_HFILES=\
- cogl-atlas.h \
- cogl-atlas-texture-private.h \
- cogl-bitmap-private.h \
- cogl-buffer-private.h \
- cogl-color-private.h \
- cogl-feature-private.h \
- cogl-framebuffer-private.h \
- cogl-onscreen-private.h \
- cogl-gtype-private.h \
- cogl-index-buffer-private.h \
- cogl-indices-private.h \
- cogl-journal-private.h \
- cogl-matrix-private.h \
- cogl-object-private.h \
- cogl-path-private.h \
- cogl-depth-state-private.h \
- cogl-pipeline-fragend-arbfp-private.h \
- cogl-pipeline-fragend-fixed-private.h \
- cogl-pipeline-fragend-glsl-private.h \
- cogl-pipeline-opengl-private.h \
- cogl-pipeline-private.h \
- cogl-pipeline-state-private.h \
- cogl-pipeline-layer-state-private.h \
- cogl-pipeline-progend-glsl-private.h \
- cogl-pipeline-vertend-fixed-private.h \
- cogl-pipeline-vertend-glsl-private.h \
- cogl-pixel-buffer-private.h \
- cogl-primitive-private.h \
- cogl-primitives-private.h \
- cogl-private.h \
- cogl-program-private.h \
- cogl-shader-private.h \
- cogl-sub-texture-private.h \
- cogl-texture-2d-private.h \
- cogl-texture-2d-sliced-private.h \
- cogl-texture-3d-private.h \
- cogl-texture-private.h \
- cogl-texture-rectangle-private.h \
- cogl-vertex-array-private.h \
- cogl-vertex-attribute-private.h \
- cogl-vertex-buffer-private.h \
- cogl-blend-string.h \
- cogl-clip-stack.h \
- cogl-debug.h \
- cogl-defines.h \
- cogl-deprecated.h \
- cogl-internal.h \
- cogl-matrix-mesa.h \
- cogl-matrix-stack.h \
- cogl-spans.h \
- cogl-profile.h \
- cogl-util.h \
- driver \
- tesselator \
- winsys
-
-EXTRA_HFILES=
-
-# Images to copy into HTML directory.
-# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
-HTML_IMAGES = \
- fill-rule-non-zero.png \
- fill-rule-even-odd.png \
- quad-indices-order.png \
- quad-indices-triangles.png \
- cogl_ortho.png
-
-# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
-# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
-content_files = \
- blend-strings.xml
-
-# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
-# These files must be listed here *and* in content_files
-# e.g. expand_content_files=running.sgml
-expand_content_files = \
- blend-strings.xml
-
-# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
-# Only needed if you are using gtkdoc-scangobj to dynamically query widget
-# signals and properties.
-# e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
-# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
-
-AM_CPPFLAGS=-I$(top_srcdir) -I$(top_builddir)/cogl -DCOGL_ENABLE_EXPERIMENTAL_API
-AM_CFLAGS=$(COGL_DEP_CFLAGS)
-GTKDOC_LIBS=$(top_builddir)/cogl/libcogl.la $(COGL_DEP_LIBS)
-
-# This includes the standard gtk-doc make rules, copied by gtkdocize.
-if BUILD_GTK_DOC
-include $(top_srcdir)/gtk-doc.make
-else
-EXTRA_DIST =
-endif
-
-# Other files to distribute
-# e.g. EXTRA_DIST += version.xml.in
-
-EXTRA_DIST += $(HTML_IMAGES) $(content_files)
diff --git a/doc/reference/cogl/blend-strings.xml b/doc/reference/cogl/blend-strings.xml
deleted file mode 100644
index 0b37757c7..000000000
--- a/doc/reference/cogl/blend-strings.xml
+++ /dev/null
@@ -1,129 +0,0 @@
-
-
-]>
-
-
-
-Material Blend Strings
-3
-COGL Library
-
-
-
-Material Blend Strings
-A simple syntax and grammar for describing blending and texture
-combining functions.
-
-
-
-Cogl Blend Strings
-
-Describing GPU blending and texture combining states is rather awkward to do
-in a consise but also readable fashion. Cogl helps by supporting
-string based descriptions using a simple syntax.
-
-
-
-Some examples
-
-Here is an example used for blending:
-
-"RGBA = ADD (SRC_COLOR * (SRC_COLOR[A]), DST_COLOR * (1-SRC_COLOR[A]))"
-
-In OpenGL terms this replaces glBlendFunc[Separate] and
-glBlendEquation[Separate]
-
-Actually in this case it's more verbose than the GL equivalent:
-
-
-glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
-
-
-But unless you are familiar with OpenGL or refer to its API documentation
-you wouldn't know that the default function used by OpenGL is GL_FUNC_ADD
-nor would you know that the above arguments determine what the source color
-and destination color will be multiplied by before being adding.
-
-
-Here is an example used for texture combining:
-
-"RGB = REPLACE (PREVIOUS)"
-"A = MODULATE (PREVIOUS, TEXTURE)"
-
-
-In OpenGL terms this replaces glTexEnv, and the above example is equivalent
-to this OpenGL code:
-
-
- glTexEnvi (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_COMBINE);
- glTexEnvi (GL_TEXTURE_ENV, GL_COMBINE_RGB, GL_REPLACE);
- glTexEnvi (GL_TEXTURE_ENV, GL_SRC0_RGB, GL_PREVIOUS);
- glTexEnvi (GL_TEXTURE_ENV, GL_OPERAND0_RGB, GL_SRC_COLOR);
- glTexEnvi (GL_TEXTURE_ENV, GL_COMBINE_ALPHA, GL_MODULATE);
- glTexEnvi (GL_TEXTURE_ENV, GL_SRC0_ALPHA, GL_PREVIOUS);
- glTexEnvi (GL_TEXTURE_ENV, GL_OPERAND0_ALPHA, GL_SRC_COLOR);
- glTexEnvi (GL_TEXTURE_ENV, GL_SRC1_ALPHA, GL_TEXTURE);
- glTexEnvi (GL_TEXTURE_ENV, GL_OPERAND1_ALPHA, GL_SRC_COLOR);
-
-
-
-
-
-Here's the syntax
-
-
-<statement>:
- <channel-mask>=<function-name>(<arg-list>)
-
- You can either use a single statement with an RGBA channel-mask or you can use
- two statements; one with an A channel-mask and the other with an RGB
- channel-mask.
-
-<channel-mask>:
- A or RGB or RGBA
-
-<function-name>:
- [A-Za-z_]*
-
-<arg-list>:
- <arg>,<arg>
- or <arg>
- or ""
-
- I.e. functions may take 0 or more arguments
-
-<arg>:
- <color-source>
- 1 - <color-source> : Only intended for texture combining
- <color-source> * ( <factor> ) : Only intended for blending
- 0 : Only intended for blending
-
- See the blending or texture combining sections for further notes and examples.
-
-<color-source>:
- <source-name>[<channel-mask>]
- <source-name>
-
- See the blending or texture combining sections for the list of source-names
- valid in each context.
-
- If a channel mask is not given then the channel mask of the statement
- is assumed instead.
-
-<factor>:
- 0
- 1
- <color-source>
- 1-<color-source>
- SRC_ALPHA_SATURATE
-
-
-
-
-
-
-
-
-
diff --git a/doc/reference/cogl/cogl-docs.xml.in b/doc/reference/cogl/cogl-docs.xml.in
deleted file mode 100644
index 3cd1cf40d..000000000
--- a/doc/reference/cogl/cogl-docs.xml.in
+++ /dev/null
@@ -1,212 +0,0 @@
-
-
-]>
-
-
-
- Cogl Reference Manual
- for Cogl &version;
-
-
- 2008
- OpenedHand LTD
-
-
-
- 2009
- 2010
- Intel Corporation
-
-
-
-
- Permission is granted to copy, distribute and/or modify this
- document under the terms of the GNU Free
- Documentation License, Version 1.1 or any later
- version published by the Free Software Foundation with no
- Invariant Sections, no Front-Cover Texts, and no Back-Cover
- Texts. You may obtain a copy of the GNU Free
- Documentation License from the Free Software
- Foundation by visiting their Web site or by writing
- to:
-
-
- The Free Software Foundation, Inc.,
- 59 Temple Place - Suite 330,
- Boston, MA 02111-1307,
- USA
-
-
-
-
-
-
-
- Cogl - a modern 3D graphics API
-
-
- About Cogl
-
- Cogl is a modern 3D graphics API with associated utility
- APIs designed to expose the features of 3D graphics hardware
- using a more object oriented design than OpenGL. The library has
- primarily been driven by the practical needs of Clutter but it
- is not tied to any one toolkit or even constrained to developing
- UI toolkits.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Cogl experimental API
-
-
- About the experimental API
-
- Cogl has some experimental API developers are welcomed to play
- with. The main drawback when using those is that there is no API
- stability guarantee, functions flagged as experimental could be changed
- or removed in future versions of the library. To use this experimental
- API you will need to define
- COGL_ENABLE_EXPERIMENTAL_API before including
- or
- .
-
-
-
-
-
-
-
-
-
-
-
- Cogl deprecated API
-
-
-
- About the deprecated API
-
- Cogl has evolved from once being a thin abstraction over
- OpenGL and GLES where a lot of OpenGL's state machine style APIs
- were simply rebranded as Cogl API into the more distinguished API
- style we have today. The result of this evolution though is that
- some of the APIs are considered deprecated and because we plan to
- remove them at the next opportunity we have to break the API
- developers should aim to avoid these functions to keep their code
- working with future major versions of Cogl.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Glossaries
-
-
-
-
-
- Index of all symbols
-
-
-
-
- Index of deprecated symbols
-
-
-
-
- Index of new symbols in 0.8
-
-
-
-
- Index of new symbols in 1.0
-
-
-
-
- Index of new symbols in 1.2
-
-
-
-
- Index of new symbols in 1.4
-
-
-
-
- Index of new symbols in 1.6
-
-
-
-
- Index of new symbols in 1.8
-
-
-
-
- License
-
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General
- Public License as published by the Free Software
- Foundation; either version 2 of the License, or (at your option)
- any later version.
-
-
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Library General Public License for
- more details.
-
-
-
- You may obtain a copy of the GNU Library General
- Public License from the Free Software Foundation by
- visiting their Web
- site or by writing to:
-
-
- Free Software Foundation, Inc.
- 59 Temple Place - Suite 330
- Boston, MA 02111-1307
- USA
-
-
-
-
-
diff --git a/doc/reference/cogl/cogl-sections.txt b/doc/reference/cogl/cogl-sections.txt
deleted file mode 100644
index af510ce4e..000000000
--- a/doc/reference/cogl/cogl-sections.txt
+++ /dev/null
@@ -1,715 +0,0 @@
-
-cogl
-General API
-CoglObject
-cogl_object_ref
-cogl_object_unref
-CoglUserDataKey
-cogl_object_get_user_data
-cogl_object_set_user_data
-COGL_INVALID_HANDLE
-CoglHandle
-cogl_handle_ref
-cogl_handle_unref
-
-
-CoglFuncPtr
-CoglPixelFormat
-CoglBufferTarget
-CoglBufferBit
-CoglAttributeType
-
-
-CoglFeatureFlags
-cogl_get_features
-cogl_features_available
-cogl_get_proc_address
-cogl_get_option_group
-
-
-cogl_push_matrix
-cogl_pop_matrix
-cogl_scale
-cogl_translate
-cogl_rotate
-cogl_transform
-cogl_frustum
-cogl_perspective
-cogl_ortho
-
-
-cogl_get_modelview_matrix
-cogl_set_modelview_matrix
-cogl_get_projection_matrix
-cogl_set_projection_matrix
-cogl_set_viewport
-cogl_get_viewport
-
-
-cogl_clear
-cogl_set_backface_culling_enabled
-cogl_get_backface_culling_enabled
-
-
-CoglFogMode
-cogl_set_fog
-cogl_disable_fog
-
-
-cogl_set_source
-cogl_set_source_color
-cogl_set_source_color4ub
-cogl_set_source_color4f
-cogl_set_source_texture
-cogl_get_source
-cogl_push_source
-cogl_pop_source
-
-
-CoglReadPixelsFlags
-cogl_read_pixels
-
-
-cogl_flush
-cogl_begin_gl
-cogl_end_gl
-
-
-COGL_TYPE_ATTRIBUTE_TYPE
-COGL_TYPE_BLEND_STRING_ERROR
-COGL_TYPE_BUFFER_ACCESS
-COGL_TYPE_BUFFER_BIT
-COGL_TYPE_BUFFER_TARGET
-COGL_TYPE_BUFFER_UPDATE_HINT
-COGL_TYPE_BUFFER_USAGE_HINT
-COGL_TYPE_DEBUG_FLAGS
-COGL_TYPE_DRIVER_ERROR
-COGL_TYPE_FEATURE_FLAGS
-COGL_TYPE_FIXED
-COGL_TYPE_FOG_MODE
-COGL_TYPE_HANDLE
-COGL_TYPE_INDICES_TYPE
-COGL_TYPE_MATERIAL_ALPHA_FUNC
-COGL_TYPE_MATERIAL_FILTER
-COGL_TYPE_MATERIAL_LAYER_TYPE
-COGL_TYPE_PIXEL_FORMAT
-COGL_TYPE_READ_PIXELS_FLAGS
-COGL_TYPE_SHADER_TYPE
-COGL_TYPE_TEXTURE_FLAGS
-COGL_TYPE_VERTICES_MODE
-
-
-COGL_DRIVER_ERROR
-CoglDriverError
-cogl_attribute_type_get_type
-cogl_buffer_bit_get_type
-cogl_buffer_target_get_type
-cogl_debug_flags_get_type
-cogl_driver_error_get_type
-cogl_feature_flags_get_type
-cogl_fixed_get_type
-cogl_fog_mode_get_type
-cogl_handle_get_type
-cogl_indices_type_get_type
-cogl_material_alpha_func_get_type
-cogl_material_filter_get_type
-cogl_material_layer_type_get_type
-cogl_pixel_format_get_type
-cogl_read_pixels_flags_get_type
-cogl_shader_type_get_type
-cogl_texture_flags_get_type
-cogl_vertices_mode_get_type
-COGL_AFIRST_BIT
-COGL_A_BIT
-COGL_BGR_BIT
-COGL_PREMULT_BIT
-
-
-
-cogl-clipping
-Clipping
-cogl_clip_push_rectangle
-cogl_clip_push_window_rectangle
-cogl_clip_push_from_path
-cogl_clip_push_from_path_preserve
-cogl_clip_pop
-
-
-
-cogl-primitives
-Primitives
-cogl_rectangle
-cogl_rectangles
-cogl_rectangle_with_texture_coords
-cogl_rectangles_with_texture_coords
-cogl_rectangle_with_multitexture_coords
-cogl_polygon
-
-
-
-cogl-paths
-Path Primitives
-cogl_is_path
-cogl_path_new
-cogl_get_path
-cogl_set_path
-cogl_path_copy
-cogl_path_move_to
-cogl_path_close
-cogl_path_line_to
-cogl_path_curve_to
-cogl_path_arc
-cogl_path_rel_move_to
-cogl_path_rel_line_to
-cogl_path_rel_curve_to
-cogl_path_line
-cogl_path_polyline
-cogl_path_polygon
-cogl_path_rectangle
-cogl_path_round_rectangle
-cogl_path_ellipse
-
-
-CoglPathFillRule
-cogl_path_set_fill_rule
-cogl_path_get_fill_rule
-cogl_path_fill
-cogl_path_fill_preserve
-cogl_path_stroke
-cogl_path_stroke_preserve
-
-
-
-cogl-bitmap
-Bitmaps
-CoglBitmap
-cogl_bitmap_new_from_file
-cogl_bitmap_get_size_from_file
-cogl_is_bitmap
-CoglBitmapError
-COGL_BITMAP_ERROR
-
-cogl_bitmap_error_get_type
-cogl_bitmap_error_quark
-
-
-
-cogl-texture
-Textures
-CoglTextureVertex
-CoglTextureFlags
-cogl_texture_new_with_size
-cogl_texture_new_from_file
-cogl_texture_new_from_data
-cogl_texture_new_from_foreign
-cogl_texture_new_from_bitmap
-cogl_texture_new_from_sub_texture
-cogl_is_texture
-
-
-cogl_texture_get_width
-cogl_texture_get_height
-cogl_texture_get_format
-cogl_texture_get_rowstride
-cogl_texture_get_max_waste
-cogl_texture_is_sliced
-cogl_texture_get_gl_texture
-cogl_texture_get_data
-cogl_texture_set_region
-
-
-COGL_TEXTURE_MAX_WASTE
-
-
-
-cogl-texture-2d
-2D textures
-CoglTexture2D
-cogl_is_texture_2d
-cogl_texture_2d_new_with_size
-cogl_texture_2d_new_from_data
-cogl_texture_2d_gl_new_from_foreign
-
-
-
-cogl-texture-3d
-3D textures
-cogl_texture_3d_new_with_size
-cogl_texture_3d_new_from_data
-cogl_is_texture_3d
-
-
-
-cogl-shaders
-Shaders and Programmable Pipeline
-CoglShaderType
-cogl_create_shader
-cogl_is_shader
-cogl_shader_source
-cogl_shader_compile
-cogl_shader_get_info_log
-cogl_shader_get_type
-cogl_shader_is_compiled
-
-
-cogl_create_program
-cogl_is_program
-cogl_program_attach_shader
-cogl_program_link
-cogl_program_get_uniform_location
-cogl_program_set_uniform_1f
-cogl_program_set_uniform_1i
-cogl_program_set_uniform_float
-cogl_program_set_uniform_int
-cogl_program_set_uniform_matrix
-
-
-
-cogl-offscreen
-Offscreen Buffers
-cogl_offscreen_new_with_texture
-cogl_offscreen_new_to_texture
-cogl_is_offscreen
-cogl_set_framebuffer
-cogl_push_framebuffer
-cogl_pop_framebuffer
-cogl_set_draw_buffer
-cogl_pop_draw_buffer
-cogl_push_draw_buffer
-
-
-
-cogl-fixed
-Fixed Point API
-CoglFixed
-COGL_FIXED_BITS
-COGL_FIXED_Q
-COGL_FIXED_MAX
-COGL_FIXED_MIN
-
-
-COGL_FIXED_FROM_FLOAT
-COGL_FIXED_TO_FLOAT
-COGL_FIXED_FROM_INT
-COGL_FIXED_TO_INT
-COGL_FIXED_FROM_DOUBLE
-COGL_FIXED_TO_DOUBLE
-COGL_FLOAT_TO_INT
-COGL_FLOAT_TO_UINT
-
-
-COGL_FIXED_EPSILON
-COGL_FIXED_1
-COGL_FIXED_0_5
-COGL_FIXED_30
-COGL_FIXED_45
-COGL_FIXED_60
-COGL_FIXED_90
-COGL_FIXED_120
-COGL_FIXED_180
-COGL_FIXED_240
-COGL_FIXED_255
-COGL_FIXED_270
-COGL_FIXED_360
-
-
-COGL_FIXED_MUL
-COGL_FIXED_DIV
-COGL_FIXED_MUL_DIV
-COGL_FIXED_FAST_DIV
-COGL_FIXED_FAST_MUL
-COGL_FIXED_FRACTION
-COGL_FIXED_FLOOR
-COGL_FIXED_CEIL
-
-
-COGL_FIXED_2_PI
-COGL_FIXED_PI
-COGL_FIXED_PI_2
-COGL_FIXED_PI_4
-COGL_RADIANS_TO_DEGREES
-
-
-COGL_SQRTI_ARG_10_PERCENT
-COGL_SQRTI_ARG_5_PERCENT
-COGL_SQRTI_ARG_MAX
-cogl_sqrti
-
-
-cogl_fixed_atan2
-cogl_fixed_atan
-cogl_fixed_cos
-cogl_fixed_log2
-cogl_fixed_pow
-cogl_fixed_pow2
-cogl_fixed_sin
-cogl_fixed_sqrt
-cogl_fixed_tan
-cogl_fixed_div
-cogl_fixed_mul
-cogl_fixed_mul_div
-
-
-CoglAngle
-COGL_ANGLE_FROM_DEG
-COGL_ANGLE_FROM_DEGX
-COGL_ANGLE_TO_DEG
-COGL_ANGLE_TO_DEGX
-cogl_angle_cos
-cogl_angle_sin
-cogl_angle_tan
-
-
-cogl_double_to_fixed
-cogl_double_to_int
-cogl_double_to_uint
-
-
-
-cogl-color
-Color Type
-CoglColor
-cogl_color_new
-cogl_color_copy
-cogl_color_free
-cogl_color_init_from_4f
-cogl_color_init_from_4fv
-cogl_color_init_from_4ub
-cogl_color_set_from_4ub
-cogl_color_set_from_4f
-
-
-cogl_color_get_red
-cogl_color_get_green
-cogl_color_get_blue
-cogl_color_get_alpha
-
-
-cogl_color_get_red_byte
-cogl_color_get_green_byte
-cogl_color_get_blue_byte
-cogl_color_get_alpha_byte
-
-
-cogl_color_get_red_float
-cogl_color_get_green_float
-cogl_color_get_blue_float
-cogl_color_get_alpha_float
-
-
-cogl_color_set_red
-cogl_color_set_green
-cogl_color_set_blue
-cogl_color_set_alpha
-
-
-cogl_color_set_red_byte
-cogl_color_set_green_byte
-cogl_color_set_blue_byte
-cogl_color_set_alpha_byte
-
-
-cogl_color_set_red_float
-cogl_color_set_green_float
-cogl_color_set_blue_float
-cogl_color_set_alpha_float
-
-
-cogl_color_premultiply
-cogl_color_unpremultiply
-cogl_color_equal
-
-
-cogl_color_init_from_hsl
-cogl_color_to_hsl
-
-
-
-cogl-vertex-buffer
-Vertex Buffers
-cogl_vertex_buffer_new
-cogl_vertex_buffer_get_n_vertices
-cogl_vertex_buffer_add
-cogl_vertex_buffer_delete
-cogl_vertex_buffer_submit
-cogl_vertex_buffer_disable
-cogl_vertex_buffer_enable
-CoglVerticesMode
-cogl_vertex_buffer_draw
-cogl_is_vertex_buffer
-
-
-CoglIndicesType
-cogl_vertex_buffer_indices_new
-cogl_vertex_buffer_draw_elements
-cogl_vertex_buffer_indices_get_for_quads
-cogl_is_vertex_buffer_indices
-
-
-cogl_vertex_buffer_indices_get_type
-
-
-
-cogl-matrix
-Matrices
-CoglMatrix
-cogl_matrix_init_identity
-cogl_matrix_copy
-cogl_matrix_equal
-cogl_matrix_free
-cogl_matrix_frustum
-cogl_matrix_ortho
-cogl_matrix_perspective
-cogl_matrix_multiply
-cogl_matrix_rotate
-cogl_matrix_translate
-cogl_matrix_scale
-cogl_matrix_transpose
-cogl_matrix_init_from_array
-cogl_matrix_get_array
-cogl_matrix_get_inverse
-cogl_matrix_transform_point
-cogl_matrix_project_points
-cogl_matrix_transform_points
-cogl_matrix_is_identity
-
-
-
-cogl-material
-Materials
-CoglMaterial
-CoglMaterialLayer
-CoglMaterialLayerCallback
-cogl_material_new
-cogl_material_copy
-cogl_is_material
-cogl_material_set_color
-cogl_material_set_color4ub
-cogl_material_set_color4f
-cogl_material_get_color
-cogl_material_set_ambient
-cogl_material_get_ambient
-cogl_material_set_diffuse
-cogl_material_get_diffuse
-cogl_material_set_ambient_and_diffuse
-cogl_material_set_emission
-cogl_material_get_emission
-cogl_material_set_specular
-cogl_material_get_specular
-cogl_material_set_shininess
-cogl_material_get_shininess
-CoglMaterialAlphaFunc
-cogl_material_set_alpha_test_function
-COGL_BLEND_STRING_ERROR
-CoglBlendStringError
-cogl_material_set_blend
-cogl_material_set_blend_constant
-cogl_material_set_point_size
-cogl_material_get_point_size
-cogl_material_set_layer
-cogl_material_remove_layer
-cogl_material_set_layer_combine
-cogl_material_set_layer_combine_constant
-cogl_material_set_layer_matrix
-cogl_material_set_layer_point_sprite_coords_enabled
-cogl_material_get_layer_point_sprite_coords_enabled
-cogl_material_get_n_layers
-CoglMaterialFilter
-cogl_material_set_layer_filters
-CoglMaterialLayerType
-cogl_material_layer_get_type
-cogl_material_layer_get_texture
-cogl_material_layer_get_min_filter
-cogl_material_layer_get_mag_filter
-CoglMaterialWrapMode
-cogl_material_set_layer_wrap_mode
-cogl_material_set_layer_wrap_mode_s
-cogl_material_set_layer_wrap_mode_t
-cogl_material_set_layer_wrap_mode_p
-cogl_material_get_layer_wrap_mode_s
-cogl_material_get_layer_wrap_mode_t
-cogl_material_get_layer_wrap_mode_p
-cogl_material_wrap_mode_get_type
-cogl_material_set_user_program
-cogl_material_get_user_program
-cogl_material_foreach_layer
-
-
-cogl_blend_string_error_get_type
-cogl_blend_string_error_quark
-
-
-
-cogl-depth-state
-CoglDepthState
-cogl_depth_state_init
-cogl_depth_state_set_test_enabled
-cogl_depth_state_get_test_enabled
-cogl_depth_state_set_test_function
-cogl_depth_state_get_test_function
-cogl_depth_state_set_writing_enabled
-cogl_depth_state_get_writing_enabled
-cogl_depth_state_set_range
-cogl_depth_state_get_range
-
-
-
-cogl-buffer
-Buffers
-cogl_is_buffer
-cogl_buffer_get_size
-CoglBufferUsageHint
-cogl_buffer_set_usage_hint
-cogl_buffer_get_usage_hint
-CoglBufferUpdateHint
-cogl_buffer_set_update_hint
-cogl_buffer_get_update_hint
-CoglBufferAccess
-cogl_buffer_map
-cogl_buffer_unmap
-cogl_buffer_set_data
-
-
-cogl_pixel_buffer_new
-cogl_is_pixel_buffer
-
-
-cogl_buffer_access_get_type
-cogl_buffer_update_hint_get_type
-cogl_buffer_usage_hint_get_type
-
-
-
-cogl-vector
-Vectors
-cogl_vector3_init
-cogl_vector3_init_zero
-cogl_vector3_equal
-cogl_vector3_equal_with_epsilon
-cogl_vector3_copy
-cogl_vector3_free
-cogl_vector3_invert
-cogl_vector3_add
-cogl_vector3_subtract
-cogl_vector3_multiply_scalar
-cogl_vector3_divide_scalar
-cogl_vector3_normalize
-cogl_vector3_magnitude
-cogl_vector3_cross_product
-cogl_vector3_dot_product
-cogl_vector3_distance
-
-
-
-cogl-gtype
-GType Integration API
-cogl_gtype_matrix_get_type
-
-
-
-cogl-deprecated
-General API (Deprecated)
-cogl_check_extension
-cogl_viewport
-
-cogl_get_bitmasks
-
-cogl_set_depth_test_enabled
-cogl_get_depth_test_enabled
-
-
-
-cogl-clipping-deprecated
-Clipping (Deprecated)
-cogl_clip_push
-cogl_clip_push_window_rect
-cogl_clip_ensure
-cogl_clip_stack_save
-cogl_clip_stack_restore
-
-
-
-cogl-texture-deprecated
-Textures (Deprecated)
-cogl_texture_ref
-cogl_texture_unref
-
-
-
-cogl-material-deprecated
-Materials (Deprecated)
-cogl_material_ref
-cogl_material_unref
-cogl_material_get_layers
-
-
-
-cogl-vertex-buffer-deprecated
-Vertex Buffers (Deprecated)
-cogl_vertex_buffer_ref
-cogl_vertex_buffer_unref
-
-
-
-cogl-shaders-deprecated
-Shaders and Programmable Pipeline (Deprecated)
-cogl_shader_ref
-cogl_shader_unref
-
-
-cogl_program_ref
-cogl_program_unref
-cogl_program_use
-cogl_program_uniform_1f
-cogl_program_uniform_1i
-cogl_program_uniform_float
-cogl_program_uniform_int
-cogl_program_uniform_matrix
-
-
-
-cogl-offscreen-deprecated
-Offscreen Buffers (Deprecated)
-cogl_offscreen_ref
-cogl_offscreen_unref
-
-
-
-cogl-euler
-Eulers (Rotations)
-CoglEuler
-cogl_euler_init
-cogl_euler_init_from_matrix
-cogl_euler_init_from_quaternion
-cogl_euler_equal
-cogl_euler_copy
-cogl_euler_free
-
-
-
-cogl-quaternion
-Quaternions (Rotations)
-CoglQuaternion
-cogl_quaternion_init_identity
-cogl_quaternion_init
-cogl_quaternion_init_from_angle_vector
-cogl_quaternion_init_from_array
-cogl_quaternion_init_from_x_rotation
-cogl_quaternion_init_from_y_rotation
-cogl_quaternion_init_from_z_rotation
-cogl_quaternion_equal
-cogl_quaternion_copy
-cogl_quaternion_free
-cogl_quaternion_get_rotation_angle
-cogl_quaternion_get_rotation_axis
-cogl_quaternion_normalize
-cogl_quaternion_dot_product
-cogl_quaternion_invert
-cogl_quaternion_multiply
-cogl_quaternion_pow
-cogl_quaternion_slerp
-cogl_quaternion_nlerp
-cogl_quaternion_squad
-cogl_get_static_identity_quaternion
-cogl_get_static_zero_quaternion
-
diff --git a/doc/reference/cogl/cogl_ortho.png b/doc/reference/cogl/cogl_ortho.png
deleted file mode 100644
index 2c2a1fd20..000000000
Binary files a/doc/reference/cogl/cogl_ortho.png and /dev/null differ
diff --git a/doc/reference/cogl/fill-rule-even-odd.png b/doc/reference/cogl/fill-rule-even-odd.png
deleted file mode 100644
index 1e4fbb0f2..000000000
Binary files a/doc/reference/cogl/fill-rule-even-odd.png and /dev/null differ
diff --git a/doc/reference/cogl/fill-rule-non-zero.png b/doc/reference/cogl/fill-rule-non-zero.png
deleted file mode 100644
index 2d8ad314c..000000000
Binary files a/doc/reference/cogl/fill-rule-non-zero.png and /dev/null differ
diff --git a/doc/reference/cogl/quad-indices-order.png b/doc/reference/cogl/quad-indices-order.png
deleted file mode 100644
index a31d95d48..000000000
Binary files a/doc/reference/cogl/quad-indices-order.png and /dev/null differ
diff --git a/doc/reference/cogl/quad-indices-triangles.png b/doc/reference/cogl/quad-indices-triangles.png
deleted file mode 100644
index 18c42c845..000000000
Binary files a/doc/reference/cogl/quad-indices-triangles.png and /dev/null differ