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
26e55458ad
commit
44a0a6f7c8
|
@ -594,6 +594,7 @@ evas_outbuf_buffer_state_get(Outbuf *ob)
|
||||||
char buf[16];
|
char buf[16];
|
||||||
snprintf(buf, sizeof(buf), "! %i", (int)age);
|
snprintf(buf, sizeof(buf), "! %i", (int)age);
|
||||||
eina_evlog("!gl_buffer_age", ob, 0.0, buf);
|
eina_evlog("!gl_buffer_age", ob, 0.0, buf);
|
||||||
|
swap_mode = MODE_FULL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -1448,6 +1448,7 @@ eng_outbuf_swap_mode(Outbuf *ob)
|
||||||
char buf[16];
|
char buf[16];
|
||||||
snprintf(buf, sizeof(buf), "! %i", (int)age);
|
snprintf(buf, sizeof(buf), "! %i", (int)age);
|
||||||
eina_evlog("!gl_buffer_age", ob, 0.0, buf);
|
eina_evlog("!gl_buffer_age", ob, 0.0, buf);
|
||||||
|
swap_mode = MODE_FULL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -411,6 +411,7 @@ eng_outbuf_swap_mode_get(Outbuf *ob)
|
||||||
char buf[16];
|
char buf[16];
|
||||||
snprintf(buf, sizeof(buf), "!%i", (int)age);
|
snprintf(buf, sizeof(buf), "!%i", (int)age);
|
||||||
eina_evlog("!gl_buffer_age", ob, 0.0, buf);
|
eina_evlog("!gl_buffer_age", ob, 0.0, buf);
|
||||||
|
swap_mode = MODE_FULL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue