#define DALI_INTERNAL_TRANSFORM_MANAGER_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.
*/
// INTERNAL INCLUDES
-#include <dali/internal/update/manager/free-list.h>
+#include <dali/devel-api/common/free-list.h>
#include <dali/public-api/common/constants.h>
#include <dali/public-api/common/dali-vector.h>
#include <dali/public-api/math/matrix.h>
{
bool operator<(const SOrderItem& item) const
{
- return level < item.level;
+ if(sceneId != item.sceneId)
+ {
+ return sceneId < item.sceneId;
+ }
+ else
+ {
+ return level < item.level;
+ }
}
TransformId id;
- uint32_t level;
+ uint16_t sceneId;
+ uint16_t level;
};
/**
/**
* Reorders components in hierarchical order so update can iterate sequentially
- * updating the world transforms
+ * updating the world transforms. The components are sorted in the breadth first
+ * order for each scene and grouped per scene.
*/
void ReorderComponents();