int zpos;
Eina_Bool primary;
Eina_Bool reserved_memory;
+ unsigned int last_sequence;
Eina_Bool pending;
Eina_List *pending_tsurfaces;
_e_comp_hwc_layer_queue_release(hwc_layer, tsurface);
hwc_layer->tsurface = tsurface;
}
+
+ /* fps check at no composite */
+ if (hwc_layer->last_sequence != sequence)
+ {
+ _e_comp_hwc_update_client_fps();
+ hwc_layer->last_sequence = sequence;
+ }
}
/* send the done surface to the client */
tbm_surface_internal_unref(tsurface);
_e_comp_hwc_commit_data_destroy(data);
+
+ /* fps check at no composite */
+ if (hwc_layer->last_sequence != sequence)
+ {
+ _e_comp_hwc_update_client_fps();
+ hwc_layer->last_sequence = sequence;
+ }
}
}
return EINA_FALSE;
}
- /* fps check at no composite */
- if (!is_canvas)
- _e_comp_hwc_update_client_fps();
-
/* commit handler is different */
if (hwc_layer->reserved_memory)
{