/* use exact rects for updates not tiles */
//#define NEWTILER
-#define TILESIZE 8
+#define TILESIZE 16
#define IMG_MAX_SIZE 65000
#define IMG_TOO_BIG(w, h) \
ob->gl_context->master_clip.w = w;
ob->gl_context->master_clip.h = h;
- if (glsym_eglSetDamageRegionKHR)
- _damage_rect_set(ob, x, y, w, h);
}
return ob->gl_context->def_surface;
_glcoords_convert(&result[i], ob, r->x, r->y, r->w, r->h);
i += 4;
}
+ if (glsym_eglSetDamageRegionKHR)
+ glsym_eglSetDamageRegionKHR(ob->egl.disp, ob->egl.surface[0], result, num);
+
glsym_eglSwapBuffersWithDamage(ob->egl.disp, ob->egl.surface[0],
result, num);
}
ob->gl_context->master_clip.w = w;
ob->gl_context->master_clip.h = h;
- if (glsym_eglSetDamageRegionKHR)
- _damage_rect_set(ob, x, y, w, h);
}
return ob->gl_context->def_surface;
_convert_glcoords(&result[i], ob, r->x, r->y, r->w, r->h);
i += 4;
}
+ if (glsym_eglSetDamageRegionKHR)
+ glsym_eglSetDamageRegionKHR(ob->egl_disp, ob->egl_surface[0], result, num);
+
glsym_eglSwapBuffersWithDamage(ob->egl_disp, ob->egl_surface[0],
result, num);
}