gl_drm: remove frame_count
authorDerek Foreman <derekf@osg.samsung.com>
Fri, 22 Jan 2016 20:20:35 +0000 (14:20 -0600)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 18 Feb 2016 20:50:15 +0000 (15:50 -0500)
It was a write only variable, kill it.

src/modules/evas/engines/gl_drm/evas_engine.h
src/modules/evas/engines/gl_drm/evas_outbuf.c

index 1ef0e7c..052e268 100644 (file)
@@ -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;
index c882fa9..6561441 100644 (file)
@@ -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);