seungho baek [Fri, 16 Jun 2023 09:05:49 +0000 (18:05 +0900)]
[Tizen] Change the naming of RenderPass to RenderPassTag for Shader and RenderTask
Change-Id: I7c4f7f24fdb7d13f202be317899e915e73f979cd
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
seungho baek [Fri, 9 Jun 2023 13:00:09 +0000 (22:00 +0900)]
[Tizen] Support multi pass shading with different shaders
Change-Id: I34ac0d2dd0d63b316816bfa58954c739e7460e55
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki, Hong [Fri, 9 Jun 2023 02:19:29 +0000 (11:19 +0900)]
[Tizen] Use Dali::KeyFrames during AnimateBetween
Since KeyFrames is already BaseHandle, we don't need to use
reference of BaseHandle. So let we make BaseHandle instead of
Internal::KeyFrames.
Change-Id: I32d79aa382dde45af07bb3ded376c37fcdbfe629
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Wed, 31 May 2023 23:52:05 +0000 (08:52 +0900)]
[Tizen] Make Ubuntu use MSAA level 4 as default
Change-Id: I116b05deac366c47533d4e232d42ad3a1c06c785
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
David Steele [Wed, 19 Apr 2023 16:22:19 +0000 (17:22 +0100)]
[Tizen] Added element_count for sampler uniform arrays.
Graphics interface didn't differentiate between non-array uniforms
and uniform array elements. Added element_count to show that.
(Used mainly in graphics backend implementation).
Change-Id: I7f3d9eead85dc029e93337c88bb38de1ce3e2fa5
Heeyong Song [Mon, 29 Mar 2021 09:07:20 +0000 (18:07 +0900)]
[Tizen] Fix partial update issue when change texture
Uploading texture or changing texture were not detected.
Change-Id: I390b4ee8c26167a2daa9ab3dc25acb47ae6ceeb7
Eunki, Hong [Tue, 28 Mar 2023 08:04:39 +0000 (17:04 +0900)]
[Tizen] LookAt API for actor
Make LookAt API for common Actor.
Note, this isn't follow target position. Just calculate Quaternion
and apply instancely.
Change-Id: I0fb107f954034fb5aa410cc607122b4e61988e9b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Fri, 19 May 2023 06:35:09 +0000 (15:35 +0900)]
[Tizen] Fix error when RenderTask is not matched with consumed layer
Change-Id: I6f3dfefdbf04025c1dfd87f5a9945ba392663fe7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Heeyong Song [Fri, 19 May 2023 10:02:59 +0000 (19:02 +0900)]
[Tizen] Fix a clipping mode bug
Clipping had a bug when it is used with the DrawMode::OVERLAY_2D.
The node should be added to the overlayRenderables.
Change-Id: I2464ec54551927249cdf8d23ed4e6ebf2a79615f
Heeyong Song [Thu, 18 May 2023 08:30:03 +0000 (17:30 +0900)]
[Tizen] Remove forceProcess and forceUpdate flag
We don't need them now because we change to process events regardless of state
Change-Id: I0416a79c4fdbb8aa12b2be5cabeb3da525216a6c
joogab.yun [Thu, 18 May 2023 02:23:04 +0000 (11:23 +0900)]
[Tizen] bug fixed mMinimumTouchEventsAfterStart to mMinimumTouchEvents
Change-Id: I62e4d181e8bf847e57b84757f2ec3083c4c4061d
Eunki, Hong [Fri, 12 May 2023 04:15:13 +0000 (13:15 +0900)]
[Tizen] Fix invalidated PipelineCacheL2 pointer problem
Let we keep std::list<PipelineCacheL2>::iterator instead of PipelineCacheL2*.
So, the pointer of pipeline what render-renderer has should be valid even
if cache container size changed.
And also, for safe issue, let we keep the pipeline container as std::list.
Change-Id: I5a0572f040ff3304876bdb2483af85ff26fbccbb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho baek [Thu, 11 May 2023 04:58:42 +0000 (13:58 +0900)]
[Tizen] Fix culling issue with scale
Change-Id: I46418d927ee21bc72b94aeae7e8ae4068b46d6be
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Heeyong Song [Mon, 8 May 2023 05:59:15 +0000 (14:59 +0900)]
[Tizen] Remove old pipeline caches
Change-Id: I17290e72f05cecedfce82dc665217c38a99a8470
seungho baek [Thu, 11 May 2023 01:07:41 +0000 (10:07 +0900)]
[Tizen] Fix to unused Z component to zero to get scale.
Change-Id: Ibd07450e6fdd39d15cd5e90b8c8c0994cde3d589
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki, Hong [Wed, 10 May 2023 00:07:31 +0000 (09:07 +0900)]
[Tizen] Reduce Bezier Curve AlphaFunction's tolerance
Previously, we use the tolerance of T value as 0.001f.
That mean, In 4K system, the error range of result can be ~2 pixels.
Let we squeeze the tolerance so reduce the numeric error.
Change-Id: I7d08de0bce8f2bac3441cb8a0bd4e5b55a31b989
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
joogab.yun [Tue, 9 May 2023 06:37:02 +0000 (15:37 +0900)]
[Tizen] Add Touch source type for gesture
Change-Id: Ib3782eb3e7125e045b469b314641de4cec7901c6
seungho baek [Wed, 26 Apr 2023 13:01:15 +0000 (22:01 +0900)]
[Tizen] Support Animation Blend for AnimateBetween
Change-Id: Ifa53a54742239d8c2913499de2e29757bf8e9f72
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki, Hong [Mon, 27 Feb 2023 13:09:34 +0000 (22:09 +0900)]
[Tizen] Sort Animator only if required.
Previously, we sort mConnectorTargetValues every Play() API.
Even if we don't need to sort it.
Now, make we sort that container only if last inserted value is bigger than
latest thing, and reset the flag if we sort.
Change-Id: Ia2ba07df3db5a2a0d6d89b0ef2854c5fc655fb2a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Thu, 27 Apr 2023 02:37:18 +0000 (11:37 +0900)]
[Tizen] Set KeyFrame's frame value
Let we make the API to change the value of specific KeyFrame data
Change-Id: Iecd9cb3b9118083dfa6d4ab812bf31dac4e1d38a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
joogab.yun [Mon, 24 Apr 2023 09:13:38 +0000 (18:13 +0900)]
[Tizen] Add SetTapRecognizerTime
This is the time from touch down to touch up to recognize a tap gesture.
If set to 300ms, a touch up after a touch down must occur within 300ms to be recognized as a tap gesture.
Change-Id: I1b7be723938a32f4009232553671bda17503c782
Eunki Hong [Sat, 18 Feb 2023 11:06:24 +0000 (20:06 +0900)]
[Tizen] Allow to load uint32_t indices for geometry
Dali's default indices use uint16_t. But if heavy 3D model who need more than
65536 indexes loaded, It will break index.
This patch make Scene3D can allow to use uint32_t type indeces load
and generete Geometry by it.
Change-Id: I020b27642760e6262fb5137a74e59b8da803e859
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Sat, 4 Feb 2023 04:08:53 +0000 (13:08 +0900)]
[Tizen] Backport some MatrixUtils Operation
This is a combination of 3 commits.
Optimize some matrix multiply for projection matrix + Orthographic reflection
Let we use MatrixUtils::MultiplyProjectionMatrix for some internal API.
And also, make Orthographic camera can use reflection plane.
TODO : We should make MultiplyProjectionMatrix funtion as NEON.
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Fix matrix multiply with quaternion bug in ARM
There was some bug when we try to use MatrixUtils::Multiply at
ARM devices. We fix it.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Multiply only for Transform Matrix + NEON comment clean up
If 4x4 matrix form as Transform, we can optimize matrix multiply function.
It will be reduce the time of Transform Update time.
Below are some test result.
1. VLD1.F32 each time is more faster than VLDM.
2. Transpose lhs -> multply -> transpose tmp is slower than current logic
3. "+r"(temp) at Output Operand is slower than "r"(temp) Intput Oprerand with "%r0"(why?)
--> But when we make current Multiply with Output Operand as Input Operand, it makes slow down. (why?)
Change-Id: I3eb7f4b2e0b4ce7ae595e3e006d86ed63eee4529
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Heeyong Song [Fri, 29 Jul 2022 02:35:32 +0000 (11:35 +0900)]
[Tizen] (DR) Fix texture binding
Backporting of GLView Direct rendering feature
Change-Id: I5eda9a16c769354485934c54136561d731e12ebe
seungho baek [Tue, 18 Apr 2023 11:05:14 +0000 (20:05 +0900)]
[Tizen] Add Post Constraint that works after transform
Change-Id: I90a7b2d731623691915ed5c01500ac6928d25112
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Heeyong Song [Wed, 12 Apr 2023 05:18:50 +0000 (14:18 +0900)]
[Tizen] Add some performace trace logs
Change-Id: Ib99c88e4420d0c6bc200de4c65f75e2294f30a36
joogab.yun [Wed, 5 Apr 2023 02:20:53 +0000 (11:20 +0900)]
[Tizen] Add trace log for touch, wheel and gesture
Change-Id: Iaf3a78103d123d4c81a9668497663cc14947ed44
joogab.yun [Mon, 27 Mar 2023 09:56:08 +0000 (18:56 +0900)]
[Tizen] The hover event now starts in the STARTED state when a new actor is encountered.
When hover event is registered, only motion comes. You can't know that the hover has started on that actor.
So, when the hover starts on the new actor, set it to STARTED state.
Change-Id: If25595536bce2279529847056ed962c515632165
Heeyong Song [Wed, 22 Feb 2023 08:37:31 +0000 (17:37 +0900)]
[Tizen] Fix surface deletion order issue
Change-Id: I1fb3a2934ed6a36553421f002d6cc7821abc45dc
seungho baek [Mon, 27 Feb 2023 09:25:14 +0000 (18:25 +0900)]
[Tizen] Make mTargetSizeDirtyFlag true when Animation changes Actor's Size
Change-Id: Ied85413cd3bf8f8fc7d19c831e35f700e225c9f4
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Heeyong Song [Mon, 20 Feb 2023 08:10:26 +0000 (17:10 +0900)]
[Tizen] Disable property notification when the object is deleted
Change-Id: Ief68d6cb246e75f9f9870f5285dc827b53ad2916
Eunki, Hong [Fri, 17 Feb 2023 06:38:05 +0000 (15:38 +0900)]
[Tizen] Make new CameraActor creation API for 3D apps
Default CameraActor's behavior is not helpful for formal 3D app side.
For example, 3D app don't care about "scene", but CameraActor::New()
change some properties by engine side automaticaly.
To make 3D app developer use CameraActor easly, make new API that fit
good to 3D cases.
Change-Id: Iaf2a792b0fd98cd31d2c655da61918133e211ff0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 24 Oct 2022 06:04:28 +0000 (15:04 +0900)]
[Tizen] Backport tizen_7.5 for Scene3D
This is a combination of 3 commits.
Deprecate Plane Distance setter + Implement OrthographicSize + Animatable AspectRatio
Deprecate API s.t Left/Right/Top/Bottom value setter directly.
Instead of these things, let we use OrthographicSize.
It will make that each plane distnaces symmetric so that center of camera.
Due to we can disconnect dependency of plane distance parameters,
now we can make AspectRatio animatable.
Revert "[Tizen] Fix opacity animation issue in 3D"
Add Renderer::BlendMode::USE_ACTOR_OPACITY
- This option make the renderer opaque only when its Actor::Color is opaque.
Change-Id: I7a9a90205bf76fc5e1ff8f0e90171211d27cc1cf
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho baek [Fri, 23 Dec 2022 07:40:31 +0000 (16:40 +0900)]
[Tizen] Fix to do not use GetCurrentSize in actor-sizer
Change-Id: I75c0502a33dcb67e90092b1a8a92e9cf9f6bbe37
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Heeyong Song [Wed, 1 Feb 2023 06:54:08 +0000 (15:54 +0900)]
[Tizen] Do not register processor when registering singleton
Change-Id: I31353cf1d513a40f82def9a5f0de3540b88c34dc
seungho baek [Mon, 9 Jan 2023 01:23:21 +0000 (10:23 +0900)]
[Tizen] Add Overlay Layer in scene
Change-Id: I65447d7ace9e13f528f244234e139e3e9682291b
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Heeyong Song [Wed, 18 Jan 2023 06:46:16 +0000 (15:46 +0900)]
[Tizen] Assert when proprety notification is used in a thread other than the main thread
Change-Id: I9b2f6c1f70327c5289f1e9476d48876d5ecd762b
Wonsik Jung [Tue, 3 Jan 2023 03:09:13 +0000 (12:09 +0900)]
[Tizen] Fix the screen rotation issue
Fix the screen rotation issue in FHub Device.
When glViewport/glScissor is set, the screen rotation should be considered.
Change-Id: I660545a3b3b0fa8e5464dfb613a3d983be2e04b7
Heeyong Song [Tue, 27 Dec 2022 07:06:52 +0000 (16:06 +0900)]
[Tizen] Make assertion when SetParent is not called on the main thread
Change-Id: I31735e43f33995b0d3e39fb489a5f4e77abf0899
Heeyong Song [Wed, 21 Dec 2022 09:13:50 +0000 (18:13 +0900)]
[Tizen] Add trace log to NotificationManager::ProcessMessages
Change-Id: I8a7d3080087ef29448e3ac4b9ce333ce93e08e99
Heeyong Song [Mon, 19 Dec 2022 07:51:22 +0000 (07:51 +0000)]
Merge "[Tizen] Add trace log to FrameCallbackProcessor::Update" into tizen_7.0
Eunki, Hong [Mon, 19 Dec 2022 06:59:13 +0000 (15:59 +0900)]
[Tizen] Reduce GetCurrentSize call time
Change-Id: I1a22b4d86ad97856a14aa367f1b3d4b62b7e31bf
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Heeyong Song [Mon, 19 Dec 2022 01:59:45 +0000 (10:59 +0900)]
[Tizen] Add trace log to FrameCallbackProcessor::Update
Change-Id: I68f66b12400082d477518d6376c37ed53f144b4a
Heeyong Song [Thu, 15 Dec 2022 09:09:41 +0000 (18:09 +0900)]
[Tizen] Change DebugPriority name and Debug priority
Change-Id: I01dc0b22802a66b51d4ad3fb338b270c7d810142
seungho baek [Mon, 12 Dec 2022 08:26:26 +0000 (17:26 +0900)]
[Tizen] Fix opacity animation issue in 3D
Change-Id: Id663f1254511bcb21df8d86b655f60bde969021f
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Heeyong Song [Tue, 13 Dec 2022 06:00:32 +0000 (15:00 +0900)]
[Tizen] Fix partial update issue
Fixed the case there are 3D and 2D layers
Change-Id: Ie36922355bf979c5961bb9e7c12cde44a5644116
Eunki Hong [Sat, 10 Dec 2022 11:29:56 +0000 (20:29 +0900)]
[Tizen] Remove keylogging for security
Remove keylogging action in tizen.
Change-Id: I91e2df30c95d4e7ca0e4d6d68acf2b40700edf48
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Fri, 11 Nov 2022 13:39:21 +0000 (22:39 +0900)]
[Tizen] Add MultiSampling FrameBuffer implement.
Let we allow to call FramebufferTexture2DMultisample if possible.
Change-Id: I4874ad78dfe1e468b5571ba4bc0112e7f710f492
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Heeyong Song [Mon, 14 Nov 2022 06:14:29 +0000 (15:14 +0900)]
[Tizen] Enable Trace Filter with 0/1
Change-Id: Ibe5ac416fff314fbb4a54b648df60763e5233533
Eunki, Hong [Wed, 9 Nov 2022 08:35:15 +0000 (17:35 +0900)]
[Tizen] Fix Rendering order issue when 3D layer render translucent
Sort rendering-order by Euclidean distance for special case.
Previously, we only check ModelView's translation z-value.
But if we use perspective projectoin camera, the distance might not
be fit as human sense.
Now, when layer is 3D and camera is perspective projection mode,
let we use zValue as Euclidean distance.
It cannot resolve translucent object's rendering order issue
perfectly. But can resolve some case.
Change-Id: Ie33cc5cfd338ff001b18885026a4daf779227b0e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Fri, 4 Nov 2022 14:43:25 +0000 (23:43 +0900)]
[Tizen] Fix Svace issue for 64bit
Solve some convert from size_t to uint32_t case.
Change-Id: I486feb48eab38201aaae3bf9f2aadc0414789a5d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
tscholb [Wed, 2 Nov 2022 07:39:51 +0000 (16:39 +0900)]
[Tizen] Not execute the remove callback
This reverts commit
9cc8a09ae13612360ee6546f5c21792b4a674324.
tscholb [Wed, 2 Nov 2022 07:39:19 +0000 (16:39 +0900)]
Merge branch 'devel/master' into tizen
tscholb [Wed, 2 Nov 2022 07:39:02 +0000 (16:39 +0900)]
Revert "[Tizen] Not execute the remove callback"
This reverts commit
a39edce44df267275a0edb060fe2a2c3790734e6.
tscholb [Wed, 2 Nov 2022 07:38:54 +0000 (16:38 +0900)]
Revert "[Tizen] Fix Window Rotation issue"
This reverts commit
9643232d147ac0dbca37d9649c498defab6a9dab.
tscholb [Wed, 2 Nov 2022 07:38:47 +0000 (16:38 +0900)]
Revert "[Tizen] Create ProjectionDirection property at CameraActor"
This reverts commit
6e1aebb198e5075227e4656ed5a5cef02c99139a.
tscholb [Wed, 2 Nov 2022 07:38:37 +0000 (16:38 +0900)]
Revert "[Tizen](Partial Update) Continue to calculate damaged rects even though there is a 3D transformed item"
This reverts commit
c96b5bf70c4a411d3916be6cab7a761f8bf91811.
tscholb [Wed, 2 Nov 2022 07:38:20 +0000 (16:38 +0900)]
Revert "[Tizen] Add some logs to check performance"
This reverts commit
84d96e087438998f24e16ffd69b24183e629298f.
joogab yun [Tue, 1 Nov 2022 00:36:42 +0000 (00:36 +0000)]
Merge "Add input source type and source data about Gesture. This is similar to MouseButton in TouchEvent." into devel/master
joogab.yun [Tue, 25 Oct 2022 08:21:50 +0000 (17:21 +0900)]
Add input source type and source data about Gesture.
This is similar to MouseButton in TouchEvent.
Now, you can see from which input the gesture was made.
Change-Id: Id1289e1482b21e756ebd5a549b7d8e9d1b1e19b7
David Steele [Fri, 28 Oct 2022 10:27:24 +0000 (10:27 +0000)]
Merge "DALi Version 2.1.46" into devel/master
Richard Huang [Fri, 28 Oct 2022 10:25:08 +0000 (11:25 +0100)]
DALi Version 2.1.46
Change-Id: Iea538285d3d930a4c440db70b8b02b94e5c6558e
Wonsik Jung [Fri, 28 Oct 2022 01:00:04 +0000 (01:00 +0000)]
Merge "Fix race-condition when window is resized or rotated." into devel/master
David Steele [Thu, 27 Oct 2022 13:28:59 +0000 (13:28 +0000)]
Merge "Seperate some matrix operations to MatrixUtils" into devel/master
Adeel Kazmi [Tue, 25 Oct 2022 14:07:14 +0000 (15:07 +0100)]
Ensure GlAbstraction is not copyable
Change-Id: I95f40a776255ebfbba57d9761b3660dd3984b918
Wonsik Jung [Thu, 22 Sep 2022 21:45:00 +0000 (06:45 +0900)]
Fix race-condition when window is resized or rotated.
Internal dali window module has some variables and flags.
They are set by both main thread and render thread.
It has the effect of race condition when window is resized or rotated serval times.
This patch is to fix them.
Change-Id: I63ecc4a5d711569323a8f055e3b46ae878126235
Eunki, Hong [Wed, 19 Oct 2022 05:33:36 +0000 (14:33 +0900)]
Seperate some matrix operations to MatrixUtils
Move some static Matrix / Matrix3 operations into specific file.
Previous logic doesn't support multiply-asign operations.
A = A * B; (valid. Because A operator=({result-of-(A*B)}))
A *= B; (invalid)
To resolve this issue, we plan to implement another operator *= for Matrix.
To seperate codes more clean + If we plan to make some util API about Matrix
(something like Internal::MatrixUtils::MultiplyProjectionMatrix)
Make another file for matrix utils internal.
TODO : Internal::MatrixUtils::MultiplyProjectionMatrix use NEON.
TODO : Make projection matrix use MatrixUtils after camera refator finished
Change-Id: I4333c52c93fb24f618ed509fe101a83e4a9f36c1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
David Steele [Fri, 21 Oct 2022 10:47:16 +0000 (11:47 +0100)]
DALi Version 2.1.45
Change-Id: If04c629888d288e6c513666d8623e75c99a785f2
Heeyong Song [Tue, 18 Oct 2022 09:43:48 +0000 (18:43 +0900)]
Add trace logs to check performance
Change-Id: I441a332afb89b8527c34eeadc1e3c7b332caa789
Eunki, Hong [Wed, 12 Oct 2022 10:53:39 +0000 (19:53 +0900)]
Make SceneGraph::Camera as Node + FieldOfView animatable
Previously, SceneGraph::Camera was not a SceneGraph::Node.
If we try to animate property of Camera, then
we use some PropertyBase s.t. PropertyOwner(==Node) doesn't owned.
To fix this logical unmatched issue, we make SceneGraph::Camera
as sub-class of SceneGraph::Node.
Moreover, We make Camera's FieldOfView Animatable.
After this patch merged, we try to refactor Camera's properties
and make them animatable.
Change-Id: I184f75b51a2152aea52879adc1e783cea7d190a0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Heeyong Song [Fri, 14 Oct 2022 01:53:57 +0000 (10:53 +0900)]
(Partial Update) Continue to calculate damaged rects even though there is a 3D transformed item
Change-Id: I58136911893f488664ecff2f2ef616593efb8658
David Steele [Fri, 14 Oct 2022 12:03:01 +0000 (12:03 +0000)]
Merge "DALi Version 2.1.44" into devel/master
Adam Bialogonski [Fri, 14 Oct 2022 09:25:17 +0000 (10:25 +0100)]
DALi Version 2.1.44
Change-Id: I83a0c308589df00e76ecaf79420eaf18356168d5
Eunki, Hong [Sat, 8 Oct 2022 07:32:02 +0000 (16:32 +0900)]
Make template class Dali::IntPair
Make integer pair case so we can use
integer based pair struct.
Dali::Uint16Pair already used for a long time.
But now, we need Dali::Int32Pair to use signed case.
uint-16-pair.h is used on third party app, we cannot
remove this file yet.
So, Let we define Uint16Pair in that class.
Change-Id: I24055b8f70c3948a51a0147786725f192ade8990
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Heeyong Song [Fri, 14 Oct 2022 04:51:49 +0000 (13:51 +0900)]
[Tizen] Add some logs to check performance
Change-Id: Ie9205714816db6ea456fe8257ef441f4886c8b9a
Heeyong Song [Fri, 14 Oct 2022 01:53:57 +0000 (10:53 +0900)]
[Tizen](Partial Update) Continue to calculate damaged rects even though there is a 3D transformed item
Change-Id: I58136911893f488664ecff2f2ef616593efb8658
David Steele [Wed, 12 Oct 2022 15:17:41 +0000 (15:17 +0000)]
Merge "Make Dali::Any move operator + Resolve memory leak." into devel/master
David Steele [Wed, 12 Oct 2022 14:56:30 +0000 (14:56 +0000)]
Merge "Matrix operator*" into devel/master
David Steele [Wed, 12 Oct 2022 14:53:15 +0000 (14:53 +0000)]
Merge "Create ProjectionDirection property at CameraActor" into devel/master
Eunki, Hong [Fri, 30 Sep 2022 07:19:58 +0000 (16:19 +0900)]
Create ProjectionDirection property at CameraActor
Add new property "ProjectionDirection" on CameraActor.
It determine whether current FieldOfView value base on
Vertical or Horizontal.
Default is Vertical.
Change-Id: I237f557af4bc03315ce5d6d6eeb25913e4fe7de4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Fri, 7 Oct 2022 07:31:09 +0000 (16:31 +0900)]
Matrix operator*
Matrix::Multiply(result, lhs, rhs) do as result = rhs * lhs;
It might makes some strange scense to future of Dali developer.
Let we make operator* so nobody feel confuse about the order of
multiply operation
Change-Id: I5adf0c8a8f29fa1c0774aa1e23ff0c3050e66af4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Thu, 6 Oct 2022 07:41:21 +0000 (16:41 +0900)]
Make Dali::Any move operator + Resolve memory leak.
Coverity minor issue fixed.
+
Resolve some memory leak.
Due to Dali::Any copy assign operator doesn't call
previous object's destructor, there can be memory leak.
(For example : Property::Map delete some values in destructor.)
Change-Id: Ifa29dd78b4f3689ed0ff00d9b8bcfe8ad9e167d6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Fri, 7 Oct 2022 04:48:47 +0000 (13:48 +0900)]
noexcept move for BaseHandle/InstrusivePtr/Math
It can be optimize when we use std::vector<> or
std::is_nothrow_move_constructible<>::value is true or
std::is_nothrow_move_assignable<>::value is true.
Change-Id: I5a8866b928d40d7e26a68486c5aef764bc68a9af
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Fri, 7 Oct 2022 11:23:05 +0000 (12:23 +0100)]
DALi Version 2.1.43
Change-Id: I22ae8cbcf6dac4108aae288986964370d1d3fed3
Eunki, Hong [Thu, 6 Oct 2022 04:15:06 +0000 (13:15 +0900)]
Use map instead of hashmap in signal cache
std::unordered_map is heavy than std::map for small case.
Let make the signal more lightweight.
Change-Id: I7868b44831fa095b8cdd0f963c6ac66ac741e6a7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho [Fri, 30 Sep 2022 10:30:47 +0000 (19:30 +0900)]
Fix Window Rotation issue
- Viewport was incorrectly computed when viewport is not fullscreen and window is rotated.
- Scissor rect was incorrectly computed when viewport is not fullscreen and window is rotated.
Change-Id: I44c64a2216f6364d2d29e0bcdd38c5e0cbc7467c
Signed-off-by: seungho <sbsh.baek@samsung.com>
Eunki, Hong [Tue, 4 Oct 2022 09:17:53 +0000 (18:17 +0900)]
[Tizen] Create ProjectionDirection property at CameraActor
This reverts commit
da848111d06ada79d78b1b26aaf49746e1e37ae6.
Change-Id: I30b4e5ad9a110347bacec5850d14a0bb122f96c6
Eunki, Hong [Tue, 4 Oct 2022 09:17:38 +0000 (18:17 +0900)]
[Tizen] Fix Window Rotation issue
This reverts commit
efd18fbaa27a191956b93d9e15eca9431311e2a8.
Change-Id: Ie32680063832052abfda0d85a93c094aa2ccd76e
Eunki, Hong [Tue, 4 Oct 2022 09:16:33 +0000 (18:16 +0900)]
[Tizen] Not execute the remove callback
This reverts commit
5377ff2daebaee16b16edebacff91ae95ff70276.
Change-Id: Iddf2e940692900587193da00016305f9811816fd
Eunki, Hong [Tue, 4 Oct 2022 09:16:10 +0000 (18:16 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: I7e56f9cb474e0e991dd39c1770aa8c8f750d763b
Eunki, Hong [Tue, 4 Oct 2022 09:16:03 +0000 (18:16 +0900)]
Revert "[Tizen] Not execute the remove callback"
This reverts commit
0ed4ee4571aacaf595db0f5b4332fa14113f3d51.
Eunki, Hong [Tue, 4 Oct 2022 09:16:00 +0000 (18:16 +0900)]
Revert "[Tizen] Calculrate screen position with RenderTask"
This reverts commit
1ccf334f119e39641dc6f7b912ea008b18ee1721.
Eunki, Hong [Tue, 4 Oct 2022 09:15:58 +0000 (18:15 +0900)]
Revert "[Tizen] Submit a empty command buffer when rendering is skipped to flush"
This reverts commit
5b9a31e2d4c86b3d5da69cd23814ee5c36dae8ae.
Eunki, Hong [Tue, 4 Oct 2022 09:15:56 +0000 (18:15 +0900)]
Revert "[Tizen] Fix Window Rotation issue"
This reverts commit
e4c2363521dceb18183bd7bcdeabe1a17d8cb78b.
Eunki, Hong [Tue, 4 Oct 2022 09:15:54 +0000 (18:15 +0900)]
Revert "[Tizen] Create ProjectionDirection property at CameraActor"
This reverts commit
d155ef0d147ba343044aeaddceef91580120b16b.
Eunki Hong [Tue, 4 Oct 2022 08:08:19 +0000 (08:08 +0000)]
Merge "[Tizen] Create ProjectionDirection property at CameraActor" into tizen
Eunki, Hong [Fri, 30 Sep 2022 07:19:58 +0000 (16:19 +0900)]
[Tizen] Create ProjectionDirection property at CameraActor
Add new property "ProjectionDirection" on CameraActor.
It determine whether current FieldOfView value base on
Vertical or Horizontal.
Default is Vertical.
Note : Current patch control only event-side FoV.
(Because FoV is not animatable)
update-side FoV use vertical FoV always.
Change-Id: I237f557af4bc03315ce5d6d6eeb25913e4fe7de4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho [Fri, 30 Sep 2022 10:30:47 +0000 (19:30 +0900)]
[Tizen] Fix Window Rotation issue
- Viewport was incorrectly computed when viewport is not fullscreen and window is rotated.
- Scissor rect was incorrectly computed when viewport is not fullscreen and window is rotated.
Change-Id: I44c64a2216f6364d2d29e0bcdd38c5e0cbc7467c
Signed-off-by: seungho <sbsh.baek@samsung.com>
Adeel Kazmi [Mon, 3 Oct 2022 16:53:55 +0000 (16:53 +0000)]
Merge "Calculrate screen position with RenderTask" into devel/master
Richard Huang [Fri, 30 Sep 2022 10:28:13 +0000 (11:28 +0100)]
DALi Version 2.1.42
Change-Id: I0f7ebbd5a33d3949c60995deb4af56c02ef20b25