diff options
author | Robert Bragg <robert@linux.intel.com> | 2011-09-07 23:44:37 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2011-09-19 16:35:59 +0100 |
commit | 9b58b6f4729b7d359a5b01f47bb2f7647c977d98 (patch) | |
tree | 731a174ec86dffcd77b595ac7419986909335cae /cogl/cogl.h | |
parent | c7969a33af44f043fadc418ca4ede1d3c1b1444f (diff) | |
download | cogl-9b58b6f4729b7d359a5b01f47bb2f7647c977d98.tar.gz |
pipeline: split out all core state apis
Since cogl-pipeline.c has become very unwieldy this make a start at
trying to shape this code back into a manageable state. This patche
moves all the API relating to core pipeline state into
cogl-pipeline-state.c. This doesn't move code relating to layer state
out nor does it move any of the code supporting the core design
of CoglPipeline itself.
This change alone factors out 2k lines of code from cogl-pipeline.c
which is obviously a good start. The next step will be to factor
out the layer state and then probably look at breaking all of this
state code down into state-groups.
Reviewed-by: Neil Roberts <neil@linux.intel.com>
Diffstat (limited to 'cogl/cogl.h')
-rw-r--r-- | cogl/cogl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cogl/cogl.h b/cogl/cogl.h index ff7f8f46..6d433c29 100644 --- a/cogl/cogl.h +++ b/cogl/cogl.h @@ -88,6 +88,7 @@ typedef struct _CoglFramebuffer CoglFramebuffer; #include <cogl/cogl-primitive.h> #include <cogl/cogl-depth-state.h> #include <cogl/cogl-pipeline.h> +#include <cogl/cogl-pipeline-state.h> #include <cogl/cogl-framebuffer.h> #ifdef COGL_HAS_XLIB #include <cogl/cogl-xlib.h> |