#include <dali/public-api/actors/actor.h>
#include <dali/public-api/actors/layer.h>
#include <dali/public-api/common/dali-common.h>
+#include <dali/public-api/render-tasks/render-task-list.h>
// INTERNAL INCLUDES
#include <dali/internal/adaptor/common/adaptor-impl.h>
DALI_LOG_RELEASE_INFO("SceneHolder::AddFramePresentedCallback:: Added [%d]\n", frameId);
}
+Dali::RenderTaskList SceneHolder::GetRenderTaskList() const
+{
+ return mScene.GetRenderTaskList();
+}
+
Dali::Integration::SceneHolder SceneHolder::Get(Dali::Actor actor)
{
SceneHolder* sceneHolderImpl = nullptr;
#define DALI_INTEGRATION_INTERNAL_SCENEHOLDER_H
/*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 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 CreateRenderTarget();
/**
+ * @copydoc Dali::Integration::SceneHolder::GetRenderTaskList()
+ */
+ Dali::RenderTaskList GetRenderTaskList() const;
+
+ /**
* @copydoc Dali::Integration::SceneHolder::Get()
*/
static Dali::Integration::SceneHolder Get(Dali::Actor actor);
/*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 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.
#include <dali/integration-api/events/touch-event-integ.h>
#include <dali/integration-api/events/wheel-event-integ.h>
#include <dali/public-api/events/wheel-event.h>
+#include <dali/public-api/render-tasks/render-task-list.h>
// INTERNAL INCLUDES
#include <dali/integration-api/adaptor-framework/scene-holder-impl.h>
GetImplementation(*this).FeedKeyEvent(event);
}
+RenderTaskList SceneHolder::GetRenderTaskList()
+{
+ return GetImplementation(*this).GetRenderTaskList();
+}
+
SceneHolder SceneHolder::Get(Actor actor)
{
return Internal::Adaptor::SceneHolder::Get(actor);
#define DALI_INTEGRATION_SCENEHOLDER_H
/*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 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.
class WheelEvent;
struct TouchPoint;
class KeyEvent;
+class RenderTaskList;
namespace Internal DALI_INTERNAL
{
void FeedKeyEvent(Dali::KeyEvent& keyEvent);
/**
+ * @brief Retrieves the list of render-tasks.
+ * @return A valid handle to a RenderTaskList
+ */
+ RenderTaskList GetRenderTaskList();
+
+ /**
* @brief Retrieve the SceneHolder that the given actor is added to.
*
* @param[in] actor The actor
#include <dali/public-api/actors/camera-actor.h>
#include <dali/public-api/actors/layer.h>
#include <dali/public-api/adaptor-framework/window-enumerations.h>
-#include <dali/public-api/render-tasks/render-task-list.h>
-#include <dali/public-api/render-tasks/render-task.h>
#include <dali/public-api/rendering/frame-buffer.h>
#include <thread>
return mScene.GetLayer(depth);
}
-Dali::RenderTaskList Window::GetRenderTaskList() const
-{
- return mScene.GetRenderTaskList();
-}
-
std::string Window::GetNativeResourceId() const
{
return mWindowBase->GetNativeWindowResourceId();
#include <dali/public-api/object/base-object.h>
#include <dali/public-api/object/property-array.h>
#include <dali/public-api/object/ref-object.h>
-#include <dali/public-api/render-tasks/render-task-list.h>
// INTERNAL INCLUDES
#include <dali/devel-api/adaptor-framework/window-devel.h>
Dali::Layer GetLayer(uint32_t depth) const;
/**
- * @copydoc Dali::DevelWindow::GetRenderTaskList()
- */
- Dali::RenderTaskList GetRenderTaskList() const;
-
- /**
* @brief Get window resource ID assigned by window manager
* @return The resource ID of the window
*/
// EXTERNAL INCLUDES
#include <dali/integration-api/debug.h>
+#include <dali/public-api/render-tasks/render-task-list.h>
// INTERNAL INCLUDES
#include <dali/internal/window-system/common/orientation-impl.h>