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 26e55458ad
commit 44a0a6f7c8
3 changed files with 3 additions and 0 deletions

View File

@ -594,6 +594,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

@ -1448,6 +1448,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

@ -411,6 +411,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
{