evas -gl engines - buffer age - bring back fix for changing buffer age

so we USED to... if buffer age changed between frames, force a full
redraw and add that to the pipeline... somehow someone removed that.
this brings that back as it's really needed to deal with updating
correctly.

@fix
This commit is contained in:
Carsten Haitzler 2019-08-27 23:05:18 +01:00
parent 542b17f958
commit 998e644977
3 changed files with 3 additions and 0 deletions

View File

@ -592,6 +592,7 @@ evas_outbuf_buffer_state_get(Outbuf *ob)
char buf[16];
snprintf(buf, sizeof(buf), "! %i", (int)age);
eina_evlog("!gl_buffer_age", ob, 0.0, buf);
swap_mode = MODE_FULL;
}
else
{

View File

@ -1445,6 +1445,7 @@ eng_outbuf_swap_mode(Outbuf *ob)
char buf[16];
snprintf(buf, sizeof(buf), "! %i", (int)age);
eina_evlog("!gl_buffer_age", ob, 0.0, buf);
swap_mode = MODE_FULL;
}
else
{

View File

@ -360,6 +360,7 @@ eng_outbuf_swap_mode_get(Outbuf *ob)
char buf[16];
snprintf(buf, sizeof(buf), "!%i", (int)age);
eina_evlog("!gl_buffer_age", ob, 0.0, buf);
swap_mode = MODE_FULL;
}
else
{