/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
mPerformanceInterface->AddMarker(PerformanceInterface::PROCESS_EVENTS_START);
}
+#ifndef DALI_PROFILE_UBUNTU
+ DALI_LOG_RELEASE_INFO("Start ProcessEvents\n");
+#endif
+
mCore->ProcessEvents();
+#ifndef DALI_PROFILE_UBUNTU
+ DALI_LOG_RELEASE_INFO("End ProcessEvents\n");
+#endif
+
if(mPerformanceInterface)
{
mPerformanceInterface->AddMarker(PerformanceInterface::PROCESS_EVENTS_END);
if(keyEvent->window == static_cast<unsigned int>(ecore_wl2_window_id_get(mEcoreWindow)))
{
- DALI_LOG_INFO(gWindowBaseLogFilter, Debug::General, "WindowBaseEcoreWl2::OnKeyDown\n");
-
std::string keyName(keyEvent->keyname);
std::string logicalKey("");
std::string keyString("");
std::string compose("");
+ DALI_LOG_RELEASE_INFO("OnKeyDown Start [%s]\n", keyName.c_str());
+
// Ensure key compose string is not NULL as keys like SHIFT or arrow have a null string.
if(keyEvent->compose)
{
Integration::KeyEvent keyEvent(keyName, logicalKey, keyString, keyCode, modifier, time, Integration::KeyEvent::DOWN, compose, deviceName, deviceClass, deviceSubclass);
mKeyEventSignal.Emit(keyEvent);
+
+ DALI_LOG_RELEASE_INFO("OnKeyDown End [%s]\n", keyName.c_str());
}
}
if(keyEvent->window == static_cast<unsigned int>(ecore_wl2_window_id_get(mEcoreWindow)))
{
- DALI_LOG_INFO(gWindowBaseLogFilter, Debug::General, "WindowBaseEcoreWl2::OnKeyUp\n");
-
#if defined(ECORE_VERSION_MAJOR) && (ECORE_VERSION_MAJOR >= 1) && defined(ECORE_VERSION_MINOR) && (ECORE_VERSION_MINOR >= 23)
// Cancel processing flag is sent because this key event will combine with the previous key. So, the event should not actually perform anything.
if(keyEvent->event_flags & ECORE_EVENT_FLAG_CANCEL)
std::string keyString("");
std::string compose("");
+ DALI_LOG_RELEASE_INFO("OnKeyUp Start [%s]\n", keyName.c_str());
+
// Ensure key compose string is not NULL as keys like SHIFT or arrow have a null string.
if(keyEvent->compose)
{
Integration::KeyEvent keyEvent(keyName, logicalKey, keyString, keyCode, modifier, time, Integration::KeyEvent::UP, compose, deviceName, deviceClass, deviceSubclass);
mKeyEventSignal.Emit(keyEvent);
+
+ DALI_LOG_RELEASE_INFO("OnKeyUp End [%s]\n", keyName.c_str());
}
}