4
* An object oriented GL/GLES Abstraction/Utility Layer
6
* Copyright (C) 2009 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 <http://www.gnu.org/licenses/>.
24
/* This is included multiple times with different definitions for
27
COGL_FEATURE_BEGIN (offscreen, 255, 255,
28
/* for some reason the ARB version of this
29
extension doesn't have an ARB suffix for the
32
"framebuffer_object\0",
33
COGL_FEATURE_OFFSCREEN)
34
COGL_FEATURE_FUNCTION (void, glGenRenderbuffers,
36
GLuint *renderbuffers))
37
COGL_FEATURE_FUNCTION (void, glDeleteRenderbuffers,
39
const GLuint *renderbuffers))
40
COGL_FEATURE_FUNCTION (void, glBindRenderbuffer,
43
COGL_FEATURE_FUNCTION (void, glRenderbufferStorage,
45
GLenum internalformat,
48
COGL_FEATURE_FUNCTION (void, glGenFramebuffers,
50
GLuint *framebuffers))
51
COGL_FEATURE_FUNCTION (void, glBindFramebuffer,
54
COGL_FEATURE_FUNCTION (void, glFramebufferTexture2D,
60
COGL_FEATURE_FUNCTION (void, glFramebufferRenderbuffer,
63
GLenum renderbuffertarget,
65
COGL_FEATURE_FUNCTION (GLenum, glCheckFramebufferStatus,
67
COGL_FEATURE_FUNCTION (void, glDeleteFramebuffers,
69
const GLuint *framebuffers))
70
COGL_FEATURE_FUNCTION (void, glGenerateMipmap,
74
COGL_FEATURE_BEGIN (element_index_uint, 255, 255,
76
"element_index_uint\0",
77
COGL_FEATURE_UNSIGNED_INT_INDICES)