4 * An object oriented GL/GLES Abstraction/Utility Layer
6 * Copyright (C) 2010 Intel Corporation.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library. If not, see
20 * <http://www.gnu.org/licenses/>.
25 * Robert Bragg <robert@linux.intel.com>
28 #ifndef __COGL_PRIMITIVE_PRIVATE_H
29 #define __COGL_PRIMITIVE_PRIVATE_H
31 #include "cogl-object-private.h"
32 #include "cogl-attribute-buffer-private.h"
33 #include "cogl-attribute-private.h"
39 CoglVerticesMode mode;
46 CoglAttribute **attributes;
49 int n_embedded_attributes;
50 CoglAttribute *embedded_attribute;
54 _cogl_primitive_immutable_ref (CoglPrimitive *primitive);
57 _cogl_primitive_immutable_unref (CoglPrimitive *primitive);
60 _cogl_primitive_draw (CoglPrimitive *primitive,
63 #endif /* __COGL_PRIMITIVE_PRIVATE_H */