Change-Id: I19076e86f732341d37f4dd66f80d3eabec2bf11d
#define DEF_ATLAS_H 512
#define MAX_ATLAS_MEMCPY 1024
-#define DEF_ATLAS_MEMCPY 256
+#define DEF_ATLAS_MEMCPY 512
#define ATLAS_FORMATS_COUNT 12
(h > gc->shared->info.tune.atlas.max_h) ||
(!gc->shared->info.etc1_subimage && (intformat == etc1_fmt)))
{
- w -= wpadding;
- h -= hpadding;
pt = _pool_tex_new(gc, w, h, intformat, format);
if (!pt) return NULL;
gc->shared->tex.whole = eina_list_prepend(gc->shared->tex.whole, pt);
evas_gl_common_texture_light_free(tex);
return NULL;
}
- tex->x = u;
- tex->y = v;
- if (!tex->pt->whole)
- {
- tex->x += xoffset;
- tex->y += yoffset;
- }
+ tex->x = u + xoffset;
+ tex->y = v + yoffset;
tex->pt->references++;
evas_gl_common_texture_update(tex, im);