#define DALI_INTEGRATION_ADAPTOR_H
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2024 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.
void SurfaceResizeComplete(Dali::RenderSurfaceInterface* surface, SurfaceSize surfaceSize);
/**
- * @brief Renders once more even if we're paused
+ * @brief Update once. It will not wake up the update thread if we're paused.
* @note Will not work if the window is hidden.
*/
+ void UpdateOnce();
+
+ /**
+ * @brief Renders once more even if we're paused
+ */
void RenderOnce();
/**
mImpl->SurfaceResizeComplete(surface, surfaceSize);
}
+void Adaptor::UpdateOnce()
+{
+ mImpl->RequestUpdateOnce();
+}
+
void Adaptor::RenderOnce()
{
mImpl->RenderOnce();