Make move operation as noexcept 97/321197/3
authorEunki, Hong <eunkiki.hong@samsung.com>
Mon, 17 Mar 2025 07:24:50 +0000 (16:24 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Thu, 20 Mar 2025 02:07:02 +0000 (02:07 +0000)
It will sightly improve the performance when we use std::vector<>

Change-Id: I2b2e3f34165ff37e52afd7b58aeb299c75c0116d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
33 files changed:
dali/devel-api/adaptor-framework/animated-image-loading.h
dali/devel-api/adaptor-framework/color-controller.cpp
dali/devel-api/adaptor-framework/color-controller.h
dali/devel-api/adaptor-framework/file-stream.cpp
dali/devel-api/adaptor-framework/file-stream.h
dali/devel-api/adaptor-framework/gl-window.cpp
dali/devel-api/adaptor-framework/gl-window.h
dali/devel-api/adaptor-framework/offscreen-window.cpp
dali/devel-api/adaptor-framework/offscreen-window.h
dali/devel-api/adaptor-framework/pixel-buffer.cpp
dali/devel-api/adaptor-framework/pixel-buffer.h
dali/devel-api/adaptor-framework/style-monitor.cpp
dali/devel-api/adaptor-framework/style-monitor.h
dali/devel-api/adaptor-framework/video-player.cpp
dali/devel-api/adaptor-framework/video-player.h
dali/devel-api/adaptor-framework/web-engine/web-engine.cpp
dali/devel-api/adaptor-framework/web-engine/web-engine.h [changed mode: 0755->0644]
dali/devel-api/text-abstraction/font-client.cpp
dali/devel-api/text-abstraction/font-client.h
dali/internal/graphics/gles-impl/gles-graphics-command-buffer.h
dali/internal/graphics/gles-impl/gles-graphics-pipeline-cache.cpp
dali/internal/graphics/gles-impl/gles-graphics-reflection.h
dali/internal/graphics/vulkan-impl/vulkan-reflection.h
dali/internal/graphics/vulkan-impl/vulkan-resource-transfer-request.h
dali/internal/imaging/common/animated-image-loading-impl.h
dali/internal/imaging/common/gif-loading.cpp
dali/internal/imaging/common/webp-loading.cpp
dali/internal/system/common/async-task-manager-impl.cpp
dali/internal/system/common/async-task-manager-impl.h
dali/internal/text/text-abstraction/plugin/font-face-cache-item.cpp
dali/internal/text/text-abstraction/plugin/font-face-cache-item.h
dali/internal/text/text-abstraction/plugin/lru-cache-container.h
dali/public-api/adaptor-framework/round-robin-container-view.h

index 2f07eb948ea13e0fe9ea047737d8df0fd575a927..e2ef921cc1105ffaad609467336ad3efe60ae856 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_ANIMATED_IMAGE_LOADING_H
 
 /*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -20,9 +20,9 @@
 // EXTERNAL INCLUDES
 #include <dali/public-api/common/dali-vector.h>
 #include <dali/public-api/common/vector-wrapper.h>
+#include <dali/public-api/images/image-operations.h>
 #include <dali/public-api/math/uint-16-pair.h>
 #include <dali/public-api/object/base-handle.h>
-#include <dali/public-api/images/image-operations.h>
 
 // INTERNAL INCLUDES
 #include <dali/devel-api/adaptor-framework/pixel-buffer.h>
@@ -100,7 +100,7 @@ public:
    *
    * @param[in] move The AnimatedImageLoading to move
    */
-  AnimatedImageLoading(AnimatedImageLoading&& move) = default;
+  AnimatedImageLoading(AnimatedImageLoading&& move) noexcept = default;
 
   /**
    * @brief Move assignment operator
@@ -108,7 +108,7 @@ public:
    * @param[in] rhs The AnimatedImageLoading to move
    * @return A reference to this
    */
-  AnimatedImageLoading& operator=(AnimatedImageLoading&& rhs) = default;
+  AnimatedImageLoading& operator=(AnimatedImageLoading&& rhs) noexcept = default;
 
   /**
    * @brief Destructor
@@ -127,8 +127,8 @@ public:
    * @return Dali::Devel::PixelBuffer The loaded PixelBuffer. If loading is fail, return empty handle.
    */
   Dali::Devel::PixelBuffer LoadFrame(uint32_t                 frameIndex,
-                                     ImageDimensions          size = ImageDimensions(),
-                                     Dali::FittingMode::Type  fittingMode = Dali::FittingMode::SCALE_TO_FILL,
+                                     ImageDimensions          size         = ImageDimensions(),
+                                     Dali::FittingMode::Type  fittingMode  = Dali::FittingMode::SCALE_TO_FILL,
                                      Dali::SamplingMode::Type samplingMode = Dali::SamplingMode::BOX_THEN_LINEAR);
 
   /**
index 82518e64b1506ac1b6c72a8cbd920602afaab6a8..e415aa41d63bb329047799cb6f540d50da7b35af 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -31,9 +31,9 @@ ColorController::ColorController(const ColorController& controller) = default;
 
 ColorController& ColorController::operator=(const ColorController& rhs) = default;
 
-ColorController::ColorController(ColorController&& controller) = default;
+ColorController::ColorController(ColorController&& controller) noexcept = default;
 
-ColorController& ColorController::operator=(ColorController&& rhs) = default;
+ColorController& ColorController::operator=(ColorController&& rhs) noexcept = default;
 
 ColorController ColorController::Get()
 {
index 1a12cc6450720c3084b5224b48d48243d14401f4..80aed45f5dfff26e9b6c99ab91de0d83ccb71932 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_COLOR_CONTROLLER_H
 
 /*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -72,7 +72,7 @@ public:
    * The move will point to the same implementation as the original.
    * @param[in]  colorController  The Color Controller to move from.
    */
-  ColorController(ColorController&& colorController);
+  ColorController(ColorController&& colorController) noexcept;
 
   /**
    * @brief This move assignment operator is required for (smart) pointer semantics.
@@ -80,7 +80,7 @@ public:
    * @param [in] rhs  A reference to the moved handle
    * @return A reference to this
    */
-  ColorController& operator=(ColorController&& rhs);
+  ColorController& operator=(ColorController&& rhs) noexcept;
 
   /**
    * @brief Retrieve the initialized instance of the ColorController.
index a2e09490d050a11e98267e07d1b283ae397e0604..b3227cfc12c596c44c9dd506527b8b56c3733710 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -39,9 +39,9 @@ FileStream::FileStream(Dali::Vector<uint8_t>& buffer, size_t dataSize, uint8_t m
   mImpl.reset(new Impl(buffer, dataSize, mode));
 }
 
-FileStream::FileStream(FileStream&&) = default;
+FileStream::FileStream(FileStream&&) noexcept = default;
 
-FileStream& FileStream::operator=(FileStream&&) = default;
+FileStream& FileStream::operator=(FileStream&&) noexcept = default;
 
 FileStream::~FileStream() = default;
 
index 17636f2af6252f9089f8972db1713f86077f2b2d..912c901b0ec0ac5e54b6a9e42052f5657c27ce2e 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_FILE_STREAM_H
 
 /*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -75,7 +75,7 @@ public:
   /**
    * Default move constructor
    */
-  FileStream(FileStream&&);
+  FileStream(FileStream&&) noexcept;
 
   /**
    * Non copyable
@@ -90,7 +90,7 @@ public:
   /**
    * Move assignable
    */
-  FileStream& operator=(FileStream&&);
+  FileStream& operator=(FileStream&&) noexcept;
 
   /**
    * Destructor
index 07c78d79082ad1c838baf27f7e11ae167abf7bb1..a9af42ad6be5f64ee86bd51b95fd5251acdb78e9 100644 (file)
@@ -109,9 +109,9 @@ GlWindow::GlWindow(const GlWindow& handle) = default;
 
 GlWindow& GlWindow::operator=(const GlWindow& rhs) = default;
 
-GlWindow::GlWindow(GlWindow&& rhs) = default;
+GlWindow::GlWindow(GlWindow&& rhs) noexcept = default;
 
-GlWindow& GlWindow::operator=(GlWindow&& rhs) = default;
+GlWindow& GlWindow::operator=(GlWindow&& rhs) noexcept = default;
 
 void GlWindow::SetGraphicsConfig(bool depth, bool stencil, int msaa, GlesVersion version)
 {
index f132b125015b0f5be44cc3bf7654b7510fc0a986..3dc3798404be5a8919ecea2af50b7338ea56d9f5 100644 (file)
@@ -158,7 +158,7 @@ public:
    *
    * @param[in] rhs A reference to the moved handle
    */
-  GlWindow(GlWindow&& rhs);
+  GlWindow(GlWindow&& rhs) noexcept;
 
   /**
    * @brief Move assignment operator.
@@ -166,7 +166,7 @@ public:
    * @param[in] rhs A reference to the moved handle
    * @return A reference to this handle
    */
-  GlWindow& operator=(GlWindow&& rhs);
+  GlWindow& operator=(GlWindow&& rhs) noexcept;
 
   /**
    * @brief Sets graphics configuration for GlWindow
index 548d5f7a8d0614571b34273da0d4bb03f96ccbf7..60178196677e40170999e60668fc4fef26869c51 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -51,9 +51,9 @@ OffscreenWindow::OffscreenWindow(const OffscreenWindow& window) = default;
 
 OffscreenWindow& OffscreenWindow::operator=(const OffscreenWindow& window) = default;
 
-OffscreenWindow::OffscreenWindow(OffscreenWindow&& window) = default;
+OffscreenWindow::OffscreenWindow(OffscreenWindow&& window) noexcept = default;
 
-OffscreenWindow& OffscreenWindow::operator=(OffscreenWindow&& window) = default;
+OffscreenWindow& OffscreenWindow::operator=(OffscreenWindow&& window) noexcept = default;
 
 OffscreenWindow::~OffscreenWindow() = default;
 
index 3952ff085b547900fc19e68fe0bbcf7ece2a447d..86c831f2f24fd57f4ee061acf6c5b9dd9e6bce70 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_OFFSCREEN_WINDOW_H
 
 /*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -89,7 +89,7 @@ public:
    *
    * @param [in] window A reference to the moved handle
    */
-  OffscreenWindow(OffscreenWindow&& window);
+  OffscreenWindow(OffscreenWindow&& window) noexcept;
 
   /**
    * @brief Move assignment operator
@@ -97,7 +97,7 @@ public:
    * @param [in] window A reference to the moved handle
    * @return A reference to this
    */
-  OffscreenWindow& operator=(OffscreenWindow&& window);
+  OffscreenWindow& operator=(OffscreenWindow&& window) noexcept;
 
   /**
    * @brief Destructor
index 45d02de345cbd5da39faffa3beeae491cf7d35be..13ec25d99fea581b38db95d86f9e5d6202174ddf 100644 (file)
@@ -71,9 +71,9 @@ PixelBuffer::PixelBuffer(const PixelBuffer& handle) = default;
 
 PixelBuffer& PixelBuffer::operator=(const PixelBuffer& rhs) = default;
 
-PixelBuffer::PixelBuffer(PixelBuffer&& handle) = default;
+PixelBuffer::PixelBuffer(PixelBuffer&& handle) noexcept = default;
 
-PixelBuffer& PixelBuffer::operator=(PixelBuffer&& rhs) = default;
+PixelBuffer& PixelBuffer::operator=(PixelBuffer&& rhs) noexcept = default;
 
 uint32_t PixelBuffer::GetWidth() const
 {
index c6ee998ef2905378e24c8d6fff8e0b7215980169..f748ed5ae98f8db52d150e66b3bea100dbe67386 100644 (file)
@@ -103,7 +103,7 @@ public:
    * @SINCE_2_1.45
    * @param[in] handle A reference to the moved handle
    */
-  PixelBuffer(PixelBuffer&& handle);
+  PixelBuffer(PixelBuffer&& handle) noexcept;
 
   /**
    * @brief This move assignment operator is required for (smart) pointer semantics.
@@ -112,7 +112,7 @@ public:
    * @param[in] rhs A reference to the moved handle
    * @return A reference to this object
    */
-  PixelBuffer& operator=(PixelBuffer&& rhs);
+  PixelBuffer& operator=(PixelBuffer&& rhs) noexcept;
 
   /**
    * Convert to a pixel data and release the pixelBuffer's object.
index a65b61b26658ebbd87f3558fee31b184982b2694..de359042af2ac5a7703ab7b749bf9a1fc14d7dfc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -31,9 +31,9 @@ StyleMonitor::StyleMonitor(const StyleMonitor& monitor) = default;
 
 StyleMonitor& StyleMonitor::operator=(const StyleMonitor& monitor) = default;
 
-StyleMonitor::StyleMonitor(StyleMonitor&& monitor) = default;
+StyleMonitor::StyleMonitor(StyleMonitor&& monitor) noexcept = default;
 
-StyleMonitor& StyleMonitor::operator=(StyleMonitor&& monitor) = default;
+StyleMonitor& StyleMonitor::operator=(StyleMonitor&& monitor) noexcept = default;
 
 StyleMonitor StyleMonitor::StyleMonitor::Get()
 {
index fabf58f1ed75a2b801c8e9a1b32d030dd9cf2be4..fe8eede586cbef9b26e0b9a3041285e3f7e379db 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_STYLE_MONITOR_H
 
 /*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -82,7 +82,7 @@ public: // Creation & Destruction
    * The move will point to the same implementation as the original.
    * @param[in]  monitor  The Style Monitor to move from.
    */
-  StyleMonitor(StyleMonitor&& monitor);
+  StyleMonitor(StyleMonitor&& monitor) noexcept;
 
   /**
    * @brief Move assignment operator.
@@ -91,7 +91,7 @@ public: // Creation & Destruction
    * @param[in]  monitor  The Style Monitor to move from.
    * @return reference to this object
    */
-  StyleMonitor& operator=(StyleMonitor&& monitor);
+  StyleMonitor& operator=(StyleMonitor&& monitor) noexcept;
 
   /**
    * @brief Retrieve the initialized instance of the StyleMonitor.
@@ -118,7 +118,6 @@ public: // Creation & Destruction
   static StyleMonitor DownCast(BaseHandle handle);
 
 public: // Style Information
-
   /**
    * @brief Ensure the font client has been created.
    *
index 55370473e2b6bec27b81c3315d68d1f4b82f195e..0661f382144c94649f85905a4c539c8042ea3fae 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -68,9 +68,9 @@ VideoPlayer::VideoPlayer(const VideoPlayer& player) = default;
 
 VideoPlayer& VideoPlayer::operator=(const VideoPlayer& player) = default;
 
-VideoPlayer::VideoPlayer(VideoPlayer&& player) = default;
+VideoPlayer::VideoPlayer(VideoPlayer&& player) noexcept = default;
 
-VideoPlayer& VideoPlayer::operator=(VideoPlayer&& player) = default;
+VideoPlayer& VideoPlayer::operator=(VideoPlayer&& player) noexcept = default;
 
 VideoPlayer VideoPlayer::DownCast(BaseHandle handle)
 {
index 5a200479fa2c0550eca3b5a20bb1da02dea32862..f7ce63d9093a1fb0632b3f5bdb4fed2f85b6d13c 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_VIDEO_PLAYER_H
 
 /*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -98,7 +98,7 @@ public:
    * @SINCE_2_1.45
    * @param[in] player VideoPlayer to move. The moved player will point at the same implementation
    */
-  VideoPlayer(VideoPlayer&& player);
+  VideoPlayer(VideoPlayer&& player) noexcept;
 
   /**
    * @brief Move assignment operator.
@@ -107,7 +107,7 @@ public:
    * @param[in] player The VideoPlayer to move assign from.
    * @return The updated VideoPlayer.
    */
-  VideoPlayer& operator=(VideoPlayer&& player);
+  VideoPlayer& operator=(VideoPlayer&& player) noexcept;
 
   /**
    * @brief Downcast a handle to VideoPlayer handle.
index 045fbb7789fead5626f64191c16915fe1691d548..c9d4c11827b147e6c2658758f2e67712db4149de 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -78,9 +78,9 @@ WebEngine::WebEngine(const WebEngine& webEngine) = default;
 
 WebEngine& WebEngine::operator=(const WebEngine& webEngine) = default;
 
-WebEngine::WebEngine(WebEngine&& webEngine) = default;
+WebEngine::WebEngine(WebEngine&& webEngine) noexcept = default;
 
-WebEngine& WebEngine::operator=(WebEngine&& webEngine) = default;
+WebEngine& WebEngine::operator=(WebEngine&& webEngine) noexcept = default;
 
 WebEngine WebEngine::DownCast(BaseHandle handle)
 {
old mode 100755 (executable)
new mode 100644 (file)
index b5ee7a8..1ec587f
@@ -2,7 +2,7 @@
 #define DALI_WEB_ENGINE_H
 
 /*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -100,7 +100,7 @@ public:
    *
    * @param[in] WebEngine WebEngine to move. The moved WebEngine will point at the same implementation
    */
-  WebEngine(WebEngine&& WebEngine);
+  WebEngine(WebEngine&& WebEngine) noexcept;
 
   /**
    * @brief Move assignment operator.
@@ -108,7 +108,7 @@ public:
    * @param[in] WebEngine The WebEngine to assign from.
    * @return The updated WebEngine.
    */
-  WebEngine& operator=(WebEngine&& WebEngine);
+  WebEngine& operator=(WebEngine&& WebEngine) noexcept;
 
   /**
    * @brief Downcast a handle to WebEngine handle.
@@ -867,7 +867,6 @@ public:
    */
   void RegisterUserMediaPermissionRequestCallback(Dali::WebEnginePlugin::WebEngineUserMediaPermissionRequestCallback callback);
 
-
 private: // Not intended for application developers
   /**
    * @brief Internal constructor
index 245f30e34308d4f63f031b4bc0b6570bbeec6bf2..b76812c06cba511b87fb8f9a8a72a01851e8f299 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -52,9 +52,9 @@ const Size FontClient::MAX_SIZE_FIT_IN_ATLAS(MAX_TEXT_ATLAS_WIDTH - PADDING_TEXT
 const uint32_t FontClient::NUMBER_OF_POINTS_PER_ONE_UNIT_OF_POINT_SIZE = 64u; //Found this value from toolkit
 
 // For Debug
-static    bool     TEXT_PERFORMANCE_LOG_SET                = false;
-static    uint32_t TEXT_PERFORMANCE_LOG_THRESHOLD_TIME     = 0u;
-constexpr auto     TEXT_PERFORMANCE_LOG_THRESHOLD_TIME_ENV = "DALI_TEXT_PERFORMANCE_LOG_THRESHOLD_TIME";
+static bool     TEXT_PERFORMANCE_LOG_SET                = false;
+static uint32_t TEXT_PERFORMANCE_LOG_THRESHOLD_TIME     = 0u;
+constexpr auto  TEXT_PERFORMANCE_LOG_THRESHOLD_TIME_ENV = "DALI_TEXT_PERFORMANCE_LOG_THRESHOLD_TIME";
 
 uint32_t FontClient::GetPerformanceLogThresholdTime()
 {
@@ -62,10 +62,10 @@ uint32_t FontClient::GetPerformanceLogThresholdTime()
   if(!TEXT_PERFORMANCE_LOG_SET)
   {
     // Threshold time in miliseconds.
-    auto timeString = Dali::EnvironmentVariable::GetEnvironmentVariable(TEXT_PERFORMANCE_LOG_THRESHOLD_TIME_ENV);
-    time = timeString ? static_cast<uint32_t>(std::atoi(timeString)) : 0u;
+    auto timeString                     = Dali::EnvironmentVariable::GetEnvironmentVariable(TEXT_PERFORMANCE_LOG_THRESHOLD_TIME_ENV);
+    time                                = timeString ? static_cast<uint32_t>(std::atoi(timeString)) : 0u;
     TEXT_PERFORMANCE_LOG_THRESHOLD_TIME = time;
-    TEXT_PERFORMANCE_LOG_SET = true;
+    TEXT_PERFORMANCE_LOG_SET            = true;
   }
   return time;
 }
@@ -112,9 +112,9 @@ FontClient::FontClient(const FontClient& handle) = default;
 
 FontClient& FontClient::operator=(const FontClient& handle) = default;
 
-FontClient::FontClient(FontClient&& handle) = default;
+FontClient::FontClient(FontClient&& handle) noexcept = default;
 
-FontClient& FontClient::operator=(FontClient&& handle) = default;
+FontClient& FontClient::operator=(FontClient&& handle) noexcept = default;
 
 void FontClient::ClearCache()
 {
index 6ea9458420f0c1e5a4c2aff34ac498ca11c671a8..0539f63dcd15be8bf6555d0d2b982f5809a8c688 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_PLATFORM_TEXT_ABSTRACTION_FONT_CLIENT_H
 
 /*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -155,7 +155,7 @@ public:
    *
    * @param[in] handle A reference to the moved handle.
    */
-  FontClient(FontClient&& handle);
+  FontClient(FontClient&& handle) noexcept;
 
   /**
    * @brief This move assignment operator is required for (smart) pointer semantics.
@@ -163,7 +163,7 @@ public:
    * @param [in] handle  A reference to the moved handle.
    * @return A reference to this.
    */
-  FontClient& operator=(FontClient&& handle);
+  FontClient& operator=(FontClient&& handle) noexcept;
 
   ////////////////////////////////////////
   // Font management and validation.
index e24d414054f7231c020bd960cf2768227ae8c9b2..29420a5347698fa6d969d9d644937f7a05d53f83 100644 (file)
@@ -100,7 +100,7 @@ struct Command
    */
   Command(const Command& rhs) = default;
   Command& operator=(const Command& rhs) = default;
-  Command(Command&& rhs) noexcept        = delete;
+  Command(Command&& rhs)                 = delete;
   Command& operator=(Command&& rhs) = delete;
 
   CommandType type{CommandType::FLUSH}; ///< Type of command
index c343c29293acb323ed87a47f984e64ddd87ac612..1a15cca719de1ec6e41c22a531844cbd39b33ae3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -258,8 +258,8 @@ struct PipelineCache::Impl
 
     ~CacheEntry() = default;
 
-    CacheEntry(CacheEntry&&) = default;
-    CacheEntry& operator=(CacheEntry&&) = default;
+    CacheEntry(CacheEntry&&) noexcept = default;
+    CacheEntry& operator=(CacheEntry&&) noexcept = default;
 
     UniquePtr<PipelineImpl> pipeline{nullptr};
     uint32_t                stateBitmask{0u};
index 6f6e96129a0ab2f3ed28498ea1ee6fc71c9303f3..d8a82c5aad9b2dc2f23c9f23f8212c6af7aabced 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_GRAPHICS_GLES_REFLECTION_H
 
 /*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -246,8 +246,8 @@ public:
   void SortOpaques();
 
 protected:
-  Reflection(Reflection&&) = default;
-  Reflection& operator=(Reflection&&) = default;
+  Reflection(Reflection&&) noexcept = default;
+  Reflection& operator=(Reflection&&) noexcept = default;
 
 private:
   Graphics::EglGraphicsController& mController; ///< The Graphics controller
index c85c12d7815080c15ec6323cf3cab7bd31c8c5e2..c12b7333a690a50d48c4088f639215e3eecdd2cb 100644 (file)
@@ -212,8 +212,8 @@ private:
   void BuildReflection();
 
 protected:
-  Reflection(Reflection&&) = default;
-  Reflection& operator=(Reflection&&) = default;
+  Reflection(Reflection&&) noexcept = default;
+  Reflection& operator=(Reflection&&) noexcept = default;
 
 private:
   VulkanGraphicsController& mController; ///< The Graphics controller
index d2f71d772230d662c8289cf97c2719f474840755..9c9c85a2fe2550448989285186f6e2cf782065de 100644 (file)
@@ -76,11 +76,11 @@ struct ResourceTransferRequest
   bool deferredTransferMode{true}; // Vulkan implementation prefers deferred mode
 
   // delete copy
-  ResourceTransferRequest(const ResourceTransferRequest&)            = delete;
+  ResourceTransferRequest(const ResourceTransferRequest&) = delete;
   ResourceTransferRequest& operator=(const ResourceTransferRequest&) = delete;
-  ResourceTransferRequest& operator=(ResourceTransferRequest&& obj)  = delete;
+  ResourceTransferRequest& operator=(ResourceTransferRequest&& obj) = delete;
 
-  ResourceTransferRequest(ResourceTransferRequest&& obj)
+  ResourceTransferRequest(ResourceTransferRequest&& obj) noexcept
   {
     requestType          = obj.requestType;
     deferredTransferMode = obj.deferredTransferMode;
index a1500533920357c3c2c447cc0ef5e32132c10436..66a38f1589a11ab1451bf2396935296398db85ac 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_INTERNAL_ANIMATED_IMAGE_LOADING_IMPL_H
 
 /*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -26,8 +26,8 @@
 
 // INTERNAL INCLUDES
 #include <dali/devel-api/adaptor-framework/animated-image-loading.h>
-#include <dali/public-api/dali-adaptor-common.h>
 #include <dali/internal/imaging/common/image-operations.h>
+#include <dali/public-api/dali-adaptor-common.h>
 
 namespace Dali
 {
@@ -57,9 +57,9 @@ public:
 
   // Moveable but not copyable
   AnimatedImageLoading(const AnimatedImageLoading&);
-  AnimatedImageLoading& operator               =(const AnimatedImageLoading&);
-  AnimatedImageLoading(AnimatedImageLoading&&) = default;
-  AnimatedImageLoading& operator=(AnimatedImageLoading&&) = default;
+  AnimatedImageLoading& operator                        =(const AnimatedImageLoading&);
+  AnimatedImageLoading(AnimatedImageLoading&&) noexcept = default;
+  AnimatedImageLoading& operator=(AnimatedImageLoading&&) noexcept = default;
 
   /**
    * @brief Destructor
@@ -87,7 +87,6 @@ public:
   }
 
 public:
-
   /**
    * @copydoc Dali::AnimatedImageLoading::GetImageSize()
    */
index 06723bb69cd599dd938e37eec10871dba6c20500..6f84d4a170b29e203a31e319bef50538281fe7b9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -1575,8 +1575,8 @@ public:
   // Moveable but not copyable
   Impl(const Impl&) = delete;
   Impl& operator=(const Impl&) = delete;
-  Impl(Impl&&)                 = default;
-  Impl& operator=(Impl&&) = default;
+  Impl(Impl&&) noexcept        = default;
+  Impl& operator=(Impl&&) noexcept = default;
 
   std::string     mUrl;
   LoaderInfo      loaderInfo;
index ed63f23dd1d053914bcf973bbcd8f12218047ce9..fe2a66f405cc1bd313f903d6289de56d3d54addd 100644 (file)
@@ -272,8 +272,8 @@ public:
 
   Impl(const Impl&) = delete;
   Impl& operator=(const Impl&) = delete;
-  Impl(Impl&&)                 = default;
-  Impl& operator=(Impl&&) = default;
+  Impl(Impl&&) noexcept        = default;
+  Impl& operator=(Impl&&) noexcept = default;
 
   ~Impl()
   {
index e06b931be000ce090c305e184cdfed232700ffff..7139ece98a8d89ac7632c1f1f0f31925dd30cca1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -1214,7 +1214,7 @@ AsyncTaskManager::TaskHelper::TaskHelper(AsyncTaskManager& asyncTaskManager)
 {
 }
 
-AsyncTaskManager::TaskHelper::TaskHelper(TaskHelper&& rhs)
+AsyncTaskManager::TaskHelper::TaskHelper(TaskHelper&& rhs) noexcept
 : TaskHelper(std::move(rhs.mProcessor), rhs.mAsyncTaskManager)
 {
 }
index 4edf53830abe0ff475c9b59c84f634cea1f9d0f5..083500a41661dc92366ac7610ddd3d2a999dfc0b 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_INTERNAL_ASYNC_TASK_MANAGER_H
 
 /*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -205,7 +205,7 @@ private:
     TaskHelper(const TaskHelper&) = delete;
     TaskHelper& operator=(const TaskHelper&) = delete;
 
-    TaskHelper(TaskHelper&& rhs);
+    TaskHelper(TaskHelper&& rhs) noexcept;
     TaskHelper& operator=(TaskHelper&& rhs) = delete;
 
   private:
index b9e7d9beaaa897e7a546c01f35e09fd7275e4074..6dfb40170503036183d77f91155e95f706335b2f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -80,9 +80,9 @@ inline GlyphCacheManager::CompressionPolicyType GetRenderedGlyphCompressPolicy()
 {
   static auto policyString = Dali::EnvironmentVariable::GetEnvironmentVariable(DALI_ENV_RENDERED_GLYPH_COMPRESS_POLICY);
 
-  static auto policy = policyString ? policyString[0] == 's' || policyString[0] == 'S'   ? GlyphCacheManager::CompressionPolicyType::SPEED
-                                      : policyString[0] == 'm' || policyString[0] == 'M' ? GlyphCacheManager::CompressionPolicyType::MEMORY
-                                                                                         : DEFAULT_RENDERED_GLYPH_COMPRESS_POLICY
+  static auto policy = policyString ? policyString[0] == 's' || policyString[0] == 'S' ? GlyphCacheManager::CompressionPolicyType::SPEED
+                                                                                       : policyString[0] == 'm' || policyString[0] == 'M' ? GlyphCacheManager::CompressionPolicyType::MEMORY
+                                                                                                                                          : DEFAULT_RENDERED_GLYPH_COMPRESS_POLICY
                                     : DEFAULT_RENDERED_GLYPH_COMPRESS_POLICY;
   return policy;
 }
@@ -146,7 +146,7 @@ FontFaceCacheItem::FontFaceCacheItem(const FT_Library&  freeTypeLibrary,
 
 // Move constructor. font client plugin container may call this.
 // Note that we make nullptr of some reference sensitive values here.
-FontFaceCacheItem::FontFaceCacheItem(FontFaceCacheItem&& rhs)
+FontFaceCacheItem::FontFaceCacheItem(FontFaceCacheItem&& rhs) noexcept
 : mFreeTypeLibrary(rhs.mFreeTypeLibrary)
 {
   mFreeTypeFace       = rhs.mFreeTypeFace;
index 6fe80022ff1e48ab9f14ced5f821f670799770aa..26d3589d60573de605ffaafa816d035c68b848c1 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_TEXT_ABSTRACTION_INTERNAL_FONT_FACE_CACHE_ITEM_H
 
 /*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -62,7 +62,7 @@ struct FontFaceCacheItem : public FontCacheItemInterface
                     bool               hasColorTables);
 
   FontFaceCacheItem(const FontFaceCacheItem& rhs) = delete; // Do not use copy construct
-  FontFaceCacheItem(FontFaceCacheItem&& rhs);
+  FontFaceCacheItem(FontFaceCacheItem&& rhs) noexcept;
 
   ~FontFaceCacheItem();
 
index 1f0888470428e027aa69cc4f22821a41fa7a5c9c..651c3e7f6d93afb76106bee6e8e7b731737a15b4 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_TEXT_ABSTRACTION_INTERNAL_LRU_CACHE_CONTAINER_H
 
 /*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -58,7 +58,7 @@ public:
   LRUCacheContainer(LRUCacheContainer&& rhs)      = default;
 
   LRUCacheContainer& operator=(const LRUCacheContainer& rhs) = default;
-  LRUCacheContainer& operator=(LRUCacheContainer&& rhs) = default;
+  LRUCacheContainer& operator=(LRUCacheContainer&& rhs) noexcept = default;
 
 public:
   // Public struct area.
@@ -108,13 +108,13 @@ public:
     }
 
     // Move constructor & assign
-    iterator(iterator&& rhs)
+    iterator(iterator&& rhs) noexcept
     : owner(rhs.owner),
       id(rhs.id)
     {
     }
 
-    iterator& operator=(iterator&& rhs)
+    iterator& operator=(iterator&& rhs) noexcept
     {
       this->owner = rhs.owner;
       this->id    = rhs.id;
index 66d1e3255ea09da35b07e4dc9f52743c8c8ebad7..daae17066b0916e4b4f5dd3b40bdfc159ea52c12 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_ROUND_ROBIN_CONTAINER_VIEW_H
 
 /*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 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.
@@ -103,8 +103,8 @@ public:
 
   RoundRobinContainerView(const RoundRobinContainerView&) = delete;
   RoundRobinContainerView& operator=(const RoundRobinContainerView&) = delete;
-  RoundRobinContainerView(RoundRobinContainerView&&)                 = default;
-  RoundRobinContainerView& operator=(RoundRobinContainerView&&) = default;
+  RoundRobinContainerView(RoundRobinContainerView&&) noexcept        = default;
+  RoundRobinContainerView& operator=(RoundRobinContainerView&&) noexcept = default;
 
 private:
   /**