}
static void
-eng_image_map_draw(void *data __UNUSED__, void *context, void *surface, void *image, int npoints, RGBA_Map_Point *p, int smooth, int level)
+eng_image_map_draw(void *data, void *context, void *surface, void *image, int npoints, RGBA_Map_Point *p, int smooth, int level)
{
Evas_GL_Image *gim = image;
Render_Engine *re;
}
static void *
-eng_image_map_surface_new(void *data __UNUSED__, int w, int h, int alpha)
+eng_image_map_surface_new(void *data, int w, int h, int alpha)
{
Render_Engine *re;
}
static void
-eng_image_cache_flush(void *data __UNUSED__)
+eng_image_cache_flush(void *data)
{
Render_Engine *re;
int tmp_size;
}
static void
-eng_image_cache_set(void *data __UNUSED__, int bytes)
+eng_image_cache_set(void *data, int bytes)
{
Render_Engine *re;
static int
eng_image_cache_get(void *data __UNUSED__)
{
- Render_Engine *re;
-
- re = (Render_Engine *)data;
return evas_common_image_get_cache();
}
-
static void
eng_image_stride_get(void *data __UNUSED__, void *image, int *stride)
{
Evas_GL_Image *im = image;
+
*stride = im->w * 4;
if ((im->tex) && (im->tex->pt->dyn.img))
{
return sfc;
}
-
static int
eng_gl_surface_destroy(void *data, void *surface)
{
return 1;
}
-
-
static void *
eng_gl_context_create(void *data, void *share_context)
{
return ctx;
}
-
static int
eng_gl_context_destroy(void *data, void *context)
{
return 1;
}
-
-
static int
eng_gl_make_current(void *data, void *surface, void *context)
{