forked from enlightenment/efl
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:
parent
542b17f958
commit
998e644977
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue