This commit is contained in:
David Kocik 2021-02-08 19:12:32 +01:00
parent 80f0d305c1
commit bad12b5683
2 changed files with 0 additions and 6 deletions

View File

@ -1039,7 +1039,6 @@ void NotificationManager::render_notifications(GLCanvas3D& canvas, float overlay
} }
} }
BOOST_LOG_TRIVIAL(error) << "render " << GLCanvas3D::timestamp_now() - m_last_render;
m_last_render = GLCanvas3D::timestamp_now(); m_last_render = GLCanvas3D::timestamp_now();
} }
@ -1078,10 +1077,6 @@ bool NotificationManager::update_notifications(GLCanvas3D& canvas)
++it; ++it;
} }
BOOST_LOG_TRIVIAL(error) << "update " << request_render << " : " << next_render <<" : " << GLCanvas3D::timestamp_now() - m_last_update;
m_last_update = GLCanvas3D::timestamp_now();
//BOOST_LOG_TRIVIAL(error) << time_since_render << ":" << next_render;
// render needed right now // render needed right now
//if (next_render < 20) //if (next_render < 20)
// request_render = true; // request_render = true;

View File

@ -413,7 +413,6 @@ private:
bool m_move_from_overlay { false }; bool m_move_from_overlay { false };
// Timestamp of last rendering // Timestamp of last rendering
int64_t m_last_render { 0LL }; int64_t m_last_render { 0LL };
int64_t m_last_update { 0LL };
//prepared (basic) notifications //prepared (basic) notifications
const std::vector<NotificationData> basic_notifications = { const std::vector<NotificationData> basic_notifications = {