typedef void (*methodType)(Evas_GL *evas_gl);
BEFORE_EVAS_GL(evas_gl_free);
evas_gl_freep(evas_gl);
- GL_GET_ERROR();
AFTER('v', NO_RETURN_VALUE, APITYPE_CONTEXT, "", "p",
voidp_to_uint64(evas_gl));
}
typedef void (*methodType)(Evas_GL_Config *cfg);
BEFORE_EVAS_GL(evas_gl_config_free);
evas_gl_config_freep(cfg);
- GL_GET_ERROR();
AFTER('v', NO_RETURN_VALUE, APITYPE_CONTEXT, "", "p",
voidp_to_uint64(cfg));
}
typedef void (*methodType)(Evas_GL *evas_gl, Evas_GL_Surface *surf);
BEFORE_EVAS_GL(evas_gl_surface_destroy);
evas_gl_surface_destroyp(evas_gl, surf);
- GL_GET_ERROR();
AFTER('v', NO_RETURN_VALUE, APITYPE_CONTEXT, "", "pp",
voidp_to_uint64(evas_gl), voidp_to_uint64(surf));
}
typedef void (*methodType)(Evas_GL *evas_gl, Evas_GL_Context *ctx);
BEFORE_EVAS_GL(evas_gl_context_destroy);
evas_gl_context_destroyp(evas_gl, ctx);
- GL_GET_ERROR();
AFTER('v', NO_RETURN_VALUE, APITYPE_CONTEXT, "", "pp",
voidp_to_uint64(evas_gl), voidp_to_uint64(ctx));
}
typedef Evas_GL *(*methodType)(Evas *e);
BEFORE_EVAS_GL(evas_gl_new);
Evas_GL *res = evas_gl_newp(e);
- GL_GET_ERROR();
AFTER('p', voidp_to_uint64(res), APITYPE_CONTEXT, "", "p",
voidp_to_uint64(e));
return res;
typedef Evas_GL_Config *(*methodType)(void);
BEFORE_EVAS_GL(evas_gl_config_new);
Evas_GL_Config *res = evas_gl_config_newp();
- GL_GET_ERROR();
AFTER_NO_PARAM('p', voidp_to_uint64(res), APITYPE_CONTEXT, "");
return res;
}
int w, int h);
BEFORE_EVAS_GL(evas_gl_surface_create);
Evas_GL_Surface *res = evas_gl_surface_createp(evas_gl, cfg, w, h);
- GL_GET_ERROR();
AFTER('p', voidp_to_uint64(res), APITYPE_CONTEXT, "", "ppdd",
voidp_to_uint64(evas_gl), voidp_to_uint64(cfg), w, h);
return res;
Evas_GL_Context *share_ctx);
BEFORE_EVAS_GL(evas_gl_context_create);
Evas_GL_Context *res = evas_gl_context_createp(evas_gl, share_ctx);
- GL_GET_ERROR();
AFTER('p', voidp_to_uint64(res), APITYPE_CONTEXT, "", "pp",
voidp_to_uint64(evas_gl), voidp_to_uint64(share_ctx));
return res;
Evas_GL_Context *ctx);
BEFORE_EVAS_GL(evas_gl_make_current);
Eina_Bool res = evas_gl_make_currentp(evas_gl, surf, ctx);
- GL_GET_ERROR();
AFTER('b', res, APITYPE_CONTEXT, "", "ppp",
voidp_to_uint64(evas_gl), voidp_to_uint64(surf), voidp_to_uint64(ctx));
return res;
typedef const char *(*methodType)(Evas_GL *evas_gl, int name);
BEFORE_EVAS_GL(evas_gl_string_query);
const char *res = evas_gl_string_queryp(evas_gl, name);
- GL_GET_ERROR();
AFTER('s', res, APITYPE_CONTEXT, "", "pd",
voidp_to_uint64(evas_gl), name);
return res;
typedef Evas_GL_Func(*methodType)(Evas_GL *evas_gl, const char *name);
BEFORE_EVAS_GL(evas_gl_proc_address_get);
Evas_GL_Func res = evas_gl_proc_address_getp(evas_gl, name);
- GL_GET_ERROR();
AFTER('p', voidp_to_uint64(res), APITYPE_CONTEXT, "", "ps",
voidp_to_uint64(evas_gl), name);
return res;
Evas_Native_Surface *ns);
BEFORE_EVAS_GL(evas_gl_native_surface_get);
Eina_Bool res = evas_gl_native_surface_getp(evas_gl, surf, ns);
- GL_GET_ERROR();
AFTER('b', res, APITYPE_CONTEXT, "", "ppp",
voidp_to_uint64(evas_gl), voidp_to_uint64(surf), voidp_to_uint64(ns));
return res;
save_orig_gl_api_list(res);
change_gl_api_list(res);
- GL_GET_ERROR();
AFTER('p', res, APITYPE_CONTEXT, "", "p",
voidp_to_uint64(evas_gl));
return res;