static inline void
array_alloc(Evas_GL_Context *gc, int n)
{
+ gc->havestuff = EINA_TRUE;
if (gc->pipe[n].array.num <= gc->pipe[n].array.alloc) return;
gc->pipe[n].array.alloc += 6 * 1024;
if (gc->pipe[n].array.use_vertex)
shader_array_flush(Evas_GL_Context *gc)
{
int i, gw, gh, setclip, cy, fbo = 0, done = 0;
-
+
+ if (!gc->havestuff) return;
gw = gc->w;
gh = gc->h;
if (!((gc->pipe[0].shader.surface == gc->def_surface) ||
{
if (done > 0) printf("DONE (pipes): %i\n", done);
}
+ gc->havestuff = EINA_FALSE;
}
Eina_Bool