From: Stanislav Vorobiov Date: Thu, 16 Jan 2014 09:49:55 +0000 (+0400) Subject: YaGL: GL_OES_texture_3D implemented X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~475^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a84a8a3c8ba264acbbca208f99e4ff9e9b378915;p=sdk%2Femulator%2Fqemu.git YaGL: GL_OES_texture_3D implemented Change-Id: I63a67beb459cda6e747e605d2319d067e589c48c --- diff --git a/hw/yagl/yagl_apis/gles/yagl_gles_calls.c b/hw/yagl/yagl_apis/gles/yagl_gles_calls.c index 909f68e092..cd4e834283 100644 --- a/hw/yagl/yagl_apis/gles/yagl_gles_calls.c +++ b/hw/yagl/yagl_apis/gles/yagl_gles_calls.c @@ -959,7 +959,161 @@ static void yagl_func_glGetTexEnvfv(struct yagl_transport *t) } /* - * glGenFramebuffers dispatcher. id = 52 + * glTexImage3D dispatcher. id = 52 + */ +static void yagl_func_glTexImage3D(struct yagl_transport *t) +{ + GLenum target; + GLint level; + GLint internalformat; + GLsizei width; + GLsizei height; + GLsizei depth; + GLint border; + GLenum format; + GLenum type; + const void *pixels; + int32_t pixels_count; + target = yagl_transport_get_out_GLenum(t); + level = yagl_transport_get_out_GLint(t); + internalformat = yagl_transport_get_out_GLint(t); + width = yagl_transport_get_out_GLsizei(t); + height = yagl_transport_get_out_GLsizei(t); + depth = yagl_transport_get_out_GLsizei(t); + border = yagl_transport_get_out_GLint(t); + format = yagl_transport_get_out_GLenum(t); + type = yagl_transport_get_out_GLenum(t); + yagl_transport_get_out_array(t, 1, (const void**)&pixels, &pixels_count); + YAGL_LOG_FUNC_ENTER_SPLIT10(glTexImage3D, GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, void*, target, level, internalformat, width, height, depth, border, format, type, pixels); + (void)yagl_host_glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels, pixels_count); + YAGL_LOG_FUNC_EXIT(NULL); +} + +/* + * glTexSubImage3D dispatcher. id = 53 + */ +static void yagl_func_glTexSubImage3D(struct yagl_transport *t) +{ + GLenum target; + GLint level; + GLint xoffset; + GLint yoffset; + GLint zoffset; + GLsizei width; + GLsizei height; + GLsizei depth; + GLenum format; + GLenum type; + const void *pixels; + int32_t pixels_count; + target = yagl_transport_get_out_GLenum(t); + level = yagl_transport_get_out_GLint(t); + xoffset = yagl_transport_get_out_GLint(t); + yoffset = yagl_transport_get_out_GLint(t); + zoffset = yagl_transport_get_out_GLint(t); + width = yagl_transport_get_out_GLsizei(t); + height = yagl_transport_get_out_GLsizei(t); + depth = yagl_transport_get_out_GLsizei(t); + format = yagl_transport_get_out_GLenum(t); + type = yagl_transport_get_out_GLenum(t); + yagl_transport_get_out_array(t, 1, (const void**)&pixels, &pixels_count); + YAGL_LOG_FUNC_ENTER_SPLIT11(glTexSubImage3D, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, void*, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); + (void)yagl_host_glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels, pixels_count); + YAGL_LOG_FUNC_EXIT(NULL); +} + +/* + * glCopyTexSubImage3D dispatcher. id = 54 + */ +static void yagl_func_glCopyTexSubImage3D(struct yagl_transport *t) +{ + GLenum target; + GLint level; + GLint xoffset; + GLint yoffset; + GLint zoffset; + GLint x; + GLint y; + GLsizei width; + GLsizei height; + target = yagl_transport_get_out_GLenum(t); + level = yagl_transport_get_out_GLint(t); + xoffset = yagl_transport_get_out_GLint(t); + yoffset = yagl_transport_get_out_GLint(t); + zoffset = yagl_transport_get_out_GLint(t); + x = yagl_transport_get_out_GLint(t); + y = yagl_transport_get_out_GLint(t); + width = yagl_transport_get_out_GLsizei(t); + height = yagl_transport_get_out_GLsizei(t); + YAGL_LOG_FUNC_ENTER_SPLIT9(glCopyTexSubImage3D, GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, target, level, xoffset, yoffset, zoffset, x, y, width, height); + (void)yagl_host_glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); + YAGL_LOG_FUNC_EXIT(NULL); +} + +/* + * glCompressedTexImage3D dispatcher. id = 55 + */ +static void yagl_func_glCompressedTexImage3D(struct yagl_transport *t) +{ + GLenum target; + GLint level; + GLenum internalformat; + GLsizei width; + GLsizei height; + GLsizei depth; + GLint border; + GLsizei imageSize; + const void *data; + int32_t data_count; + target = yagl_transport_get_out_GLenum(t); + level = yagl_transport_get_out_GLint(t); + internalformat = yagl_transport_get_out_GLenum(t); + width = yagl_transport_get_out_GLsizei(t); + height = yagl_transport_get_out_GLsizei(t); + depth = yagl_transport_get_out_GLsizei(t); + border = yagl_transport_get_out_GLint(t); + imageSize = yagl_transport_get_out_GLsizei(t); + yagl_transport_get_out_array(t, 1, (const void**)&data, &data_count); + YAGL_LOG_FUNC_ENTER_SPLIT9(glCompressedTexImage3D, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, void*, target, level, internalformat, width, height, depth, border, imageSize, data); + (void)yagl_host_glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data, data_count); + YAGL_LOG_FUNC_EXIT(NULL); +} + +/* + * glCompressedTexSubImage3D dispatcher. id = 56 + */ +static void yagl_func_glCompressedTexSubImage3D(struct yagl_transport *t) +{ + GLenum target; + GLint level; + GLint xoffset; + GLint yoffset; + GLint zoffset; + GLsizei width; + GLsizei height; + GLsizei depth; + GLenum format; + GLsizei imageSize; + const void *data; + int32_t data_count; + target = yagl_transport_get_out_GLenum(t); + level = yagl_transport_get_out_GLint(t); + xoffset = yagl_transport_get_out_GLint(t); + yoffset = yagl_transport_get_out_GLint(t); + zoffset = yagl_transport_get_out_GLint(t); + width = yagl_transport_get_out_GLsizei(t); + height = yagl_transport_get_out_GLsizei(t); + depth = yagl_transport_get_out_GLsizei(t); + format = yagl_transport_get_out_GLenum(t); + imageSize = yagl_transport_get_out_GLsizei(t); + yagl_transport_get_out_array(t, 1, (const void**)&data, &data_count); + YAGL_LOG_FUNC_ENTER_SPLIT11(glCompressedTexSubImage3D, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, void*, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); + (void)yagl_host_glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data, data_count); + YAGL_LOG_FUNC_EXIT(NULL); +} + +/* + * glGenFramebuffers dispatcher. id = 57 */ static void yagl_func_glGenFramebuffers(struct yagl_transport *t) { @@ -972,7 +1126,7 @@ static void yagl_func_glGenFramebuffers(struct yagl_transport *t) } /* - * glBindFramebuffer dispatcher. id = 53 + * glBindFramebuffer dispatcher. id = 58 */ static void yagl_func_glBindFramebuffer(struct yagl_transport *t) { @@ -986,7 +1140,7 @@ static void yagl_func_glBindFramebuffer(struct yagl_transport *t) } /* - * glFramebufferTexture2D dispatcher. id = 54 + * glFramebufferTexture2D dispatcher. id = 59 */ static void yagl_func_glFramebufferTexture2D(struct yagl_transport *t) { @@ -1006,7 +1160,7 @@ static void yagl_func_glFramebufferTexture2D(struct yagl_transport *t) } /* - * glFramebufferRenderbuffer dispatcher. id = 55 + * glFramebufferRenderbuffer dispatcher. id = 60 */ static void yagl_func_glFramebufferRenderbuffer(struct yagl_transport *t) { @@ -1024,7 +1178,7 @@ static void yagl_func_glFramebufferRenderbuffer(struct yagl_transport *t) } /* - * glBlitFramebuffer dispatcher. id = 56 + * glBlitFramebuffer dispatcher. id = 61 */ static void yagl_func_glBlitFramebuffer(struct yagl_transport *t) { @@ -1054,7 +1208,7 @@ static void yagl_func_glBlitFramebuffer(struct yagl_transport *t) } /* - * glDrawBuffers dispatcher. id = 57 + * glDrawBuffers dispatcher. id = 62 */ static void yagl_func_glDrawBuffers(struct yagl_transport *t) { @@ -1067,7 +1221,29 @@ static void yagl_func_glDrawBuffers(struct yagl_transport *t) } /* - * glGenRenderbuffers dispatcher. id = 58 + * glFramebufferTexture3D dispatcher. id = 63 + */ +static void yagl_func_glFramebufferTexture3D(struct yagl_transport *t) +{ + GLenum target; + GLenum attachment; + GLenum textarget; + GLuint texture; + GLint level; + GLint zoffset; + target = yagl_transport_get_out_GLenum(t); + attachment = yagl_transport_get_out_GLenum(t); + textarget = yagl_transport_get_out_GLenum(t); + texture = yagl_transport_get_out_GLuint(t); + level = yagl_transport_get_out_GLint(t); + zoffset = yagl_transport_get_out_GLint(t); + YAGL_LOG_FUNC_ENTER_SPLIT6(glFramebufferTexture3D, GLenum, GLenum, GLenum, GLuint, GLint, GLint, target, attachment, textarget, texture, level, zoffset); + (void)yagl_host_glFramebufferTexture3D(target, attachment, textarget, texture, level, zoffset); + YAGL_LOG_FUNC_EXIT(NULL); +} + +/* + * glGenRenderbuffers dispatcher. id = 64 */ static void yagl_func_glGenRenderbuffers(struct yagl_transport *t) { @@ -1080,7 +1256,7 @@ static void yagl_func_glGenRenderbuffers(struct yagl_transport *t) } /* - * glBindRenderbuffer dispatcher. id = 59 + * glBindRenderbuffer dispatcher. id = 65 */ static void yagl_func_glBindRenderbuffer(struct yagl_transport *t) { @@ -1094,7 +1270,7 @@ static void yagl_func_glBindRenderbuffer(struct yagl_transport *t) } /* - * glRenderbufferStorage dispatcher. id = 60 + * glRenderbufferStorage dispatcher. id = 66 */ static void yagl_func_glRenderbufferStorage(struct yagl_transport *t) { @@ -1112,7 +1288,7 @@ static void yagl_func_glRenderbufferStorage(struct yagl_transport *t) } /* - * glGetRenderbufferParameteriv dispatcher. id = 61 + * glGetRenderbufferParameteriv dispatcher. id = 67 */ static void yagl_func_glGetRenderbufferParameteriv(struct yagl_transport *t) { @@ -1128,7 +1304,7 @@ static void yagl_func_glGetRenderbufferParameteriv(struct yagl_transport *t) } /* - * glCreateProgram dispatcher. id = 62 + * glCreateProgram dispatcher. id = 68 */ static void yagl_func_glCreateProgram(struct yagl_transport *t) { @@ -1140,7 +1316,7 @@ static void yagl_func_glCreateProgram(struct yagl_transport *t) } /* - * glCreateShader dispatcher. id = 63 + * glCreateShader dispatcher. id = 69 */ static void yagl_func_glCreateShader(struct yagl_transport *t) { @@ -1154,7 +1330,7 @@ static void yagl_func_glCreateShader(struct yagl_transport *t) } /* - * glShaderSource dispatcher. id = 64 + * glShaderSource dispatcher. id = 70 */ static void yagl_func_glShaderSource(struct yagl_transport *t) { @@ -1169,7 +1345,7 @@ static void yagl_func_glShaderSource(struct yagl_transport *t) } /* - * glAttachShader dispatcher. id = 65 + * glAttachShader dispatcher. id = 71 */ static void yagl_func_glAttachShader(struct yagl_transport *t) { @@ -1183,7 +1359,7 @@ static void yagl_func_glAttachShader(struct yagl_transport *t) } /* - * glDetachShader dispatcher. id = 66 + * glDetachShader dispatcher. id = 72 */ static void yagl_func_glDetachShader(struct yagl_transport *t) { @@ -1197,7 +1373,7 @@ static void yagl_func_glDetachShader(struct yagl_transport *t) } /* - * glCompileShader dispatcher. id = 67 + * glCompileShader dispatcher. id = 73 */ static void yagl_func_glCompileShader(struct yagl_transport *t) { @@ -1209,7 +1385,7 @@ static void yagl_func_glCompileShader(struct yagl_transport *t) } /* - * glBindAttribLocation dispatcher. id = 68 + * glBindAttribLocation dispatcher. id = 74 */ static void yagl_func_glBindAttribLocation(struct yagl_transport *t) { @@ -1226,7 +1402,7 @@ static void yagl_func_glBindAttribLocation(struct yagl_transport *t) } /* - * glGetActiveAttrib dispatcher. id = 69 + * glGetActiveAttrib dispatcher. id = 75 */ static void yagl_func_glGetActiveAttrib(struct yagl_transport *t) { @@ -1249,7 +1425,7 @@ static void yagl_func_glGetActiveAttrib(struct yagl_transport *t) } /* - * glGetActiveUniform dispatcher. id = 70 + * glGetActiveUniform dispatcher. id = 76 */ static void yagl_func_glGetActiveUniform(struct yagl_transport *t) { @@ -1272,7 +1448,7 @@ static void yagl_func_glGetActiveUniform(struct yagl_transport *t) } /* - * glGetAttribLocation dispatcher. id = 71 + * glGetAttribLocation dispatcher. id = 77 */ static void yagl_func_glGetAttribLocation(struct yagl_transport *t) { @@ -1289,7 +1465,7 @@ static void yagl_func_glGetAttribLocation(struct yagl_transport *t) } /* - * glGetProgramiv dispatcher. id = 72 + * glGetProgramiv dispatcher. id = 78 */ static void yagl_func_glGetProgramiv(struct yagl_transport *t) { @@ -1305,7 +1481,7 @@ static void yagl_func_glGetProgramiv(struct yagl_transport *t) } /* - * glGetProgramInfoLog dispatcher. id = 73 + * glGetProgramInfoLog dispatcher. id = 79 */ static void yagl_func_glGetProgramInfoLog(struct yagl_transport *t) { @@ -1324,7 +1500,7 @@ static void yagl_func_glGetProgramInfoLog(struct yagl_transport *t) } /* - * glGetShaderiv dispatcher. id = 74 + * glGetShaderiv dispatcher. id = 80 */ static void yagl_func_glGetShaderiv(struct yagl_transport *t) { @@ -1340,7 +1516,7 @@ static void yagl_func_glGetShaderiv(struct yagl_transport *t) } /* - * glGetShaderInfoLog dispatcher. id = 75 + * glGetShaderInfoLog dispatcher. id = 81 */ static void yagl_func_glGetShaderInfoLog(struct yagl_transport *t) { @@ -1359,7 +1535,7 @@ static void yagl_func_glGetShaderInfoLog(struct yagl_transport *t) } /* - * glGetUniformfv dispatcher. id = 76 + * glGetUniformfv dispatcher. id = 82 */ static void yagl_func_glGetUniformfv(struct yagl_transport *t) { @@ -1380,7 +1556,7 @@ static void yagl_func_glGetUniformfv(struct yagl_transport *t) } /* - * glGetUniformiv dispatcher. id = 77 + * glGetUniformiv dispatcher. id = 83 */ static void yagl_func_glGetUniformiv(struct yagl_transport *t) { @@ -1401,7 +1577,7 @@ static void yagl_func_glGetUniformiv(struct yagl_transport *t) } /* - * glGetUniformLocation dispatcher. id = 78 + * glGetUniformLocation dispatcher. id = 84 */ static void yagl_func_glGetUniformLocation(struct yagl_transport *t) { @@ -1418,7 +1594,7 @@ static void yagl_func_glGetUniformLocation(struct yagl_transport *t) } /* - * glGetVertexAttribfv dispatcher. id = 79 + * glGetVertexAttribfv dispatcher. id = 85 */ static void yagl_func_glGetVertexAttribfv(struct yagl_transport *t) { @@ -1437,7 +1613,7 @@ static void yagl_func_glGetVertexAttribfv(struct yagl_transport *t) } /* - * glGetVertexAttribiv dispatcher. id = 80 + * glGetVertexAttribiv dispatcher. id = 86 */ static void yagl_func_glGetVertexAttribiv(struct yagl_transport *t) { @@ -1456,7 +1632,7 @@ static void yagl_func_glGetVertexAttribiv(struct yagl_transport *t) } /* - * glLinkProgram dispatcher. id = 81 + * glLinkProgram dispatcher. id = 87 */ static void yagl_func_glLinkProgram(struct yagl_transport *t) { @@ -1473,7 +1649,7 @@ static void yagl_func_glLinkProgram(struct yagl_transport *t) } /* - * glUniform1f dispatcher. id = 82 + * glUniform1f dispatcher. id = 88 */ static void yagl_func_glUniform1f(struct yagl_transport *t) { @@ -1489,7 +1665,7 @@ static void yagl_func_glUniform1f(struct yagl_transport *t) } /* - * glUniform1fv dispatcher. id = 83 + * glUniform1fv dispatcher. id = 89 */ static void yagl_func_glUniform1fv(struct yagl_transport *t) { @@ -1506,7 +1682,7 @@ static void yagl_func_glUniform1fv(struct yagl_transport *t) } /* - * glUniform1i dispatcher. id = 84 + * glUniform1i dispatcher. id = 90 */ static void yagl_func_glUniform1i(struct yagl_transport *t) { @@ -1522,7 +1698,7 @@ static void yagl_func_glUniform1i(struct yagl_transport *t) } /* - * glUniform1iv dispatcher. id = 85 + * glUniform1iv dispatcher. id = 91 */ static void yagl_func_glUniform1iv(struct yagl_transport *t) { @@ -1539,7 +1715,7 @@ static void yagl_func_glUniform1iv(struct yagl_transport *t) } /* - * glUniform2f dispatcher. id = 86 + * glUniform2f dispatcher. id = 92 */ static void yagl_func_glUniform2f(struct yagl_transport *t) { @@ -1557,7 +1733,7 @@ static void yagl_func_glUniform2f(struct yagl_transport *t) } /* - * glUniform2fv dispatcher. id = 87 + * glUniform2fv dispatcher. id = 93 */ static void yagl_func_glUniform2fv(struct yagl_transport *t) { @@ -1574,7 +1750,7 @@ static void yagl_func_glUniform2fv(struct yagl_transport *t) } /* - * glUniform2i dispatcher. id = 88 + * glUniform2i dispatcher. id = 94 */ static void yagl_func_glUniform2i(struct yagl_transport *t) { @@ -1592,7 +1768,7 @@ static void yagl_func_glUniform2i(struct yagl_transport *t) } /* - * glUniform2iv dispatcher. id = 89 + * glUniform2iv dispatcher. id = 95 */ static void yagl_func_glUniform2iv(struct yagl_transport *t) { @@ -1609,7 +1785,7 @@ static void yagl_func_glUniform2iv(struct yagl_transport *t) } /* - * glUniform3f dispatcher. id = 90 + * glUniform3f dispatcher. id = 96 */ static void yagl_func_glUniform3f(struct yagl_transport *t) { @@ -1629,7 +1805,7 @@ static void yagl_func_glUniform3f(struct yagl_transport *t) } /* - * glUniform3fv dispatcher. id = 91 + * glUniform3fv dispatcher. id = 97 */ static void yagl_func_glUniform3fv(struct yagl_transport *t) { @@ -1646,7 +1822,7 @@ static void yagl_func_glUniform3fv(struct yagl_transport *t) } /* - * glUniform3i dispatcher. id = 92 + * glUniform3i dispatcher. id = 98 */ static void yagl_func_glUniform3i(struct yagl_transport *t) { @@ -1666,7 +1842,7 @@ static void yagl_func_glUniform3i(struct yagl_transport *t) } /* - * glUniform3iv dispatcher. id = 93 + * glUniform3iv dispatcher. id = 99 */ static void yagl_func_glUniform3iv(struct yagl_transport *t) { @@ -1683,7 +1859,7 @@ static void yagl_func_glUniform3iv(struct yagl_transport *t) } /* - * glUniform4f dispatcher. id = 94 + * glUniform4f dispatcher. id = 100 */ static void yagl_func_glUniform4f(struct yagl_transport *t) { @@ -1705,7 +1881,7 @@ static void yagl_func_glUniform4f(struct yagl_transport *t) } /* - * glUniform4fv dispatcher. id = 95 + * glUniform4fv dispatcher. id = 101 */ static void yagl_func_glUniform4fv(struct yagl_transport *t) { @@ -1722,7 +1898,7 @@ static void yagl_func_glUniform4fv(struct yagl_transport *t) } /* - * glUniform4i dispatcher. id = 96 + * glUniform4i dispatcher. id = 102 */ static void yagl_func_glUniform4i(struct yagl_transport *t) { @@ -1744,7 +1920,7 @@ static void yagl_func_glUniform4i(struct yagl_transport *t) } /* - * glUniform4iv dispatcher. id = 97 + * glUniform4iv dispatcher. id = 103 */ static void yagl_func_glUniform4iv(struct yagl_transport *t) { @@ -1761,7 +1937,7 @@ static void yagl_func_glUniform4iv(struct yagl_transport *t) } /* - * glUniformMatrix2fv dispatcher. id = 98 + * glUniformMatrix2fv dispatcher. id = 104 */ static void yagl_func_glUniformMatrix2fv(struct yagl_transport *t) { @@ -1780,7 +1956,7 @@ static void yagl_func_glUniformMatrix2fv(struct yagl_transport *t) } /* - * glUniformMatrix3fv dispatcher. id = 99 + * glUniformMatrix3fv dispatcher. id = 105 */ static void yagl_func_glUniformMatrix3fv(struct yagl_transport *t) { @@ -1799,7 +1975,7 @@ static void yagl_func_glUniformMatrix3fv(struct yagl_transport *t) } /* - * glUniformMatrix4fv dispatcher. id = 100 + * glUniformMatrix4fv dispatcher. id = 106 */ static void yagl_func_glUniformMatrix4fv(struct yagl_transport *t) { @@ -1818,7 +1994,7 @@ static void yagl_func_glUniformMatrix4fv(struct yagl_transport *t) } /* - * glUseProgram dispatcher. id = 101 + * glUseProgram dispatcher. id = 107 */ static void yagl_func_glUseProgram(struct yagl_transport *t) { @@ -1830,7 +2006,7 @@ static void yagl_func_glUseProgram(struct yagl_transport *t) } /* - * glValidateProgram dispatcher. id = 102 + * glValidateProgram dispatcher. id = 108 */ static void yagl_func_glValidateProgram(struct yagl_transport *t) { @@ -1842,7 +2018,7 @@ static void yagl_func_glValidateProgram(struct yagl_transport *t) } /* - * glVertexAttrib1f dispatcher. id = 103 + * glVertexAttrib1f dispatcher. id = 109 */ static void yagl_func_glVertexAttrib1f(struct yagl_transport *t) { @@ -1856,7 +2032,7 @@ static void yagl_func_glVertexAttrib1f(struct yagl_transport *t) } /* - * glVertexAttrib1fv dispatcher. id = 104 + * glVertexAttrib1fv dispatcher. id = 110 */ static void yagl_func_glVertexAttrib1fv(struct yagl_transport *t) { @@ -1871,7 +2047,7 @@ static void yagl_func_glVertexAttrib1fv(struct yagl_transport *t) } /* - * glVertexAttrib2f dispatcher. id = 105 + * glVertexAttrib2f dispatcher. id = 111 */ static void yagl_func_glVertexAttrib2f(struct yagl_transport *t) { @@ -1887,7 +2063,7 @@ static void yagl_func_glVertexAttrib2f(struct yagl_transport *t) } /* - * glVertexAttrib2fv dispatcher. id = 106 + * glVertexAttrib2fv dispatcher. id = 112 */ static void yagl_func_glVertexAttrib2fv(struct yagl_transport *t) { @@ -1902,7 +2078,7 @@ static void yagl_func_glVertexAttrib2fv(struct yagl_transport *t) } /* - * glVertexAttrib3f dispatcher. id = 107 + * glVertexAttrib3f dispatcher. id = 113 */ static void yagl_func_glVertexAttrib3f(struct yagl_transport *t) { @@ -1920,7 +2096,7 @@ static void yagl_func_glVertexAttrib3f(struct yagl_transport *t) } /* - * glVertexAttrib3fv dispatcher. id = 108 + * glVertexAttrib3fv dispatcher. id = 114 */ static void yagl_func_glVertexAttrib3fv(struct yagl_transport *t) { @@ -1935,7 +2111,7 @@ static void yagl_func_glVertexAttrib3fv(struct yagl_transport *t) } /* - * glVertexAttrib4f dispatcher. id = 109 + * glVertexAttrib4f dispatcher. id = 115 */ static void yagl_func_glVertexAttrib4f(struct yagl_transport *t) { @@ -1955,7 +2131,7 @@ static void yagl_func_glVertexAttrib4f(struct yagl_transport *t) } /* - * glVertexAttrib4fv dispatcher. id = 110 + * glVertexAttrib4fv dispatcher. id = 116 */ static void yagl_func_glVertexAttrib4fv(struct yagl_transport *t) { @@ -1970,7 +2146,7 @@ static void yagl_func_glVertexAttrib4fv(struct yagl_transport *t) } /* - * glGetActiveUniformsiv dispatcher. id = 111 + * glGetActiveUniformsiv dispatcher. id = 117 */ static void yagl_func_glGetActiveUniformsiv(struct yagl_transport *t) { @@ -1990,7 +2166,7 @@ static void yagl_func_glGetActiveUniformsiv(struct yagl_transport *t) } /* - * glGetUniformIndices dispatcher. id = 112 + * glGetUniformIndices dispatcher. id = 118 */ static void yagl_func_glGetUniformIndices(struct yagl_transport *t) { @@ -2010,7 +2186,7 @@ static void yagl_func_glGetUniformIndices(struct yagl_transport *t) } /* - * glGetUniformBlockIndex dispatcher. id = 113 + * glGetUniformBlockIndex dispatcher. id = 119 */ static void yagl_func_glGetUniformBlockIndex(struct yagl_transport *t) { @@ -2027,7 +2203,7 @@ static void yagl_func_glGetUniformBlockIndex(struct yagl_transport *t) } /* - * glUniformBlockBinding dispatcher. id = 114 + * glUniformBlockBinding dispatcher. id = 120 */ static void yagl_func_glUniformBlockBinding(struct yagl_transport *t) { @@ -2043,7 +2219,7 @@ static void yagl_func_glUniformBlockBinding(struct yagl_transport *t) } /* - * glGetActiveUniformBlockName dispatcher. id = 115 + * glGetActiveUniformBlockName dispatcher. id = 121 */ static void yagl_func_glGetActiveUniformBlockName(struct yagl_transport *t) { @@ -2062,7 +2238,7 @@ static void yagl_func_glGetActiveUniformBlockName(struct yagl_transport *t) } /* - * glGetActiveUniformBlockiv dispatcher. id = 116 + * glGetActiveUniformBlockiv dispatcher. id = 122 */ static void yagl_func_glGetActiveUniformBlockiv(struct yagl_transport *t) { @@ -2083,7 +2259,7 @@ static void yagl_func_glGetActiveUniformBlockiv(struct yagl_transport *t) } /* - * glGetIntegerv dispatcher. id = 117 + * glGetIntegerv dispatcher. id = 123 */ static void yagl_func_glGetIntegerv(struct yagl_transport *t) { @@ -2100,7 +2276,7 @@ static void yagl_func_glGetIntegerv(struct yagl_transport *t) } /* - * glGetFloatv dispatcher. id = 118 + * glGetFloatv dispatcher. id = 124 */ static void yagl_func_glGetFloatv(struct yagl_transport *t) { @@ -2117,7 +2293,7 @@ static void yagl_func_glGetFloatv(struct yagl_transport *t) } /* - * glGetString dispatcher. id = 119 + * glGetString dispatcher. id = 125 */ static void yagl_func_glGetString(struct yagl_transport *t) { @@ -2134,7 +2310,7 @@ static void yagl_func_glGetString(struct yagl_transport *t) } /* - * glIsEnabled dispatcher. id = 120 + * glIsEnabled dispatcher. id = 126 */ static void yagl_func_glIsEnabled(struct yagl_transport *t) { @@ -2148,7 +2324,7 @@ static void yagl_func_glIsEnabled(struct yagl_transport *t) } /* - * glGenTransformFeedbacks dispatcher. id = 121 + * glGenTransformFeedbacks dispatcher. id = 127 */ static void yagl_func_glGenTransformFeedbacks(struct yagl_transport *t) { @@ -2161,7 +2337,7 @@ static void yagl_func_glGenTransformFeedbacks(struct yagl_transport *t) } /* - * glBindTransformFeedback dispatcher. id = 122 + * glBindTransformFeedback dispatcher. id = 128 */ static void yagl_func_glBindTransformFeedback(struct yagl_transport *t) { @@ -2175,7 +2351,7 @@ static void yagl_func_glBindTransformFeedback(struct yagl_transport *t) } /* - * glBeginTransformFeedback dispatcher. id = 123 + * glBeginTransformFeedback dispatcher. id = 129 */ static void yagl_func_glBeginTransformFeedback(struct yagl_transport *t) { @@ -2187,7 +2363,7 @@ static void yagl_func_glBeginTransformFeedback(struct yagl_transport *t) } /* - * glEndTransformFeedback dispatcher. id = 124 + * glEndTransformFeedback dispatcher. id = 130 */ static void yagl_func_glEndTransformFeedback(struct yagl_transport *t) { @@ -2197,7 +2373,7 @@ static void yagl_func_glEndTransformFeedback(struct yagl_transport *t) } /* - * glPauseTransformFeedback dispatcher. id = 125 + * glPauseTransformFeedback dispatcher. id = 131 */ static void yagl_func_glPauseTransformFeedback(struct yagl_transport *t) { @@ -2207,7 +2383,7 @@ static void yagl_func_glPauseTransformFeedback(struct yagl_transport *t) } /* - * glResumeTransformFeedback dispatcher. id = 126 + * glResumeTransformFeedback dispatcher. id = 132 */ static void yagl_func_glResumeTransformFeedback(struct yagl_transport *t) { @@ -2217,7 +2393,7 @@ static void yagl_func_glResumeTransformFeedback(struct yagl_transport *t) } /* - * glTransformFeedbackVaryings dispatcher. id = 127 + * glTransformFeedbackVaryings dispatcher. id = 133 */ static void yagl_func_glTransformFeedbackVaryings(struct yagl_transport *t) { @@ -2234,7 +2410,7 @@ static void yagl_func_glTransformFeedbackVaryings(struct yagl_transport *t) } /* - * glGetTransformFeedbackVaryings dispatcher. id = 128 + * glGetTransformFeedbackVaryings dispatcher. id = 134 */ static void yagl_func_glGetTransformFeedbackVaryings(struct yagl_transport *t) { @@ -2256,7 +2432,7 @@ static void yagl_func_glGetTransformFeedbackVaryings(struct yagl_transport *t) } /* - * glGenQueries dispatcher. id = 129 + * glGenQueries dispatcher. id = 135 */ static void yagl_func_glGenQueries(struct yagl_transport *t) { @@ -2269,7 +2445,7 @@ static void yagl_func_glGenQueries(struct yagl_transport *t) } /* - * glBeginQuery dispatcher. id = 130 + * glBeginQuery dispatcher. id = 136 */ static void yagl_func_glBeginQuery(struct yagl_transport *t) { @@ -2283,7 +2459,7 @@ static void yagl_func_glBeginQuery(struct yagl_transport *t) } /* - * glEndQuery dispatcher. id = 131 + * glEndQuery dispatcher. id = 137 */ static void yagl_func_glEndQuery(struct yagl_transport *t) { @@ -2295,7 +2471,7 @@ static void yagl_func_glEndQuery(struct yagl_transport *t) } /* - * glGetQueryObjectuiv dispatcher. id = 132 + * glGetQueryObjectuiv dispatcher. id = 138 */ static void yagl_func_glGetQueryObjectuiv(struct yagl_transport *t) { @@ -2311,7 +2487,7 @@ static void yagl_func_glGetQueryObjectuiv(struct yagl_transport *t) } /* - * glDeleteObjects dispatcher. id = 133 + * glDeleteObjects dispatcher. id = 139 */ static void yagl_func_glDeleteObjects(struct yagl_transport *t) { @@ -2324,7 +2500,7 @@ static void yagl_func_glDeleteObjects(struct yagl_transport *t) } /* - * glBlendEquation dispatcher. id = 134 + * glBlendEquation dispatcher. id = 140 */ static void yagl_func_glBlendEquation(struct yagl_transport *t) { @@ -2336,7 +2512,7 @@ static void yagl_func_glBlendEquation(struct yagl_transport *t) } /* - * glBlendEquationSeparate dispatcher. id = 135 + * glBlendEquationSeparate dispatcher. id = 141 */ static void yagl_func_glBlendEquationSeparate(struct yagl_transport *t) { @@ -2350,7 +2526,7 @@ static void yagl_func_glBlendEquationSeparate(struct yagl_transport *t) } /* - * glBlendFunc dispatcher. id = 136 + * glBlendFunc dispatcher. id = 142 */ static void yagl_func_glBlendFunc(struct yagl_transport *t) { @@ -2364,7 +2540,7 @@ static void yagl_func_glBlendFunc(struct yagl_transport *t) } /* - * glBlendFuncSeparate dispatcher. id = 137 + * glBlendFuncSeparate dispatcher. id = 143 */ static void yagl_func_glBlendFuncSeparate(struct yagl_transport *t) { @@ -2382,7 +2558,7 @@ static void yagl_func_glBlendFuncSeparate(struct yagl_transport *t) } /* - * glBlendColor dispatcher. id = 138 + * glBlendColor dispatcher. id = 144 */ static void yagl_func_glBlendColor(struct yagl_transport *t) { @@ -2400,7 +2576,7 @@ static void yagl_func_glBlendColor(struct yagl_transport *t) } /* - * glClear dispatcher. id = 139 + * glClear dispatcher. id = 145 */ static void yagl_func_glClear(struct yagl_transport *t) { @@ -2412,7 +2588,7 @@ static void yagl_func_glClear(struct yagl_transport *t) } /* - * glClearColor dispatcher. id = 140 + * glClearColor dispatcher. id = 146 */ static void yagl_func_glClearColor(struct yagl_transport *t) { @@ -2430,7 +2606,7 @@ static void yagl_func_glClearColor(struct yagl_transport *t) } /* - * glClearDepthf dispatcher. id = 141 + * glClearDepthf dispatcher. id = 147 */ static void yagl_func_glClearDepthf(struct yagl_transport *t) { @@ -2442,7 +2618,7 @@ static void yagl_func_glClearDepthf(struct yagl_transport *t) } /* - * glClearStencil dispatcher. id = 142 + * glClearStencil dispatcher. id = 148 */ static void yagl_func_glClearStencil(struct yagl_transport *t) { @@ -2454,7 +2630,7 @@ static void yagl_func_glClearStencil(struct yagl_transport *t) } /* - * glColorMask dispatcher. id = 143 + * glColorMask dispatcher. id = 149 */ static void yagl_func_glColorMask(struct yagl_transport *t) { @@ -2472,7 +2648,7 @@ static void yagl_func_glColorMask(struct yagl_transport *t) } /* - * glCullFace dispatcher. id = 144 + * glCullFace dispatcher. id = 150 */ static void yagl_func_glCullFace(struct yagl_transport *t) { @@ -2484,7 +2660,7 @@ static void yagl_func_glCullFace(struct yagl_transport *t) } /* - * glDepthFunc dispatcher. id = 145 + * glDepthFunc dispatcher. id = 151 */ static void yagl_func_glDepthFunc(struct yagl_transport *t) { @@ -2496,7 +2672,7 @@ static void yagl_func_glDepthFunc(struct yagl_transport *t) } /* - * glDepthMask dispatcher. id = 146 + * glDepthMask dispatcher. id = 152 */ static void yagl_func_glDepthMask(struct yagl_transport *t) { @@ -2508,7 +2684,7 @@ static void yagl_func_glDepthMask(struct yagl_transport *t) } /* - * glDepthRangef dispatcher. id = 147 + * glDepthRangef dispatcher. id = 153 */ static void yagl_func_glDepthRangef(struct yagl_transport *t) { @@ -2522,7 +2698,7 @@ static void yagl_func_glDepthRangef(struct yagl_transport *t) } /* - * glEnable dispatcher. id = 148 + * glEnable dispatcher. id = 154 */ static void yagl_func_glEnable(struct yagl_transport *t) { @@ -2534,7 +2710,7 @@ static void yagl_func_glEnable(struct yagl_transport *t) } /* - * glDisable dispatcher. id = 149 + * glDisable dispatcher. id = 155 */ static void yagl_func_glDisable(struct yagl_transport *t) { @@ -2546,7 +2722,7 @@ static void yagl_func_glDisable(struct yagl_transport *t) } /* - * glFlush dispatcher. id = 150 + * glFlush dispatcher. id = 156 */ static void yagl_func_glFlush(struct yagl_transport *t) { @@ -2556,7 +2732,7 @@ static void yagl_func_glFlush(struct yagl_transport *t) } /* - * glFrontFace dispatcher. id = 151 + * glFrontFace dispatcher. id = 157 */ static void yagl_func_glFrontFace(struct yagl_transport *t) { @@ -2568,7 +2744,7 @@ static void yagl_func_glFrontFace(struct yagl_transport *t) } /* - * glGenerateMipmap dispatcher. id = 152 + * glGenerateMipmap dispatcher. id = 158 */ static void yagl_func_glGenerateMipmap(struct yagl_transport *t) { @@ -2580,7 +2756,7 @@ static void yagl_func_glGenerateMipmap(struct yagl_transport *t) } /* - * glHint dispatcher. id = 153 + * glHint dispatcher. id = 159 */ static void yagl_func_glHint(struct yagl_transport *t) { @@ -2594,7 +2770,7 @@ static void yagl_func_glHint(struct yagl_transport *t) } /* - * glLineWidth dispatcher. id = 154 + * glLineWidth dispatcher. id = 160 */ static void yagl_func_glLineWidth(struct yagl_transport *t) { @@ -2606,7 +2782,7 @@ static void yagl_func_glLineWidth(struct yagl_transport *t) } /* - * glPixelStorei dispatcher. id = 155 + * glPixelStorei dispatcher. id = 161 */ static void yagl_func_glPixelStorei(struct yagl_transport *t) { @@ -2620,7 +2796,7 @@ static void yagl_func_glPixelStorei(struct yagl_transport *t) } /* - * glPolygonOffset dispatcher. id = 156 + * glPolygonOffset dispatcher. id = 162 */ static void yagl_func_glPolygonOffset(struct yagl_transport *t) { @@ -2634,7 +2810,7 @@ static void yagl_func_glPolygonOffset(struct yagl_transport *t) } /* - * glScissor dispatcher. id = 157 + * glScissor dispatcher. id = 163 */ static void yagl_func_glScissor(struct yagl_transport *t) { @@ -2652,7 +2828,7 @@ static void yagl_func_glScissor(struct yagl_transport *t) } /* - * glStencilFunc dispatcher. id = 158 + * glStencilFunc dispatcher. id = 164 */ static void yagl_func_glStencilFunc(struct yagl_transport *t) { @@ -2668,7 +2844,7 @@ static void yagl_func_glStencilFunc(struct yagl_transport *t) } /* - * glStencilMask dispatcher. id = 159 + * glStencilMask dispatcher. id = 165 */ static void yagl_func_glStencilMask(struct yagl_transport *t) { @@ -2680,7 +2856,7 @@ static void yagl_func_glStencilMask(struct yagl_transport *t) } /* - * glStencilOp dispatcher. id = 160 + * glStencilOp dispatcher. id = 166 */ static void yagl_func_glStencilOp(struct yagl_transport *t) { @@ -2696,7 +2872,7 @@ static void yagl_func_glStencilOp(struct yagl_transport *t) } /* - * glSampleCoverage dispatcher. id = 161 + * glSampleCoverage dispatcher. id = 167 */ static void yagl_func_glSampleCoverage(struct yagl_transport *t) { @@ -2710,7 +2886,7 @@ static void yagl_func_glSampleCoverage(struct yagl_transport *t) } /* - * glViewport dispatcher. id = 162 + * glViewport dispatcher. id = 168 */ static void yagl_func_glViewport(struct yagl_transport *t) { @@ -2728,7 +2904,7 @@ static void yagl_func_glViewport(struct yagl_transport *t) } /* - * glStencilFuncSeparate dispatcher. id = 163 + * glStencilFuncSeparate dispatcher. id = 169 */ static void yagl_func_glStencilFuncSeparate(struct yagl_transport *t) { @@ -2746,7 +2922,7 @@ static void yagl_func_glStencilFuncSeparate(struct yagl_transport *t) } /* - * glStencilMaskSeparate dispatcher. id = 164 + * glStencilMaskSeparate dispatcher. id = 170 */ static void yagl_func_glStencilMaskSeparate(struct yagl_transport *t) { @@ -2760,7 +2936,7 @@ static void yagl_func_glStencilMaskSeparate(struct yagl_transport *t) } /* - * glStencilOpSeparate dispatcher. id = 165 + * glStencilOpSeparate dispatcher. id = 171 */ static void yagl_func_glStencilOpSeparate(struct yagl_transport *t) { @@ -2778,7 +2954,7 @@ static void yagl_func_glStencilOpSeparate(struct yagl_transport *t) } /* - * glPointSize dispatcher. id = 166 + * glPointSize dispatcher. id = 172 */ static void yagl_func_glPointSize(struct yagl_transport *t) { @@ -2790,7 +2966,7 @@ static void yagl_func_glPointSize(struct yagl_transport *t) } /* - * glAlphaFunc dispatcher. id = 167 + * glAlphaFunc dispatcher. id = 173 */ static void yagl_func_glAlphaFunc(struct yagl_transport *t) { @@ -2804,7 +2980,7 @@ static void yagl_func_glAlphaFunc(struct yagl_transport *t) } /* - * glMatrixMode dispatcher. id = 168 + * glMatrixMode dispatcher. id = 174 */ static void yagl_func_glMatrixMode(struct yagl_transport *t) { @@ -2816,7 +2992,7 @@ static void yagl_func_glMatrixMode(struct yagl_transport *t) } /* - * glLoadIdentity dispatcher. id = 169 + * glLoadIdentity dispatcher. id = 175 */ static void yagl_func_glLoadIdentity(struct yagl_transport *t) { @@ -2826,7 +3002,7 @@ static void yagl_func_glLoadIdentity(struct yagl_transport *t) } /* - * glPopMatrix dispatcher. id = 170 + * glPopMatrix dispatcher. id = 176 */ static void yagl_func_glPopMatrix(struct yagl_transport *t) { @@ -2836,7 +3012,7 @@ static void yagl_func_glPopMatrix(struct yagl_transport *t) } /* - * glPushMatrix dispatcher. id = 171 + * glPushMatrix dispatcher. id = 177 */ static void yagl_func_glPushMatrix(struct yagl_transport *t) { @@ -2846,7 +3022,7 @@ static void yagl_func_glPushMatrix(struct yagl_transport *t) } /* - * glRotatef dispatcher. id = 172 + * glRotatef dispatcher. id = 178 */ static void yagl_func_glRotatef(struct yagl_transport *t) { @@ -2864,7 +3040,7 @@ static void yagl_func_glRotatef(struct yagl_transport *t) } /* - * glTranslatef dispatcher. id = 173 + * glTranslatef dispatcher. id = 179 */ static void yagl_func_glTranslatef(struct yagl_transport *t) { @@ -2880,7 +3056,7 @@ static void yagl_func_glTranslatef(struct yagl_transport *t) } /* - * glScalef dispatcher. id = 174 + * glScalef dispatcher. id = 180 */ static void yagl_func_glScalef(struct yagl_transport *t) { @@ -2896,7 +3072,7 @@ static void yagl_func_glScalef(struct yagl_transport *t) } /* - * glOrthof dispatcher. id = 175 + * glOrthof dispatcher. id = 181 */ static void yagl_func_glOrthof(struct yagl_transport *t) { @@ -2918,7 +3094,7 @@ static void yagl_func_glOrthof(struct yagl_transport *t) } /* - * glColor4f dispatcher. id = 176 + * glColor4f dispatcher. id = 182 */ static void yagl_func_glColor4f(struct yagl_transport *t) { @@ -2936,7 +3112,7 @@ static void yagl_func_glColor4f(struct yagl_transport *t) } /* - * glColor4ub dispatcher. id = 177 + * glColor4ub dispatcher. id = 183 */ static void yagl_func_glColor4ub(struct yagl_transport *t) { @@ -2954,7 +3130,7 @@ static void yagl_func_glColor4ub(struct yagl_transport *t) } /* - * glNormal3f dispatcher. id = 178 + * glNormal3f dispatcher. id = 184 */ static void yagl_func_glNormal3f(struct yagl_transport *t) { @@ -2970,7 +3146,7 @@ static void yagl_func_glNormal3f(struct yagl_transport *t) } /* - * glPointParameterf dispatcher. id = 179 + * glPointParameterf dispatcher. id = 185 */ static void yagl_func_glPointParameterf(struct yagl_transport *t) { @@ -2984,7 +3160,7 @@ static void yagl_func_glPointParameterf(struct yagl_transport *t) } /* - * glPointParameterfv dispatcher. id = 180 + * glPointParameterfv dispatcher. id = 186 */ static void yagl_func_glPointParameterfv(struct yagl_transport *t) { @@ -2999,7 +3175,7 @@ static void yagl_func_glPointParameterfv(struct yagl_transport *t) } /* - * glFogf dispatcher. id = 181 + * glFogf dispatcher. id = 187 */ static void yagl_func_glFogf(struct yagl_transport *t) { @@ -3013,7 +3189,7 @@ static void yagl_func_glFogf(struct yagl_transport *t) } /* - * glFogfv dispatcher. id = 182 + * glFogfv dispatcher. id = 188 */ static void yagl_func_glFogfv(struct yagl_transport *t) { @@ -3028,7 +3204,7 @@ static void yagl_func_glFogfv(struct yagl_transport *t) } /* - * glFrustumf dispatcher. id = 183 + * glFrustumf dispatcher. id = 189 */ static void yagl_func_glFrustumf(struct yagl_transport *t) { @@ -3050,7 +3226,7 @@ static void yagl_func_glFrustumf(struct yagl_transport *t) } /* - * glLightf dispatcher. id = 184 + * glLightf dispatcher. id = 190 */ static void yagl_func_glLightf(struct yagl_transport *t) { @@ -3066,7 +3242,7 @@ static void yagl_func_glLightf(struct yagl_transport *t) } /* - * glLightfv dispatcher. id = 185 + * glLightfv dispatcher. id = 191 */ static void yagl_func_glLightfv(struct yagl_transport *t) { @@ -3083,7 +3259,7 @@ static void yagl_func_glLightfv(struct yagl_transport *t) } /* - * glGetLightfv dispatcher. id = 186 + * glGetLightfv dispatcher. id = 192 */ static void yagl_func_glGetLightfv(struct yagl_transport *t) { @@ -3102,7 +3278,7 @@ static void yagl_func_glGetLightfv(struct yagl_transport *t) } /* - * glLightModelf dispatcher. id = 187 + * glLightModelf dispatcher. id = 193 */ static void yagl_func_glLightModelf(struct yagl_transport *t) { @@ -3116,7 +3292,7 @@ static void yagl_func_glLightModelf(struct yagl_transport *t) } /* - * glLightModelfv dispatcher. id = 188 + * glLightModelfv dispatcher. id = 194 */ static void yagl_func_glLightModelfv(struct yagl_transport *t) { @@ -3131,7 +3307,7 @@ static void yagl_func_glLightModelfv(struct yagl_transport *t) } /* - * glMaterialf dispatcher. id = 189 + * glMaterialf dispatcher. id = 195 */ static void yagl_func_glMaterialf(struct yagl_transport *t) { @@ -3147,7 +3323,7 @@ static void yagl_func_glMaterialf(struct yagl_transport *t) } /* - * glMaterialfv dispatcher. id = 190 + * glMaterialfv dispatcher. id = 196 */ static void yagl_func_glMaterialfv(struct yagl_transport *t) { @@ -3164,7 +3340,7 @@ static void yagl_func_glMaterialfv(struct yagl_transport *t) } /* - * glGetMaterialfv dispatcher. id = 191 + * glGetMaterialfv dispatcher. id = 197 */ static void yagl_func_glGetMaterialfv(struct yagl_transport *t) { @@ -3183,7 +3359,7 @@ static void yagl_func_glGetMaterialfv(struct yagl_transport *t) } /* - * glShadeModel dispatcher. id = 192 + * glShadeModel dispatcher. id = 198 */ static void yagl_func_glShadeModel(struct yagl_transport *t) { @@ -3195,7 +3371,7 @@ static void yagl_func_glShadeModel(struct yagl_transport *t) } /* - * glLogicOp dispatcher. id = 193 + * glLogicOp dispatcher. id = 199 */ static void yagl_func_glLogicOp(struct yagl_transport *t) { @@ -3207,7 +3383,7 @@ static void yagl_func_glLogicOp(struct yagl_transport *t) } /* - * glMultMatrixf dispatcher. id = 194 + * glMultMatrixf dispatcher. id = 200 */ static void yagl_func_glMultMatrixf(struct yagl_transport *t) { @@ -3220,7 +3396,7 @@ static void yagl_func_glMultMatrixf(struct yagl_transport *t) } /* - * glLoadMatrixf dispatcher. id = 195 + * glLoadMatrixf dispatcher. id = 201 */ static void yagl_func_glLoadMatrixf(struct yagl_transport *t) { @@ -3233,7 +3409,7 @@ static void yagl_func_glLoadMatrixf(struct yagl_transport *t) } /* - * glClipPlanef dispatcher. id = 196 + * glClipPlanef dispatcher. id = 202 */ static void yagl_func_glClipPlanef(struct yagl_transport *t) { @@ -3248,7 +3424,7 @@ static void yagl_func_glClipPlanef(struct yagl_transport *t) } /* - * glGetClipPlanef dispatcher. id = 197 + * glGetClipPlanef dispatcher. id = 203 */ static void yagl_func_glGetClipPlanef(struct yagl_transport *t) { @@ -3265,7 +3441,7 @@ static void yagl_func_glGetClipPlanef(struct yagl_transport *t) } /* - * glUpdateOffscreenImageYAGL dispatcher. id = 198 + * glUpdateOffscreenImageYAGL dispatcher. id = 204 */ static void yagl_func_glUpdateOffscreenImageYAGL(struct yagl_transport *t) { @@ -3286,7 +3462,7 @@ static void yagl_func_glUpdateOffscreenImageYAGL(struct yagl_transport *t) } /* - * glGenUniformLocationYAGL dispatcher. id = 199 + * glGenUniformLocationYAGL dispatcher. id = 205 */ static void yagl_func_glGenUniformLocationYAGL(struct yagl_transport *t) { @@ -3303,7 +3479,7 @@ static void yagl_func_glGenUniformLocationYAGL(struct yagl_transport *t) } /* - * glDeleteUniformLocationsYAGL dispatcher. id = 200 + * glDeleteUniformLocationsYAGL dispatcher. id = 206 */ static void yagl_func_glDeleteUniformLocationsYAGL(struct yagl_transport *t) { @@ -3315,7 +3491,7 @@ static void yagl_func_glDeleteUniformLocationsYAGL(struct yagl_transport *t) YAGL_LOG_FUNC_EXIT(NULL); } -const uint32_t yagl_gles_api_num_funcs = 200; +const uint32_t yagl_gles_api_num_funcs = 206; yagl_api_func yagl_gles_api_funcs[] = { &yagl_func_glDrawArrays, @@ -3369,12 +3545,18 @@ yagl_api_func yagl_gles_api_funcs[] = { &yagl_func_glTexEnvfv, &yagl_func_glGetTexEnviv, &yagl_func_glGetTexEnvfv, + &yagl_func_glTexImage3D, + &yagl_func_glTexSubImage3D, + &yagl_func_glCopyTexSubImage3D, + &yagl_func_glCompressedTexImage3D, + &yagl_func_glCompressedTexSubImage3D, &yagl_func_glGenFramebuffers, &yagl_func_glBindFramebuffer, &yagl_func_glFramebufferTexture2D, &yagl_func_glFramebufferRenderbuffer, &yagl_func_glBlitFramebuffer, &yagl_func_glDrawBuffers, + &yagl_func_glFramebufferTexture3D, &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 21f7495ebf..79331b9e22 100644 --- a/hw/yagl/yagl_apis/gles/yagl_host_gles_calls.c +++ b/hw/yagl/yagl_apis/gles/yagl_host_gles_calls.c @@ -1070,6 +1070,121 @@ void yagl_host_glGetTexEnvfv(GLenum env, *params_count = params_maxcount; } +void yagl_host_glTexImage3D(GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + const void *pixels, int32_t pixels_count) +{ + gles_api_ts->driver->TexImage3D(target, + level, + internalformat, + width, + height, + depth, + border, + format, + type, + pixels); +} + +void yagl_host_glTexSubImage3D(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + const void *pixels, int32_t pixels_count) +{ + gles_api_ts->driver->TexSubImage3D(target, + level, + xoffset, + yoffset, + zoffset, + width, + height, + depth, + format, + type, + pixels); +} + +void yagl_host_glCopyTexSubImage3D(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height) +{ + gles_api_ts->driver->CopyTexSubImage3D(target, + level, + xoffset, + yoffset, + zoffset, + x, + y, + width, + height); +} + +void yagl_host_glCompressedTexImage3D(GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + const void *data, int32_t data_count) +{ + gles_api_ts->driver->CompressedTexImage3D(target, + level, + internalformat, + width, + height, + depth, + border, + imageSize, + data); +} + +void yagl_host_glCompressedTexSubImage3D(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + const void *data, int32_t data_count) +{ + gles_api_ts->driver->CompressedTexSubImage3D(target, + level, + xoffset, + yoffset, + zoffset, + width, + height, + depth, + format, + imageSize, + data); +} + void yagl_host_glGenFramebuffers(const GLuint *framebuffers, int32_t framebuffers_count) { int i; @@ -1137,6 +1252,19 @@ void yagl_host_glDrawBuffers(const GLenum *bufs, int32_t bufs_count) gles_api_ts->driver->DrawBuffers(bufs_count, bufs); } +void yagl_host_glFramebufferTexture3D(GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level, + GLint zoffset) +{ + gles_api_ts->driver->FramebufferTexture3D(target, attachment, + textarget, + yagl_gles_object_get(texture), + level, zoffset); +} + 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 7b369400f8..e95bf935d0 100644 --- a/hw/yagl/yagl_apis/gles/yagl_host_gles_calls.h +++ b/hw/yagl/yagl_apis/gles/yagl_host_gles_calls.h @@ -226,6 +226,56 @@ void yagl_host_glGetTexEnviv(GLenum env, void yagl_host_glGetTexEnvfv(GLenum env, GLenum pname, GLfloat *params, int32_t params_maxcount, int32_t *params_count); +void yagl_host_glTexImage3D(GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + const void *pixels, int32_t pixels_count); +void yagl_host_glTexSubImage3D(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + const void *pixels, int32_t pixels_count); +void yagl_host_glCopyTexSubImage3D(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height); +void yagl_host_glCompressedTexImage3D(GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + const void *data, int32_t data_count); +void yagl_host_glCompressedTexSubImage3D(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + const void *data, int32_t data_count); void yagl_host_glGenFramebuffers(const GLuint *framebuffers, int32_t framebuffers_count); void yagl_host_glBindFramebuffer(GLenum target, GLuint framebuffer); @@ -249,6 +299,12 @@ void yagl_host_glBlitFramebuffer(GLint srcX0, GLbitfield mask, GLenum filter); void yagl_host_glDrawBuffers(const GLenum *bufs, int32_t bufs_count); +void yagl_host_glFramebufferTexture3D(GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level, + GLint zoffset); 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 e7a88600f3..c70975ebe0 100644 --- a/hw/yagl/yagl_drivers/gles_ogl/yagl_gles_ogl.c +++ b/hw/yagl/yagl_drivers/gles_ogl/yagl_gles_ogl.c @@ -98,6 +98,11 @@ struct yagl_gles_driver *yagl_gles_ogl_create(struct yagl_dyn_lib *dyn_lib, YAGL_GLES_OGL_GET_PROC(driver, TexEnvfv, glTexEnvfv); YAGL_GLES_OGL_GET_PROC(driver, GetTexEnviv, glGetTexEnviv); YAGL_GLES_OGL_GET_PROC(driver, GetTexEnvfv, glGetTexEnvfv); + YAGL_GLES_OGL_GET_PROC(driver, TexImage3D, glTexImage3D); + YAGL_GLES_OGL_GET_PROC(driver, TexSubImage3D, glTexSubImage3D); + YAGL_GLES_OGL_GET_PROC(driver, CopyTexSubImage3D, glCopyTexSubImage3D); + YAGL_GLES_OGL_GET_PROC(driver, CompressedTexImage3D, glCompressedTexImage3D); + YAGL_GLES_OGL_GET_PROC(driver, CompressedTexSubImage3D, glCompressedTexSubImage3D); YAGL_GLES_OGL_GET_PROC(driver, GenFramebuffers, glGenFramebuffersEXT); YAGL_GLES_OGL_GET_PROC(driver, BindFramebuffer, glBindFramebufferEXT); YAGL_GLES_OGL_GET_PROC(driver, FramebufferTexture2D, glFramebufferTexture2DEXT); @@ -105,6 +110,7 @@ struct yagl_gles_driver *yagl_gles_ogl_create(struct yagl_dyn_lib *dyn_lib, YAGL_GLES_OGL_GET_PROC(driver, DeleteFramebuffers, glDeleteFramebuffersEXT); YAGL_GLES_OGL_GET_PROC(driver, BlitFramebuffer, glBlitFramebufferEXT); YAGL_GLES_OGL_GET_PROC(driver, DrawBuffers, glDrawBuffers); + YAGL_GLES_OGL_GET_PROC(driver, FramebufferTexture3D, glFramebufferTexture3DEXT); YAGL_GLES_OGL_GET_PROC(driver, GenRenderbuffers, glGenRenderbuffersEXT); YAGL_GLES_OGL_GET_PROC(driver, BindRenderbuffer, glBindRenderbufferEXT); YAGL_GLES_OGL_GET_PROC(driver, RenderbufferStorage, glRenderbufferStorageEXT); diff --git a/hw/yagl/yagl_gles_driver.h b/hw/yagl/yagl_gles_driver.h index 1b42c03659..5ffa2bce72 100644 --- a/hw/yagl/yagl_gles_driver.h +++ b/hw/yagl/yagl_gles_driver.h @@ -87,6 +87,11 @@ void (YAGL_GLES_APIENTRY *func)(arg0_type arg0, arg1_type arg1, arg2_type arg2, arg4_type arg4, arg5_type arg5, arg6_type arg6, arg7_type arg7, \ arg8_type arg8, arg9_type arg9); +#define YAGL_GLES_DRIVER_FUNC11(func, arg0_type, arg1_type, arg2_type, arg3_type, arg4_type, arg5_type, arg6_type, arg7_type, arg8_type, arg9_type, arg10_type, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) \ +void (YAGL_GLES_APIENTRY *func)(arg0_type arg0, arg1_type arg1, arg2_type arg2, arg3_type arg3, \ + arg4_type arg4, arg5_type arg5, arg6_type arg6, arg7_type arg7, \ + arg8_type arg8, arg9_type arg9, arg10_type arg10); + /* We need this because we can't include (which has GLdouble * definition) and (which has GLfixed definition) simultaneously */ typedef double yagl_GLdouble; @@ -144,6 +149,11 @@ struct yagl_gles_driver YAGL_GLES_DRIVER_FUNC3(TexEnvfv, GLenum, GLenum, const GLfloat*, target, pname, params) YAGL_GLES_DRIVER_FUNC3(GetTexEnviv, GLenum, GLenum, GLint*, env, pname, params) YAGL_GLES_DRIVER_FUNC3(GetTexEnvfv, GLenum, GLenum, GLfloat*, env, pname, params) + YAGL_GLES_DRIVER_FUNC10(TexImage3D, GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const void*, target, level, internalformat, width, height, depth, border, format, type, pixels); + YAGL_GLES_DRIVER_FUNC11(TexSubImage3D, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const void*, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); + YAGL_GLES_DRIVER_FUNC9(CopyTexSubImage3D, GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, target, level, xoffset, yoffset, zoffset, x, y, width, height); + YAGL_GLES_DRIVER_FUNC9(CompressedTexImage3D, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const void*, target, level, internalformat, width, height, depth, border, imageSize, data); + YAGL_GLES_DRIVER_FUNC11(CompressedTexSubImage3D, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const void*, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); YAGL_GLES_DRIVER_FUNC2(GenFramebuffers, GLsizei, GLuint*, n, framebuffers) YAGL_GLES_DRIVER_FUNC2(BindFramebuffer, GLenum, GLuint, target, framebuffer) YAGL_GLES_DRIVER_FUNC5(FramebufferTexture2D, GLenum, GLenum, GLenum, GLuint, GLint, target, attachment, textarget, texture, level) @@ -151,6 +161,7 @@ struct yagl_gles_driver YAGL_GLES_DRIVER_FUNC2(DeleteFramebuffers, GLsizei, const GLuint*, n, framebuffers) YAGL_GLES_DRIVER_FUNC10(BlitFramebuffer, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter) YAGL_GLES_DRIVER_FUNC2(DrawBuffers, GLsizei, const GLenum*, n, bufs) + YAGL_GLES_DRIVER_FUNC6(FramebufferTexture3D, GLenum, GLenum, GLenum, GLuint, GLint, GLint, target, attachment, textarget, texture, level, zoffset); YAGL_GLES_DRIVER_FUNC2(GenRenderbuffers, GLsizei, GLuint*, n, renderbuffers) YAGL_GLES_DRIVER_FUNC2(BindRenderbuffer, GLenum, GLuint, target, renderbuffer) YAGL_GLES_DRIVER_FUNC4(RenderbufferStorage, GLenum, GLenum, GLsizei, GLsizei, target, internalformat, width, height) diff --git a/hw/yagl/yagl_log.h b/hw/yagl/yagl_log.h index 4fd3c0923f..8a8a7a58c6 100644 --- a/hw/yagl/yagl_log.h +++ b/hw/yagl/yagl_log.h @@ -260,6 +260,13 @@ bool yagl_log_is_enabled_for_func_tracing(void); #arg0_type, #arg0, #arg1_type, #arg1, #arg2_type, #arg2, #arg3_type, #arg3, #arg4_type, #arg4, #arg5_type, #arg5, #arg6_type, #arg6, #arg7_type, #arg7, #arg8_type, #arg8, #arg9_type, #arg9, \ arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 ) +#define YAGL_LOG_FUNC_ENTER_SPLIT11( func, \ + arg0_type, arg1_type, arg2_type, arg3_type, arg4_type, arg5_type, arg6_type, arg7_type, arg8_type, arg9_type, arg10_type, \ + arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10 ) \ + YAGL_LOG_FUNC_ENTER_SPLIT( func, 11, \ + #arg0_type, #arg0, #arg1_type, #arg1, #arg2_type, #arg2, #arg3_type, #arg3, #arg4_type, #arg4, #arg5_type, #arg5, #arg6_type, #arg6, #arg7_type, #arg7, #arg8_type, #arg8, #arg9_type, #arg9, #arg10_type, #arg10, \ + arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10 ) + #define YAGL_LOG_TRACE(format, ...) YAGL_LOG_EVENT(trace, _yagl_log_current_pid, _yagl_log_current_tid, _yagl_log_current_func, format,##__VA_ARGS__) #define YAGL_LOG_DEBUG(format, ...) YAGL_LOG_EVENT(debug, _yagl_log_current_pid, _yagl_log_current_tid, _yagl_log_current_func, format,##__VA_ARGS__) #define YAGL_LOG_INFO(format, ...) YAGL_LOG_EVENT(info, _yagl_log_current_pid, _yagl_log_current_tid, _yagl_log_current_func, format,##__VA_ARGS__)