summaryrefslogtreecommitdiff
path: root/hw/yagl
diff options
context:
space:
mode:
authorStanislav Vorobiov <s.vorobiov@samsung.com>2014-01-21 12:03:29 +0400
committerStanislav Vorobiov <s.vorobiov@samsung.com>2014-01-21 12:03:29 +0400
commit1a5580341231d1b4641964e564e33119d5c7541f (patch)
treea3556b12b465eec06feb9a6dc90401a15ea43456 /hw/yagl
parent8d4e6f0dd47cf9a3c326f49fdbacd9864f1d963f (diff)
downloadqemu-1a5580341231d1b4641964e564e33119d5c7541f.tar.gz
qemu-1a5580341231d1b4641964e564e33119d5c7541f.tar.bz2
qemu-1a5580341231d1b4641964e564e33119d5c7541f.zip
YaGL: GL_NV_pixel_buffer_object implemented
Change-Id: I6f402f8e59cbdf6bbc8b397d26b04894cf7059c9
Diffstat (limited to 'hw/yagl')
-rw-r--r--hw/yagl/yagl_apis/gles/yagl_gles_calls.c603
-rw-r--r--hw/yagl/yagl_apis/gles/yagl_host_gles_calls.c129
-rw-r--r--hw/yagl/yagl_apis/gles/yagl_host_gles_calls.h56
-rw-r--r--hw/yagl/yagl_backends/egl_offscreen/yagl_egl_offscreen_context.c14
4 files changed, 540 insertions, 262 deletions
diff --git a/hw/yagl/yagl_apis/gles/yagl_gles_calls.c b/hw/yagl/yagl_apis/gles/yagl_gles_calls.c
index 4b035203ff..0caa123f3c 100644
--- a/hw/yagl/yagl_apis/gles/yagl_gles_calls.c
+++ b/hw/yagl/yagl_apis/gles/yagl_gles_calls.c
@@ -73,9 +73,9 @@ static void yagl_func_glDrawElements(struct yagl_transport *t)
}
/*
- * glReadPixels dispatcher. id = 3
+ * glReadPixelsData dispatcher. id = 3
*/
-static void yagl_func_glReadPixels(struct yagl_transport *t)
+static void yagl_func_glReadPixelsData(struct yagl_transport *t)
{
GLint x;
GLint y;
@@ -93,14 +93,38 @@ static void yagl_func_glReadPixels(struct yagl_transport *t)
format = yagl_transport_get_out_GLenum(t);
type = yagl_transport_get_out_GLenum(t);
yagl_transport_get_in_array(t, 1, (void**)&pixels, &pixels_maxcount, &pixels_count);
- YAGL_LOG_FUNC_ENTER_SPLIT7(glReadPixels, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, void*, x, y, width, height, format, type, pixels);
+ YAGL_LOG_FUNC_ENTER_SPLIT7(glReadPixelsData, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, void*, x, y, width, height, format, type, pixels);
*pixels_count = 0;
- (void)yagl_host_glReadPixels(x, y, width, height, format, type, pixels, pixels_maxcount, pixels_count);
+ (void)yagl_host_glReadPixelsData(x, y, width, height, format, type, pixels, pixels_maxcount, pixels_count);
YAGL_LOG_FUNC_EXIT(NULL);
}
/*
- * glDrawArraysInstanced dispatcher. id = 4
+ * glReadPixelsOffset dispatcher. id = 4
+ */
+static void yagl_func_glReadPixelsOffset(struct yagl_transport *t)
+{
+ GLint x;
+ GLint y;
+ GLsizei width;
+ GLsizei height;
+ GLenum format;
+ GLenum type;
+ GLsizei pixels;
+ 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);
+ format = yagl_transport_get_out_GLenum(t);
+ type = yagl_transport_get_out_GLenum(t);
+ pixels = yagl_transport_get_out_GLsizei(t);
+ YAGL_LOG_FUNC_ENTER_SPLIT7(glReadPixelsOffset, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLsizei, x, y, width, height, format, type, pixels);
+ (void)yagl_host_glReadPixelsOffset(x, y, width, height, format, type, pixels);
+ YAGL_LOG_FUNC_EXIT(NULL);
+}
+
+/*
+ * glDrawArraysInstanced dispatcher. id = 5
*/
static void yagl_func_glDrawArraysInstanced(struct yagl_transport *t)
{
@@ -118,7 +142,7 @@ static void yagl_func_glDrawArraysInstanced(struct yagl_transport *t)
}
/*
- * glDrawElementsInstanced dispatcher. id = 5
+ * glDrawElementsInstanced dispatcher. id = 6
*/
static void yagl_func_glDrawElementsInstanced(struct yagl_transport *t)
{
@@ -139,7 +163,7 @@ static void yagl_func_glDrawElementsInstanced(struct yagl_transport *t)
}
/*
- * glGenVertexArrays dispatcher. id = 6
+ * glGenVertexArrays dispatcher. id = 7
*/
static void yagl_func_glGenVertexArrays(struct yagl_transport *t)
{
@@ -152,7 +176,7 @@ static void yagl_func_glGenVertexArrays(struct yagl_transport *t)
}
/*
- * glBindVertexArray dispatcher. id = 7
+ * glBindVertexArray dispatcher. id = 8
*/
static void yagl_func_glBindVertexArray(struct yagl_transport *t)
{
@@ -164,7 +188,7 @@ static void yagl_func_glBindVertexArray(struct yagl_transport *t)
}
/*
- * glDisableVertexAttribArray dispatcher. id = 8
+ * glDisableVertexAttribArray dispatcher. id = 9
*/
static void yagl_func_glDisableVertexAttribArray(struct yagl_transport *t)
{
@@ -176,7 +200,7 @@ static void yagl_func_glDisableVertexAttribArray(struct yagl_transport *t)
}
/*
- * glEnableVertexAttribArray dispatcher. id = 9
+ * glEnableVertexAttribArray dispatcher. id = 10
*/
static void yagl_func_glEnableVertexAttribArray(struct yagl_transport *t)
{
@@ -188,7 +212,7 @@ static void yagl_func_glEnableVertexAttribArray(struct yagl_transport *t)
}
/*
- * glVertexAttribPointerData dispatcher. id = 10
+ * glVertexAttribPointerData dispatcher. id = 11
*/
static void yagl_func_glVertexAttribPointerData(struct yagl_transport *t)
{
@@ -213,7 +237,7 @@ static void yagl_func_glVertexAttribPointerData(struct yagl_transport *t)
}
/*
- * glVertexAttribPointerOffset dispatcher. id = 11
+ * glVertexAttribPointerOffset dispatcher. id = 12
*/
static void yagl_func_glVertexAttribPointerOffset(struct yagl_transport *t)
{
@@ -235,7 +259,7 @@ static void yagl_func_glVertexAttribPointerOffset(struct yagl_transport *t)
}
/*
- * glVertexPointerData dispatcher. id = 12
+ * glVertexPointerData dispatcher. id = 13
*/
static void yagl_func_glVertexPointerData(struct yagl_transport *t)
{
@@ -256,7 +280,7 @@ static void yagl_func_glVertexPointerData(struct yagl_transport *t)
}
/*
- * glVertexPointerOffset dispatcher. id = 13
+ * glVertexPointerOffset dispatcher. id = 14
*/
static void yagl_func_glVertexPointerOffset(struct yagl_transport *t)
{
@@ -274,7 +298,7 @@ static void yagl_func_glVertexPointerOffset(struct yagl_transport *t)
}
/*
- * glNormalPointerData dispatcher. id = 14
+ * glNormalPointerData dispatcher. id = 15
*/
static void yagl_func_glNormalPointerData(struct yagl_transport *t)
{
@@ -293,7 +317,7 @@ static void yagl_func_glNormalPointerData(struct yagl_transport *t)
}
/*
- * glNormalPointerOffset dispatcher. id = 15
+ * glNormalPointerOffset dispatcher. id = 16
*/
static void yagl_func_glNormalPointerOffset(struct yagl_transport *t)
{
@@ -309,7 +333,7 @@ static void yagl_func_glNormalPointerOffset(struct yagl_transport *t)
}
/*
- * glColorPointerData dispatcher. id = 16
+ * glColorPointerData dispatcher. id = 17
*/
static void yagl_func_glColorPointerData(struct yagl_transport *t)
{
@@ -330,7 +354,7 @@ static void yagl_func_glColorPointerData(struct yagl_transport *t)
}
/*
- * glColorPointerOffset dispatcher. id = 17
+ * glColorPointerOffset dispatcher. id = 18
*/
static void yagl_func_glColorPointerOffset(struct yagl_transport *t)
{
@@ -348,7 +372,7 @@ static void yagl_func_glColorPointerOffset(struct yagl_transport *t)
}
/*
- * glTexCoordPointerData dispatcher. id = 18
+ * glTexCoordPointerData dispatcher. id = 19
*/
static void yagl_func_glTexCoordPointerData(struct yagl_transport *t)
{
@@ -371,7 +395,7 @@ static void yagl_func_glTexCoordPointerData(struct yagl_transport *t)
}
/*
- * glTexCoordPointerOffset dispatcher. id = 19
+ * glTexCoordPointerOffset dispatcher. id = 20
*/
static void yagl_func_glTexCoordPointerOffset(struct yagl_transport *t)
{
@@ -389,7 +413,7 @@ static void yagl_func_glTexCoordPointerOffset(struct yagl_transport *t)
}
/*
- * glDisableClientState dispatcher. id = 20
+ * glDisableClientState dispatcher. id = 21
*/
static void yagl_func_glDisableClientState(struct yagl_transport *t)
{
@@ -401,7 +425,7 @@ static void yagl_func_glDisableClientState(struct yagl_transport *t)
}
/*
- * glEnableClientState dispatcher. id = 21
+ * glEnableClientState dispatcher. id = 22
*/
static void yagl_func_glEnableClientState(struct yagl_transport *t)
{
@@ -413,7 +437,7 @@ static void yagl_func_glEnableClientState(struct yagl_transport *t)
}
/*
- * glVertexAttribDivisor dispatcher. id = 22
+ * glVertexAttribDivisor dispatcher. id = 23
*/
static void yagl_func_glVertexAttribDivisor(struct yagl_transport *t)
{
@@ -427,7 +451,7 @@ static void yagl_func_glVertexAttribDivisor(struct yagl_transport *t)
}
/*
- * glGenBuffers dispatcher. id = 23
+ * glGenBuffers dispatcher. id = 24
*/
static void yagl_func_glGenBuffers(struct yagl_transport *t)
{
@@ -440,7 +464,7 @@ static void yagl_func_glGenBuffers(struct yagl_transport *t)
}
/*
- * glBindBuffer dispatcher. id = 24
+ * glBindBuffer dispatcher. id = 25
*/
static void yagl_func_glBindBuffer(struct yagl_transport *t)
{
@@ -454,7 +478,7 @@ static void yagl_func_glBindBuffer(struct yagl_transport *t)
}
/*
- * glBufferData dispatcher. id = 25
+ * glBufferData dispatcher. id = 26
*/
static void yagl_func_glBufferData(struct yagl_transport *t)
{
@@ -471,7 +495,7 @@ static void yagl_func_glBufferData(struct yagl_transport *t)
}
/*
- * glBufferSubData dispatcher. id = 26
+ * glBufferSubData dispatcher. id = 27
*/
static void yagl_func_glBufferSubData(struct yagl_transport *t)
{
@@ -488,7 +512,7 @@ static void yagl_func_glBufferSubData(struct yagl_transport *t)
}
/*
- * glBindBufferBase dispatcher. id = 27
+ * glBindBufferBase dispatcher. id = 28
*/
static void yagl_func_glBindBufferBase(struct yagl_transport *t)
{
@@ -504,7 +528,7 @@ static void yagl_func_glBindBufferBase(struct yagl_transport *t)
}
/*
- * glBindBufferRange dispatcher. id = 28
+ * glBindBufferRange dispatcher. id = 29
*/
static void yagl_func_glBindBufferRange(struct yagl_transport *t)
{
@@ -524,7 +548,7 @@ static void yagl_func_glBindBufferRange(struct yagl_transport *t)
}
/*
- * glGenTextures dispatcher. id = 29
+ * glGenTextures dispatcher. id = 30
*/
static void yagl_func_glGenTextures(struct yagl_transport *t)
{
@@ -537,7 +561,7 @@ static void yagl_func_glGenTextures(struct yagl_transport *t)
}
/*
- * glBindTexture dispatcher. id = 30
+ * glBindTexture dispatcher. id = 31
*/
static void yagl_func_glBindTexture(struct yagl_transport *t)
{
@@ -551,7 +575,7 @@ static void yagl_func_glBindTexture(struct yagl_transport *t)
}
/*
- * glActiveTexture dispatcher. id = 31
+ * glActiveTexture dispatcher. id = 32
*/
static void yagl_func_glActiveTexture(struct yagl_transport *t)
{
@@ -563,7 +587,7 @@ static void yagl_func_glActiveTexture(struct yagl_transport *t)
}
/*
- * glCopyTexImage2D dispatcher. id = 32
+ * glCopyTexImage2D dispatcher. id = 33
*/
static void yagl_func_glCopyTexImage2D(struct yagl_transport *t)
{
@@ -589,7 +613,7 @@ static void yagl_func_glCopyTexImage2D(struct yagl_transport *t)
}
/*
- * glCopyTexSubImage2D dispatcher. id = 33
+ * glCopyTexSubImage2D dispatcher. id = 34
*/
static void yagl_func_glCopyTexSubImage2D(struct yagl_transport *t)
{
@@ -615,7 +639,7 @@ static void yagl_func_glCopyTexSubImage2D(struct yagl_transport *t)
}
/*
- * glGetTexParameterfv dispatcher. id = 34
+ * glGetTexParameterfv dispatcher. id = 35
*/
static void yagl_func_glGetTexParameterfv(struct yagl_transport *t)
{
@@ -631,7 +655,7 @@ static void yagl_func_glGetTexParameterfv(struct yagl_transport *t)
}
/*
- * glGetTexParameteriv dispatcher. id = 35
+ * glGetTexParameteriv dispatcher. id = 36
*/
static void yagl_func_glGetTexParameteriv(struct yagl_transport *t)
{
@@ -647,9 +671,9 @@ static void yagl_func_glGetTexParameteriv(struct yagl_transport *t)
}
/*
- * glTexImage2D dispatcher. id = 36
+ * glTexImage2DData dispatcher. id = 37
*/
-static void yagl_func_glTexImage2D(struct yagl_transport *t)
+static void yagl_func_glTexImage2DData(struct yagl_transport *t)
{
GLenum target;
GLint level;
@@ -670,13 +694,41 @@ static void yagl_func_glTexImage2D(struct yagl_transport *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_SPLIT9(glTexImage2D, GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, void*, target, level, internalformat, width, height, border, format, type, pixels);
- (void)yagl_host_glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels, pixels_count);
+ YAGL_LOG_FUNC_ENTER_SPLIT9(glTexImage2DData, GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, void*, target, level, internalformat, width, height, border, format, type, pixels);
+ (void)yagl_host_glTexImage2DData(target, level, internalformat, width, height, border, format, type, pixels, pixels_count);
+ YAGL_LOG_FUNC_EXIT(NULL);
+}
+
+/*
+ * glTexImage2DOffset dispatcher. id = 38
+ */
+static void yagl_func_glTexImage2DOffset(struct yagl_transport *t)
+{
+ GLenum target;
+ GLint level;
+ GLint internalformat;
+ GLsizei width;
+ GLsizei height;
+ GLint border;
+ GLenum format;
+ GLenum type;
+ GLsizei pixels;
+ 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);
+ border = yagl_transport_get_out_GLint(t);
+ format = yagl_transport_get_out_GLenum(t);
+ type = yagl_transport_get_out_GLenum(t);
+ pixels = yagl_transport_get_out_GLsizei(t);
+ YAGL_LOG_FUNC_ENTER_SPLIT9(glTexImage2DOffset, GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, GLsizei, target, level, internalformat, width, height, border, format, type, pixels);
+ (void)yagl_host_glTexImage2DOffset(target, level, internalformat, width, height, border, format, type, pixels);
YAGL_LOG_FUNC_EXIT(NULL);
}
/*
- * glTexParameterf dispatcher. id = 37
+ * glTexParameterf dispatcher. id = 39
*/
static void yagl_func_glTexParameterf(struct yagl_transport *t)
{
@@ -692,7 +744,7 @@ static void yagl_func_glTexParameterf(struct yagl_transport *t)
}
/*
- * glTexParameterfv dispatcher. id = 38
+ * glTexParameterfv dispatcher. id = 40
*/
static void yagl_func_glTexParameterfv(struct yagl_transport *t)
{
@@ -709,7 +761,7 @@ static void yagl_func_glTexParameterfv(struct yagl_transport *t)
}
/*
- * glTexParameteri dispatcher. id = 39
+ * glTexParameteri dispatcher. id = 41
*/
static void yagl_func_glTexParameteri(struct yagl_transport *t)
{
@@ -725,7 +777,7 @@ static void yagl_func_glTexParameteri(struct yagl_transport *t)
}
/*
- * glTexParameteriv dispatcher. id = 40
+ * glTexParameteriv dispatcher. id = 42
*/
static void yagl_func_glTexParameteriv(struct yagl_transport *t)
{
@@ -742,9 +794,9 @@ static void yagl_func_glTexParameteriv(struct yagl_transport *t)
}
/*
- * glTexSubImage2D dispatcher. id = 41
+ * glTexSubImage2DData dispatcher. id = 43
*/
-static void yagl_func_glTexSubImage2D(struct yagl_transport *t)
+static void yagl_func_glTexSubImage2DData(struct yagl_transport *t)
{
GLenum target;
GLint level;
@@ -765,13 +817,41 @@ static void yagl_func_glTexSubImage2D(struct yagl_transport *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_SPLIT9(glTexSubImage2D, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, void*, target, level, xoffset, yoffset, width, height, format, type, pixels);
- (void)yagl_host_glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels, pixels_count);
+ YAGL_LOG_FUNC_ENTER_SPLIT9(glTexSubImage2DData, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, void*, target, level, xoffset, yoffset, width, height, format, type, pixels);
+ (void)yagl_host_glTexSubImage2DData(target, level, xoffset, yoffset, width, height, format, type, pixels, pixels_count);
+ YAGL_LOG_FUNC_EXIT(NULL);
+}
+
+/*
+ * glTexSubImage2DOffset dispatcher. id = 44
+ */
+static void yagl_func_glTexSubImage2DOffset(struct yagl_transport *t)
+{
+ GLenum target;
+ GLint level;
+ GLint xoffset;
+ GLint yoffset;
+ GLsizei width;
+ GLsizei height;
+ GLenum format;
+ GLenum type;
+ GLsizei pixels;
+ 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);
+ width = yagl_transport_get_out_GLsizei(t);
+ height = yagl_transport_get_out_GLsizei(t);
+ format = yagl_transport_get_out_GLenum(t);
+ type = yagl_transport_get_out_GLenum(t);
+ pixels = yagl_transport_get_out_GLsizei(t);
+ YAGL_LOG_FUNC_ENTER_SPLIT9(glTexSubImage2DOffset, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLsizei, target, level, xoffset, yoffset, width, height, format, type, pixels);
+ (void)yagl_host_glTexSubImage2DOffset(target, level, xoffset, yoffset, width, height, format, type, pixels);
YAGL_LOG_FUNC_EXIT(NULL);
}
/*
- * glClientActiveTexture dispatcher. id = 42
+ * glClientActiveTexture dispatcher. id = 45
*/
static void yagl_func_glClientActiveTexture(struct yagl_transport *t)
{
@@ -783,7 +863,7 @@ static void yagl_func_glClientActiveTexture(struct yagl_transport *t)
}
/*
- * glTexEnvi dispatcher. id = 43
+ * glTexEnvi dispatcher. id = 46
*/
static void yagl_func_glTexEnvi(struct yagl_transport *t)
{
@@ -799,7 +879,7 @@ static void yagl_func_glTexEnvi(struct yagl_transport *t)
}
/*
- * glTexEnvf dispatcher. id = 44
+ * glTexEnvf dispatcher. id = 47
*/
static void yagl_func_glTexEnvf(struct yagl_transport *t)
{
@@ -815,7 +895,7 @@ static void yagl_func_glTexEnvf(struct yagl_transport *t)
}
/*
- * glMultiTexCoord4f dispatcher. id = 45
+ * glMultiTexCoord4f dispatcher. id = 48
*/
static void yagl_func_glMultiTexCoord4f(struct yagl_transport *t)
{
@@ -835,7 +915,7 @@ static void yagl_func_glMultiTexCoord4f(struct yagl_transport *t)
}
/*
- * glTexEnviv dispatcher. id = 46
+ * glTexEnviv dispatcher. id = 49
*/
static void yagl_func_glTexEnviv(struct yagl_transport *t)
{
@@ -852,7 +932,7 @@ static void yagl_func_glTexEnviv(struct yagl_transport *t)
}
/*
- * glTexEnvfv dispatcher. id = 47
+ * glTexEnvfv dispatcher. id = 50
*/
static void yagl_func_glTexEnvfv(struct yagl_transport *t)
{
@@ -869,7 +949,7 @@ static void yagl_func_glTexEnvfv(struct yagl_transport *t)
}
/*
- * glGetTexEnviv dispatcher. id = 48
+ * glGetTexEnviv dispatcher. id = 51
*/
static void yagl_func_glGetTexEnviv(struct yagl_transport *t)
{
@@ -888,7 +968,7 @@ static void yagl_func_glGetTexEnviv(struct yagl_transport *t)
}
/*
- * glGetTexEnvfv dispatcher. id = 49
+ * glGetTexEnvfv dispatcher. id = 52
*/
static void yagl_func_glGetTexEnvfv(struct yagl_transport *t)
{
@@ -907,9 +987,9 @@ static void yagl_func_glGetTexEnvfv(struct yagl_transport *t)
}
/*
- * glTexImage3D dispatcher. id = 50
+ * glTexImage3DData dispatcher. id = 53
*/
-static void yagl_func_glTexImage3D(struct yagl_transport *t)
+static void yagl_func_glTexImage3DData(struct yagl_transport *t)
{
GLenum target;
GLint level;
@@ -932,15 +1012,45 @@ static void yagl_func_glTexImage3D(struct yagl_transport *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_ENTER_SPLIT10(glTexImage3DData, GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, void*, target, level, internalformat, width, height, depth, border, format, type, pixels);
+ (void)yagl_host_glTexImage3DData(target, level, internalformat, width, height, depth, border, format, type, pixels, pixels_count);
+ YAGL_LOG_FUNC_EXIT(NULL);
+}
+
+/*
+ * glTexImage3DOffset dispatcher. id = 54
+ */
+static void yagl_func_glTexImage3DOffset(struct yagl_transport *t)
+{
+ GLenum target;
+ GLint level;
+ GLint internalformat;
+ GLsizei width;
+ GLsizei height;
+ GLsizei depth;
+ GLint border;
+ GLenum format;
+ GLenum type;
+ GLsizei pixels;
+ 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);
+ pixels = yagl_transport_get_out_GLsizei(t);
+ YAGL_LOG_FUNC_ENTER_SPLIT10(glTexImage3DOffset, GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, GLsizei, target, level, internalformat, width, height, depth, border, format, type, pixels);
+ (void)yagl_host_glTexImage3DOffset(target, level, internalformat, width, height, depth, border, format, type, pixels);
YAGL_LOG_FUNC_EXIT(NULL);
}
/*
- * glTexSubImage3D dispatcher. id = 51
+ * glTexSubImage3DData dispatcher. id = 55
*/
-static void yagl_func_glTexSubImage3D(struct yagl_transport *t)
+static void yagl_func_glTexSubImage3DData(struct yagl_transport *t)
{
GLenum target;
GLint level;
@@ -965,13 +1075,45 @@ static void yagl_func_glTexSubImage3D(struct yagl_transport *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_ENTER_SPLIT11(glTexSubImage3DData, 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_glTexSubImage3DData(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels, pixels_count);
+ YAGL_LOG_FUNC_EXIT(NULL);
+}
+
+/*
+ * glTexSubImage3DOffset dispatcher. id = 56
+ */
+static void yagl_func_glTexSubImage3DOffset(struct yagl_transport *t)
+{
+ GLenum target;
+ GLint level;
+ GLint xoffset;
+ GLint yoffset;
+ GLint zoffset;
+ GLsizei width;
+ GLsizei height;
+ GLsizei depth;
+ GLenum format;
+ GLenum type;
+ GLsizei pixels;
+ 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);
+ pixels = yagl_transport_get_out_GLsizei(t);
+ YAGL_LOG_FUNC_ENTER_SPLIT11(glTexSubImage3DOffset, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, GLsizei, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
+ (void)yagl_host_glTexSubImage3DOffset(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
YAGL_LOG_FUNC_EXIT(NULL);
}
/*
- * glCopyTexSubImage3D dispatcher. id = 52
+ * glCopyTexSubImage3D dispatcher. id = 57
*/
static void yagl_func_glCopyTexSubImage3D(struct yagl_transport *t)
{
@@ -999,7 +1141,7 @@ static void yagl_func_glCopyTexSubImage3D(struct yagl_transport *t)
}
/*
- * glGenFramebuffers dispatcher. id = 53
+ * glGenFramebuffers dispatcher. id = 58
*/
static void yagl_func_glGenFramebuffers(struct yagl_transport *t)
{
@@ -1012,7 +1154,7 @@ static void yagl_func_glGenFramebuffers(struct yagl_transport *t)
}
/*
- * glBindFramebuffer dispatcher. id = 54
+ * glBindFramebuffer dispatcher. id = 59
*/
static void yagl_func_glBindFramebuffer(struct yagl_transport *t)
{
@@ -1026,7 +1168,7 @@ static void yagl_func_glBindFramebuffer(struct yagl_transport *t)
}
/*
- * glFramebufferTexture2D dispatcher. id = 55
+ * glFramebufferTexture2D dispatcher. id = 60
*/
static void yagl_func_glFramebufferTexture2D(struct yagl_transport *t)
{
@@ -1046,7 +1188,7 @@ static void yagl_func_glFramebufferTexture2D(struct yagl_transport *t)
}
/*
- * glFramebufferRenderbuffer dispatcher. id = 56
+ * glFramebufferRenderbuffer dispatcher. id = 61
*/
static void yagl_func_glFramebufferRenderbuffer(struct yagl_transport *t)
{
@@ -1064,7 +1206,7 @@ static void yagl_func_glFramebufferRenderbuffer(struct yagl_transport *t)
}
/*
- * glBlitFramebuffer dispatcher. id = 57
+ * glBlitFramebuffer dispatcher. id = 62
*/
static void yagl_func_glBlitFramebuffer(struct yagl_transport *t)
{
@@ -1094,7 +1236,7 @@ static void yagl_func_glBlitFramebuffer(struct yagl_transport *t)
}
/*
- * glDrawBuffers dispatcher. id = 58
+ * glDrawBuffers dispatcher. id = 63
*/
static void yagl_func_glDrawBuffers(struct yagl_transport *t)
{
@@ -1107,7 +1249,7 @@ static void yagl_func_glDrawBuffers(struct yagl_transport *t)
}
/*
- * glFramebufferTexture3D dispatcher. id = 59
+ * glFramebufferTexture3D dispatcher. id = 64
*/
static void yagl_func_glFramebufferTexture3D(struct yagl_transport *t)
{
@@ -1129,7 +1271,7 @@ static void yagl_func_glFramebufferTexture3D(struct yagl_transport *t)
}
/*
- * glFramebufferTextureLayer dispatcher. id = 60
+ * glFramebufferTextureLayer dispatcher. id = 65
*/
static void yagl_func_glFramebufferTextureLayer(struct yagl_transport *t)
{
@@ -1149,7 +1291,7 @@ static void yagl_func_glFramebufferTextureLayer(struct yagl_transport *t)
}
/*
- * glGenRenderbuffers dispatcher. id = 61
+ * glGenRenderbuffers dispatcher. id = 66
*/
static void yagl_func_glGenRenderbuffers(struct yagl_transport *t)
{
@@ -1162,7 +1304,7 @@ static void yagl_func_glGenRenderbuffers(struct yagl_transport *t)
}
/*
- * glBindRenderbuffer dispatcher. id = 62
+ * glBindRenderbuffer dispatcher. id = 67
*/
static void yagl_func_glBindRenderbuffer(struct yagl_transport *t)
{
@@ -1176,7 +1318,7 @@ static void yagl_func_glBindRenderbuffer(struct yagl_transport *t)
}
/*
- * glRenderbufferStorage dispatcher. id = 63
+ * glRenderbufferStorage dispatcher. id = 68
*/
static void yagl_func_glRenderbufferStorage(struct yagl_transport *t)
{
@@ -1194,7 +1336,7 @@ static void yagl_func_glRenderbufferStorage(struct yagl_transport *t)
}
/*
- * glGetRenderbufferParameteriv dispatcher. id = 64
+ * glGetRenderbufferParameteriv dispatcher. id = 69
*/
static void yagl_func_glGetRenderbufferParameteriv(struct yagl_transport *t)
{
@@ -1210,7 +1352,7 @@ static void yagl_func_glGetRenderbufferParameteriv(struct yagl_transport *t)
}
/*
- * glCreateProgram dispatcher. id = 65
+ * glCreateProgram dispatcher. id = 70
*/
static void yagl_func_glCreateProgram(struct yagl_transport *t)
{
@@ -1222,7 +1364,7 @@ static void yagl_func_glCreateProgram(struct yagl_transport *t)
}
/*
- * glCreateShader dispatcher. id = 66
+ * glCreateShader dispatcher. id = 71
*/
static void yagl_func_glCreateShader(struct yagl_transport *t)
{
@@ -1236,7 +1378,7 @@ static void yagl_func_glCreateShader(struct yagl_transport *t)
}
/*
- * glShaderSource dispatcher. id = 67
+ * glShaderSource dispatcher. id = 72
*/
static void yagl_func_glShaderSource(struct yagl_transport *t)
{
@@ -1251,7 +1393,7 @@ static void yagl_func_glShaderSource(struct yagl_transport *t)
}
/*
- * glAttachShader dispatcher. id = 68
+ * glAttachShader dispatcher. id = 73
*/
static void yagl_func_glAttachShader(struct yagl_transport *t)
{
@@ -1265,7 +1407,7 @@ static void yagl_func_glAttachShader(struct yagl_transport *t)
}
/*
- * glDetachShader dispatcher. id = 69
+ * glDetachShader dispatcher. id = 74
*/
static void yagl_func_glDetachShader(struct yagl_transport *t)
{
@@ -1279,7 +1421,7 @@ static void yagl_func_glDetachShader(struct yagl_transport *t)
}
/*
- * glCompileShader dispatcher. id = 70
+ * glCompileShader dispatcher. id = 75
*/
static void yagl_func_glCompileShader(struct yagl_transport *t)
{
@@ -1291,7 +1433,7 @@ static void yagl_func_glCompileShader(struct yagl_transport *t)
}
/*
- * glBindAttribLocation dispatcher. id = 71
+ * glBindAttribLocation dispatcher. id = 76
*/
static void yagl_func_glBindAttribLocation(struct yagl_transport *t)
{
@@ -1308,7 +1450,7 @@ static void yagl_func_glBindAttribLocation(struct yagl_transport *t)
}
/*
- * glGetActiveAttrib dispatcher. id = 72
+ * glGetActiveAttrib dispatcher. id = 77
*/
static void yagl_func_glGetActiveAttrib(struct yagl_transport *t)
{
@@ -1331,7 +1473,7 @@ static void yagl_func_glGetActiveAttrib(struct yagl_transport *t)
}
/*
- * glGetActiveUniform dispatcher. id = 73
+ * glGetActiveUniform dispatcher. id = 78
*/
static void yagl_func_glGetActiveUniform(struct yagl_transport *t)
{
@@ -1354,7 +1496,7 @@ static void yagl_func_glGetActiveUniform(struct yagl_transport *t)
}
/*
- * glGetAttribLocation dispatcher. id = 74
+ * glGetAttribLocation dispatcher. id = 79
*/
static void yagl_func_glGetAttribLocation(struct yagl_transport *t)
{
@@ -1371,7 +1513,7 @@ static void yagl_func_glGetAttribLocation(struct yagl_transport *t)
}
/*
- * glGetProgramiv dispatcher. id = 75
+ * glGetProgramiv dispatcher. id = 80
*/
static void yagl_func_glGetProgramiv(struct yagl_transport *t)
{
@@ -1387,7 +1529,7 @@ static void yagl_func_glGetProgramiv(struct yagl_transport *t)
}
/*
- * glGetProgramInfoLog dispatcher. id = 76
+ * glGetProgramInfoLog dispatcher. id = 81
*/
static void yagl_func_glGetProgramInfoLog(struct yagl_transport *t)
{
@@ -1406,7 +1548,7 @@ static void yagl_func_glGetProgramInfoLog(struct yagl_transport *t)
}
/*
- * glGetShaderiv dispatcher. id = 77
+ * glGetShaderiv dispatcher. id = 82
*/
static void yagl_func_glGetShaderiv(struct yagl_transport *t)
{
@@ -1422,7 +1564,7 @@ static void yagl_func_glGetShaderiv(struct yagl_transport *t)
}
/*
- * glGetShaderInfoLog dispatcher. id = 78
+ * glGetShaderInfoLog dispatcher. id = 83
*/
static void yagl_func_glGetShaderInfoLog(struct yagl_transport *t)
{
@@ -1441,7 +1583,7 @@ static void yagl_func_glGetShaderInfoLog(struct yagl_transport *t)
}
/*
- * glGetUniformfv dispatcher. id = 79
+ * glGetUniformfv dispatcher. id = 84
*/
static void yagl_func_glGetUniformfv(struct yagl_transport *t)
{
@@ -1462,7 +1604,7 @@ static void yagl_func_glGetUniformfv(struct yagl_transport *t)
}
/*
- * glGetUniformiv dispatcher. id = 80
+ * glGetUniformiv dispatcher. id = 85
*/
static void yagl_func_glGetUniformiv(struct yagl_transport *t)
{
@@ -1483,7 +1625,7 @@ static void yagl_func_glGetUniformiv(struct yagl_transport *t)
}
/*
- * glGetUniformLocation dispatcher. id = 81
+ * glGetUniformLocation dispatcher. id = 86
*/
static void yagl_func_glGetUniformLocation(struct yagl_transport *t)
{
@@ -1500,7 +1642,7 @@ static void yagl_func_glGetUniformLocation(struct yagl_transport *t)
}
/*
- * glGetVertexAttribfv dispatcher. id = 82
+ * glGetVertexAttribfv dispatcher. id = 87
*/
static void yagl_func_glGetVertexAttribfv(struct yagl_transport *t)
{
@@ -1519,7 +1661,7 @@ static void yagl_func_glGetVertexAttribfv(struct yagl_transport *t)
}
/*
- * glGetVertexAttribiv dispatcher. id = 83
+ * glGetVertexAttribiv dispatcher. id = 88
*/
static void yagl_func_glGetVertexAttribiv(struct yagl_transport *t)
{
@@ -1538,7 +1680,7 @@ static void yagl_func_glGetVertexAttribiv(struct yagl_transport *t)
}
/*
- * glLinkProgram dispatcher. id = 84
+ * glLinkProgram dispatcher. id = 89
*/
static void yagl_func_glLinkProgram(struct yagl_transport *t)
{
@@ -1555,7 +1697,7 @@ static void yagl_func_glLinkProgram(struct yagl_transport *t)
}
/*
- * glUniform1f dispatcher. id = 85
+ * glUniform1f dispatcher. id = 90
*/
static void yagl_func_glUniform1f(struct yagl_transport *t)
{
@@ -1571,7 +1713,7 @@ static void yagl_func_glUniform1f(struct yagl_transport *t)
}
/*
- * glUniform1fv dispatcher. id = 86
+ * glUniform1fv dispatcher. id = 91
*/
static void yagl_func_glUniform1fv(struct yagl_transport *t)
{
@@ -1588,7 +1730,7 @@ static void yagl_func_glUniform1fv(struct yagl_transport *t)
}
/*
- * glUniform1i dispatcher. id = 87
+ * glUniform1i dispatcher. id = 92
*/
static void yagl_func_glUniform1i(struct yagl_transport *t)
{
@@ -1604,7 +1746,7 @@ static void yagl_func_glUniform1i(struct yagl_transport *t)
}
/*
- * glUniform1iv dispatcher. id = 88
+ * glUniform1iv dispatcher. id = 93
*/
static void yagl_func_glUniform1iv(struct yagl_transport *t)
{
@@ -1621,7 +1763,7 @@ static void yagl_func_glUniform1iv(struct yagl_transport *t)
}
/*
- * glUniform2f dispatcher. id = 89
+ * glUniform2f dispatcher. id = 94
*/
static void yagl_func_glUniform2f(struct yagl_transport *t)
{
@@ -1639,7 +1781,7 @@ static void yagl_func_glUniform2f(struct yagl_transport *t)
}
/*
- * glUniform2fv dispatcher. id = 90
+ * glUniform2fv dispatcher. id = 95
*/
static void yagl_func_glUniform2fv(struct yagl_transport *t)
{
@@ -1656,7 +1798,7 @@ static void yagl_func_glUniform2fv(struct yagl_transport *t)
}
/*
- * glUniform2i dispatcher. id = 91
+ * glUniform2i dispatcher. id = 96
*/
static void yagl_func_glUniform2i(struct yagl_transport *t)
{
@@ -1674,7 +1816,7 @@ static void yagl_func_glUniform2i(struct yagl_transport *t)
}
/*
- * glUniform2iv dispatcher. id = 92
+ * glUniform2iv dispatcher. id = 97
*/
static void yagl_func_glUniform2iv(struct yagl_transport *t)
{
@@ -1691,7 +1833,7 @@ static void yagl_func_glUniform2iv(struct yagl_transport *t)
}
/*
- * glUniform3f dispatcher. id = 93
+ * glUniform3f dispatcher. id = 98
*/
static void yagl_func_glUniform3f(struct yagl_transport *t)
{
@@ -1711,7 +1853,7 @@ static void yagl_func_glUniform3f(struct yagl_transport *t)
}
/*
- * glUniform3fv dispatcher. id = 94
+ * glUniform3fv dispatcher. id = 99
*/
static void yagl_func_glUniform3fv(struct yagl_transport *t)
{
@@ -1728,7 +1870,7 @@ static void yagl_func_glUniform3fv(struct yagl_transport *t)
}
/*
- * glUniform3i dispatcher. id = 95
+ * glUniform3i dispatcher. id = 100
*/
static void yagl_func_glUniform3i(struct yagl_transport *t)
{
@@ -1748,7 +1890,7 @@ static void yagl_func_glUniform3i(struct yagl_transport *t)
}
/*
- * glUniform3iv dispatcher. id = 96
+ * glUniform3iv dispatcher. id = 101
*/
static void yagl_func_glUniform3iv(struct yagl_transport *t)
{
@@ -1765,7 +1907,7 @@ static void yagl_func_glUniform3iv(struct yagl_transport *t)
}
/*
- * glUniform4f dispatcher. id = 97
+ * glUniform4f dispatcher. id = 102
*/
static void yagl_func_glUniform4f(struct yagl_transport *t)
{
@@ -1787,7 +1929,7 @@ static void yagl_func_glUniform4f(struct yagl_transport *t)
}
/*
- * glUniform4fv dispatcher. id = 98
+ * glUniform4fv dispatcher. id = 103
*/
static void yagl_func_glUniform4fv(struct yagl_transport *t)
{
@@ -1804,7 +1946,7 @@ static void yagl_func_glUniform4fv(struct yagl_transport *t)
}
/*
- * glUniform4i dispatcher. id = 99
+ * glUniform4i dispatcher. id = 104
*/
static void yagl_func_glUniform4i(struct yagl_transport *t)
{
@@ -1826,7 +1968,7 @@ static void yagl_func_glUniform4i(struct yagl_transport *t)
}
/*
- * glUniform4iv dispatcher. id = 100
+ * glUniform4iv dispatcher. id = 105
*/
static void yagl_func_glUniform4iv(struct yagl_transport *t)
{
@@ -1843,7 +1985,7 @@ static void yagl_func_glUniform4iv(struct yagl_transport *t)
}
/*
- * glUniformMatrix2fv dispatcher. id = 101
+ * glUniformMatrix2fv dispatcher. id = 106
*/
static void yagl_func_glUniformMatrix2fv(struct yagl_transport *t)
{
@@ -1862,7 +2004,7 @@ static void yagl_func_glUniformMatrix2fv(struct yagl_transport *t)
}
/*
- * glUniformMatrix3fv dispatcher. id = 102
+ * glUniformMatrix3fv dispatcher. id = 107
*/
static void yagl_func_glUniformMatrix3fv(struct yagl_transport *t)
{
@@ -1881,7 +2023,7 @@ static void yagl_func_glUniformMatrix3fv(struct yagl_transport *t)
}
/*
- * glUniformMatrix4fv dispatcher. id = 103
+ * glUniformMatrix4fv dispatcher. id = 108
*/
static void yagl_func_glUniformMatrix4fv(struct yagl_transport *t)
{
@@ -1900,7 +2042,7 @@ static void yagl_func_glUniformMatrix4fv(struct yagl_transport *t)
}
/*
- * glUseProgram dispatcher. id = 104
+ * glUseProgram dispatcher. id = 109
*/
static void yagl_func_glUseProgram(struct yagl_transport *t)
{
@@ -1912,7 +2054,7 @@ static void yagl_func_glUseProgram(struct yagl_transport *t)
}
/*
- * glValidateProgram dispatcher. id = 105
+ * glValidateProgram dispatcher. id = 110
*/
static void yagl_func_glValidateProgram(struct yagl_transport *t)
{
@@ -1924,7 +2066,7 @@ static void yagl_func_glValidateProgram(struct yagl_transport *t)
}
/*
- * glVertexAttrib1f dispatcher. id = 106
+ * glVertexAttrib1f dispatcher. id = 111
*/
static void yagl_func_glVertexAttrib1f(struct yagl_transport *t)
{
@@ -1938,7 +2080,7 @@ static void yagl_func_glVertexAttrib1f(struct yagl_transport *t)
}
/*
- * glVertexAttrib1fv dispatcher. id = 107
+ * glVertexAttrib1fv dispatcher. id = 112
*/
static void yagl_func_glVertexAttrib1fv(struct yagl_transport *t)
{
@@ -1953,7 +2095,7 @@ static void yagl_func_glVertexAttrib1fv(struct yagl_transport *t)
}
/*
- * glVertexAttrib2f dispatcher. id = 108
+ * glVertexAttrib2f dispatcher. id = 113
*/
static void yagl_func_glVertexAttrib2f(struct yagl_transport *t)
{
@@ -1969,7 +2111,7 @@ static void yagl_func_glVertexAttrib2f(struct yagl_transport *t)
}
/*
- * glVertexAttrib2fv dispatcher. id = 109
+ * glVertexAttrib2fv dispatcher. id = 114
*/
static void yagl_func_glVertexAttrib2fv(struct yagl_transport *t)
{
@@ -1984,7 +2126,7 @@ static void yagl_func_glVertexAttrib2fv(struct yagl_transport *t)
}
/*
- * glVertexAttrib3f dispatcher. id = 110
+ * glVertexAttrib3f dispatcher. id = 115
*/
static void yagl_func_glVertexAttrib3f(struct yagl_transport *t)
{
@@ -2002,7 +2144,7 @@ static void yagl_func_glVertexAttrib3f(struct yagl_transport *t)
}
/*
- * glVertexAttrib3fv dispatcher. id = 111
+ * glVertexAttrib3fv dispatcher. id = 116
*/
static void yagl_func_glVertexAttrib3fv(struct yagl_transport *t)
{
@@ -2017,7 +2159,7 @@ static void yagl_func_glVertexAttrib3fv(struct yagl_transport *t)
}
/*
- * glVertexAttrib4f dispatcher. id = 112
+ * glVertexAttrib4f dispatcher. id = 117
*/
static void yagl_func_glVertexAttrib4f(struct yagl_transport *t)
{
@@ -2037,7 +2179,7 @@ static void yagl_func_glVertexAttrib4f(struct yagl_transport *t)
}
/*
- * glVertexAttrib4fv dispatcher. id = 113
+ * glVertexAttrib4fv dispatcher. id = 118
*/
static void yagl_func_glVertexAttrib4fv(struct yagl_transport *t)
{
@@ -2052,7 +2194,7 @@ static void yagl_func_glVertexAttrib4fv(struct yagl_transport *t)
}
/*
- * glGetActiveUniformsiv dispatcher. id = 114
+ * glGetActiveUniformsiv dispatcher. id = 119
*/
static void yagl_func_glGetActiveUniformsiv(struct yagl_transport *t)
{
@@ -2072,7 +2214,7 @@ static void yagl_func_glGetActiveUniformsiv(struct yagl_transport *t)
}
/*
- * glGetUniformIndices dispatcher. id = 115
+ * glGetUniformIndices dispatcher. id = 120
*/
static void yagl_func_glGetUniformIndices(struct yagl_transport *t)
{
@@ -2092,7 +2234,7 @@ static void yagl_func_glGetUniformIndices(struct yagl_transport *t)
}
/*
- * glGetUniformBlockIndex dispatcher. id = 116
+ * glGetUniformBlockIndex dispatcher. id = 121
*/
static void yagl_func_glGetUniformBlockIndex(struct yagl_transport *t)
{
@@ -2109,7 +2251,7 @@ static void yagl_func_glGetUniformBlockIndex(struct yagl_transport *t)
}
/*
- * glUniformBlockBinding dispatcher. id = 117
+ * glUniformBlockBinding dispatcher. id = 122
*/
static void yagl_func_glUniformBlockBinding(struct yagl_transport *t)
{
@@ -2125,7 +2267,7 @@ static void yagl_func_glUniformBlockBinding(struct yagl_transport *t)
}
/*
- * glGetActiveUniformBlockName dispatcher. id = 118
+ * glGetActiveUniformBlockName dispatcher. id = 123
*/
static void yagl_func_glGetActiveUniformBlockName(struct yagl_transport *t)
{
@@ -2144,7 +2286,7 @@ static void yagl_func_glGetActiveUniformBlockName(struct yagl_transport *t)
}
/*
- * glGetActiveUniformBlockiv dispatcher. id = 119
+ * glGetActiveUniformBlockiv dispatcher. id = 124
*/
static void yagl_func_glGetActiveUniformBlockiv(struct yagl_transport *t)
{
@@ -2165,7 +2307,7 @@ static void yagl_func_glGetActiveUniformBlockiv(struct yagl_transport *t)
}
/*
- * glGetIntegerv dispatcher. id = 120
+ * glGetIntegerv dispatcher. id = 125
*/
static void yagl_func_glGetIntegerv(struct yagl_transport *t)
{
@@ -2182,7 +2324,7 @@ static void yagl_func_glGetIntegerv(struct yagl_transport *t)
}
/*
- * glGetFloatv dispatcher. id = 121
+ * glGetFloatv dispatcher. id = 126
*/
static void yagl_func_glGetFloatv(struct yagl_transport *t)
{
@@ -2199,7 +2341,7 @@ static void yagl_func_glGetFloatv(struct yagl_transport *t)
}
/*
- * glGetString dispatcher. id = 122
+ * glGetString dispatcher. id = 127
*/
static void yagl_func_glGetString(struct yagl_transport *t)
{
@@ -2216,7 +2358,7 @@ static void yagl_func_glGetString(struct yagl_transport *t)
}
/*
- * glIsEnabled dispatcher. id = 123
+ * glIsEnabled dispatcher. id = 128
*/
static void yagl_func_glIsEnabled(struct yagl_transport *t)
{
@@ -2230,7 +2372,7 @@ static void yagl_func_glIsEnabled(struct yagl_transport *t)
}
/*
- * glGenTransformFeedbacks dispatcher. id = 124
+ * glGenTransformFeedbacks dispatcher. id = 129
*/
static void yagl_func_glGenTransformFeedbacks(struct yagl_transport *t)
{
@@ -2243,7 +2385,7 @@ static void yagl_func_glGenTransformFeedbacks(struct yagl_transport *t)
}
/*
- * glBindTransformFeedback dispatcher. id = 125
+ * glBindTransformFeedback dispatcher. id = 130
*/
static void yagl_func_glBindTransformFeedback(struct yagl_transport *t)
{
@@ -2257,7 +2399,7 @@ static void yagl_func_glBindTransformFeedback(struct yagl_transport *t)
}
/*
- * glBeginTransformFeedback dispatcher. id = 126
+ * glBeginTransformFeedback dispatcher. id = 131
*/
static void yagl_func_glBeginTransformFeedback(struct yagl_transport *t)
{
@@ -2269,7 +2411,7 @@ static void yagl_func_glBeginTransformFeedback(struct yagl_transport *t)
}
/*
- * glEndTransformFeedback dispatcher. id = 127
+ * glEndTransformFeedback dispatcher. id = 132
*/
static void yagl_func_glEndTransformFeedback(struct yagl_transport *t)
{
@@ -2279,7 +2421,7 @@ static void yagl_func_glEndTransformFeedback(struct yagl_transport *t)
}
/*
- * glPauseTransformFeedback dispatcher. id = 128
+ * glPauseTransformFeedback dispatcher. id = 133
*/
static void yagl_func_glPauseTransformFeedback(struct yagl_transport *t)
{
@@ -2289,7 +2431,7 @@ static void yagl_func_glPauseTransformFeedback(struct yagl_transport *t)
}
/*
- * glResumeTransformFeedback dispatcher. id = 129
+ * glResumeTransformFeedback dispatcher. id = 134
*/
static void yagl_func_glResumeTransformFeedback(struct yagl_transport *t)
{
@@ -2299,7 +2441,7 @@ static void yagl_func_glResumeTransformFeedback(struct yagl_transport *t)
}
/*
- * glTransformFeedbackVaryings dispatcher. id = 130
+ * glTransformFeedbackVaryings dispatcher. id = 135
*/
static void yagl_func_glTransformFeedbackVaryings(struct yagl_transport *t)
{
@@ -2316,7 +2458,7 @@ static void yagl_func_glTransformFeedbackVaryings(struct yagl_transport *t)
}
/*
- * glGetTransformFeedbackVaryings dispatcher. id = 131
+ * glGetTransformFeedbackVaryings dispatcher. id = 136
*/
static void yagl_func_glGetTransformFeedbackVaryings(struct yagl_transport *t)
{
@@ -2338,7 +2480,7 @@ static void yagl_func_glGetTransformFeedbackVaryings(struct yagl_transport *t)
}
/*
- * glGenQueries dispatcher. id = 132
+ * glGenQueries dispatcher. id = 137
*/
static void yagl_func_glGenQueries(struct yagl_transport *t)
{
@@ -2351,7 +2493,7 @@ static void yagl_func_glGenQueries(struct yagl_transport *t)
}
/*
- * glBeginQuery dispatcher. id = 133
+ * glBeginQuery dispatcher. id = 138
*/
static void yagl_func_glBeginQuery(struct yagl_transport *t)
{
@@ -2365,7 +2507,7 @@ static void yagl_func_glBeginQuery(struct yagl_transport *t)
}
/*
- * glEndQuery dispatcher. id = 134
+ * glEndQuery dispatcher. id = 139
*/
static void yagl_func_glEndQuery(struct yagl_transport *t)
{
@@ -2377,7 +2519,7 @@ static void yagl_func_glEndQuery(struct yagl_transport *t)
}
/*
- * glGetQueryObjectuiv dispatcher. id = 135
+ * glGetQueryObjectuiv dispatcher. id = 140
*/
static void yagl_func_glGetQueryObjectuiv(struct yagl_transport *t)
{
@@ -2393,7 +2535,7 @@ static void yagl_func_glGetQueryObjectuiv(struct yagl_transport *t)
}
/*
- * glGenSamplers dispatcher. id = 136
+ * glGenSamplers dispatcher. id = 141
*/
static void yagl_func_glGenSamplers(struct yagl_transport *t)
{
@@ -2406,7 +2548,7 @@ static void yagl_func_glGenSamplers(struct yagl_transport *t)
}
/*
- * glBindSampler dispatcher. id = 137
+ * glBindSampler dispatcher. id = 142
*/
static void yagl_func_glBindSampler(struct yagl_transport *t)
{
@@ -2420,7 +2562,7 @@ static void yagl_func_glBindSampler(struct yagl_transport *t)
}
/*
- * glSamplerParameteri dispatcher. id = 138
+ * glSamplerParameteri dispatcher. id = 143
*/
static void yagl_func_glSamplerParameteri(struct yagl_transport *t)
{
@@ -2436,7 +2578,7 @@ static void yagl_func_glSamplerParameteri(struct yagl_transport *t)
}
/*
- * glSamplerParameteriv dispatcher. id = 139
+ * glSamplerParameteriv dispatcher. id = 144
*/
static void yagl_func_glSamplerParameteriv(struct yagl_transport *t)
{
@@ -2453,7 +2595,7 @@ static void yagl_func_glSamplerParameteriv(struct yagl_transport *t)
}
/*
- * glSamplerParameterf dispatcher. id = 140
+ * glSamplerParameterf dispatcher. id = 145
*/
static void yagl_func_glSamplerParameterf(struct yagl_transport *t)
{
@@ -2469,7 +2611,7 @@ static void yagl_func_glSamplerParameterf(struct yagl_transport *t)
}
/*
- * glSamplerParameterfv dispatcher. id = 141
+ * glSamplerParameterfv dispatcher. id = 146
*/
static void yagl_func_glSamplerParameterfv(struct yagl_transport *t)
{
@@ -2486,7 +2628,7 @@ static void yagl_func_glSamplerParameterfv(struct yagl_transport *t)
}
/*
- * glDeleteObjects dispatcher. id = 142
+ * glDeleteObjects dispatcher. id = 147
*/
static void yagl_func_glDeleteObjects(struct yagl_transport *t)
{
@@ -2499,7 +2641,7 @@ static void yagl_func_glDeleteObjects(struct yagl_transport *t)
}
/*
- * glBlendEquation dispatcher. id = 143
+ * glBlendEquation dispatcher. id = 148
*/
static void yagl_func_glBlendEquation(struct yagl_transport *t)
{
@@ -2511,7 +2653,7 @@ static void yagl_func_glBlendEquation(struct yagl_transport *t)
}
/*
- * glBlendEquationSeparate dispatcher. id = 144
+ * glBlendEquationSeparate dispatcher. id = 149
*/
static void yagl_func_glBlendEquationSeparate(struct yagl_transport *t)
{
@@ -2525,7 +2667,7 @@ static void yagl_func_glBlendEquationSeparate(struct yagl_transport *t)
}
/*
- * glBlendFunc dispatcher. id = 145
+ * glBlendFunc dispatcher. id = 150
*/
static void yagl_func_glBlendFunc(struct yagl_transport *t)
{
@@ -2539,7 +2681,7 @@ static void yagl_func_glBlendFunc(struct yagl_transport *t)
}
/*
- * glBlendFuncSeparate dispatcher. id = 146
+ * glBlendFuncSeparate dispatcher. id = 151
*/
static void yagl_func_glBlendFuncSeparate(struct yagl_transport *t)
{
@@ -2557,7 +2699,7 @@ static void yagl_func_glBlendFuncSeparate(struct yagl_transport *t)
}
/*
- * glBlendColor dispatcher. id = 147
+ * glBlendColor dispatcher. id = 152
*/
static void yagl_func_glBlendColor(struct yagl_transport *t)
{
@@ -2575,7 +2717,7 @@ static void yagl_func_glBlendColor(struct yagl_transport *t)
}
/*
- * glClear dispatcher. id = 148
+ * glClear dispatcher. id = 153
*/
static void yagl_func_glClear(struct yagl_transport *t)
{
@@ -2587,7 +2729,7 @@ static void yagl_func_glClear(struct yagl_transport *t)
}
/*
- * glClearColor dispatcher. id = 149
+ * glClearColor dispatcher. id = 154
*/
static void yagl_func_glClearColor(struct yagl_transport *t)
{
@@ -2605,7 +2747,7 @@ static void yagl_func_glClearColor(struct yagl_transport *t)
}
/*
- * glClearDepthf dispatcher. id = 150
+ * glClearDepthf dispatcher. id = 155
*/
static void yagl_func_glClearDepthf(struct yagl_transport *t)
{
@@ -2617,7 +2759,7 @@ static void yagl_func_glClearDepthf(struct yagl_transport *t)
}
/*
- * glClearStencil dispatcher. id = 151
+ * glClearStencil dispatcher. id = 156
*/
static void yagl_func_glClearStencil(struct yagl_transport *t)
{
@@ -2629,7 +2771,7 @@ static void yagl_func_glClearStencil(struct yagl_transport *t)
}
/*
- * glColorMask dispatcher. id = 152
+ * glColorMask dispatcher. id = 157
*/
static void yagl_func_glColorMask(struct yagl_transport *t)
{
@@ -2647,7 +2789,7 @@ static void yagl_func_glColorMask(struct yagl_transport *t)
}
/*
- * glCullFace dispatcher. id = 153
+ * glCullFace dispatcher. id = 158
*/
static void yagl_func_glCullFace(struct yagl_transport *t)
{
@@ -2659,7 +2801,7 @@ static void yagl_func_glCullFace(struct yagl_transport *t)
}
/*
- * glDepthFunc dispatcher. id = 154
+ * glDepthFunc dispatcher. id = 159
*/
static void yagl_func_glDepthFunc(struct yagl_transport *t)
{
@@ -2671,7 +2813,7 @@ static void yagl_func_glDepthFunc(struct yagl_transport *t)
}
/*
- * glDepthMask dispatcher. id = 155
+ * glDepthMask dispatcher. id = 160
*/
static void yagl_func_glDepthMask(struct yagl_transport *t)
{
@@ -2683,7 +2825,7 @@ static void yagl_func_glDepthMask(struct yagl_transport *t)
}
/*
- * glDepthRangef dispatcher. id = 156
+ * glDepthRangef dispatcher. id = 161
*/
static void yagl_func_glDepthRangef(struct yagl_transport *t)
{
@@ -2697,7 +2839,7 @@ static void yagl_func_glDepthRangef(struct yagl_transport *t)
}
/*
- * glEnable dispatcher. id = 157
+ * glEnable dispatcher. id = 162
*/
static void yagl_func_glEnable(struct yagl_transport *t)
{
@@ -2709,7 +2851,7 @@ static void yagl_func_glEnable(struct yagl_transport *t)
}
/*
- * glDisable dispatcher. id = 158
+ * glDisable dispatcher. id = 163
*/
static void yagl_func_glDisable(struct yagl_transport *t)
{
@@ -2721,7 +2863,7 @@ static void yagl_func_glDisable(struct yagl_transport *t)
}
/*
- * glFlush dispatcher. id = 159
+ * glFlush dispatcher. id = 164
*/
static void yagl_func_glFlush(struct yagl_transport *t)
{
@@ -2731,7 +2873,7 @@ static void yagl_func_glFlush(struct yagl_transport *t)
}
/*
- * glFrontFace dispatcher. id = 160
+ * glFrontFace dispatcher. id = 165
*/
static void yagl_func_glFrontFace(struct yagl_transport *t)
{
@@ -2743,7 +2885,7 @@ static void yagl_func_glFrontFace(struct yagl_transport *t)
}
/*
- * glGenerateMipmap dispatcher. id = 161
+ * glGenerateMipmap dispatcher. id = 166
*/
static void yagl_func_glGenerateMipmap(struct yagl_transport *t)
{
@@ -2755,7 +2897,7 @@ static void yagl_func_glGenerateMipmap(struct yagl_transport *t)
}
/*
- * glHint dispatcher. id = 162
+ * glHint dispatcher. id = 167
*/
static void yagl_func_glHint(struct yagl_transport *t)
{
@@ -2769,7 +2911,7 @@ static void yagl_func_glHint(struct yagl_transport *t)
}
/*
- * glLineWidth dispatcher. id = 163
+ * glLineWidth dispatcher. id = 168
*/
static void yagl_func_glLineWidth(struct yagl_transport *t)
{
@@ -2781,7 +2923,7 @@ static void yagl_func_glLineWidth(struct yagl_transport *t)
}
/*
- * glPixelStorei dispatcher. id = 164
+ * glPixelStorei dispatcher. id = 169
*/
static void yagl_func_glPixelStorei(struct yagl_transport *t)
{
@@ -2795,7 +2937,7 @@ static void yagl_func_glPixelStorei(struct yagl_transport *t)
}
/*
- * glPolygonOffset dispatcher. id = 165
+ * glPolygonOffset dispatcher. id = 170
*/
static void yagl_func_glPolygonOffset(struct yagl_transport *t)
{
@@ -2809,7 +2951,7 @@ static void yagl_func_glPolygonOffset(struct yagl_transport *t)
}
/*
- * glScissor dispatcher. id = 166
+ * glScissor dispatcher. id = 171
*/
static void yagl_func_glScissor(struct yagl_transport *t)
{
@@ -2827,7 +2969,7 @@ static void yagl_func_glScissor(struct yagl_transport *t)
}
/*
- * glStencilFunc dispatcher. id = 167
+ * glStencilFunc dispatcher. id = 172
*/
static void yagl_func_glStencilFunc(struct yagl_transport *t)
{
@@ -2843,7 +2985,7 @@ static void yagl_func_glStencilFunc(struct yagl_transport *t)
}
/*
- * glStencilMask dispatcher. id = 168
+ * glStencilMask dispatcher. id = 173
*/
static void yagl_func_glStencilMask(struct yagl_transport *t)
{
@@ -2855,7 +2997,7 @@ static void yagl_func_glStencilMask(struct yagl_transport *t)
}
/*
- * glStencilOp dispatcher. id = 169
+ * glStencilOp dispatcher. id = 174
*/
static void yagl_func_glStencilOp(struct yagl_transport *t)
{
@@ -2871,7 +3013,7 @@ static void yagl_func_glStencilOp(struct yagl_transport *t)
}
/*
- * glSampleCoverage dispatcher. id = 170
+ * glSampleCoverage dispatcher. id = 175
*/
static void yagl_func_glSampleCoverage(struct yagl_transport *t)
{
@@ -2885,7 +3027,7 @@ static void yagl_func_glSampleCoverage(struct yagl_transport *t)
}
/*
- * glViewport dispatcher. id = 171
+ * glViewport dispatcher. id = 176
*/
static void yagl_func_glViewport(struct yagl_transport *t)
{
@@ -2903,7 +3045,7 @@ static void yagl_func_glViewport(struct yagl_transport *t)
}
/*
- * glStencilFuncSeparate dispatcher. id = 172
+ * glStencilFuncSeparate dispatcher. id = 177
*/
static void yagl_func_glStencilFuncSeparate(struct yagl_transport *t)
{
@@ -2921,7 +3063,7 @@ static void yagl_func_glStencilFuncSeparate(struct yagl_transport *t)
}
/*
- * glStencilMaskSeparate dispatcher. id = 173
+ * glStencilMaskSeparate dispatcher. id = 178
*/
static void yagl_func_glStencilMaskSeparate(struct yagl_transport *t)
{
@@ -2935,7 +3077,7 @@ static void yagl_func_glStencilMaskSeparate(struct yagl_transport *t)
}
/*
- * glStencilOpSeparate dispatcher. id = 174
+ * glStencilOpSeparate dispatcher. id = 179
*/
static void yagl_func_glStencilOpSeparate(struct yagl_transport *t)
{
@@ -2953,7 +3095,7 @@ static void yagl_func_glStencilOpSeparate(struct yagl_transport *t)
}
/*
- * glPointSize dispatcher. id = 175
+ * glPointSize dispatcher. id = 180
*/
static void yagl_func_glPointSize(struct yagl_transport *t)
{
@@ -2965,7 +3107,7 @@ static void yagl_func_glPointSize(struct yagl_transport *t)
}
/*
- * glAlphaFunc dispatcher. id = 176
+ * glAlphaFunc dispatcher. id = 181
*/
static void yagl_func_glAlphaFunc(struct yagl_transport *t)
{
@@ -2979,7 +3121,7 @@ static void yagl_func_glAlphaFunc(struct yagl_transport *t)
}
/*
- * glMatrixMode dispatcher. id = 177
+ * glMatrixMode dispatcher. id = 182
*/
static void yagl_func_glMatrixMode(struct yagl_transport *t)
{
@@ -2991,7 +3133,7 @@ static void yagl_func_glMatrixMode(struct yagl_transport *t)
}
/*
- * glLoadIdentity dispatcher. id = 178
+ * glLoadIdentity dispatcher. id = 183
*/
static void yagl_func_glLoadIdentity(struct yagl_transport *t)
{
@@ -3001,7 +3143,7 @@ static void yagl_func_glLoadIdentity(struct yagl_transport *t)
}
/*
- * glPopMatrix dispatcher. id = 179
+ * glPopMatrix dispatcher. id = 184
*/
static void yagl_func_glPopMatrix(struct yagl_transport *t)
{
@@ -3011,7 +3153,7 @@ static void yagl_func_glPopMatrix(struct yagl_transport *t)
}
/*
- * glPushMatrix dispatcher. id = 180
+ * glPushMatrix dispatcher. id = 185
*/
static void yagl_func_glPushMatrix(struct yagl_transport *t)
{
@@ -3021,7 +3163,7 @@ static void yagl_func_glPushMatrix(struct yagl_transport *t)
}
/*
- * glRotatef dispatcher. id = 181
+ * glRotatef dispatcher. id = 186
*/
static void yagl_func_glRotatef(struct yagl_transport *t)
{
@@ -3039,7 +3181,7 @@ static void yagl_func_glRotatef(struct yagl_transport *t)
}
/*
- * glTranslatef dispatcher. id = 182
+ * glTranslatef dispatcher. id = 187
*/
static void yagl_func_glTranslatef(struct yagl_transport *t)
{
@@ -3055,7 +3197,7 @@ static void yagl_func_glTranslatef(struct yagl_transport *t)
}
/*
- * glScalef dispatcher. id = 183
+ * glScalef dispatcher. id = 188
*/
static void yagl_func_glScalef(struct yagl_transport *t)
{
@@ -3071,7 +3213,7 @@ static void yagl_func_glScalef(struct yagl_transport *t)
}
/*
- * glOrthof dispatcher. id = 184
+ * glOrthof dispatcher. id = 189
*/
static void yagl_func_glOrthof(struct yagl_transport *t)
{
@@ -3093,7 +3235,7 @@ static void yagl_func_glOrthof(struct yagl_transport *t)
}
/*
- * glColor4f dispatcher. id = 185
+ * glColor4f dispatcher. id = 190
*/
static void yagl_func_glColor4f(struct yagl_transport *t)
{
@@ -3111,7 +3253,7 @@ static void yagl_func_glColor4f(struct yagl_transport *t)
}
/*
- * glColor4ub dispatcher. id = 186
+ * glColor4ub dispatcher. id = 191
*/
static void yagl_func_glColor4ub(struct yagl_transport *t)
{
@@ -3129,7 +3271,7 @@ static void yagl_func_glColor4ub(struct yagl_transport *t)
}
/*
- * glNormal3f dispatcher. id = 187
+ * glNormal3f dispatcher. id = 192
*/
static void yagl_func_glNormal3f(struct yagl_transport *t)
{
@@ -3145,7 +3287,7 @@ static void yagl_func_glNormal3f(struct yagl_transport *t)
}
/*
- * glPointParameterf dispatcher. id = 188
+ * glPointParameterf dispatcher. id = 193
*/
static void yagl_func_glPointParameterf(struct yagl_transport *t)
{
@@ -3159,7 +3301,7 @@ static void yagl_func_glPointParameterf(struct yagl_transport *t)
}
/*
- * glPointParameterfv dispatcher. id = 189
+ * glPointParameterfv dispatcher. id = 194
*/
static void yagl_func_glPointParameterfv(struct yagl_transport *t)
{
@@ -3174,7 +3316,7 @@ static void yagl_func_glPointParameterfv(struct yagl_transport *t)
}
/*
- * glFogf dispatcher. id = 190
+ * glFogf dispatcher. id = 195
*/
static void yagl_func_glFogf(struct yagl_transport *t)
{
@@ -3188,7 +3330,7 @@ static void yagl_func_glFogf(struct yagl_transport *t)
}
/*
- * glFogfv dispatcher. id = 191
+ * glFogfv dispatcher. id = 196
*/
static void yagl_func_glFogfv(struct yagl_transport *t)
{
@@ -3203,7 +3345,7 @@ static void yagl_func_glFogfv(struct yagl_transport *t)
}
/*
- * glFrustumf dispatcher. id = 192
+ * glFrustumf dispatcher. id = 197
*/
static void yagl_func_glFrustumf(struct yagl_transport *t)
{
@@ -3225,7 +3367,7 @@ static void yagl_func_glFrustumf(struct yagl_transport *t)
}
/*
- * glLightf dispatcher. id = 193
+ * glLightf dispatcher. id = 198
*/
static void yagl_func_glLightf(struct yagl_transport *t)
{
@@ -3241,7 +3383,7 @@ static void yagl_func_glLightf(struct yagl_transport *t)
}
/*
- * glLightfv dispatcher. id = 194
+ * glLightfv dispatcher. id = 199
*/
static void yagl_func_glLightfv(struct yagl_transport *t)
{
@@ -3258,7 +3400,7 @@ static void yagl_func_glLightfv(struct yagl_transport *t)
}
/*
- * glGetLightfv dispatcher. id = 195
+ * glGetLightfv dispatcher. id = 200
*/
static void yagl_func_glGetLightfv(struct yagl_transport *t)
{
@@ -3277,7 +3419,7 @@ static void yagl_func_glGetLightfv(struct yagl_transport *t)
}
/*
- * glLightModelf dispatcher. id = 196
+ * glLightModelf dispatcher. id = 201
*/
static void yagl_func_glLightModelf(struct yagl_transport *t)
{
@@ -3291,7 +3433,7 @@ static void yagl_func_glLightModelf(struct yagl_transport *t)
}
/*
- * glLightModelfv dispatcher. id = 197
+ * glLightModelfv dispatcher. id = 202
*/
static void yagl_func_glLightModelfv(struct yagl_transport *t)
{
@@ -3306,7 +3448,7 @@ static void yagl_func_glLightModelfv(struct yagl_transport *t)
}
/*
- * glMaterialf dispatcher. id = 198
+ * glMaterialf dispatcher. id = 203
*/
static void yagl_func_glMaterialf(struct yagl_transport *t)
{
@@ -3322,7 +3464,7 @@ static void yagl_func_glMaterialf(struct yagl_transport *t)
}
/*
- * glMaterialfv dispatcher. id = 199
+ * glMaterialfv dispatcher. id = 204
*/
static void yagl_func_glMaterialfv(struct yagl_transport *t)
{
@@ -3339,7 +3481,7 @@ static void yagl_func_glMaterialfv(struct yagl_transport *t)
}
/*
- * glGetMaterialfv dispatcher. id = 200
+ * glGetMaterialfv dispatcher. id = 205
*/
static void yagl_func_glGetMaterialfv(struct yagl_transport *t)
{
@@ -3358,7 +3500,7 @@ static void yagl_func_glGetMaterialfv(struct yagl_transport *t)
}
/*
- * glShadeModel dispatcher. id = 201
+ * glShadeModel dispatcher. id = 206
*/
static void yagl_func_glShadeModel(struct yagl_transport *t)
{
@@ -3370,7 +3512,7 @@ static void yagl_func_glShadeModel(struct yagl_transport *t)
}
/*
- * glLogicOp dispatcher. id = 202
+ * glLogicOp dispatcher. id = 207
*/
static void yagl_func_glLogicOp(struct yagl_transport *t)
{
@@ -3382,7 +3524,7 @@ static void yagl_func_glLogicOp(struct yagl_transport *t)
}
/*
- * glMultMatrixf dispatcher. id = 203
+ * glMultMatrixf dispatcher. id = 208
*/
static void yagl_func_glMultMatrixf(struct yagl_transport *t)
{
@@ -3395,7 +3537,7 @@ static void yagl_func_glMultMatrixf(struct yagl_transport *t)
}
/*
- * glLoadMatrixf dispatcher. id = 204
+ * glLoadMatrixf dispatcher. id = 209
*/
static void yagl_func_glLoadMatrixf(struct yagl_transport *t)
{
@@ -3408,7 +3550,7 @@ static void yagl_func_glLoadMatrixf(struct yagl_transport *t)
}
/*
- * glClipPlanef dispatcher. id = 205
+ * glClipPlanef dispatcher. id = 210
*/
static void yagl_func_glClipPlanef(struct yagl_transport *t)
{
@@ -3423,7 +3565,7 @@ static void yagl_func_glClipPlanef(struct yagl_transport *t)
}
/*
- * glGetClipPlanef dispatcher. id = 206
+ * glGetClipPlanef dispatcher. id = 211
*/
static void yagl_func_glGetClipPlanef(struct yagl_transport *t)
{
@@ -3440,7 +3582,7 @@ static void yagl_func_glGetClipPlanef(struct yagl_transport *t)
}
/*
- * glUpdateOffscreenImageYAGL dispatcher. id = 207
+ * glUpdateOffscreenImageYAGL dispatcher. id = 212
*/
static void yagl_func_glUpdateOffscreenImageYAGL(struct yagl_transport *t)
{
@@ -3461,7 +3603,7 @@ static void yagl_func_glUpdateOffscreenImageYAGL(struct yagl_transport *t)
}
/*
- * glGenUniformLocationYAGL dispatcher. id = 208
+ * glGenUniformLocationYAGL dispatcher. id = 213
*/
static void yagl_func_glGenUniformLocationYAGL(struct yagl_transport *t)
{
@@ -3478,7 +3620,7 @@ static void yagl_func_glGenUniformLocationYAGL(struct yagl_transport *t)
}
/*
- * glDeleteUniformLocationsYAGL dispatcher. id = 209
+ * glDeleteUniformLocationsYAGL dispatcher. id = 214
*/
static void yagl_func_glDeleteUniformLocationsYAGL(struct yagl_transport *t)
{
@@ -3490,12 +3632,13 @@ static void yagl_func_glDeleteUniformLocationsYAGL(struct yagl_transport *t)
YAGL_LOG_FUNC_EXIT(NULL);
}
-const uint32_t yagl_gles_api_num_funcs = 209;
+const uint32_t yagl_gles_api_num_funcs = 214;
yagl_api_func yagl_gles_api_funcs[] = {
&yagl_func_glDrawArrays,
&yagl_func_glDrawElements,
- &yagl_func_glReadPixels,
+ &yagl_func_glReadPixelsData,
+ &yagl_func_glReadPixelsOffset,
&yagl_func_glDrawArraysInstanced,
&yagl_func_glDrawElementsInstanced,
&yagl_func_glGenVertexArrays,
@@ -3528,12 +3671,14 @@ yagl_api_func yagl_gles_api_funcs[] = {
&yagl_func_glCopyTexSubImage2D,
&yagl_func_glGetTexParameterfv,
&yagl_func_glGetTexParameteriv,
- &yagl_func_glTexImage2D,
+ &yagl_func_glTexImage2DData,
+ &yagl_func_glTexImage2DOffset,
&yagl_func_glTexParameterf,
&yagl_func_glTexParameterfv,
&yagl_func_glTexParameteri,
&yagl_func_glTexParameteriv,
- &yagl_func_glTexSubImage2D,
+ &yagl_func_glTexSubImage2DData,
+ &yagl_func_glTexSubImage2DOffset,
&yagl_func_glClientActiveTexture,
&yagl_func_glTexEnvi,
&yagl_func_glTexEnvf,
@@ -3542,8 +3687,10 @@ yagl_api_func yagl_gles_api_funcs[] = {
&yagl_func_glTexEnvfv,
&yagl_func_glGetTexEnviv,
&yagl_func_glGetTexEnvfv,
- &yagl_func_glTexImage3D,
- &yagl_func_glTexSubImage3D,
+ &yagl_func_glTexImage3DData,
+ &yagl_func_glTexImage3DOffset,
+ &yagl_func_glTexSubImage3DData,
+ &yagl_func_glTexSubImage3DOffset,
&yagl_func_glCopyTexSubImage3D,
&yagl_func_glGenFramebuffers,
&yagl_func_glBindFramebuffer,
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 1b7d0f3968..0b43897921 100644
--- a/hw/yagl/yagl_apis/gles/yagl_host_gles_calls.c
+++ b/hw/yagl/yagl_apis/gles/yagl_host_gles_calls.c
@@ -516,7 +516,7 @@ void yagl_host_glDrawElements(GLenum mode,
}
}
-void yagl_host_glReadPixels(GLint x,
+void yagl_host_glReadPixelsData(GLint x,
GLint y,
GLsizei width,
GLsizei height,
@@ -524,15 +524,6 @@ void yagl_host_glReadPixels(GLint x,
GLenum type,
GLvoid *pixels, int32_t pixels_maxcount, int32_t *pixels_count)
{
- GLuint current_pbo = 0;
-
- gles_api_ts->driver->GetIntegerv(GL_PIXEL_PACK_BUFFER_BINDING_ARB,
- (GLint*)&current_pbo);
- if (current_pbo != 0) {
- gles_api_ts->driver->BindBuffer(GL_PIXEL_PACK_BUFFER_ARB,
- 0);
- }
-
gles_api_ts->driver->ReadPixels(x,
y,
width,
@@ -542,11 +533,23 @@ void yagl_host_glReadPixels(GLint x,
pixels);
*pixels_count = pixels_maxcount;
+}
- if (current_pbo != 0) {
- gles_api_ts->driver->BindBuffer(GL_PIXEL_PACK_BUFFER_ARB,
- current_pbo);
- }
+void yagl_host_glReadPixelsOffset(GLint x,
+ GLint y,
+ GLsizei width,
+ GLsizei height,
+ GLenum format,
+ GLenum type,
+ GLsizei pixels)
+{
+ gles_api_ts->driver->ReadPixels(x,
+ y,
+ width,
+ height,
+ format,
+ type,
+ (GLvoid*)(uintptr_t)pixels);
}
void yagl_host_glDrawArraysInstanced(GLenum mode,
@@ -899,7 +902,7 @@ void yagl_host_glGetTexParameteriv(GLenum target,
}
}
-void yagl_host_glTexImage2D(GLenum target,
+void yagl_host_glTexImage2DData(GLenum target,
GLint level,
GLint internalformat,
GLsizei width,
@@ -920,6 +923,27 @@ void yagl_host_glTexImage2D(GLenum target,
pixels);
}
+void yagl_host_glTexImage2DOffset(GLenum target,
+ GLint level,
+ GLint internalformat,
+ GLsizei width,
+ GLsizei height,
+ GLint border,
+ GLenum format,
+ GLenum type,
+ GLsizei pixels)
+{
+ gles_api_ts->driver->TexImage2D(target,
+ level,
+ internalformat,
+ width,
+ height,
+ border,
+ format,
+ type,
+ (const GLvoid*)(uintptr_t)pixels);
+}
+
void yagl_host_glTexParameterf(GLenum target,
GLenum pname,
GLfloat param)
@@ -968,7 +992,7 @@ void yagl_host_glTexParameteriv(GLenum target,
(params ? tmp : NULL));
}
-void yagl_host_glTexSubImage2D(GLenum target,
+void yagl_host_glTexSubImage2DData(GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
@@ -989,6 +1013,27 @@ void yagl_host_glTexSubImage2D(GLenum target,
pixels);
}
+void yagl_host_glTexSubImage2DOffset(GLenum target,
+ GLint level,
+ GLint xoffset,
+ GLint yoffset,
+ GLsizei width,
+ GLsizei height,
+ GLenum format,
+ GLenum type,
+ GLsizei pixels)
+{
+ gles_api_ts->driver->TexSubImage2D(target,
+ level,
+ xoffset,
+ yoffset,
+ width,
+ height,
+ format,
+ type,
+ (const GLvoid*)(uintptr_t)pixels);
+}
+
void yagl_host_glClientActiveTexture(GLenum texture)
{
gles_api_ts->driver->ClientActiveTexture(texture);
@@ -1047,7 +1092,7 @@ void yagl_host_glGetTexEnvfv(GLenum env,
*params_count = params_maxcount;
}
-void yagl_host_glTexImage3D(GLenum target,
+void yagl_host_glTexImage3DData(GLenum target,
GLint level,
GLint internalformat,
GLsizei width,
@@ -1070,7 +1115,30 @@ void yagl_host_glTexImage3D(GLenum target,
pixels);
}
-void yagl_host_glTexSubImage3D(GLenum target,
+void yagl_host_glTexImage3DOffset(GLenum target,
+ GLint level,
+ GLint internalformat,
+ GLsizei width,
+ GLsizei height,
+ GLsizei depth,
+ GLint border,
+ GLenum format,
+ GLenum type,
+ GLsizei pixels)
+{
+ gles_api_ts->driver->TexImage3D(target,
+ level,
+ internalformat,
+ width,
+ height,
+ depth,
+ border,
+ format,
+ type,
+ (const void*)(uintptr_t)pixels);
+}
+
+void yagl_host_glTexSubImage3DData(GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
@@ -1095,6 +1163,31 @@ void yagl_host_glTexSubImage3D(GLenum target,
pixels);
}
+void yagl_host_glTexSubImage3DOffset(GLenum target,
+ GLint level,
+ GLint xoffset,
+ GLint yoffset,
+ GLint zoffset,
+ GLsizei width,
+ GLsizei height,
+ GLsizei depth,
+ GLenum format,
+ GLenum type,
+ GLsizei pixels)
+{
+ gles_api_ts->driver->TexSubImage3D(target,
+ level,
+ xoffset,
+ yoffset,
+ zoffset,
+ width,
+ height,
+ depth,
+ format,
+ type,
+ (const void*)(uintptr_t)pixels);
+}
+
void yagl_host_glCopyTexSubImage3D(GLenum target,
GLint level,
GLint xoffset,
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 691851f0ab..cc607ecbfa 100644
--- a/hw/yagl/yagl_apis/gles/yagl_host_gles_calls.h
+++ b/hw/yagl/yagl_apis/gles/yagl_host_gles_calls.h
@@ -42,13 +42,20 @@ void yagl_host_glDrawElements(GLenum mode,
GLsizei count,
GLenum type,
const GLvoid *indices, int32_t indices_count);
-void yagl_host_glReadPixels(GLint x,
+void yagl_host_glReadPixelsData(GLint x,
GLint y,
GLsizei width,
GLsizei height,
GLenum format,
GLenum type,
GLvoid *pixels, int32_t pixels_maxcount, int32_t *pixels_count);
+void yagl_host_glReadPixelsOffset(GLint x,
+ GLint y,
+ GLsizei width,
+ GLsizei height,
+ GLenum format,
+ GLenum type,
+ GLsizei pixels);
void yagl_host_glDrawArraysInstanced(GLenum mode,
GLint start,
GLsizei count,
@@ -157,7 +164,7 @@ void yagl_host_glGetTexParameterfv(GLenum target,
void yagl_host_glGetTexParameteriv(GLenum target,
GLenum pname,
GLint *param);
-void yagl_host_glTexImage2D(GLenum target,
+void yagl_host_glTexImage2DData(GLenum target,
GLint level,
GLint internalformat,
GLsizei width,
@@ -166,6 +173,15 @@ void yagl_host_glTexImage2D(GLenum target,
GLenum format,
GLenum type,
const GLvoid *pixels, int32_t pixels_count);
+void yagl_host_glTexImage2DOffset(GLenum target,
+ GLint level,
+ GLint internalformat,
+ GLsizei width,
+ GLsizei height,
+ GLint border,
+ GLenum format,
+ GLenum type,
+ GLsizei pixels);
void yagl_host_glTexParameterf(GLenum target,
GLenum pname,
GLfloat param);
@@ -178,7 +194,7 @@ void yagl_host_glTexParameteri(GLenum target,
void yagl_host_glTexParameteriv(GLenum target,
GLenum pname,
const GLint *params, int32_t params_count);
-void yagl_host_glTexSubImage2D(GLenum target,
+void yagl_host_glTexSubImage2DData(GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
@@ -187,6 +203,15 @@ void yagl_host_glTexSubImage2D(GLenum target,
GLenum format,
GLenum type,
const GLvoid *pixels, int32_t pixels_count);
+void yagl_host_glTexSubImage2DOffset(GLenum target,
+ GLint level,
+ GLint xoffset,
+ GLint yoffset,
+ GLsizei width,
+ GLsizei height,
+ GLenum format,
+ GLenum type,
+ GLsizei pixels);
void yagl_host_glClientActiveTexture(GLenum texture);
void yagl_host_glTexEnvi(GLenum target,
GLenum pname,
@@ -211,7 +236,7 @@ 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,
+void yagl_host_glTexImage3DData(GLenum target,
GLint level,
GLint internalformat,
GLsizei width,
@@ -221,7 +246,17 @@ void yagl_host_glTexImage3D(GLenum target,
GLenum format,
GLenum type,
const void *pixels, int32_t pixels_count);
-void yagl_host_glTexSubImage3D(GLenum target,
+void yagl_host_glTexImage3DOffset(GLenum target,
+ GLint level,
+ GLint internalformat,
+ GLsizei width,
+ GLsizei height,
+ GLsizei depth,
+ GLint border,
+ GLenum format,
+ GLenum type,
+ GLsizei pixels);
+void yagl_host_glTexSubImage3DData(GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
@@ -232,6 +267,17 @@ void yagl_host_glTexSubImage3D(GLenum target,
GLenum format,
GLenum type,
const void *pixels, int32_t pixels_count);
+void yagl_host_glTexSubImage3DOffset(GLenum target,
+ GLint level,
+ GLint xoffset,
+ GLint yoffset,
+ GLint zoffset,
+ GLsizei width,
+ GLsizei height,
+ GLsizei depth,
+ GLenum format,
+ GLenum type,
+ GLsizei pixels);
void yagl_host_glCopyTexSubImage3D(GLenum target,
GLint level,
GLint xoffset,
diff --git a/hw/yagl/yagl_backends/egl_offscreen/yagl_egl_offscreen_context.c b/hw/yagl/yagl_backends/egl_offscreen/yagl_egl_offscreen_context.c
index 1779308899..e832324ba7 100644
--- a/hw/yagl/yagl_backends/egl_offscreen/yagl_egl_offscreen_context.c
+++ b/hw/yagl/yagl_backends/egl_offscreen/yagl_egl_offscreen_context.c
@@ -152,10 +152,7 @@ bool yagl_egl_offscreen_context_read_pixels(struct yagl_egl_offscreen_context *c
gles_driver->GetIntegerv(GL_PIXEL_PACK_BUFFER_BINDING_ARB,
(GLint*)&current_pbo);
- if (current_pbo != ctx->rp_pbo) {
- YAGL_LOG_TRACE("Binding pbo");
- gles_driver->BindBuffer(GL_PIXEL_PACK_BUFFER_ARB, ctx->rp_pbo);
- }
+ gles_driver->BindBuffer(GL_PIXEL_PACK_BUFFER_ARB, ctx->rp_pbo);
if ((width != ctx->rp_pbo_width) ||
(height != ctx->rp_pbo_height) ||
@@ -219,13 +216,8 @@ out:
gles_driver->UnmapBuffer(GL_PIXEL_PACK_BUFFER_ARB);
}
gles_driver->PixelStorei(GL_PACK_ALIGNMENT, current_pack_alignment);
- if ((current_pbo != 0) &&
- (current_pbo != ctx->rp_pbo)) {
- YAGL_LOG_ERROR("Target binded a pbo ?");
- gles_driver->BindBuffer(GL_PIXEL_PACK_BUFFER_ARB,
- current_pbo);
- }
-
+ gles_driver->BindBuffer(GL_PIXEL_PACK_BUFFER_ARB,
+ current_pbo);
gles_driver->BindFramebuffer(GL_READ_FRAMEBUFFER, current_fb);
YAGL_LOG_FUNC_EXIT(NULL);