#define DALI_INTERNAL_SCENE_GRAPH_RENDER_TASK_LIST_H
/*
- * 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.
void AddTask(OwnerPointer<RenderTask>& newTask);
/**
+ * Add a overlay RenderTask to the list.
+ * @param[in] newTask The RenderTaskList takes ownership of this overlay task.
+ */
+ void AddOverlayTask(OwnerPointer<RenderTask>& newTask);
+
+ /**
* Remove a RenderTask from the list.
* @param[in] task The RenderTaskList will destroy this task.
*/
*/
CompleteNotificationInterface* GetCompleteNotificationInterface();
+ /**
+ * Get the capacity of the memory pools
+ */
+ static uint32_t GetMemoryPoolCapacity();
+
protected:
/**
* Protected constructor. See New()
CompleteNotificationInterface* mNotificationObject; ///< object to pass in to the complete notification
RenderMessageDispatcher* mRenderMessageDispatcher; ///< for sending messages to render thread
RenderTaskContainer mRenderTasks; ///< A container of owned RenderTasks
+ RenderTask* mOverlayRenderTask; ///< OverlayRenderTask.
};
// Messages for RenderTaskList