summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-08-27 23:05:18 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-08-29 17:35:02 +0100
commit44a0a6f7c8d0efef5c26e79af071c9ff8f78d456 (patch)
treed1e3b17a2e952b55265f5e4c00fba332a3793a5a /src/modules
parent26e55458ad1b97e7527e2ef156ebd120912e765d (diff)
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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/evas/engines/gl_drm/evas_outbuf.c1
-rw-r--r--src/modules/evas/engines/gl_x11/evas_x_main.c1
-rw-r--r--src/modules/evas/engines/wayland_egl/evas_wl_main.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/evas/engines/gl_drm/evas_outbuf.c b/src/modules/evas/engines/gl_drm/evas_outbuf.c
index 4fe4a7f30c..9ea643cb1f 100644
--- a/src/modules/evas/engines/gl_drm/evas_outbuf.c
+++ b/src/modules/evas/engines/gl_drm/evas_outbuf.c
@@ -594,6 +594,7 @@ evas_outbuf_buffer_state_get(Outbuf *ob)
594 char buf[16]; 594 char buf[16];
595 snprintf(buf, sizeof(buf), "! %i", (int)age); 595 snprintf(buf, sizeof(buf), "! %i", (int)age);
596 eina_evlog("!gl_buffer_age", ob, 0.0, buf); 596 eina_evlog("!gl_buffer_age", ob, 0.0, buf);
597 swap_mode = MODE_FULL;
597 } 598 }
598 else 599 else
599 { 600 {
diff --git a/src/modules/evas/engines/gl_x11/evas_x_main.c b/src/modules/evas/engines/gl_x11/evas_x_main.c
index 8c304784e6..f247758a2d 100644
--- a/src/modules/evas/engines/gl_x11/evas_x_main.c
+++ b/src/modules/evas/engines/gl_x11/evas_x_main.c
@@ -1448,6 +1448,7 @@ eng_outbuf_swap_mode(Outbuf *ob)
1448 char buf[16]; 1448 char buf[16];
1449 snprintf(buf, sizeof(buf), "! %i", (int)age); 1449 snprintf(buf, sizeof(buf), "! %i", (int)age);
1450 eina_evlog("!gl_buffer_age", ob, 0.0, buf); 1450 eina_evlog("!gl_buffer_age", ob, 0.0, buf);
1451 swap_mode = MODE_FULL;
1451 } 1452 }
1452 else 1453 else
1453 { 1454 {
diff --git a/src/modules/evas/engines/wayland_egl/evas_wl_main.c b/src/modules/evas/engines/wayland_egl/evas_wl_main.c
index 55e6a51e24..a5ae3f9f91 100644
--- a/src/modules/evas/engines/wayland_egl/evas_wl_main.c
+++ b/src/modules/evas/engines/wayland_egl/evas_wl_main.c
@@ -411,6 +411,7 @@ eng_outbuf_swap_mode_get(Outbuf *ob)
411 char buf[16]; 411 char buf[16];
412 snprintf(buf, sizeof(buf), "!%i", (int)age); 412 snprintf(buf, sizeof(buf), "!%i", (int)age);
413 eina_evlog("!gl_buffer_age", ob, 0.0, buf); 413 eina_evlog("!gl_buffer_age", ob, 0.0, buf);
414 swap_mode = MODE_FULL;
414 } 415 }
415 else 416 else
416 { 417 {