discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4bdc9d4d07f64e5f2fbea877e71b520496059af9

commit 4bdc9d4d07f64e5f2fbea877e71b520496059af9
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Fri Jan 22 14:20:35 2016 -0600

    gl_drm: remove frame_count
    
    It was a write only variable, kill it.
---
 src/modules/evas/engines/gl_drm/evas_engine.h | 2 +-
 src/modules/evas/engines/gl_drm/evas_outbuf.c | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/modules/evas/engines/gl_drm/evas_engine.h 
b/src/modules/evas/engines/gl_drm/evas_engine.h
index 1ef0e7c..052e268 100644
--- a/src/modules/evas/engines/gl_drm/evas_engine.h
+++ b/src/modules/evas/engines/gl_drm/evas_engine.h
@@ -97,7 +97,7 @@ struct _Outbuf
 
    struct 
      {
-        int prev_age, frame_cnt;
+        int prev_age;
         int curr, last, num;
         struct gbm_bo *bo[4];
         Eina_List *pending_writes;
diff --git a/src/modules/evas/engines/gl_drm/evas_outbuf.c 
b/src/modules/evas/engines/gl_drm/evas_outbuf.c
index c882fa9..6561441 100644
--- a/src/modules/evas/engines/gl_drm/evas_outbuf.c
+++ b/src/modules/evas/engines/gl_drm/evas_outbuf.c
@@ -806,8 +806,6 @@ evas_outbuf_flush(Outbuf *ob, Tilebuf_Rect *rects, 
Evas_Render_Mode render_mode)
      //Flush GL Surface data to Framebuffer
      _evas_outbuf_buffer_swap(ob, NULL, 0);
 
-   ob->priv.frame_cnt++;
-
 end:
    //TODO: Need render unlock after drm page flip?
    glsym_evas_gl_preload_render_unlock(_evas_outbuf_make_current, ob);

-- 


Reply via email to