{
for(auto&& scene : mScenes)
{
+ std::vector<Rect<int>> damagedRects;
+
+ mCore->PreRenderScene(scene, mScenePreRenderStatus, damagedRects);
mCore->RenderScene(mRenderStatus, scene, true /*render the off-screen buffers*/);
mCore->RenderScene(mRenderStatus, scene, false /*render the surface*/);
}
DoUpdate(intervalMilliseconds, location);
mCore->PreRender(mRenderStatus, false /*do not force clear*/);
- mCore->PreRender(mScene, damagedRects);
+ mCore->PreRenderScene(mScene, mScenePreRenderStatus, damagedRects);
return mStatus.KeepUpdating() || mRenderStatus.NeedsUpdate();
}
std::vector<Rect<int>> damagedRects;
Rect<int> clippingRect{};
- mCore->PreRender(scene, damagedRects);
+ mCore->PreRenderScene(scene, mScenePreRenderStatus, damagedRects);
mCore->RenderScene(mRenderStatus, scene, true /*render the off-screen buffers*/);
for(auto&& iter : damagedRects)
{
bool TestApplication::RenderOnly()
{
+ std::vector<Rect<int>> damagedRects;
+
// Update Time values
mCore->PreRender(mRenderStatus, false /*do not force clear*/);
+ mCore->PreRenderScene(mScene, mScenePreRenderStatus, damagedRects);
mCore->RenderScene(mRenderStatus, mScene, true /*render the off-screen buffers*/);
mCore->RenderScene(mRenderStatus, mScene, false /*render the surface*/);
mCore->PostRender();
#define DALI_TEST_APPLICATION_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.
// INTERNAL INCLUDES
#include <dali/integration-api/resource-policies.h>
+#include <dali/integration-api/scene-pre-render-status.h>
#include <dali/integration-api/scene.h>
#include <dali/integration-api/trace.h>
TestGraphicsController mGraphicsController;
TestRenderSurface* mRenderSurface;
- Integration::UpdateStatus mStatus;
- Integration::RenderStatus mRenderStatus;
+ Integration::UpdateStatus mStatus;
+ Integration::RenderStatus mRenderStatus;
+ Integration::ScenePreRenderStatus mScenePreRenderStatus;
Integration::Core* mCore;
Dali::Integration::Scene mScene;