cogl: Adds experimental CoglPrimitive API
authorRobert Bragg <robert@linux.intel.com>
Tue, 12 Oct 2010 11:54:07 +0000 (12:54 +0100)
committerRobert Bragg <robert@linux.intel.com>
Wed, 3 Nov 2010 18:04:31 +0000 (18:04 +0000)
commit0cd077dc7efc5ed3cb982ffa6c7f4f5276867338
treecdabd587c47f09562782f2f2c3af0461931d213b
parentdd63078bd3e4fae8fced0a2c8801bee145f9c24b
cogl: Adds experimental CoglPrimitive API

A CoglPrimitive is a retainable object for drawing a single primitive,
such as a triangle strip, fan or list.

CoglPrimitives build on CoglVertexAttributes and CoglIndices which
themselves build on CoglVertexArrays and CoglIndexArrays respectively.

A CoglPrimitive encapsulates enough information such that it can be
retained in a queue (e.g. the Cogl Journal, or renderlists in the
future) and drawn at some later time.
clutter/cogl/cogl/Makefile.am
clutter/cogl/cogl/cogl-primitive-private.h [new file with mode: 0644]
clutter/cogl/cogl/cogl-primitive.c [new file with mode: 0644]
clutter/cogl/cogl/cogl-primitive.h [new file with mode: 0644]
clutter/cogl/cogl/cogl.h