X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fupdate%2Fcommon%2Fproperty-owner.cpp;h=e23831f733a8a93673f78edd652606719a546886;hb=b1bd91ad6eb1a77a75f3d10b8e2f05af4bfa39f1;hp=51a7dc6d8251ec8e398adba6c3612a0036eabcf4;hpb=b7999d655ad5177669bac7adde60939828f0284b;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/update/common/property-owner.cpp b/dali/internal/update/common/property-owner.cpp index 51a7dc6..e23831f 100644 --- a/dali/internal/update/common/property-owner.cpp +++ b/dali/internal/update/common/property-owner.cpp @@ -1,5 +1,5 @@ /* - * 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. @@ -113,6 +113,11 @@ void PropertyOwner::DisconnectFromSceneGraph(BufferIndex updateBufferIndex) mConstraints.Clear(); } +void PropertyOwner::ReserveProperties(int propertyCount) +{ + mCustomProperties.Reserve(propertyCount); +} + void PropertyOwner::InstallCustomProperty(OwnerPointer& property) { mCustomProperties.PushBack(property.Release());