cogl-buffer: add an abstract class around openGL's buffer objects
authorDamien Lespiau <damien.lespiau@intel.com>
Sun, 10 Jan 2010 17:28:24 +0000 (17:28 +0000)
committerDamien Lespiau <damien.lespiau@intel.com>
Mon, 8 Feb 2010 17:14:49 +0000 (17:14 +0000)
commitb5e9710cdf5795f532fe46b9dfcc704a07d99ac9
tree4480932021d094af3aa4a80e01a24177374307d4
parentde8a6314f12854e748de515afb487af56eaac845
cogl-buffer: add an abstract class around openGL's buffer objects

Buffer objects are cool! This abstracts the buffer API first introduced
by GL_ARB_vertex_buffer_object and then extended to other objects.

The coglBuffer abstract class is intended to be the base class of all
the buffer objects, letting the user map() buffers. If the underlying
implementation does not support buffer objects (or only support VBO but
not FBO for instance), fallback paths should be provided.
clutter/cogl/cogl/Makefile.am
clutter/cogl/cogl/cogl-buffer-private.h [new file with mode: 0644]
clutter/cogl/cogl/cogl-buffer.c [new file with mode: 0644]
clutter/cogl/cogl/cogl-buffer.h [new file with mode: 0644]
clutter/cogl/cogl/cogl-context.c
clutter/cogl/cogl/cogl-context.h
clutter/cogl/cogl/cogl.h
doc/reference/cogl/cogl-docs.xml.in
doc/reference/cogl/cogl-sections.txt