vigs_ref_release(&vigs_sfc->ref);
}
+static void vigs_winsys_gl_surface_set_dirty(struct winsys_surface *sfc)
+{
+ struct vigs_winsys_gl_surface *vigs_sfc = (struct vigs_winsys_gl_surface*)sfc;
+ if (vigs_sfc->parent) {
+ vigs_sfc->parent->base.is_dirty = true;
+ }
+}
+
static GLuint vigs_winsys_gl_surface_get_texture(struct winsys_gl_surface *sfc)
{
struct vigs_winsys_gl_surface *vigs_sfc = (struct vigs_winsys_gl_surface*)sfc;
ws_sfc->base.base.height = height;
ws_sfc->base.base.acquire = &vigs_winsys_gl_surface_acquire;
ws_sfc->base.base.release = &vigs_winsys_gl_surface_release;
+ ws_sfc->base.base.set_dirty = &vigs_winsys_gl_surface_set_dirty;
ws_sfc->base.get_texture = &vigs_winsys_gl_surface_get_texture;
ws_sfc->tex_internalformat = tex_internalformat;
ws_sfc->tex_format = tex_format;
uint32_t display_stride, display_bpp;
uint8_t *display_data;
uint8_t *sfc_data = server->root_sfc_data;
- uint32_t i, j;
+ uint32_t i;
if (!root_sfc) {
return;
vigs_ref_release(&vigs_sfc->ref);
}
+static void vigs_winsys_sw_surface_set_dirty(struct winsys_surface *sfc)
+{
+}
+
static void vigs_winsys_sw_surface_destroy(struct vigs_ref *ref)
{
struct vigs_winsys_sw_surface *vigs_sfc =
ws_sfc->base.height = height;
ws_sfc->base.acquire = &vigs_winsys_sw_surface_acquire;
ws_sfc->base.release = &vigs_winsys_sw_surface_release;
+ ws_sfc->base.set_dirty = &vigs_winsys_sw_surface_set_dirty;
vigs_ref_init(&ws_sfc->ref, &vigs_winsys_sw_surface_destroy);
void (*acquire)(struct winsys_surface */*sfc*/);
void (*release)(struct winsys_surface */*sfc*/);
+
+ void (*set_dirty)(struct winsys_surface */*sfc*/);
};
struct winsys_info
{
struct yagl_egl_surface *sfc = NULL;
- YAGL_LOG_FUNC_SET(eglWaitClient);
-
- *retval = EGL_FALSE;
+ *retval = EGL_TRUE;
if (!egl_api_ts->context) {
- *retval = EGL_TRUE;
- goto out;
- }
-
- if (!egl_api_ts->context->draw) {
- YAGL_SET_ERR(EGL_BAD_CURRENT_SURFACE);
goto out;
}
- sfc = yagl_egl_display_acquire_surface(egl_api_ts->context->dpy,
- egl_api_ts->context->draw->res.handle);
+ sfc = egl_api_ts->context->draw;
- if (!sfc || (sfc != egl_api_ts->context->draw)) {
- YAGL_SET_ERR(EGL_BAD_CURRENT_SURFACE);
+ if (!sfc) {
goto out;
}
- egl_api_ts->context->backend_ctx->client_ctx->finish(egl_api_ts->context->backend_ctx->client_ctx);
-
- *retval = EGL_TRUE;
+ sfc->backend_sfc->wait_gl(sfc->backend_sfc);
out:
- yagl_egl_surface_release(sfc);
-
return true;
}
gles_ctx->driver->Flush();
}
-static void yagl_gles_context_finish(struct yagl_client_context *ctx)
-{
- struct yagl_gles_context *gles_ctx = (struct yagl_gles_context*)ctx;
-
- gles_ctx->driver->Finish();
-}
-
static bool yagl_gles_context_read_pixels(struct yagl_client_context *ctx,
uint32_t width,
uint32_t height,
struct yagl_gles_driver *driver)
{
ctx->base.flush = &yagl_gles_context_flush;
- ctx->base.finish = &yagl_gles_context_finish;
ctx->base.read_pixels = &yagl_gles_context_read_pixels;
ctx->base.create_image = &yagl_gles_context_create_image;
ctx->base.create_tex_image = &yagl_gles_context_create_tex_image;
return true;
}
-bool yagl_host_glFinish(void)
-{
- YAGL_GET_CTX(glFinish);
-
- ctx->driver->Finish();
-
- return true;
-}
-
bool yagl_host_glFlush(void)
{
YAGL_GET_CTX(glFlush);
GLenum type,
target_ulong /* const GLvoid* */ indices_);
bool yagl_host_glEnable(GLenum cap);
-bool yagl_host_glFinish(void);
bool yagl_host_glFlush(void);
bool yagl_host_glFrontFace(GLenum mode);
bool yagl_host_glGenBuffers(GLsizei n,
}
/*
- * glFinish dispatcher. id = 35
- */
-static bool yagl_func_glFinish(uint8_t **out_buff,
- uint8_t *in_buff)
-{
- YAGL_LOG_FUNC_ENTER_SPLIT0(glFinish);
- bool res = yagl_host_glFinish();
- YAGL_LOG_FUNC_EXIT(NULL);
- return res;
-}
-
-/*
- * glFlush dispatcher. id = 36
+ * glFlush dispatcher. id = 35
*/
static bool yagl_func_glFlush(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glFramebufferTexture2D dispatcher. id = 37
+ * glFramebufferTexture2D dispatcher. id = 36
*/
static bool yagl_func_glFramebufferTexture2D(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glFramebufferRenderbuffer dispatcher. id = 38
+ * glFramebufferRenderbuffer dispatcher. id = 37
*/
static bool yagl_func_glFramebufferRenderbuffer(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glFrontFace dispatcher. id = 39
+ * glFrontFace dispatcher. id = 38
*/
static bool yagl_func_glFrontFace(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGenBuffers dispatcher. id = 40
+ * glGenBuffers dispatcher. id = 39
*/
static bool yagl_func_glGenBuffers(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGenerateMipmap dispatcher. id = 41
+ * glGenerateMipmap dispatcher. id = 40
*/
static bool yagl_func_glGenerateMipmap(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGenFramebuffers dispatcher. id = 42
+ * glGenFramebuffers dispatcher. id = 41
*/
static bool yagl_func_glGenFramebuffers(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGenRenderbuffers dispatcher. id = 43
+ * glGenRenderbuffers dispatcher. id = 42
*/
static bool yagl_func_glGenRenderbuffers(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGenTextures dispatcher. id = 44
+ * glGenTextures dispatcher. id = 43
*/
static bool yagl_func_glGenTextures(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetBooleanv dispatcher. id = 45
+ * glGetBooleanv dispatcher. id = 44
*/
static bool yagl_func_glGetBooleanv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetBufferParameteriv dispatcher. id = 46
+ * glGetBufferParameteriv dispatcher. id = 45
*/
static bool yagl_func_glGetBufferParameteriv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetError dispatcher. id = 47
+ * glGetError dispatcher. id = 46
*/
static bool yagl_func_glGetError(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetFloatv dispatcher. id = 48
+ * glGetFloatv dispatcher. id = 47
*/
static bool yagl_func_glGetFloatv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetFramebufferAttachmentParameteriv dispatcher. id = 49
+ * glGetFramebufferAttachmentParameteriv dispatcher. id = 48
*/
static bool yagl_func_glGetFramebufferAttachmentParameteriv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetIntegerv dispatcher. id = 50
+ * glGetIntegerv dispatcher. id = 49
*/
static bool yagl_func_glGetIntegerv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetRenderbufferParameteriv dispatcher. id = 51
+ * glGetRenderbufferParameteriv dispatcher. id = 50
*/
static bool yagl_func_glGetRenderbufferParameteriv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetTexParameterfv dispatcher. id = 52
+ * glGetTexParameterfv dispatcher. id = 51
*/
static bool yagl_func_glGetTexParameterfv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetTexParameteriv dispatcher. id = 53
+ * glGetTexParameteriv dispatcher. id = 52
*/
static bool yagl_func_glGetTexParameteriv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glHint dispatcher. id = 54
+ * glHint dispatcher. id = 53
*/
static bool yagl_func_glHint(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glIsBuffer dispatcher. id = 55
+ * glIsBuffer dispatcher. id = 54
*/
static bool yagl_func_glIsBuffer(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glIsEnabled dispatcher. id = 56
+ * glIsEnabled dispatcher. id = 55
*/
static bool yagl_func_glIsEnabled(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glIsFramebuffer dispatcher. id = 57
+ * glIsFramebuffer dispatcher. id = 56
*/
static bool yagl_func_glIsFramebuffer(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glIsRenderbuffer dispatcher. id = 58
+ * glIsRenderbuffer dispatcher. id = 57
*/
static bool yagl_func_glIsRenderbuffer(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glIsTexture dispatcher. id = 59
+ * glIsTexture dispatcher. id = 58
*/
static bool yagl_func_glIsTexture(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glLineWidth dispatcher. id = 60
+ * glLineWidth dispatcher. id = 59
*/
static bool yagl_func_glLineWidth(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glPixelStorei dispatcher. id = 61
+ * glPixelStorei dispatcher. id = 60
*/
static bool yagl_func_glPixelStorei(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glPolygonOffset dispatcher. id = 62
+ * glPolygonOffset dispatcher. id = 61
*/
static bool yagl_func_glPolygonOffset(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glReadPixels dispatcher. id = 63
+ * glReadPixels dispatcher. id = 62
*/
static bool yagl_func_glReadPixels(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glRenderbufferStorage dispatcher. id = 64
+ * glRenderbufferStorage dispatcher. id = 63
*/
static bool yagl_func_glRenderbufferStorage(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glSampleCoverage dispatcher. id = 65
+ * glSampleCoverage dispatcher. id = 64
*/
static bool yagl_func_glSampleCoverage(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glScissor dispatcher. id = 66
+ * glScissor dispatcher. id = 65
*/
static bool yagl_func_glScissor(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glStencilFunc dispatcher. id = 67
+ * glStencilFunc dispatcher. id = 66
*/
static bool yagl_func_glStencilFunc(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glStencilMask dispatcher. id = 68
+ * glStencilMask dispatcher. id = 67
*/
static bool yagl_func_glStencilMask(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glStencilOp dispatcher. id = 69
+ * glStencilOp dispatcher. id = 68
*/
static bool yagl_func_glStencilOp(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexImage2D dispatcher. id = 70
+ * glTexImage2D dispatcher. id = 69
*/
static bool yagl_func_glTexImage2D(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexParameterf dispatcher. id = 71
+ * glTexParameterf dispatcher. id = 70
*/
static bool yagl_func_glTexParameterf(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexParameterfv dispatcher. id = 72
+ * glTexParameterfv dispatcher. id = 71
*/
static bool yagl_func_glTexParameterfv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexParameteri dispatcher. id = 73
+ * glTexParameteri dispatcher. id = 72
*/
static bool yagl_func_glTexParameteri(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexParameteriv dispatcher. id = 74
+ * glTexParameteriv dispatcher. id = 73
*/
static bool yagl_func_glTexParameteriv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexSubImage2D dispatcher. id = 75
+ * glTexSubImage2D dispatcher. id = 74
*/
static bool yagl_func_glTexSubImage2D(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glViewport dispatcher. id = 76
+ * glViewport dispatcher. id = 75
*/
static bool yagl_func_glViewport(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetExtensionStringYAGL dispatcher. id = 77
+ * glGetExtensionStringYAGL dispatcher. id = 76
*/
static bool yagl_func_glGetExtensionStringYAGL(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetVertexAttribRangeYAGL dispatcher. id = 78
+ * glGetVertexAttribRangeYAGL dispatcher. id = 77
*/
static bool yagl_func_glGetVertexAttribRangeYAGL(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glAlphaFunc dispatcher. id = 79
+ * glAlphaFunc dispatcher. id = 78
*/
static bool yagl_func_glAlphaFunc(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glClipPlanef dispatcher. id = 80
+ * glClipPlanef dispatcher. id = 79
*/
static bool yagl_func_glClipPlanef(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glColor4f dispatcher. id = 81
+ * glColor4f dispatcher. id = 80
*/
static bool yagl_func_glColor4f(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glFogf dispatcher. id = 82
+ * glFogf dispatcher. id = 81
*/
static bool yagl_func_glFogf(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glFogfv dispatcher. id = 83
+ * glFogfv dispatcher. id = 82
*/
static bool yagl_func_glFogfv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glFrustumf dispatcher. id = 84
+ * glFrustumf dispatcher. id = 83
*/
static bool yagl_func_glFrustumf(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetClipPlanef dispatcher. id = 85
+ * glGetClipPlanef dispatcher. id = 84
*/
static bool yagl_func_glGetClipPlanef(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetLightfv dispatcher. id = 86
+ * glGetLightfv dispatcher. id = 85
*/
static bool yagl_func_glGetLightfv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetMaterialfv dispatcher. id = 87
+ * glGetMaterialfv dispatcher. id = 86
*/
static bool yagl_func_glGetMaterialfv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetTexEnvfv dispatcher. id = 88
+ * glGetTexEnvfv dispatcher. id = 87
*/
static bool yagl_func_glGetTexEnvfv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glLightModelf dispatcher. id = 89
+ * glLightModelf dispatcher. id = 88
*/
static bool yagl_func_glLightModelf(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glLightModelfv dispatcher. id = 90
+ * glLightModelfv dispatcher. id = 89
*/
static bool yagl_func_glLightModelfv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glLightf dispatcher. id = 91
+ * glLightf dispatcher. id = 90
*/
static bool yagl_func_glLightf(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glLightfv dispatcher. id = 92
+ * glLightfv dispatcher. id = 91
*/
static bool yagl_func_glLightfv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glLoadMatrixf dispatcher. id = 93
+ * glLoadMatrixf dispatcher. id = 92
*/
static bool yagl_func_glLoadMatrixf(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glMaterialf dispatcher. id = 94
+ * glMaterialf dispatcher. id = 93
*/
static bool yagl_func_glMaterialf(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glMaterialfv dispatcher. id = 95
+ * glMaterialfv dispatcher. id = 94
*/
static bool yagl_func_glMaterialfv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glMultMatrixf dispatcher. id = 96
+ * glMultMatrixf dispatcher. id = 95
*/
static bool yagl_func_glMultMatrixf(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glMultiTexCoord4f dispatcher. id = 97
+ * glMultiTexCoord4f dispatcher. id = 96
*/
static bool yagl_func_glMultiTexCoord4f(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glNormal3f dispatcher. id = 98
+ * glNormal3f dispatcher. id = 97
*/
static bool yagl_func_glNormal3f(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glOrthof dispatcher. id = 99
+ * glOrthof dispatcher. id = 98
*/
static bool yagl_func_glOrthof(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glPointParameterf dispatcher. id = 100
+ * glPointParameterf dispatcher. id = 99
*/
static bool yagl_func_glPointParameterf(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glPointParameterfv dispatcher. id = 101
+ * glPointParameterfv dispatcher. id = 100
*/
static bool yagl_func_glPointParameterfv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glPointSize dispatcher. id = 102
+ * glPointSize dispatcher. id = 101
*/
static bool yagl_func_glPointSize(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glPointSizePointerOES dispatcher. id = 103
+ * glPointSizePointerOES dispatcher. id = 102
*/
static bool yagl_func_glPointSizePointerOES(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glRotatef dispatcher. id = 104
+ * glRotatef dispatcher. id = 103
*/
static bool yagl_func_glRotatef(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glScalef dispatcher. id = 105
+ * glScalef dispatcher. id = 104
*/
static bool yagl_func_glScalef(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexEnvf dispatcher. id = 106
+ * glTexEnvf dispatcher. id = 105
*/
static bool yagl_func_glTexEnvf(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexEnvfv dispatcher. id = 107
+ * glTexEnvfv dispatcher. id = 106
*/
static bool yagl_func_glTexEnvfv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTranslatef dispatcher. id = 108
+ * glTranslatef dispatcher. id = 107
*/
static bool yagl_func_glTranslatef(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glAlphaFuncx dispatcher. id = 109
+ * glAlphaFuncx dispatcher. id = 108
*/
static bool yagl_func_glAlphaFuncx(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glClearColorx dispatcher. id = 110
+ * glClearColorx dispatcher. id = 109
*/
static bool yagl_func_glClearColorx(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glClearDepthx dispatcher. id = 111
+ * glClearDepthx dispatcher. id = 110
*/
static bool yagl_func_glClearDepthx(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glClientActiveTexture dispatcher. id = 112
+ * glClientActiveTexture dispatcher. id = 111
*/
static bool yagl_func_glClientActiveTexture(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glClipPlanex dispatcher. id = 113
+ * glClipPlanex dispatcher. id = 112
*/
static bool yagl_func_glClipPlanex(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glColor4ub dispatcher. id = 114
+ * glColor4ub dispatcher. id = 113
*/
static bool yagl_func_glColor4ub(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glColor4x dispatcher. id = 115
+ * glColor4x dispatcher. id = 114
*/
static bool yagl_func_glColor4x(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glColorPointer dispatcher. id = 116
+ * glColorPointer dispatcher. id = 115
*/
static bool yagl_func_glColorPointer(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glDepthRangex dispatcher. id = 117
+ * glDepthRangex dispatcher. id = 116
*/
static bool yagl_func_glDepthRangex(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glDisableClientState dispatcher. id = 118
+ * glDisableClientState dispatcher. id = 117
*/
static bool yagl_func_glDisableClientState(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glEnableClientState dispatcher. id = 119
+ * glEnableClientState dispatcher. id = 118
*/
static bool yagl_func_glEnableClientState(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glFogx dispatcher. id = 120
+ * glFogx dispatcher. id = 119
*/
static bool yagl_func_glFogx(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glFogxv dispatcher. id = 121
+ * glFogxv dispatcher. id = 120
*/
static bool yagl_func_glFogxv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glFrustumx dispatcher. id = 122
+ * glFrustumx dispatcher. id = 121
*/
static bool yagl_func_glFrustumx(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetClipPlanex dispatcher. id = 123
+ * glGetClipPlanex dispatcher. id = 122
*/
static bool yagl_func_glGetClipPlanex(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetFixedv dispatcher. id = 124
+ * glGetFixedv dispatcher. id = 123
*/
static bool yagl_func_glGetFixedv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetLightxv dispatcher. id = 125
+ * glGetLightxv dispatcher. id = 124
*/
static bool yagl_func_glGetLightxv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetMaterialxv dispatcher. id = 126
+ * glGetMaterialxv dispatcher. id = 125
*/
static bool yagl_func_glGetMaterialxv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetPointerv dispatcher. id = 127
+ * glGetPointerv dispatcher. id = 126
*/
static bool yagl_func_glGetPointerv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetTexEnviv dispatcher. id = 128
+ * glGetTexEnviv dispatcher. id = 127
*/
static bool yagl_func_glGetTexEnviv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetTexEnvxv dispatcher. id = 129
+ * glGetTexEnvxv dispatcher. id = 128
*/
static bool yagl_func_glGetTexEnvxv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetTexParameterxv dispatcher. id = 130
+ * glGetTexParameterxv dispatcher. id = 129
*/
static bool yagl_func_glGetTexParameterxv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glLightModelx dispatcher. id = 131
+ * glLightModelx dispatcher. id = 130
*/
static bool yagl_func_glLightModelx(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glLightModelxv dispatcher. id = 132
+ * glLightModelxv dispatcher. id = 131
*/
static bool yagl_func_glLightModelxv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glLightx dispatcher. id = 133
+ * glLightx dispatcher. id = 132
*/
static bool yagl_func_glLightx(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glLightxv dispatcher. id = 134
+ * glLightxv dispatcher. id = 133
*/
static bool yagl_func_glLightxv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glLineWidthx dispatcher. id = 135
+ * glLineWidthx dispatcher. id = 134
*/
static bool yagl_func_glLineWidthx(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glLoadIdentity dispatcher. id = 136
+ * glLoadIdentity dispatcher. id = 135
*/
static bool yagl_func_glLoadIdentity(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glLoadMatrixx dispatcher. id = 137
+ * glLoadMatrixx dispatcher. id = 136
*/
static bool yagl_func_glLoadMatrixx(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glLogicOp dispatcher. id = 138
+ * glLogicOp dispatcher. id = 137
*/
static bool yagl_func_glLogicOp(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glMaterialx dispatcher. id = 139
+ * glMaterialx dispatcher. id = 138
*/
static bool yagl_func_glMaterialx(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glMaterialxv dispatcher. id = 140
+ * glMaterialxv dispatcher. id = 139
*/
static bool yagl_func_glMaterialxv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glMatrixMode dispatcher. id = 141
+ * glMatrixMode dispatcher. id = 140
*/
static bool yagl_func_glMatrixMode(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glMultMatrixx dispatcher. id = 142
+ * glMultMatrixx dispatcher. id = 141
*/
static bool yagl_func_glMultMatrixx(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glMultiTexCoord4x dispatcher. id = 143
+ * glMultiTexCoord4x dispatcher. id = 142
*/
static bool yagl_func_glMultiTexCoord4x(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glNormal3x dispatcher. id = 144
+ * glNormal3x dispatcher. id = 143
*/
static bool yagl_func_glNormal3x(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glNormalPointer dispatcher. id = 145
+ * glNormalPointer dispatcher. id = 144
*/
static bool yagl_func_glNormalPointer(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glOrthox dispatcher. id = 146
+ * glOrthox dispatcher. id = 145
*/
static bool yagl_func_glOrthox(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glPointParameterx dispatcher. id = 147
+ * glPointParameterx dispatcher. id = 146
*/
static bool yagl_func_glPointParameterx(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glPointParameterxv dispatcher. id = 148
+ * glPointParameterxv dispatcher. id = 147
*/
static bool yagl_func_glPointParameterxv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glPointSizex dispatcher. id = 149
+ * glPointSizex dispatcher. id = 148
*/
static bool yagl_func_glPointSizex(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glPolygonOffsetx dispatcher. id = 150
+ * glPolygonOffsetx dispatcher. id = 149
*/
static bool yagl_func_glPolygonOffsetx(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glPopMatrix dispatcher. id = 151
+ * glPopMatrix dispatcher. id = 150
*/
static bool yagl_func_glPopMatrix(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glPushMatrix dispatcher. id = 152
+ * glPushMatrix dispatcher. id = 151
*/
static bool yagl_func_glPushMatrix(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glRotatex dispatcher. id = 153
+ * glRotatex dispatcher. id = 152
*/
static bool yagl_func_glRotatex(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glSampleCoveragex dispatcher. id = 154
+ * glSampleCoveragex dispatcher. id = 153
*/
static bool yagl_func_glSampleCoveragex(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glScalex dispatcher. id = 155
+ * glScalex dispatcher. id = 154
*/
static bool yagl_func_glScalex(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glShadeModel dispatcher. id = 156
+ * glShadeModel dispatcher. id = 155
*/
static bool yagl_func_glShadeModel(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexCoordPointer dispatcher. id = 157
+ * glTexCoordPointer dispatcher. id = 156
*/
static bool yagl_func_glTexCoordPointer(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexEnvi dispatcher. id = 158
+ * glTexEnvi dispatcher. id = 157
*/
static bool yagl_func_glTexEnvi(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexEnvx dispatcher. id = 159
+ * glTexEnvx dispatcher. id = 158
*/
static bool yagl_func_glTexEnvx(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexEnviv dispatcher. id = 160
+ * glTexEnviv dispatcher. id = 159
*/
static bool yagl_func_glTexEnviv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexEnvxv dispatcher. id = 161
+ * glTexEnvxv dispatcher. id = 160
*/
static bool yagl_func_glTexEnvxv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexParameterx dispatcher. id = 162
+ * glTexParameterx dispatcher. id = 161
*/
static bool yagl_func_glTexParameterx(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexParameterxv dispatcher. id = 163
+ * glTexParameterxv dispatcher. id = 162
*/
static bool yagl_func_glTexParameterxv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTranslatex dispatcher. id = 164
+ * glTranslatex dispatcher. id = 163
*/
static bool yagl_func_glTranslatex(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glVertexPointer dispatcher. id = 165
+ * glVertexPointer dispatcher. id = 164
*/
static bool yagl_func_glVertexPointer(uint8_t **out_buff,
uint8_t *in_buff)
return res;
}
-const uint32_t yagl_gles1_api_num_funcs = 165;
+const uint32_t yagl_gles1_api_num_funcs = 164;
yagl_api_func yagl_gles1_api_funcs[] = {
&yagl_func_glActiveTexture,
&yagl_func_glDrawElements,
&yagl_func_glEGLImageTargetTexture2DOES,
&yagl_func_glEnable,
- &yagl_func_glFinish,
&yagl_func_glFlush,
&yagl_func_glFramebufferTexture2D,
&yagl_func_glFramebufferRenderbuffer,
}
/*
- * glFinish dispatcher. id = 35
- */
-static bool yagl_func_glFinish(uint8_t **out_buff,
- uint8_t *in_buff)
-{
- YAGL_LOG_FUNC_ENTER_SPLIT0(glFinish);
- bool res = yagl_host_glFinish();
- YAGL_LOG_FUNC_EXIT(NULL);
- return res;
-}
-
-/*
- * glFlush dispatcher. id = 36
+ * glFlush dispatcher. id = 35
*/
static bool yagl_func_glFlush(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glFramebufferTexture2D dispatcher. id = 37
+ * glFramebufferTexture2D dispatcher. id = 36
*/
static bool yagl_func_glFramebufferTexture2D(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glFramebufferRenderbuffer dispatcher. id = 38
+ * glFramebufferRenderbuffer dispatcher. id = 37
*/
static bool yagl_func_glFramebufferRenderbuffer(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glFrontFace dispatcher. id = 39
+ * glFrontFace dispatcher. id = 38
*/
static bool yagl_func_glFrontFace(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGenBuffers dispatcher. id = 40
+ * glGenBuffers dispatcher. id = 39
*/
static bool yagl_func_glGenBuffers(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGenerateMipmap dispatcher. id = 41
+ * glGenerateMipmap dispatcher. id = 40
*/
static bool yagl_func_glGenerateMipmap(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGenFramebuffers dispatcher. id = 42
+ * glGenFramebuffers dispatcher. id = 41
*/
static bool yagl_func_glGenFramebuffers(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGenRenderbuffers dispatcher. id = 43
+ * glGenRenderbuffers dispatcher. id = 42
*/
static bool yagl_func_glGenRenderbuffers(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGenTextures dispatcher. id = 44
+ * glGenTextures dispatcher. id = 43
*/
static bool yagl_func_glGenTextures(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetBooleanv dispatcher. id = 45
+ * glGetBooleanv dispatcher. id = 44
*/
static bool yagl_func_glGetBooleanv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetBufferParameteriv dispatcher. id = 46
+ * glGetBufferParameteriv dispatcher. id = 45
*/
static bool yagl_func_glGetBufferParameteriv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetError dispatcher. id = 47
+ * glGetError dispatcher. id = 46
*/
static bool yagl_func_glGetError(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetFloatv dispatcher. id = 48
+ * glGetFloatv dispatcher. id = 47
*/
static bool yagl_func_glGetFloatv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetFramebufferAttachmentParameteriv dispatcher. id = 49
+ * glGetFramebufferAttachmentParameteriv dispatcher. id = 48
*/
static bool yagl_func_glGetFramebufferAttachmentParameteriv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetIntegerv dispatcher. id = 50
+ * glGetIntegerv dispatcher. id = 49
*/
static bool yagl_func_glGetIntegerv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetRenderbufferParameteriv dispatcher. id = 51
+ * glGetRenderbufferParameteriv dispatcher. id = 50
*/
static bool yagl_func_glGetRenderbufferParameteriv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetTexParameterfv dispatcher. id = 52
+ * glGetTexParameterfv dispatcher. id = 51
*/
static bool yagl_func_glGetTexParameterfv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetTexParameteriv dispatcher. id = 53
+ * glGetTexParameteriv dispatcher. id = 52
*/
static bool yagl_func_glGetTexParameteriv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glHint dispatcher. id = 54
+ * glHint dispatcher. id = 53
*/
static bool yagl_func_glHint(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glIsBuffer dispatcher. id = 55
+ * glIsBuffer dispatcher. id = 54
*/
static bool yagl_func_glIsBuffer(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glIsEnabled dispatcher. id = 56
+ * glIsEnabled dispatcher. id = 55
*/
static bool yagl_func_glIsEnabled(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glIsFramebuffer dispatcher. id = 57
+ * glIsFramebuffer dispatcher. id = 56
*/
static bool yagl_func_glIsFramebuffer(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glIsRenderbuffer dispatcher. id = 58
+ * glIsRenderbuffer dispatcher. id = 57
*/
static bool yagl_func_glIsRenderbuffer(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glIsTexture dispatcher. id = 59
+ * glIsTexture dispatcher. id = 58
*/
static bool yagl_func_glIsTexture(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glLineWidth dispatcher. id = 60
+ * glLineWidth dispatcher. id = 59
*/
static bool yagl_func_glLineWidth(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glPixelStorei dispatcher. id = 61
+ * glPixelStorei dispatcher. id = 60
*/
static bool yagl_func_glPixelStorei(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glPolygonOffset dispatcher. id = 62
+ * glPolygonOffset dispatcher. id = 61
*/
static bool yagl_func_glPolygonOffset(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glReadPixels dispatcher. id = 63
+ * glReadPixels dispatcher. id = 62
*/
static bool yagl_func_glReadPixels(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glRenderbufferStorage dispatcher. id = 64
+ * glRenderbufferStorage dispatcher. id = 63
*/
static bool yagl_func_glRenderbufferStorage(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glSampleCoverage dispatcher. id = 65
+ * glSampleCoverage dispatcher. id = 64
*/
static bool yagl_func_glSampleCoverage(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glScissor dispatcher. id = 66
+ * glScissor dispatcher. id = 65
*/
static bool yagl_func_glScissor(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glStencilFunc dispatcher. id = 67
+ * glStencilFunc dispatcher. id = 66
*/
static bool yagl_func_glStencilFunc(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glStencilMask dispatcher. id = 68
+ * glStencilMask dispatcher. id = 67
*/
static bool yagl_func_glStencilMask(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glStencilOp dispatcher. id = 69
+ * glStencilOp dispatcher. id = 68
*/
static bool yagl_func_glStencilOp(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexImage2D dispatcher. id = 70
+ * glTexImage2D dispatcher. id = 69
*/
static bool yagl_func_glTexImage2D(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexParameterf dispatcher. id = 71
+ * glTexParameterf dispatcher. id = 70
*/
static bool yagl_func_glTexParameterf(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexParameterfv dispatcher. id = 72
+ * glTexParameterfv dispatcher. id = 71
*/
static bool yagl_func_glTexParameterfv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexParameteri dispatcher. id = 73
+ * glTexParameteri dispatcher. id = 72
*/
static bool yagl_func_glTexParameteri(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexParameteriv dispatcher. id = 74
+ * glTexParameteriv dispatcher. id = 73
*/
static bool yagl_func_glTexParameteriv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glTexSubImage2D dispatcher. id = 75
+ * glTexSubImage2D dispatcher. id = 74
*/
static bool yagl_func_glTexSubImage2D(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glViewport dispatcher. id = 76
+ * glViewport dispatcher. id = 75
*/
static bool yagl_func_glViewport(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetExtensionStringYAGL dispatcher. id = 77
+ * glGetExtensionStringYAGL dispatcher. id = 76
*/
static bool yagl_func_glGetExtensionStringYAGL(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetVertexAttribRangeYAGL dispatcher. id = 78
+ * glGetVertexAttribRangeYAGL dispatcher. id = 77
*/
static bool yagl_func_glGetVertexAttribRangeYAGL(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glAttachShader dispatcher. id = 79
+ * glAttachShader dispatcher. id = 78
*/
static bool yagl_func_glAttachShader(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glBindAttribLocation dispatcher. id = 80
+ * glBindAttribLocation dispatcher. id = 79
*/
static bool yagl_func_glBindAttribLocation(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glBlendColor dispatcher. id = 81
+ * glBlendColor dispatcher. id = 80
*/
static bool yagl_func_glBlendColor(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glCompileShader dispatcher. id = 82
+ * glCompileShader dispatcher. id = 81
*/
static bool yagl_func_glCompileShader(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glCreateProgram dispatcher. id = 83
+ * glCreateProgram dispatcher. id = 82
*/
static bool yagl_func_glCreateProgram(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glCreateShader dispatcher. id = 84
+ * glCreateShader dispatcher. id = 83
*/
static bool yagl_func_glCreateShader(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glDeleteProgram dispatcher. id = 85
+ * glDeleteProgram dispatcher. id = 84
*/
static bool yagl_func_glDeleteProgram(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glDeleteShader dispatcher. id = 86
+ * glDeleteShader dispatcher. id = 85
*/
static bool yagl_func_glDeleteShader(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glDetachShader dispatcher. id = 87
+ * glDetachShader dispatcher. id = 86
*/
static bool yagl_func_glDetachShader(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glDisableVertexAttribArray dispatcher. id = 88
+ * glDisableVertexAttribArray dispatcher. id = 87
*/
static bool yagl_func_glDisableVertexAttribArray(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glEnableVertexAttribArray dispatcher. id = 89
+ * glEnableVertexAttribArray dispatcher. id = 88
*/
static bool yagl_func_glEnableVertexAttribArray(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetActiveAttrib dispatcher. id = 90
+ * glGetActiveAttrib dispatcher. id = 89
*/
static bool yagl_func_glGetActiveAttrib(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetActiveUniform dispatcher. id = 91
+ * glGetActiveUniform dispatcher. id = 90
*/
static bool yagl_func_glGetActiveUniform(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetAttachedShaders dispatcher. id = 92
+ * glGetAttachedShaders dispatcher. id = 91
*/
static bool yagl_func_glGetAttachedShaders(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetAttribLocation dispatcher. id = 93
+ * glGetAttribLocation dispatcher. id = 92
*/
static bool yagl_func_glGetAttribLocation(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetProgramiv dispatcher. id = 94
+ * glGetProgramiv dispatcher. id = 93
*/
static bool yagl_func_glGetProgramiv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetProgramInfoLog dispatcher. id = 95
+ * glGetProgramInfoLog dispatcher. id = 94
*/
static bool yagl_func_glGetProgramInfoLog(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetShaderiv dispatcher. id = 96
+ * glGetShaderiv dispatcher. id = 95
*/
static bool yagl_func_glGetShaderiv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetShaderInfoLog dispatcher. id = 97
+ * glGetShaderInfoLog dispatcher. id = 96
*/
static bool yagl_func_glGetShaderInfoLog(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetShaderPrecisionFormat dispatcher. id = 98
+ * glGetShaderPrecisionFormat dispatcher. id = 97
*/
static bool yagl_func_glGetShaderPrecisionFormat(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetShaderSource dispatcher. id = 99
+ * glGetShaderSource dispatcher. id = 98
*/
static bool yagl_func_glGetShaderSource(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetUniformfv dispatcher. id = 100
+ * glGetUniformfv dispatcher. id = 99
*/
static bool yagl_func_glGetUniformfv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetUniformiv dispatcher. id = 101
+ * glGetUniformiv dispatcher. id = 100
*/
static bool yagl_func_glGetUniformiv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetUniformLocation dispatcher. id = 102
+ * glGetUniformLocation dispatcher. id = 101
*/
static bool yagl_func_glGetUniformLocation(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetVertexAttribfv dispatcher. id = 103
+ * glGetVertexAttribfv dispatcher. id = 102
*/
static bool yagl_func_glGetVertexAttribfv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetVertexAttribiv dispatcher. id = 104
+ * glGetVertexAttribiv dispatcher. id = 103
*/
static bool yagl_func_glGetVertexAttribiv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glGetVertexAttribPointerv dispatcher. id = 105
+ * glGetVertexAttribPointerv dispatcher. id = 104
*/
static bool yagl_func_glGetVertexAttribPointerv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glIsProgram dispatcher. id = 106
+ * glIsProgram dispatcher. id = 105
*/
static bool yagl_func_glIsProgram(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glIsShader dispatcher. id = 107
+ * glIsShader dispatcher. id = 106
*/
static bool yagl_func_glIsShader(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glLinkProgram dispatcher. id = 108
+ * glLinkProgram dispatcher. id = 107
*/
static bool yagl_func_glLinkProgram(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glReleaseShaderCompiler dispatcher. id = 109
+ * glReleaseShaderCompiler dispatcher. id = 108
*/
static bool yagl_func_glReleaseShaderCompiler(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glShaderBinary dispatcher. id = 110
+ * glShaderBinary dispatcher. id = 109
*/
static bool yagl_func_glShaderBinary(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glShaderSource dispatcher. id = 111
+ * glShaderSource dispatcher. id = 110
*/
static bool yagl_func_glShaderSource(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glStencilFuncSeparate dispatcher. id = 112
+ * glStencilFuncSeparate dispatcher. id = 111
*/
static bool yagl_func_glStencilFuncSeparate(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glStencilMaskSeparate dispatcher. id = 113
+ * glStencilMaskSeparate dispatcher. id = 112
*/
static bool yagl_func_glStencilMaskSeparate(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glStencilOpSeparate dispatcher. id = 114
+ * glStencilOpSeparate dispatcher. id = 113
*/
static bool yagl_func_glStencilOpSeparate(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniform1f dispatcher. id = 115
+ * glUniform1f dispatcher. id = 114
*/
static bool yagl_func_glUniform1f(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniform1fv dispatcher. id = 116
+ * glUniform1fv dispatcher. id = 115
*/
static bool yagl_func_glUniform1fv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniform1i dispatcher. id = 117
+ * glUniform1i dispatcher. id = 116
*/
static bool yagl_func_glUniform1i(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniform1iv dispatcher. id = 118
+ * glUniform1iv dispatcher. id = 117
*/
static bool yagl_func_glUniform1iv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniform2f dispatcher. id = 119
+ * glUniform2f dispatcher. id = 118
*/
static bool yagl_func_glUniform2f(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniform2fv dispatcher. id = 120
+ * glUniform2fv dispatcher. id = 119
*/
static bool yagl_func_glUniform2fv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniform2i dispatcher. id = 121
+ * glUniform2i dispatcher. id = 120
*/
static bool yagl_func_glUniform2i(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniform2iv dispatcher. id = 122
+ * glUniform2iv dispatcher. id = 121
*/
static bool yagl_func_glUniform2iv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniform3f dispatcher. id = 123
+ * glUniform3f dispatcher. id = 122
*/
static bool yagl_func_glUniform3f(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniform3fv dispatcher. id = 124
+ * glUniform3fv dispatcher. id = 123
*/
static bool yagl_func_glUniform3fv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniform3i dispatcher. id = 125
+ * glUniform3i dispatcher. id = 124
*/
static bool yagl_func_glUniform3i(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniform3iv dispatcher. id = 126
+ * glUniform3iv dispatcher. id = 125
*/
static bool yagl_func_glUniform3iv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniform4f dispatcher. id = 127
+ * glUniform4f dispatcher. id = 126
*/
static bool yagl_func_glUniform4f(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniform4fv dispatcher. id = 128
+ * glUniform4fv dispatcher. id = 127
*/
static bool yagl_func_glUniform4fv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniform4i dispatcher. id = 129
+ * glUniform4i dispatcher. id = 128
*/
static bool yagl_func_glUniform4i(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniform4iv dispatcher. id = 130
+ * glUniform4iv dispatcher. id = 129
*/
static bool yagl_func_glUniform4iv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniformMatrix2fv dispatcher. id = 131
+ * glUniformMatrix2fv dispatcher. id = 130
*/
static bool yagl_func_glUniformMatrix2fv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniformMatrix3fv dispatcher. id = 132
+ * glUniformMatrix3fv dispatcher. id = 131
*/
static bool yagl_func_glUniformMatrix3fv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUniformMatrix4fv dispatcher. id = 133
+ * glUniformMatrix4fv dispatcher. id = 132
*/
static bool yagl_func_glUniformMatrix4fv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glUseProgram dispatcher. id = 134
+ * glUseProgram dispatcher. id = 133
*/
static bool yagl_func_glUseProgram(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glValidateProgram dispatcher. id = 135
+ * glValidateProgram dispatcher. id = 134
*/
static bool yagl_func_glValidateProgram(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glVertexAttrib1f dispatcher. id = 136
+ * glVertexAttrib1f dispatcher. id = 135
*/
static bool yagl_func_glVertexAttrib1f(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glVertexAttrib1fv dispatcher. id = 137
+ * glVertexAttrib1fv dispatcher. id = 136
*/
static bool yagl_func_glVertexAttrib1fv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glVertexAttrib2f dispatcher. id = 138
+ * glVertexAttrib2f dispatcher. id = 137
*/
static bool yagl_func_glVertexAttrib2f(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glVertexAttrib2fv dispatcher. id = 139
+ * glVertexAttrib2fv dispatcher. id = 138
*/
static bool yagl_func_glVertexAttrib2fv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glVertexAttrib3f dispatcher. id = 140
+ * glVertexAttrib3f dispatcher. id = 139
*/
static bool yagl_func_glVertexAttrib3f(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glVertexAttrib3fv dispatcher. id = 141
+ * glVertexAttrib3fv dispatcher. id = 140
*/
static bool yagl_func_glVertexAttrib3fv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glVertexAttrib4f dispatcher. id = 142
+ * glVertexAttrib4f dispatcher. id = 141
*/
static bool yagl_func_glVertexAttrib4f(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glVertexAttrib4fv dispatcher. id = 143
+ * glVertexAttrib4fv dispatcher. id = 142
*/
static bool yagl_func_glVertexAttrib4fv(uint8_t **out_buff,
uint8_t *in_buff)
}
/*
- * glVertexAttribPointer dispatcher. id = 144
+ * glVertexAttribPointer dispatcher. id = 143
*/
static bool yagl_func_glVertexAttribPointer(uint8_t **out_buff,
uint8_t *in_buff)
return res;
}
-const uint32_t yagl_gles2_api_num_funcs = 144;
+const uint32_t yagl_gles2_api_num_funcs = 143;
yagl_api_func yagl_gles2_api_funcs[] = {
&yagl_func_glActiveTexture,
&yagl_func_glDrawElements,
&yagl_func_glEGLImageTargetTexture2DOES,
&yagl_func_glEnable,
- &yagl_func_glFinish,
&yagl_func_glFlush,
&yagl_func_glFramebufferTexture2D,
&yagl_func_glFramebufferRenderbuffer,
return true;
}
+static void yagl_egl_offscreen_surface_wait_gl(struct yagl_eglb_surface *sfc)
+{
+}
+
static bool yagl_egl_offscreen_surface_bind_tex_image(struct yagl_eglb_surface *sfc)
{
YAGL_LOG_FUNC_SET(eglBindTexImage);
sfc->base.query = &yagl_egl_offscreen_surface_query;
sfc->base.swap_buffers = &yagl_egl_offscreen_surface_swap_buffers;
sfc->base.copy_buffers = &yagl_egl_offscreen_surface_copy_buffers;
+ sfc->base.wait_gl = &yagl_egl_offscreen_surface_wait_gl;
sfc->base.bind_tex_image = &yagl_egl_offscreen_surface_bind_tex_image;
sfc->base.release_tex_image = &yagl_egl_offscreen_surface_release_tex_image;
sfc->base.destroy = &yagl_egl_offscreen_surface_destroy;
static bool yagl_egl_onscreen_surface_swap_buffers(struct yagl_eglb_surface *sfc)
{
+ struct yagl_egl_onscreen_surface *osfc =
+ (struct yagl_egl_onscreen_surface*)sfc;
struct yagl_egl_onscreen *egl_onscreen =
(struct yagl_egl_onscreen*)sfc->dpy->backend;
egl_onscreen->gles_driver->Finish();
+ osfc->ws_sfc->base.set_dirty(&osfc->ws_sfc->base);
+
return true;
}
static bool yagl_egl_onscreen_surface_copy_buffers(struct yagl_eglb_surface *sfc)
{
+ struct yagl_egl_onscreen_surface *osfc =
+ (struct yagl_egl_onscreen_surface*)sfc;
struct yagl_egl_onscreen *egl_onscreen =
(struct yagl_egl_onscreen*)sfc->dpy->backend;
egl_onscreen->gles_driver->Finish();
+ osfc->ws_sfc->base.set_dirty(&osfc->ws_sfc->base);
+
return true;
}
+static void yagl_egl_onscreen_surface_wait_gl(struct yagl_eglb_surface *sfc)
+{
+ struct yagl_egl_onscreen_surface *osfc =
+ (struct yagl_egl_onscreen_surface*)sfc;
+ struct yagl_egl_onscreen *egl_onscreen =
+ (struct yagl_egl_onscreen*)sfc->dpy->backend;
+
+ egl_onscreen->gles_driver->Finish();
+
+ osfc->ws_sfc->base.set_dirty(&osfc->ws_sfc->base);
+}
+
static bool yagl_egl_onscreen_surface_bind_tex_image(struct yagl_eglb_surface *sfc)
{
struct yagl_egl_onscreen_surface *osfc =
sfc->base.query = &yagl_egl_onscreen_surface_query;
sfc->base.swap_buffers = &yagl_egl_onscreen_surface_swap_buffers;
sfc->base.copy_buffers = &yagl_egl_onscreen_surface_copy_buffers;
+ sfc->base.wait_gl = &yagl_egl_onscreen_surface_wait_gl;
sfc->base.bind_tex_image = &yagl_egl_onscreen_surface_bind_tex_image;
sfc->base.release_tex_image = &yagl_egl_onscreen_surface_release_tex_image;
sfc->base.destroy = &yagl_egl_onscreen_surface_destroy;
sfc->base.query = &yagl_egl_onscreen_surface_query;
sfc->base.swap_buffers = &yagl_egl_onscreen_surface_swap_buffers;
sfc->base.copy_buffers = &yagl_egl_onscreen_surface_copy_buffers;
+ sfc->base.wait_gl = &yagl_egl_onscreen_surface_wait_gl;
sfc->base.bind_tex_image = &yagl_egl_onscreen_surface_bind_tex_image;
sfc->base.release_tex_image = &yagl_egl_onscreen_surface_release_tex_image;
sfc->base.destroy = &yagl_egl_onscreen_surface_destroy;
sfc->base.query = &yagl_egl_onscreen_surface_query;
sfc->base.swap_buffers = &yagl_egl_onscreen_surface_swap_buffers;
sfc->base.copy_buffers = &yagl_egl_onscreen_surface_copy_buffers;
+ sfc->base.wait_gl = &yagl_egl_onscreen_surface_wait_gl;
sfc->base.bind_tex_image = &yagl_egl_onscreen_surface_bind_tex_image;
sfc->base.release_tex_image = &yagl_egl_onscreen_surface_release_tex_image;
sfc->base.destroy = &yagl_egl_onscreen_surface_destroy;
void (*flush)(struct yagl_client_context */*ctx*/);
- void (*finish)(struct yagl_client_context */*ctx*/);
-
/*
* Read pixel data from framebuffer.
*/
bool (*copy_buffers)(struct yagl_eglb_surface */*sfc*/);
+ void (*wait_gl)(struct yagl_eglb_surface */*sfc*/);
+
/*
* Can be called even when this surface is not current!
* @{