summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorStanislav Vorobiov <s.vorobiov@samsung.com>2014-01-31 13:14:29 +0400
committerStanislav Vorobiov <s.vorobiov@samsung.com>2014-01-31 13:14:29 +0400
commit903c1dd7e8e74dab9e25e468debdf33f479f0871 (patch)
tree9942ecb1eae3e5fe421f63c4bda5eccf310b82ba /hw
parentc76af443179acd9abd17d4455359c4cb1cf8be74 (diff)
downloadqemu-903c1dd7e8e74dab9e25e468debdf33f479f0871.tar.gz
qemu-903c1dd7e8e74dab9e25e468debdf33f479f0871.tar.bz2
qemu-903c1dd7e8e74dab9e25e468debdf33f479f0871.zip
YaGL: glClearBuffer implemented
Change-Id: Iec15d54b9b4276fd8b669d978551c12ed8141359
Diffstat (limited to 'hw')
-rw-r--r--hw/yagl/yagl_apis/gles/yagl_gles_calls.c405
-rw-r--r--hw/yagl/yagl_apis/gles/yagl_host_gles_calls.c29
-rw-r--r--hw/yagl/yagl_apis/gles/yagl_host_gles_calls.h13
-rw-r--r--hw/yagl/yagl_drivers/gles_ogl/yagl_gles_ogl.c4
-rw-r--r--hw/yagl/yagl_gles_driver.h4
5 files changed, 289 insertions, 166 deletions
diff --git a/hw/yagl/yagl_apis/gles/yagl_gles_calls.c b/hw/yagl/yagl_apis/gles/yagl_gles_calls.c
index 9bafff3ba2..05040737dd 100644
--- a/hw/yagl/yagl_apis/gles/yagl_gles_calls.c
+++ b/hw/yagl/yagl_apis/gles/yagl_gles_calls.c
@@ -1386,7 +1386,76 @@ static void yagl_func_glFramebufferTextureLayer(struct yagl_transport *t)
}
/*
- * glGenRenderbuffers dispatcher. id = 71
+ * glClearBufferiv dispatcher. id = 71
+ */
+static void yagl_func_glClearBufferiv(struct yagl_transport *t)
+{
+ GLenum buffer;
+ GLint drawbuffer;
+ const GLint *value;
+ int32_t value_count;
+ buffer = yagl_transport_get_out_GLenum(t);
+ drawbuffer = yagl_transport_get_out_GLint(t);
+ yagl_transport_get_out_array(t, sizeof(GLint), (const void**)&value, &value_count);
+ YAGL_LOG_FUNC_ENTER_SPLIT3(glClearBufferiv, GLenum, GLint, void*, buffer, drawbuffer, value);
+ (void)yagl_host_glClearBufferiv(buffer, drawbuffer, value, value_count);
+ YAGL_LOG_FUNC_EXIT(NULL);
+}
+
+/*
+ * glClearBufferuiv dispatcher. id = 72
+ */
+static void yagl_func_glClearBufferuiv(struct yagl_transport *t)
+{
+ GLenum buffer;
+ GLint drawbuffer;
+ const GLuint *value;
+ int32_t value_count;
+ buffer = yagl_transport_get_out_GLenum(t);
+ drawbuffer = yagl_transport_get_out_GLint(t);
+ yagl_transport_get_out_array(t, sizeof(GLuint), (const void**)&value, &value_count);
+ YAGL_LOG_FUNC_ENTER_SPLIT3(glClearBufferuiv, GLenum, GLint, void*, buffer, drawbuffer, value);
+ (void)yagl_host_glClearBufferuiv(buffer, drawbuffer, value, value_count);
+ YAGL_LOG_FUNC_EXIT(NULL);
+}
+
+/*
+ * glClearBufferfi dispatcher. id = 73
+ */
+static void yagl_func_glClearBufferfi(struct yagl_transport *t)
+{
+ GLenum buffer;
+ GLint drawbuffer;
+ GLfloat depth;
+ GLint stencil;
+ buffer = yagl_transport_get_out_GLenum(t);
+ drawbuffer = yagl_transport_get_out_GLint(t);
+ depth = yagl_transport_get_out_GLfloat(t);
+ stencil = yagl_transport_get_out_GLint(t);
+ YAGL_LOG_FUNC_ENTER_SPLIT4(glClearBufferfi, GLenum, GLint, GLfloat, GLint, buffer, drawbuffer, depth, stencil);
+ (void)yagl_host_glClearBufferfi(buffer, drawbuffer, depth, stencil);
+ YAGL_LOG_FUNC_EXIT(NULL);
+}
+
+/*
+ * glClearBufferfv dispatcher. id = 74
+ */
+static void yagl_func_glClearBufferfv(struct yagl_transport *t)
+{
+ GLenum buffer;
+ GLint drawbuffer;
+ const GLfloat *value;
+ int32_t value_count;
+ buffer = yagl_transport_get_out_GLenum(t);
+ drawbuffer = yagl_transport_get_out_GLint(t);
+ yagl_transport_get_out_array(t, sizeof(GLfloat), (const void**)&value, &value_count);
+ YAGL_LOG_FUNC_ENTER_SPLIT3(glClearBufferfv, GLenum, GLint, void*, buffer, drawbuffer, value);
+ (void)yagl_host_glClearBufferfv(buffer, drawbuffer, value, value_count);
+ YAGL_LOG_FUNC_EXIT(NULL);
+}
+
+/*
+ * glGenRenderbuffers dispatcher. id = 75
*/
static void yagl_func_glGenRenderbuffers(struct yagl_transport *t)
{
@@ -1399,7 +1468,7 @@ static void yagl_func_glGenRenderbuffers(struct yagl_transport *t)
}
/*
- * glBindRenderbuffer dispatcher. id = 72
+ * glBindRenderbuffer dispatcher. id = 76
*/
static void yagl_func_glBindRenderbuffer(struct yagl_transport *t)
{
@@ -1413,7 +1482,7 @@ static void yagl_func_glBindRenderbuffer(struct yagl_transport *t)
}
/*
- * glRenderbufferStorage dispatcher. id = 73
+ * glRenderbufferStorage dispatcher. id = 77
*/
static void yagl_func_glRenderbufferStorage(struct yagl_transport *t)
{
@@ -1431,7 +1500,7 @@ static void yagl_func_glRenderbufferStorage(struct yagl_transport *t)
}
/*
- * glGetRenderbufferParameteriv dispatcher. id = 74
+ * glGetRenderbufferParameteriv dispatcher. id = 78
*/
static void yagl_func_glGetRenderbufferParameteriv(struct yagl_transport *t)
{
@@ -1447,7 +1516,7 @@ static void yagl_func_glGetRenderbufferParameteriv(struct yagl_transport *t)
}
/*
- * glRenderbufferStorageMultisample dispatcher. id = 75
+ * glRenderbufferStorageMultisample dispatcher. id = 79
*/
static void yagl_func_glRenderbufferStorageMultisample(struct yagl_transport *t)
{
@@ -1467,7 +1536,7 @@ static void yagl_func_glRenderbufferStorageMultisample(struct yagl_transport *t)
}
/*
- * glCreateProgram dispatcher. id = 76
+ * glCreateProgram dispatcher. id = 80
*/
static void yagl_func_glCreateProgram(struct yagl_transport *t)
{
@@ -1479,7 +1548,7 @@ static void yagl_func_glCreateProgram(struct yagl_transport *t)
}
/*
- * glCreateShader dispatcher. id = 77
+ * glCreateShader dispatcher. id = 81
*/
static void yagl_func_glCreateShader(struct yagl_transport *t)
{
@@ -1493,7 +1562,7 @@ static void yagl_func_glCreateShader(struct yagl_transport *t)
}
/*
- * glShaderSource dispatcher. id = 78
+ * glShaderSource dispatcher. id = 82
*/
static void yagl_func_glShaderSource(struct yagl_transport *t)
{
@@ -1508,7 +1577,7 @@ static void yagl_func_glShaderSource(struct yagl_transport *t)
}
/*
- * glAttachShader dispatcher. id = 79
+ * glAttachShader dispatcher. id = 83
*/
static void yagl_func_glAttachShader(struct yagl_transport *t)
{
@@ -1522,7 +1591,7 @@ static void yagl_func_glAttachShader(struct yagl_transport *t)
}
/*
- * glDetachShader dispatcher. id = 80
+ * glDetachShader dispatcher. id = 84
*/
static void yagl_func_glDetachShader(struct yagl_transport *t)
{
@@ -1536,7 +1605,7 @@ static void yagl_func_glDetachShader(struct yagl_transport *t)
}
/*
- * glCompileShader dispatcher. id = 81
+ * glCompileShader dispatcher. id = 85
*/
static void yagl_func_glCompileShader(struct yagl_transport *t)
{
@@ -1548,7 +1617,7 @@ static void yagl_func_glCompileShader(struct yagl_transport *t)
}
/*
- * glBindAttribLocation dispatcher. id = 82
+ * glBindAttribLocation dispatcher. id = 86
*/
static void yagl_func_glBindAttribLocation(struct yagl_transport *t)
{
@@ -1565,7 +1634,7 @@ static void yagl_func_glBindAttribLocation(struct yagl_transport *t)
}
/*
- * glGetActiveAttrib dispatcher. id = 83
+ * glGetActiveAttrib dispatcher. id = 87
*/
static void yagl_func_glGetActiveAttrib(struct yagl_transport *t)
{
@@ -1588,7 +1657,7 @@ static void yagl_func_glGetActiveAttrib(struct yagl_transport *t)
}
/*
- * glGetActiveUniform dispatcher. id = 84
+ * glGetActiveUniform dispatcher. id = 88
*/
static void yagl_func_glGetActiveUniform(struct yagl_transport *t)
{
@@ -1611,7 +1680,7 @@ static void yagl_func_glGetActiveUniform(struct yagl_transport *t)
}
/*
- * glGetAttribLocation dispatcher. id = 85
+ * glGetAttribLocation dispatcher. id = 89
*/
static void yagl_func_glGetAttribLocation(struct yagl_transport *t)
{
@@ -1628,7 +1697,7 @@ static void yagl_func_glGetAttribLocation(struct yagl_transport *t)
}
/*
- * glGetProgramiv dispatcher. id = 86
+ * glGetProgramiv dispatcher. id = 90
*/
static void yagl_func_glGetProgramiv(struct yagl_transport *t)
{
@@ -1644,7 +1713,7 @@ static void yagl_func_glGetProgramiv(struct yagl_transport *t)
}
/*
- * glGetProgramInfoLog dispatcher. id = 87
+ * glGetProgramInfoLog dispatcher. id = 91
*/
static void yagl_func_glGetProgramInfoLog(struct yagl_transport *t)
{
@@ -1663,7 +1732,7 @@ static void yagl_func_glGetProgramInfoLog(struct yagl_transport *t)
}
/*
- * glGetShaderiv dispatcher. id = 88
+ * glGetShaderiv dispatcher. id = 92
*/
static void yagl_func_glGetShaderiv(struct yagl_transport *t)
{
@@ -1679,7 +1748,7 @@ static void yagl_func_glGetShaderiv(struct yagl_transport *t)
}
/*
- * glGetShaderInfoLog dispatcher. id = 89
+ * glGetShaderInfoLog dispatcher. id = 93
*/
static void yagl_func_glGetShaderInfoLog(struct yagl_transport *t)
{
@@ -1698,7 +1767,7 @@ static void yagl_func_glGetShaderInfoLog(struct yagl_transport *t)
}
/*
- * glGetUniformfv dispatcher. id = 90
+ * glGetUniformfv dispatcher. id = 94
*/
static void yagl_func_glGetUniformfv(struct yagl_transport *t)
{
@@ -1719,7 +1788,7 @@ static void yagl_func_glGetUniformfv(struct yagl_transport *t)
}
/*
- * glGetUniformiv dispatcher. id = 91
+ * glGetUniformiv dispatcher. id = 95
*/
static void yagl_func_glGetUniformiv(struct yagl_transport *t)
{
@@ -1740,7 +1809,7 @@ static void yagl_func_glGetUniformiv(struct yagl_transport *t)
}
/*
- * glGetUniformLocation dispatcher. id = 92
+ * glGetUniformLocation dispatcher. id = 96
*/
static void yagl_func_glGetUniformLocation(struct yagl_transport *t)
{
@@ -1757,7 +1826,7 @@ static void yagl_func_glGetUniformLocation(struct yagl_transport *t)
}
/*
- * glGetVertexAttribfv dispatcher. id = 93
+ * glGetVertexAttribfv dispatcher. id = 97
*/
static void yagl_func_glGetVertexAttribfv(struct yagl_transport *t)
{
@@ -1776,7 +1845,7 @@ static void yagl_func_glGetVertexAttribfv(struct yagl_transport *t)
}
/*
- * glGetVertexAttribiv dispatcher. id = 94
+ * glGetVertexAttribiv dispatcher. id = 98
*/
static void yagl_func_glGetVertexAttribiv(struct yagl_transport *t)
{
@@ -1795,7 +1864,7 @@ static void yagl_func_glGetVertexAttribiv(struct yagl_transport *t)
}
/*
- * glLinkProgram dispatcher. id = 95
+ * glLinkProgram dispatcher. id = 99
*/
static void yagl_func_glLinkProgram(struct yagl_transport *t)
{
@@ -1812,7 +1881,7 @@ static void yagl_func_glLinkProgram(struct yagl_transport *t)
}
/*
- * glUniform1f dispatcher. id = 96
+ * glUniform1f dispatcher. id = 100
*/
static void yagl_func_glUniform1f(struct yagl_transport *t)
{
@@ -1828,7 +1897,7 @@ static void yagl_func_glUniform1f(struct yagl_transport *t)
}
/*
- * glUniform1fv dispatcher. id = 97
+ * glUniform1fv dispatcher. id = 101
*/
static void yagl_func_glUniform1fv(struct yagl_transport *t)
{
@@ -1845,7 +1914,7 @@ static void yagl_func_glUniform1fv(struct yagl_transport *t)
}
/*
- * glUniform1i dispatcher. id = 98
+ * glUniform1i dispatcher. id = 102
*/
static void yagl_func_glUniform1i(struct yagl_transport *t)
{
@@ -1861,7 +1930,7 @@ static void yagl_func_glUniform1i(struct yagl_transport *t)
}
/*
- * glUniform1iv dispatcher. id = 99
+ * glUniform1iv dispatcher. id = 103
*/
static void yagl_func_glUniform1iv(struct yagl_transport *t)
{
@@ -1878,7 +1947,7 @@ static void yagl_func_glUniform1iv(struct yagl_transport *t)
}
/*
- * glUniform2f dispatcher. id = 100
+ * glUniform2f dispatcher. id = 104
*/
static void yagl_func_glUniform2f(struct yagl_transport *t)
{
@@ -1896,7 +1965,7 @@ static void yagl_func_glUniform2f(struct yagl_transport *t)
}
/*
- * glUniform2fv dispatcher. id = 101
+ * glUniform2fv dispatcher. id = 105
*/
static void yagl_func_glUniform2fv(struct yagl_transport *t)
{
@@ -1913,7 +1982,7 @@ static void yagl_func_glUniform2fv(struct yagl_transport *t)
}
/*
- * glUniform2i dispatcher. id = 102
+ * glUniform2i dispatcher. id = 106
*/
static void yagl_func_glUniform2i(struct yagl_transport *t)
{
@@ -1931,7 +2000,7 @@ static void yagl_func_glUniform2i(struct yagl_transport *t)
}
/*
- * glUniform2iv dispatcher. id = 103
+ * glUniform2iv dispatcher. id = 107
*/
static void yagl_func_glUniform2iv(struct yagl_transport *t)
{
@@ -1948,7 +2017,7 @@ static void yagl_func_glUniform2iv(struct yagl_transport *t)
}
/*
- * glUniform3f dispatcher. id = 104
+ * glUniform3f dispatcher. id = 108
*/
static void yagl_func_glUniform3f(struct yagl_transport *t)
{
@@ -1968,7 +2037,7 @@ static void yagl_func_glUniform3f(struct yagl_transport *t)
}
/*
- * glUniform3fv dispatcher. id = 105
+ * glUniform3fv dispatcher. id = 109
*/
static void yagl_func_glUniform3fv(struct yagl_transport *t)
{
@@ -1985,7 +2054,7 @@ static void yagl_func_glUniform3fv(struct yagl_transport *t)
}
/*
- * glUniform3i dispatcher. id = 106
+ * glUniform3i dispatcher. id = 110
*/
static void yagl_func_glUniform3i(struct yagl_transport *t)
{
@@ -2005,7 +2074,7 @@ static void yagl_func_glUniform3i(struct yagl_transport *t)
}
/*
- * glUniform3iv dispatcher. id = 107
+ * glUniform3iv dispatcher. id = 111
*/
static void yagl_func_glUniform3iv(struct yagl_transport *t)
{
@@ -2022,7 +2091,7 @@ static void yagl_func_glUniform3iv(struct yagl_transport *t)
}
/*
- * glUniform4f dispatcher. id = 108
+ * glUniform4f dispatcher. id = 112
*/
static void yagl_func_glUniform4f(struct yagl_transport *t)
{
@@ -2044,7 +2113,7 @@ static void yagl_func_glUniform4f(struct yagl_transport *t)
}
/*
- * glUniform4fv dispatcher. id = 109
+ * glUniform4fv dispatcher. id = 113
*/
static void yagl_func_glUniform4fv(struct yagl_transport *t)
{
@@ -2061,7 +2130,7 @@ static void yagl_func_glUniform4fv(struct yagl_transport *t)
}
/*
- * glUniform4i dispatcher. id = 110
+ * glUniform4i dispatcher. id = 114
*/
static void yagl_func_glUniform4i(struct yagl_transport *t)
{
@@ -2083,7 +2152,7 @@ static void yagl_func_glUniform4i(struct yagl_transport *t)
}
/*
- * glUniform4iv dispatcher. id = 111
+ * glUniform4iv dispatcher. id = 115
*/
static void yagl_func_glUniform4iv(struct yagl_transport *t)
{
@@ -2100,7 +2169,7 @@ static void yagl_func_glUniform4iv(struct yagl_transport *t)
}
/*
- * glUniformMatrix2fv dispatcher. id = 112
+ * glUniformMatrix2fv dispatcher. id = 116
*/
static void yagl_func_glUniformMatrix2fv(struct yagl_transport *t)
{
@@ -2119,7 +2188,7 @@ static void yagl_func_glUniformMatrix2fv(struct yagl_transport *t)
}
/*
- * glUniformMatrix3fv dispatcher. id = 113
+ * glUniformMatrix3fv dispatcher. id = 117
*/
static void yagl_func_glUniformMatrix3fv(struct yagl_transport *t)
{
@@ -2138,7 +2207,7 @@ static void yagl_func_glUniformMatrix3fv(struct yagl_transport *t)
}
/*
- * glUniformMatrix4fv dispatcher. id = 114
+ * glUniformMatrix4fv dispatcher. id = 118
*/
static void yagl_func_glUniformMatrix4fv(struct yagl_transport *t)
{
@@ -2157,7 +2226,7 @@ static void yagl_func_glUniformMatrix4fv(struct yagl_transport *t)
}
/*
- * glUseProgram dispatcher. id = 115
+ * glUseProgram dispatcher. id = 119
*/
static void yagl_func_glUseProgram(struct yagl_transport *t)
{
@@ -2169,7 +2238,7 @@ static void yagl_func_glUseProgram(struct yagl_transport *t)
}
/*
- * glValidateProgram dispatcher. id = 116
+ * glValidateProgram dispatcher. id = 120
*/
static void yagl_func_glValidateProgram(struct yagl_transport *t)
{
@@ -2181,7 +2250,7 @@ static void yagl_func_glValidateProgram(struct yagl_transport *t)
}
/*
- * glVertexAttrib1f dispatcher. id = 117
+ * glVertexAttrib1f dispatcher. id = 121
*/
static void yagl_func_glVertexAttrib1f(struct yagl_transport *t)
{
@@ -2195,7 +2264,7 @@ static void yagl_func_glVertexAttrib1f(struct yagl_transport *t)
}
/*
- * glVertexAttrib1fv dispatcher. id = 118
+ * glVertexAttrib1fv dispatcher. id = 122
*/
static void yagl_func_glVertexAttrib1fv(struct yagl_transport *t)
{
@@ -2210,7 +2279,7 @@ static void yagl_func_glVertexAttrib1fv(struct yagl_transport *t)
}
/*
- * glVertexAttrib2f dispatcher. id = 119
+ * glVertexAttrib2f dispatcher. id = 123
*/
static void yagl_func_glVertexAttrib2f(struct yagl_transport *t)
{
@@ -2226,7 +2295,7 @@ static void yagl_func_glVertexAttrib2f(struct yagl_transport *t)
}
/*
- * glVertexAttrib2fv dispatcher. id = 120
+ * glVertexAttrib2fv dispatcher. id = 124
*/
static void yagl_func_glVertexAttrib2fv(struct yagl_transport *t)
{
@@ -2241,7 +2310,7 @@ static void yagl_func_glVertexAttrib2fv(struct yagl_transport *t)
}
/*
- * glVertexAttrib3f dispatcher. id = 121
+ * glVertexAttrib3f dispatcher. id = 125
*/
static void yagl_func_glVertexAttrib3f(struct yagl_transport *t)
{
@@ -2259,7 +2328,7 @@ static void yagl_func_glVertexAttrib3f(struct yagl_transport *t)
}
/*
- * glVertexAttrib3fv dispatcher. id = 122
+ * glVertexAttrib3fv dispatcher. id = 126
*/
static void yagl_func_glVertexAttrib3fv(struct yagl_transport *t)
{
@@ -2274,7 +2343,7 @@ static void yagl_func_glVertexAttrib3fv(struct yagl_transport *t)
}
/*
- * glVertexAttrib4f dispatcher. id = 123
+ * glVertexAttrib4f dispatcher. id = 127
*/
static void yagl_func_glVertexAttrib4f(struct yagl_transport *t)
{
@@ -2294,7 +2363,7 @@ static void yagl_func_glVertexAttrib4f(struct yagl_transport *t)
}
/*
- * glVertexAttrib4fv dispatcher. id = 124
+ * glVertexAttrib4fv dispatcher. id = 128
*/
static void yagl_func_glVertexAttrib4fv(struct yagl_transport *t)
{
@@ -2309,7 +2378,7 @@ static void yagl_func_glVertexAttrib4fv(struct yagl_transport *t)
}
/*
- * glGetActiveUniformsiv dispatcher. id = 125
+ * glGetActiveUniformsiv dispatcher. id = 129
*/
static void yagl_func_glGetActiveUniformsiv(struct yagl_transport *t)
{
@@ -2329,7 +2398,7 @@ static void yagl_func_glGetActiveUniformsiv(struct yagl_transport *t)
}
/*
- * glGetUniformIndices dispatcher. id = 126
+ * glGetUniformIndices dispatcher. id = 130
*/
static void yagl_func_glGetUniformIndices(struct yagl_transport *t)
{
@@ -2349,7 +2418,7 @@ static void yagl_func_glGetUniformIndices(struct yagl_transport *t)
}
/*
- * glGetUniformBlockIndex dispatcher. id = 127
+ * glGetUniformBlockIndex dispatcher. id = 131
*/
static void yagl_func_glGetUniformBlockIndex(struct yagl_transport *t)
{
@@ -2366,7 +2435,7 @@ static void yagl_func_glGetUniformBlockIndex(struct yagl_transport *t)
}
/*
- * glUniformBlockBinding dispatcher. id = 128
+ * glUniformBlockBinding dispatcher. id = 132
*/
static void yagl_func_glUniformBlockBinding(struct yagl_transport *t)
{
@@ -2382,7 +2451,7 @@ static void yagl_func_glUniformBlockBinding(struct yagl_transport *t)
}
/*
- * glGetActiveUniformBlockName dispatcher. id = 129
+ * glGetActiveUniformBlockName dispatcher. id = 133
*/
static void yagl_func_glGetActiveUniformBlockName(struct yagl_transport *t)
{
@@ -2401,7 +2470,7 @@ static void yagl_func_glGetActiveUniformBlockName(struct yagl_transport *t)
}
/*
- * glGetActiveUniformBlockiv dispatcher. id = 130
+ * glGetActiveUniformBlockiv dispatcher. id = 134
*/
static void yagl_func_glGetActiveUniformBlockiv(struct yagl_transport *t)
{
@@ -2422,7 +2491,7 @@ static void yagl_func_glGetActiveUniformBlockiv(struct yagl_transport *t)
}
/*
- * glGetVertexAttribIiv dispatcher. id = 131
+ * glGetVertexAttribIiv dispatcher. id = 135
*/
static void yagl_func_glGetVertexAttribIiv(struct yagl_transport *t)
{
@@ -2441,7 +2510,7 @@ static void yagl_func_glGetVertexAttribIiv(struct yagl_transport *t)
}
/*
- * glGetVertexAttribIuiv dispatcher. id = 132
+ * glGetVertexAttribIuiv dispatcher. id = 136
*/
static void yagl_func_glGetVertexAttribIuiv(struct yagl_transport *t)
{
@@ -2460,7 +2529,7 @@ static void yagl_func_glGetVertexAttribIuiv(struct yagl_transport *t)
}
/*
- * glVertexAttribI4i dispatcher. id = 133
+ * glVertexAttribI4i dispatcher. id = 137
*/
static void yagl_func_glVertexAttribI4i(struct yagl_transport *t)
{
@@ -2480,7 +2549,7 @@ static void yagl_func_glVertexAttribI4i(struct yagl_transport *t)
}
/*
- * glVertexAttribI4ui dispatcher. id = 134
+ * glVertexAttribI4ui dispatcher. id = 138
*/
static void yagl_func_glVertexAttribI4ui(struct yagl_transport *t)
{
@@ -2500,7 +2569,7 @@ static void yagl_func_glVertexAttribI4ui(struct yagl_transport *t)
}
/*
- * glVertexAttribI4iv dispatcher. id = 135
+ * glVertexAttribI4iv dispatcher. id = 139
*/
static void yagl_func_glVertexAttribI4iv(struct yagl_transport *t)
{
@@ -2515,7 +2584,7 @@ static void yagl_func_glVertexAttribI4iv(struct yagl_transport *t)
}
/*
- * glVertexAttribI4uiv dispatcher. id = 136
+ * glVertexAttribI4uiv dispatcher. id = 140
*/
static void yagl_func_glVertexAttribI4uiv(struct yagl_transport *t)
{
@@ -2530,7 +2599,7 @@ static void yagl_func_glVertexAttribI4uiv(struct yagl_transport *t)
}
/*
- * glGetUniformuiv dispatcher. id = 137
+ * glGetUniformuiv dispatcher. id = 141
*/
static void yagl_func_glGetUniformuiv(struct yagl_transport *t)
{
@@ -2551,7 +2620,7 @@ static void yagl_func_glGetUniformuiv(struct yagl_transport *t)
}
/*
- * glUniform1ui dispatcher. id = 138
+ * glUniform1ui dispatcher. id = 142
*/
static void yagl_func_glUniform1ui(struct yagl_transport *t)
{
@@ -2567,7 +2636,7 @@ static void yagl_func_glUniform1ui(struct yagl_transport *t)
}
/*
- * glUniform2ui dispatcher. id = 139
+ * glUniform2ui dispatcher. id = 143
*/
static void yagl_func_glUniform2ui(struct yagl_transport *t)
{
@@ -2585,7 +2654,7 @@ static void yagl_func_glUniform2ui(struct yagl_transport *t)
}
/*
- * glUniform3ui dispatcher. id = 140
+ * glUniform3ui dispatcher. id = 144
*/
static void yagl_func_glUniform3ui(struct yagl_transport *t)
{
@@ -2605,7 +2674,7 @@ static void yagl_func_glUniform3ui(struct yagl_transport *t)
}
/*
- * glUniform4ui dispatcher. id = 141
+ * glUniform4ui dispatcher. id = 145
*/
static void yagl_func_glUniform4ui(struct yagl_transport *t)
{
@@ -2627,7 +2696,7 @@ static void yagl_func_glUniform4ui(struct yagl_transport *t)
}
/*
- * glUniform1uiv dispatcher. id = 142
+ * glUniform1uiv dispatcher. id = 146
*/
static void yagl_func_glUniform1uiv(struct yagl_transport *t)
{
@@ -2644,7 +2713,7 @@ static void yagl_func_glUniform1uiv(struct yagl_transport *t)
}
/*
- * glUniform2uiv dispatcher. id = 143
+ * glUniform2uiv dispatcher. id = 147
*/
static void yagl_func_glUniform2uiv(struct yagl_transport *t)
{
@@ -2661,7 +2730,7 @@ static void yagl_func_glUniform2uiv(struct yagl_transport *t)
}
/*
- * glUniform3uiv dispatcher. id = 144
+ * glUniform3uiv dispatcher. id = 148
*/
static void yagl_func_glUniform3uiv(struct yagl_transport *t)
{
@@ -2678,7 +2747,7 @@ static void yagl_func_glUniform3uiv(struct yagl_transport *t)
}
/*
- * glUniform4uiv dispatcher. id = 145
+ * glUniform4uiv dispatcher. id = 149
*/
static void yagl_func_glUniform4uiv(struct yagl_transport *t)
{
@@ -2695,7 +2764,7 @@ static void yagl_func_glUniform4uiv(struct yagl_transport *t)
}
/*
- * glGetIntegerv dispatcher. id = 146
+ * glGetIntegerv dispatcher. id = 150
*/
static void yagl_func_glGetIntegerv(struct yagl_transport *t)
{
@@ -2712,7 +2781,7 @@ static void yagl_func_glGetIntegerv(struct yagl_transport *t)
}
/*
- * glGetFloatv dispatcher. id = 147
+ * glGetFloatv dispatcher. id = 151
*/
static void yagl_func_glGetFloatv(struct yagl_transport *t)
{
@@ -2729,7 +2798,7 @@ static void yagl_func_glGetFloatv(struct yagl_transport *t)
}
/*
- * glGetString dispatcher. id = 148
+ * glGetString dispatcher. id = 152
*/
static void yagl_func_glGetString(struct yagl_transport *t)
{
@@ -2746,7 +2815,7 @@ static void yagl_func_glGetString(struct yagl_transport *t)
}
/*
- * glIsEnabled dispatcher. id = 149
+ * glIsEnabled dispatcher. id = 153
*/
static void yagl_func_glIsEnabled(struct yagl_transport *t)
{
@@ -2760,7 +2829,7 @@ static void yagl_func_glIsEnabled(struct yagl_transport *t)
}
/*
- * glGenTransformFeedbacks dispatcher. id = 150
+ * glGenTransformFeedbacks dispatcher. id = 154
*/
static void yagl_func_glGenTransformFeedbacks(struct yagl_transport *t)
{
@@ -2773,7 +2842,7 @@ static void yagl_func_glGenTransformFeedbacks(struct yagl_transport *t)
}
/*
- * glBindTransformFeedback dispatcher. id = 151
+ * glBindTransformFeedback dispatcher. id = 155
*/
static void yagl_func_glBindTransformFeedback(struct yagl_transport *t)
{
@@ -2787,7 +2856,7 @@ static void yagl_func_glBindTransformFeedback(struct yagl_transport *t)
}
/*
- * glBeginTransformFeedback dispatcher. id = 152
+ * glBeginTransformFeedback dispatcher. id = 156
*/
static void yagl_func_glBeginTransformFeedback(struct yagl_transport *t)
{
@@ -2799,7 +2868,7 @@ static void yagl_func_glBeginTransformFeedback(struct yagl_transport *t)
}
/*
- * glEndTransformFeedback dispatcher. id = 153
+ * glEndTransformFeedback dispatcher. id = 157
*/
static void yagl_func_glEndTransformFeedback(struct yagl_transport *t)
{
@@ -2809,7 +2878,7 @@ static void yagl_func_glEndTransformFeedback(struct yagl_transport *t)
}
/*
- * glPauseTransformFeedback dispatcher. id = 154
+ * glPauseTransformFeedback dispatcher. id = 158
*/
static void yagl_func_glPauseTransformFeedback(struct yagl_transport *t)
{
@@ -2819,7 +2888,7 @@ static void yagl_func_glPauseTransformFeedback(struct yagl_transport *t)
}
/*
- * glResumeTransformFeedback dispatcher. id = 155
+ * glResumeTransformFeedback dispatcher. id = 159
*/
static void yagl_func_glResumeTransformFeedback(struct yagl_transport *t)
{
@@ -2829,7 +2898,7 @@ static void yagl_func_glResumeTransformFeedback(struct yagl_transport *t)
}
/*
- * glTransformFeedbackVaryings dispatcher. id = 156
+ * glTransformFeedbackVaryings dispatcher. id = 160
*/
static void yagl_func_glTransformFeedbackVaryings(struct yagl_transport *t)
{
@@ -2846,7 +2915,7 @@ static void yagl_func_glTransformFeedbackVaryings(struct yagl_transport *t)
}
/*
- * glGetTransformFeedbackVaryings dispatcher. id = 157
+ * glGetTransformFeedbackVaryings dispatcher. id = 161
*/
static void yagl_func_glGetTransformFeedbackVaryings(struct yagl_transport *t)
{
@@ -2868,7 +2937,7 @@ static void yagl_func_glGetTransformFeedbackVaryings(struct yagl_transport *t)
}
/*
- * glGenQueries dispatcher. id = 158
+ * glGenQueries dispatcher. id = 162
*/
static void yagl_func_glGenQueries(struct yagl_transport *t)
{
@@ -2881,7 +2950,7 @@ static void yagl_func_glGenQueries(struct yagl_transport *t)
}
/*
- * glBeginQuery dispatcher. id = 159
+ * glBeginQuery dispatcher. id = 163
*/
static void yagl_func_glBeginQuery(struct yagl_transport *t)
{
@@ -2895,7 +2964,7 @@ static void yagl_func_glBeginQuery(struct yagl_transport *t)
}
/*
- * glEndQuery dispatcher. id = 160
+ * glEndQuery dispatcher. id = 164
*/
static void yagl_func_glEndQuery(struct yagl_transport *t)
{
@@ -2907,7 +2976,7 @@ static void yagl_func_glEndQuery(struct yagl_transport *t)
}
/*
- * glGetQueryObjectuiv dispatcher. id = 161
+ * glGetQueryObjectuiv dispatcher. id = 165
*/
static void yagl_func_glGetQueryObjectuiv(struct yagl_transport *t)
{
@@ -2923,7 +2992,7 @@ static void yagl_func_glGetQueryObjectuiv(struct yagl_transport *t)
}
/*
- * glGenSamplers dispatcher. id = 162
+ * glGenSamplers dispatcher. id = 166
*/
static void yagl_func_glGenSamplers(struct yagl_transport *t)
{
@@ -2936,7 +3005,7 @@ static void yagl_func_glGenSamplers(struct yagl_transport *t)
}
/*
- * glBindSampler dispatcher. id = 163
+ * glBindSampler dispatcher. id = 167
*/
static void yagl_func_glBindSampler(struct yagl_transport *t)
{
@@ -2950,7 +3019,7 @@ static void yagl_func_glBindSampler(struct yagl_transport *t)
}
/*
- * glSamplerParameteri dispatcher. id = 164
+ * glSamplerParameteri dispatcher. id = 168
*/
static void yagl_func_glSamplerParameteri(struct yagl_transport *t)
{
@@ -2966,7 +3035,7 @@ static void yagl_func_glSamplerParameteri(struct yagl_transport *t)
}
/*
- * glSamplerParameteriv dispatcher. id = 165
+ * glSamplerParameteriv dispatcher. id = 169
*/
static void yagl_func_glSamplerParameteriv(struct yagl_transport *t)
{
@@ -2983,7 +3052,7 @@ static void yagl_func_glSamplerParameteriv(struct yagl_transport *t)
}
/*
- * glSamplerParameterf dispatcher. id = 166
+ * glSamplerParameterf dispatcher. id = 170
*/
static void yagl_func_glSamplerParameterf(struct yagl_transport *t)
{
@@ -2999,7 +3068,7 @@ static void yagl_func_glSamplerParameterf(struct yagl_transport *t)
}
/*
- * glSamplerParameterfv dispatcher. id = 167
+ * glSamplerParameterfv dispatcher. id = 171
*/
static void yagl_func_glSamplerParameterfv(struct yagl_transport *t)
{
@@ -3016,7 +3085,7 @@ static void yagl_func_glSamplerParameterfv(struct yagl_transport *t)
}
/*
- * glDeleteObjects dispatcher. id = 168
+ * glDeleteObjects dispatcher. id = 172
*/
static void yagl_func_glDeleteObjects(struct yagl_transport *t)
{
@@ -3029,7 +3098,7 @@ static void yagl_func_glDeleteObjects(struct yagl_transport *t)
}
/*
- * glBlendEquation dispatcher. id = 169
+ * glBlendEquation dispatcher. id = 173
*/
static void yagl_func_glBlendEquation(struct yagl_transport *t)
{
@@ -3041,7 +3110,7 @@ static void yagl_func_glBlendEquation(struct yagl_transport *t)
}
/*
- * glBlendEquationSeparate dispatcher. id = 170
+ * glBlendEquationSeparate dispatcher. id = 174
*/
static void yagl_func_glBlendEquationSeparate(struct yagl_transport *t)
{
@@ -3055,7 +3124,7 @@ static void yagl_func_glBlendEquationSeparate(struct yagl_transport *t)
}
/*
- * glBlendFunc dispatcher. id = 171
+ * glBlendFunc dispatcher. id = 175
*/
static void yagl_func_glBlendFunc(struct yagl_transport *t)
{
@@ -3069,7 +3138,7 @@ static void yagl_func_glBlendFunc(struct yagl_transport *t)
}
/*
- * glBlendFuncSeparate dispatcher. id = 172
+ * glBlendFuncSeparate dispatcher. id = 176
*/
static void yagl_func_glBlendFuncSeparate(struct yagl_transport *t)
{
@@ -3087,7 +3156,7 @@ static void yagl_func_glBlendFuncSeparate(struct yagl_transport *t)
}
/*
- * glBlendColor dispatcher. id = 173
+ * glBlendColor dispatcher. id = 177
*/
static void yagl_func_glBlendColor(struct yagl_transport *t)
{
@@ -3105,7 +3174,7 @@ static void yagl_func_glBlendColor(struct yagl_transport *t)
}
/*
- * glClear dispatcher. id = 174
+ * glClear dispatcher. id = 178
*/
static void yagl_func_glClear(struct yagl_transport *t)
{
@@ -3117,7 +3186,7 @@ static void yagl_func_glClear(struct yagl_transport *t)
}
/*
- * glClearColor dispatcher. id = 175
+ * glClearColor dispatcher. id = 179
*/
static void yagl_func_glClearColor(struct yagl_transport *t)
{
@@ -3135,7 +3204,7 @@ static void yagl_func_glClearColor(struct yagl_transport *t)
}
/*
- * glClearDepthf dispatcher. id = 176
+ * glClearDepthf dispatcher. id = 180
*/
static void yagl_func_glClearDepthf(struct yagl_transport *t)
{
@@ -3147,7 +3216,7 @@ static void yagl_func_glClearDepthf(struct yagl_transport *t)
}
/*
- * glClearStencil dispatcher. id = 177
+ * glClearStencil dispatcher. id = 181
*/
static void yagl_func_glClearStencil(struct yagl_transport *t)
{
@@ -3159,7 +3228,7 @@ static void yagl_func_glClearStencil(struct yagl_transport *t)
}
/*
- * glColorMask dispatcher. id = 178
+ * glColorMask dispatcher. id = 182
*/
static void yagl_func_glColorMask(struct yagl_transport *t)
{
@@ -3177,7 +3246,7 @@ static void yagl_func_glColorMask(struct yagl_transport *t)
}
/*
- * glCullFace dispatcher. id = 179
+ * glCullFace dispatcher. id = 183
*/
static void yagl_func_glCullFace(struct yagl_transport *t)
{
@@ -3189,7 +3258,7 @@ static void yagl_func_glCullFace(struct yagl_transport *t)
}
/*
- * glDepthFunc dispatcher. id = 180
+ * glDepthFunc dispatcher. id = 184
*/
static void yagl_func_glDepthFunc(struct yagl_transport *t)
{
@@ -3201,7 +3270,7 @@ static void yagl_func_glDepthFunc(struct yagl_transport *t)
}
/*
- * glDepthMask dispatcher. id = 181
+ * glDepthMask dispatcher. id = 185
*/
static void yagl_func_glDepthMask(struct yagl_transport *t)
{
@@ -3213,7 +3282,7 @@ static void yagl_func_glDepthMask(struct yagl_transport *t)
}
/*
- * glDepthRangef dispatcher. id = 182
+ * glDepthRangef dispatcher. id = 186
*/
static void yagl_func_glDepthRangef(struct yagl_transport *t)
{
@@ -3227,7 +3296,7 @@ static void yagl_func_glDepthRangef(struct yagl_transport *t)
}
/*
- * glEnable dispatcher. id = 183
+ * glEnable dispatcher. id = 187
*/
static void yagl_func_glEnable(struct yagl_transport *t)
{
@@ -3239,7 +3308,7 @@ static void yagl_func_glEnable(struct yagl_transport *t)
}
/*
- * glDisable dispatcher. id = 184
+ * glDisable dispatcher. id = 188
*/
static void yagl_func_glDisable(struct yagl_transport *t)
{
@@ -3251,7 +3320,7 @@ static void yagl_func_glDisable(struct yagl_transport *t)
}
/*
- * glFlush dispatcher. id = 185
+ * glFlush dispatcher. id = 189
*/
static void yagl_func_glFlush(struct yagl_transport *t)
{
@@ -3261,7 +3330,7 @@ static void yagl_func_glFlush(struct yagl_transport *t)
}
/*
- * glFrontFace dispatcher. id = 186
+ * glFrontFace dispatcher. id = 190
*/
static void yagl_func_glFrontFace(struct yagl_transport *t)
{
@@ -3273,7 +3342,7 @@ static void yagl_func_glFrontFace(struct yagl_transport *t)
}
/*
- * glGenerateMipmap dispatcher. id = 187
+ * glGenerateMipmap dispatcher. id = 191
*/
static void yagl_func_glGenerateMipmap(struct yagl_transport *t)
{
@@ -3285,7 +3354,7 @@ static void yagl_func_glGenerateMipmap(struct yagl_transport *t)
}
/*
- * glHint dispatcher. id = 188
+ * glHint dispatcher. id = 192
*/
static void yagl_func_glHint(struct yagl_transport *t)
{
@@ -3299,7 +3368,7 @@ static void yagl_func_glHint(struct yagl_transport *t)
}
/*
- * glLineWidth dispatcher. id = 189
+ * glLineWidth dispatcher. id = 193
*/
static void yagl_func_glLineWidth(struct yagl_transport *t)
{
@@ -3311,7 +3380,7 @@ static void yagl_func_glLineWidth(struct yagl_transport *t)
}
/*
- * glPixelStorei dispatcher. id = 190
+ * glPixelStorei dispatcher. id = 194
*/
static void yagl_func_glPixelStorei(struct yagl_transport *t)
{
@@ -3325,7 +3394,7 @@ static void yagl_func_glPixelStorei(struct yagl_transport *t)
}
/*
- * glPolygonOffset dispatcher. id = 191
+ * glPolygonOffset dispatcher. id = 195
*/
static void yagl_func_glPolygonOffset(struct yagl_transport *t)
{
@@ -3339,7 +3408,7 @@ static void yagl_func_glPolygonOffset(struct yagl_transport *t)
}
/*
- * glScissor dispatcher. id = 192
+ * glScissor dispatcher. id = 196
*/
static void yagl_func_glScissor(struct yagl_transport *t)
{
@@ -3357,7 +3426,7 @@ static void yagl_func_glScissor(struct yagl_transport *t)
}
/*
- * glStencilFunc dispatcher. id = 193
+ * glStencilFunc dispatcher. id = 197
*/
static void yagl_func_glStencilFunc(struct yagl_transport *t)
{
@@ -3373,7 +3442,7 @@ static void yagl_func_glStencilFunc(struct yagl_transport *t)
}
/*
- * glStencilMask dispatcher. id = 194
+ * glStencilMask dispatcher. id = 198
*/
static void yagl_func_glStencilMask(struct yagl_transport *t)
{
@@ -3385,7 +3454,7 @@ static void yagl_func_glStencilMask(struct yagl_transport *t)
}
/*
- * glStencilOp dispatcher. id = 195
+ * glStencilOp dispatcher. id = 199
*/
static void yagl_func_glStencilOp(struct yagl_transport *t)
{
@@ -3401,7 +3470,7 @@ static void yagl_func_glStencilOp(struct yagl_transport *t)
}
/*
- * glSampleCoverage dispatcher. id = 196
+ * glSampleCoverage dispatcher. id = 200
*/
static void yagl_func_glSampleCoverage(struct yagl_transport *t)
{
@@ -3415,7 +3484,7 @@ static void yagl_func_glSampleCoverage(struct yagl_transport *t)
}
/*
- * glViewport dispatcher. id = 197
+ * glViewport dispatcher. id = 201
*/
static void yagl_func_glViewport(struct yagl_transport *t)
{
@@ -3433,7 +3502,7 @@ static void yagl_func_glViewport(struct yagl_transport *t)
}
/*
- * glStencilFuncSeparate dispatcher. id = 198
+ * glStencilFuncSeparate dispatcher. id = 202
*/
static void yagl_func_glStencilFuncSeparate(struct yagl_transport *t)
{
@@ -3451,7 +3520,7 @@ static void yagl_func_glStencilFuncSeparate(struct yagl_transport *t)
}
/*
- * glStencilMaskSeparate dispatcher. id = 199
+ * glStencilMaskSeparate dispatcher. id = 203
*/
static void yagl_func_glStencilMaskSeparate(struct yagl_transport *t)
{
@@ -3465,7 +3534,7 @@ static void yagl_func_glStencilMaskSeparate(struct yagl_transport *t)
}
/*
- * glStencilOpSeparate dispatcher. id = 200
+ * glStencilOpSeparate dispatcher. id = 204
*/
static void yagl_func_glStencilOpSeparate(struct yagl_transport *t)
{
@@ -3483,7 +3552,7 @@ static void yagl_func_glStencilOpSeparate(struct yagl_transport *t)
}
/*
- * glPointSize dispatcher. id = 201
+ * glPointSize dispatcher. id = 205
*/
static void yagl_func_glPointSize(struct yagl_transport *t)
{
@@ -3495,7 +3564,7 @@ static void yagl_func_glPointSize(struct yagl_transport *t)
}
/*
- * glAlphaFunc dispatcher. id = 202
+ * glAlphaFunc dispatcher. id = 206
*/
static void yagl_func_glAlphaFunc(struct yagl_transport *t)
{
@@ -3509,7 +3578,7 @@ static void yagl_func_glAlphaFunc(struct yagl_transport *t)
}
/*
- * glMatrixMode dispatcher. id = 203
+ * glMatrixMode dispatcher. id = 207
*/
static void yagl_func_glMatrixMode(struct yagl_transport *t)
{
@@ -3521,7 +3590,7 @@ static void yagl_func_glMatrixMode(struct yagl_transport *t)
}
/*
- * glLoadIdentity dispatcher. id = 204
+ * glLoadIdentity dispatcher. id = 208
*/
static void yagl_func_glLoadIdentity(struct yagl_transport *t)
{
@@ -3531,7 +3600,7 @@ static void yagl_func_glLoadIdentity(struct yagl_transport *t)
}
/*
- * glPopMatrix dispatcher. id = 205
+ * glPopMatrix dispatcher. id = 209
*/
static void yagl_func_glPopMatrix(struct yagl_transport *t)
{
@@ -3541,7 +3610,7 @@ static void yagl_func_glPopMatrix(struct yagl_transport *t)
}
/*
- * glPushMatrix dispatcher. id = 206
+ * glPushMatrix dispatcher. id = 210
*/
static void yagl_func_glPushMatrix(struct yagl_transport *t)
{
@@ -3551,7 +3620,7 @@ static void yagl_func_glPushMatrix(struct yagl_transport *t)
}
/*
- * glRotatef dispatcher. id = 207
+ * glRotatef dispatcher. id = 211
*/
static void yagl_func_glRotatef(struct yagl_transport *t)
{
@@ -3569,7 +3638,7 @@ static void yagl_func_glRotatef(struct yagl_transport *t)
}
/*
- * glTranslatef dispatcher. id = 208
+ * glTranslatef dispatcher. id = 212
*/
static void yagl_func_glTranslatef(struct yagl_transport *t)
{
@@ -3585,7 +3654,7 @@ static void yagl_func_glTranslatef(struct yagl_transport *t)
}
/*
- * glScalef dispatcher. id = 209
+ * glScalef dispatcher. id = 213
*/
static void yagl_func_glScalef(struct yagl_transport *t)
{
@@ -3601,7 +3670,7 @@ static void yagl_func_glScalef(struct yagl_transport *t)
}
/*
- * glOrthof dispatcher. id = 210
+ * glOrthof dispatcher. id = 214
*/
static void yagl_func_glOrthof(struct yagl_transport *t)
{
@@ -3623,7 +3692,7 @@ static void yagl_func_glOrthof(struct yagl_transport *t)
}
/*
- * glColor4f dispatcher. id = 211
+ * glColor4f dispatcher. id = 215
*/
static void yagl_func_glColor4f(struct yagl_transport *t)
{
@@ -3641,7 +3710,7 @@ static void yagl_func_glColor4f(struct yagl_transport *t)
}
/*
- * glColor4ub dispatcher. id = 212
+ * glColor4ub dispatcher. id = 216
*/
static void yagl_func_glColor4ub(struct yagl_transport *t)
{
@@ -3659,7 +3728,7 @@ static void yagl_func_glColor4ub(struct yagl_transport *t)
}
/*
- * glNormal3f dispatcher. id = 213
+ * glNormal3f dispatcher. id = 217
*/
static void yagl_func_glNormal3f(struct yagl_transport *t)
{
@@ -3675,7 +3744,7 @@ static void yagl_func_glNormal3f(struct yagl_transport *t)
}
/*
- * glPointParameterf dispatcher. id = 214
+ * glPointParameterf dispatcher. id = 218
*/
static void yagl_func_glPointParameterf(struct yagl_transport *t)
{
@@ -3689,7 +3758,7 @@ static void yagl_func_glPointParameterf(struct yagl_transport *t)
}
/*
- * glPointParameterfv dispatcher. id = 215
+ * glPointParameterfv dispatcher. id = 219
*/
static void yagl_func_glPointParameterfv(struct yagl_transport *t)
{
@@ -3704,7 +3773,7 @@ static void yagl_func_glPointParameterfv(struct yagl_transport *t)
}
/*
- * glFogf dispatcher. id = 216
+ * glFogf dispatcher. id = 220
*/
static void yagl_func_glFogf(struct yagl_transport *t)
{
@@ -3718,7 +3787,7 @@ static void yagl_func_glFogf(struct yagl_transport *t)
}
/*
- * glFogfv dispatcher. id = 217
+ * glFogfv dispatcher. id = 221
*/
static void yagl_func_glFogfv(struct yagl_transport *t)
{
@@ -3733,7 +3802,7 @@ static void yagl_func_glFogfv(struct yagl_transport *t)
}
/*
- * glFrustumf dispatcher. id = 218
+ * glFrustumf dispatcher. id = 222
*/
static void yagl_func_glFrustumf(struct yagl_transport *t)
{
@@ -3755,7 +3824,7 @@ static void yagl_func_glFrustumf(struct yagl_transport *t)
}
/*
- * glLightf dispatcher. id = 219
+ * glLightf dispatcher. id = 223
*/
static void yagl_func_glLightf(struct yagl_transport *t)
{
@@ -3771,7 +3840,7 @@ static void yagl_func_glLightf(struct yagl_transport *t)
}
/*
- * glLightfv dispatcher. id = 220
+ * glLightfv dispatcher. id = 224
*/
static void yagl_func_glLightfv(struct yagl_transport *t)
{
@@ -3788,7 +3857,7 @@ static void yagl_func_glLightfv(struct yagl_transport *t)
}
/*
- * glGetLightfv dispatcher. id = 221
+ * glGetLightfv dispatcher. id = 225
*/
static void yagl_func_glGetLightfv(struct yagl_transport *t)
{
@@ -3807,7 +3876,7 @@ static void yagl_func_glGetLightfv(struct yagl_transport *t)
}
/*
- * glLightModelf dispatcher. id = 222
+ * glLightModelf dispatcher. id = 226
*/
static void yagl_func_glLightModelf(struct yagl_transport *t)
{
@@ -3821,7 +3890,7 @@ static void yagl_func_glLightModelf(struct yagl_transport *t)
}
/*
- * glLightModelfv dispatcher. id = 223
+ * glLightModelfv dispatcher. id = 227
*/
static void yagl_func_glLightModelfv(struct yagl_transport *t)
{
@@ -3836,7 +3905,7 @@ static void yagl_func_glLightModelfv(struct yagl_transport *t)
}
/*
- * glMaterialf dispatcher. id = 224
+ * glMaterialf dispatcher. id = 228
*/
static void yagl_func_glMaterialf(struct yagl_transport *t)
{
@@ -3852,7 +3921,7 @@ static void yagl_func_glMaterialf(struct yagl_transport *t)
}
/*
- * glMaterialfv dispatcher. id = 225
+ * glMaterialfv dispatcher. id = 229
*/
static void yagl_func_glMaterialfv(struct yagl_transport *t)
{
@@ -3869,7 +3938,7 @@ static void yagl_func_glMaterialfv(struct yagl_transport *t)
}
/*
- * glGetMaterialfv dispatcher. id = 226
+ * glGetMaterialfv dispatcher. id = 230
*/
static void yagl_func_glGetMaterialfv(struct yagl_transport *t)
{
@@ -3888,7 +3957,7 @@ static void yagl_func_glGetMaterialfv(struct yagl_transport *t)
}
/*
- * glShadeModel dispatcher. id = 227
+ * glShadeModel dispatcher. id = 231
*/
static void yagl_func_glShadeModel(struct yagl_transport *t)
{
@@ -3900,7 +3969,7 @@ static void yagl_func_glShadeModel(struct yagl_transport *t)
}
/*
- * glLogicOp dispatcher. id = 228
+ * glLogicOp dispatcher. id = 232
*/
static void yagl_func_glLogicOp(struct yagl_transport *t)
{
@@ -3912,7 +3981,7 @@ static void yagl_func_glLogicOp(struct yagl_transport *t)
}
/*
- * glMultMatrixf dispatcher. id = 229
+ * glMultMatrixf dispatcher. id = 233
*/
static void yagl_func_glMultMatrixf(struct yagl_transport *t)
{
@@ -3925,7 +3994,7 @@ static void yagl_func_glMultMatrixf(struct yagl_transport *t)
}
/*
- * glLoadMatrixf dispatcher. id = 230
+ * glLoadMatrixf dispatcher. id = 234
*/
static void yagl_func_glLoadMatrixf(struct yagl_transport *t)
{
@@ -3938,7 +4007,7 @@ static void yagl_func_glLoadMatrixf(struct yagl_transport *t)
}
/*
- * glClipPlanef dispatcher. id = 231
+ * glClipPlanef dispatcher. id = 235
*/
static void yagl_func_glClipPlanef(struct yagl_transport *t)
{
@@ -3953,7 +4022,7 @@ static void yagl_func_glClipPlanef(struct yagl_transport *t)
}
/*
- * glGetClipPlanef dispatcher. id = 232
+ * glGetClipPlanef dispatcher. id = 236
*/
static void yagl_func_glGetClipPlanef(struct yagl_transport *t)
{
@@ -3970,7 +4039,7 @@ static void yagl_func_glGetClipPlanef(struct yagl_transport *t)
}
/*
- * glUpdateOffscreenImageYAGL dispatcher. id = 233
+ * glUpdateOffscreenImageYAGL dispatcher. id = 237
*/
static void yagl_func_glUpdateOffscreenImageYAGL(struct yagl_transport *t)
{
@@ -3991,7 +4060,7 @@ static void yagl_func_glUpdateOffscreenImageYAGL(struct yagl_transport *t)
}
/*
- * glGenUniformLocationYAGL dispatcher. id = 234
+ * glGenUniformLocationYAGL dispatcher. id = 238
*/
static void yagl_func_glGenUniformLocationYAGL(struct yagl_transport *t)
{
@@ -4008,7 +4077,7 @@ static void yagl_func_glGenUniformLocationYAGL(struct yagl_transport *t)
}
/*
- * glDeleteUniformLocationsYAGL dispatcher. id = 235
+ * glDeleteUniformLocationsYAGL dispatcher. id = 239
*/
static void yagl_func_glDeleteUniformLocationsYAGL(struct yagl_transport *t)
{
@@ -4020,7 +4089,7 @@ static void yagl_func_glDeleteUniformLocationsYAGL(struct yagl_transport *t)
YAGL_LOG_FUNC_EXIT(NULL);
}
-const uint32_t yagl_gles_api_num_funcs = 235;
+const uint32_t yagl_gles_api_num_funcs = 239;
yagl_api_func yagl_gles_api_funcs[] = {
&yagl_func_glDrawArrays,
@@ -4093,6 +4162,10 @@ yagl_api_func yagl_gles_api_funcs[] = {
&yagl_func_glReadBuffer,
&yagl_func_glFramebufferTexture3D,
&yagl_func_glFramebufferTextureLayer,
+ &yagl_func_glClearBufferiv,
+ &yagl_func_glClearBufferuiv,
+ &yagl_func_glClearBufferfi,
+ &yagl_func_glClearBufferfv,
&yagl_func_glGenRenderbuffers,
&yagl_func_glBindRenderbuffer,
&yagl_func_glRenderbufferStorage,
diff --git a/hw/yagl/yagl_apis/gles/yagl_host_gles_calls.c b/hw/yagl/yagl_apis/gles/yagl_host_gles_calls.c
index c438862568..219e2b50ae 100644
--- a/hw/yagl/yagl_apis/gles/yagl_host_gles_calls.c
+++ b/hw/yagl/yagl_apis/gles/yagl_host_gles_calls.c
@@ -1391,6 +1391,35 @@ void yagl_host_glFramebufferTextureLayer(GLenum target,
level, layer);
}
+void yagl_host_glClearBufferiv(GLenum buffer,
+ GLint drawbuffer,
+ const GLint *value, int32_t value_count)
+{
+ gles_api_ts->driver->ClearBufferiv(buffer, drawbuffer, value);
+}
+
+void yagl_host_glClearBufferuiv(GLenum buffer,
+ GLint drawbuffer,
+ const GLuint *value, int32_t value_count)
+{
+ gles_api_ts->driver->ClearBufferuiv(buffer, drawbuffer, value);
+}
+
+void yagl_host_glClearBufferfi(GLenum buffer,
+ GLint drawbuffer,
+ GLfloat depth,
+ GLint stencil)
+{
+ gles_api_ts->driver->ClearBufferfi(buffer, drawbuffer, depth, stencil);
+}
+
+void yagl_host_glClearBufferfv(GLenum buffer,
+ GLint drawbuffer,
+ const GLfloat *value, int32_t value_count)
+{
+ gles_api_ts->driver->ClearBufferfv(buffer, drawbuffer, value);
+}
+
void yagl_host_glGenRenderbuffers(const GLuint *renderbuffers, int32_t renderbuffers_count)
{
int i;
diff --git a/hw/yagl/yagl_apis/gles/yagl_host_gles_calls.h b/hw/yagl/yagl_apis/gles/yagl_host_gles_calls.h
index 77ce166e72..dcd897c265 100644
--- a/hw/yagl/yagl_apis/gles/yagl_host_gles_calls.h
+++ b/hw/yagl/yagl_apis/gles/yagl_host_gles_calls.h
@@ -341,6 +341,19 @@ void yagl_host_glFramebufferTextureLayer(GLenum target,
GLuint texture,
GLint level,
GLint layer);
+void yagl_host_glClearBufferiv(GLenum buffer,
+ GLint drawbuffer,
+ const GLint *value, int32_t value_count);
+void yagl_host_glClearBufferuiv(GLenum buffer,
+ GLint drawbuffer,
+ const GLuint *value, int32_t value_count);
+void yagl_host_glClearBufferfi(GLenum buffer,
+ GLint drawbuffer,
+ GLfloat depth,
+ GLint stencil);
+void yagl_host_glClearBufferfv(GLenum buffer,
+ GLint drawbuffer,
+ const GLfloat *value, int32_t value_count);
void yagl_host_glGenRenderbuffers(const GLuint *renderbuffers, int32_t renderbuffers_count);
void yagl_host_glBindRenderbuffer(GLenum target,
GLuint renderbuffer);
diff --git a/hw/yagl/yagl_drivers/gles_ogl/yagl_gles_ogl.c b/hw/yagl/yagl_drivers/gles_ogl/yagl_gles_ogl.c
index bb67ce2ad7..cbe11354f8 100644
--- a/hw/yagl/yagl_drivers/gles_ogl/yagl_gles_ogl.c
+++ b/hw/yagl/yagl_drivers/gles_ogl/yagl_gles_ogl.c
@@ -292,6 +292,10 @@ struct yagl_gles_driver *yagl_gles_ogl_create(struct yagl_dyn_lib *dyn_lib,
YAGL_GLES_OGL_GET_PROC(driver, Uniform2uiv, glUniform2uiv);
YAGL_GLES_OGL_GET_PROC(driver, Uniform3uiv, glUniform3uiv);
YAGL_GLES_OGL_GET_PROC(driver, Uniform4uiv, glUniform4uiv);
+ YAGL_GLES_OGL_GET_PROC(driver, ClearBufferiv, glClearBufferiv);
+ YAGL_GLES_OGL_GET_PROC(driver, ClearBufferuiv, glClearBufferuiv);
+ YAGL_GLES_OGL_GET_PROC(driver, ClearBufferfi, glClearBufferfi);
+ YAGL_GLES_OGL_GET_PROC(driver, ClearBufferfv, glClearBufferfv);
}
driver->destroy = &yagl_gles_ogl_destroy;
diff --git a/hw/yagl/yagl_gles_driver.h b/hw/yagl/yagl_gles_driver.h
index 9a9b8e475d..e09e9c6312 100644
--- a/hw/yagl/yagl_gles_driver.h
+++ b/hw/yagl/yagl_gles_driver.h
@@ -365,6 +365,10 @@ struct yagl_gles_driver
YAGL_GLES_DRIVER_FUNC3(Uniform2uiv, GLint, GLsizei, const GLuint*, location, count, v)
YAGL_GLES_DRIVER_FUNC3(Uniform3uiv, GLint, GLsizei, const GLuint*, location, count, v)
YAGL_GLES_DRIVER_FUNC3(Uniform4uiv, GLint, GLsizei, const GLuint*, location, count, v)
+ YAGL_GLES_DRIVER_FUNC3(ClearBufferiv, GLenum, GLint, const GLint*, buffer, drawbuffer, value);
+ YAGL_GLES_DRIVER_FUNC3(ClearBufferuiv, GLenum, GLint, const GLuint*, buffer, drawbuffer, value);
+ YAGL_GLES_DRIVER_FUNC4(ClearBufferfi, GLenum, GLint, GLfloat, GLint, buffer, drawbuffer, depth, stencil);
+ YAGL_GLES_DRIVER_FUNC3(ClearBufferfv, GLenum, GLint, const GLfloat*, buffer, drawbuffer, value);
/*
* @}