[cogl/wip/gles2-context: 8/12] Add more GL functions to cogl/cogl-ext-functions.h
- From: Tomeu Vizoso <tomeuv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wip/gles2-context: 8/12] Add more GL functions to cogl/cogl-ext-functions.h
- Date: Thu, 29 Dec 2011 09:55:25 +0000 (UTC)
commit 11dd389693546dbd2d221896dd4e2816704f6a36
Author: Tomeu Vizoso <tomeu vizoso collabora com>
Date: Mon Dec 19 19:29:05 2011 +0100
Add more GL functions to cogl/cogl-ext-functions.h
cogl/cogl-ext-functions.h | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-ext-functions.h b/cogl/cogl-ext-functions.h
index f239c84..804d109 100644
--- a/cogl/cogl-ext-functions.h
+++ b/cogl/cogl-ext-functions.h
@@ -136,10 +136,16 @@ COGL_EXT_FUNCTION (void, glScissor,
(GLint x, GLint y, GLsizei width, GLsizei height))
COGL_EXT_FUNCTION (void, glStencilFunc,
(GLenum func, GLint ref, GLuint mask))
+COGL_EXT_FUNCTION (void, glStencilFuncSeparate,
+ (GLenum face, GLenum func, GLint ref, GLuint mask))
COGL_EXT_FUNCTION (void, glStencilMask,
(GLuint mask))
+COGL_EXT_FUNCTION (void, glStencilMaskSeparate,
+ (GLenum face, GLuint mask))
COGL_EXT_FUNCTION (void, glStencilOp,
(GLenum fail, GLenum zfail, GLenum zpass))
+COGL_EXT_FUNCTION (void, glStencilOpSeparate,
+ (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass))
COGL_EXT_FUNCTION (void, glTexImage2D,
(GLenum target,
GLint level,
@@ -178,6 +184,14 @@ COGL_EXT_FUNCTION (void, glGetActiveAttrib,
GLint* size,
GLenum* type,
GLchar* name))
+COGL_EXT_FUNCTION (void, glGetActiveUniform,
+ (GLuint program,
+ GLuint index,
+ GLsizei bufSize,
+ GLsizei *length,
+ GLint *size,
+ GLenum *type,
+ GLchar *name))
COGL_EXT_FUNCTION (void, glColor3f,
(GLfloat red,
GLfloat green,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]