mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
Move all types/prototypes from cogl.h -> cogl[1]-context.h
So we can get to the point where cogl.h is merely an aggregation of header includes for the 1.x api this moves all the function prototypes and type definitions into a cogl-context.h and a new cogl1-context.h. Ideally no code internally should ever need to include cogl.h as it just represents the public facing header for accessing the 1.x api which should only be used by Clutter. Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
@ -31,6 +31,11 @@
|
||||
#ifndef __COGL_ATTRIBUTE_H__
|
||||
#define __COGL_ATTRIBUTE_H__
|
||||
|
||||
/* We forward declare the CoglAttribute type here to avoid some circular
|
||||
* dependency issues with the following headers.
|
||||
*/
|
||||
typedef struct _CoglAttribute CoglAttribute;
|
||||
|
||||
#include <cogl/cogl-attribute-buffer.h>
|
||||
#include <cogl/cogl-indices.h>
|
||||
|
||||
@ -44,8 +49,6 @@ G_BEGIN_DECLS
|
||||
* FIXME
|
||||
*/
|
||||
|
||||
typedef struct _CoglAttribute CoglAttribute;
|
||||
|
||||
/**
|
||||
* cogl_attribute_new:
|
||||
* @attribute_buffer: The #CoglAttributeBuffer containing the actual
|
||||
|
Reference in New Issue
Block a user