David Steele [Mon, 11 Sep 2023 17:37:30 +0000 (18:37 +0100)]
Added integration api to physics
Changed locking mechanism to enable NUI ScopedAccessor
Added 2nd user data to cpBody (for our ref, as c#
ref uses 1st user data)
Change-Id: Idf3ef1a172a03cbdbf587ef8993c787e1fa7c633
Wonsik Jung [Thu, 14 Sep 2023 08:19:30 +0000 (08:19 +0000)]
Merge "Change the SENSITVE value of accessibility" into devel/master
Eunki Hong [Thu, 14 Sep 2023 08:17:02 +0000 (08:17 +0000)]
Merge "Support FastTrackUploading for YUV images" into devel/master
seungho baek [Wed, 13 Sep 2023 08:02:06 +0000 (17:02 +0900)]
Fix Shadow issue
- When Model is added after shadow is set, the model cannot used for shadow
Change-Id: Iaec0f3e389068342cef9b2769e060e69832354ee
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki, Hong [Tue, 5 Sep 2023 08:10:11 +0000 (17:10 +0900)]
Support FastTrackUploading for YUV images
Let we support YUV image case without additional image loading
or image operation.
Instead, let we think that FastTrackUploading will use
YUV format always if DALI_LOAD_IMAGE_YUV_PLANES=1.
And then, revert as standard shader if we are not use
YUV case actually.
To support this feature. let we make unified YUV + RGB shader can use
standard rgb image color for special case.
After load completed, we can determine the type of shader.
Change-Id: Ia4ffa288e705af751e722cd1440de2a014ad19b4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Sun, 3 Sep 2023 06:05:44 +0000 (15:05 +0900)]
[Scene3D] Cache image load result so models can share it.
Let we cache the PixelData and Texture so various models can use it.
We cache the model resources, and let we use them same resources.
But if some seperated models using same images, we cannot cache about it.
There are relative usecase occured + Unity support this kind of cache system,
let we also cache images + textures locally.
---
First, we can cache url --> PixelData.
This caching might occured on multi threading system. So we have to lock the mutex
when we try to access this kind of pixeldata access.
Second, we can cache PixelData --> Texture.
This caching should be occured only for main thread.
---
We support Garbage Collect system to avoid full-iterating cached resources.
During GC, we should remove Texture first, and then PixelData.
(Since PixelData can be the key of Texture.)
Currenly, we will call GC only of ModelCache reference count become 0.
Change-Id: I5e89f214593503fa9e8b2290c3859f2674ff7048
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Mon, 11 Sep 2023 16:23:35 +0000 (17:23 +0100)]
Ensure all thrid-party code is removed from coverage calculations
Change-Id: I41e6e105680f38de8369d40145895750a37e6ef4
Eunki Hong [Mon, 11 Sep 2023 10:22:26 +0000 (19:22 +0900)]
Fix coverity issue on chipmunk-physics-debug
- Uninitialized value for mDebugOptions
- Unreached code line
Change-Id: Ida0e45195346c6d5d83702f905f29ffce4dde526
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Mon, 11 Sep 2023 03:04:36 +0000 (03:04 +0000)]
Merge "Register PixelArea property only if required." into devel/master
sunghyun kim [Mon, 11 Sep 2023 00:55:26 +0000 (00:55 +0000)]
Merge "Apply fittingMode lazy when resource is not ready" into devel/master
Eunki, Hong [Fri, 8 Sep 2023 00:01:15 +0000 (09:01 +0900)]
Register PixelArea property only if required.
Since we were try to register uPixelArea property for every image-visual,
The Shader try to send PropertResetter very frequencly.
Since we only need to register that property only 1 time +
We can control pixel area by Renderer,
Let we register uPixelArea property only 1 times for creation.
And also, there was some useless uPixelArea usage on text-visual.
Let we just remove it.
Change-Id: Ib784e0088243f2a70f8556ae0dc9fa7c957b5aa2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
David Steele [Fri, 8 Sep 2023 16:43:23 +0000 (16:43 +0000)]
Merge changes I0729e532,I6b908dda,I8aad01f7 into devel/master
* changes:
Added debug renderer for Chipmunk
Changing hit test to pass in optional filter
Bug fixes for 2d physics
Richard Huang [Fri, 8 Sep 2023 09:46:15 +0000 (10:46 +0100)]
DALi Version 2.2.43
Change-Id: I929b693ee1b4ca6bd00c3355a19053ee2b2edf91
David Steele [Wed, 6 Sep 2023 15:39:35 +0000 (16:39 +0100)]
Added debug renderer for Chipmunk
Change-Id: I0729e53256aeb0af395bf76aeab32305708d5a95
David Steele [Thu, 7 Sep 2023 13:47:09 +0000 (14:47 +0100)]
Changing hit test to pass in optional filter
Change-Id: I6b908dda86596a70a001d1a2be307ce9c5f1b231
David Steele [Thu, 7 Sep 2023 14:15:46 +0000 (15:15 +0100)]
Bug fixes for 2d physics
Ensure that empty function queue doesn't cause crash
Fix the actor / physics world rotation translation (due to mirroring
the Y coords)
Changed the order of the inclusion files to ensure that a clean build
picks up the version of headers in the dali-physics/third-party folder.
Change-Id: I8aad01f7b9292e2c29642e61966daa33117d1efb
Signed-off-by: David Steele <david.steele@samsung.com>
Wonsik Jung [Fri, 28 Jul 2023 06:40:58 +0000 (15:40 +0900)]
Change the SENSITVE value of accessibility
Change the SENSITIVE value of accessibility using actor's hittable and touch required.
Change-Id: I57f58f09360149573d1682eca0435852229a5101
sunghyun kim [Fri, 18 Aug 2023 08:14:21 +0000 (17:14 +0900)]
Apply fittingMode lazy when resource is not ready
FittingMode may not work properly if ResourceReady is called later than Relayout.
to prevent this, modify to apply FittingMode late if Resource is not ready
Change-Id: Idb0c572a9aa034cea25f563ffbc256ad8eacacda
Eunki Hong [Tue, 5 Sep 2023 08:44:13 +0000 (08:44 +0000)]
Merge "Guard NPatchData removal case during signal emit" into devel/master
David Steele [Mon, 4 Sep 2023 10:53:22 +0000 (10:53 +0000)]
Merge "Fix gcc-13 build error at dali-physics" into devel/master
Eunki, Hong [Tue, 29 Aug 2023 06:52:47 +0000 (15:52 +0900)]
Guard NPatchData removal case during signal emit
It was possible that NPatchData removed during NotifyObserver.
For more safety, let we make NPatchData as shared_ptr, instead
of unique_ptr.
And also, let we don't touch observer list container during
NotifyObservers.
And also, let we remove NPatchInfo at post processing.
It will keep the life of NPatchData during NotifyObserver try to
remove the NPatchInfo.
Change-Id: Ieca33a2231df38d23966f96593506d67333cfcd0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 4 Sep 2023 01:17:24 +0000 (10:17 +0900)]
Fix svace issues for dali-physics
Change-Id: I83874fa56a4373ae6e892dedf6e61da17f0a9ceb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Sun, 3 Sep 2023 04:21:16 +0000 (13:21 +0900)]
Fix gcc-13 build error at dali-physics
Change-Id: I91e7ab81a8d983661c5cbe613e4c0a23466a030b
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Fri, 1 Sep 2023 14:02:39 +0000 (14:02 +0000)]
Merge changes I776588c1,I7292a2fb into devel/master
* changes:
Adding chipmunk implementation for physics adaptor
Adding bullet physics files
seungho baek [Fri, 1 Sep 2023 07:52:42 +0000 (16:52 +0900)]
Make subsurface texture not be enabled in dli
- dli shaders not use subsurface sampler but the texture is added to textureSet
Change-Id: I2aab8f8e91c663cdc49cdb97a6e4a3a54efc014f
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
David Steele [Fri, 1 Sep 2023 11:55:31 +0000 (11:55 +0000)]
Merge "DALi Version 2.2.42" into devel/master
David Steele [Fri, 1 Sep 2023 11:50:20 +0000 (12:50 +0100)]
DALi Version 2.2.42
Change-Id: I8fb2d0684ce7b6ed840382179372ab2346cf3379
Eunki Hong [Fri, 1 Sep 2023 01:31:33 +0000 (01:31 +0000)]
Merge "(Vector) Flush lottie update informations" into devel/master
David Steele [Tue, 22 Aug 2023 13:13:20 +0000 (14:13 +0100)]
Adding chipmunk implementation for physics adaptor
Splitting out common implementation for PhysicsWorld
and Physicsadaptor to base classes.
Split out test cases into dali-physics2d & dali-physics3d sets
Change-Id: I776588c1d4845cda450f0c95ad455097400d9a17
Signed-off-by: David Steele <david.steele@samsung.com>
David Steele [Thu, 31 Aug 2023 14:38:30 +0000 (14:38 +0000)]
Merge "Fix typo error (djikstra -> dijkstra)" into devel/master
David Steele [Thu, 31 Aug 2023 14:38:16 +0000 (14:38 +0000)]
Merge "Fix crash issue when navi-mesh seperated" into devel/master
Adeel Kazmi [Thu, 31 Aug 2023 14:30:06 +0000 (14:30 +0000)]
Merge "Optimize dijkstra path finder algorithm" into devel/master
Seungho BAEK [Thu, 31 Aug 2023 04:31:12 +0000 (04:31 +0000)]
Merge "Shadow Mapping" into devel/master
Eunki Hong [Wed, 30 Aug 2023 18:44:56 +0000 (03:44 +0900)]
Fix typo error (djikstra -> dijkstra)
Fix typo error of algorithm name
Change-Id: I888f543005ea07ff446d04ffd941325e52ed0551
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Wed, 30 Aug 2023 18:35:41 +0000 (03:35 +0900)]
Fix crash issue when navi-mesh seperated
It is possible that there is no path between navi-mesh polygons.
If then, we return empty WayPointList. And then, crashed.
To avoid that cases, let we check whether FindPath result empty.
Change-Id: Id506c50022678c442d609d219d8c9baf53b46408
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Wed, 30 Aug 2023 17:49:41 +0000 (02:49 +0900)]
Optimize dijkstra path finder algorithm
Let we use dijkstra with O(E log E) method, which is optimized.
Change-Id: Ie3afe3ff1a526e1ec6edb6b3d5817834caaf1120
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
seungho baek [Thu, 6 Jul 2023 13:00:35 +0000 (22:00 +0900)]
Shadow Mapping
- DALi will support shadow with a light.
- PCF is supported to soften shadow edge
Change-Id: Iacba477230e315a73c95ef435d33a8deeac88a3e
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Bowon Ryu [Tue, 29 Aug 2023 10:04:22 +0000 (19:04 +0900)]
Fix visual transform offset of text label
Font rendering quality is very degraded
when the visual translation y offset is a decimal value.
To prevent this issue, round the offset.
Change-Id: I9e3630f568d6b97a623e9ed32447b2980beb78a6
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
David Steele [Wed, 9 Aug 2023 17:21:38 +0000 (18:21 +0100)]
Adding bullet physics files
Created DALi version of bullet-physics-demo from
github.sec.samsung.net/dalihub/dali-physics-demo
Hidden details of ScopedAccessor
Changed how transform works
Updated debug renderer
Added test cases for PhysicsAdaptor
Added test cases for PhysicsActor
Fixed quaternion handling to work with mirrored x/y/z coord system
Change-Id: I7292a2fbf73ef82a8b5e43701489b460ea36b27d
seungho baek [Mon, 28 Aug 2023 06:47:49 +0000 (15:47 +0900)]
Extract condition function to check the animation has initial value or not
- Currently, gltf2-util.cpp uses long condition with comment to check the animation data contains initial value or not.
- The comment has been essential to understand the purpose of the condition.
- This patch extracts condition function to check it and uses proper naming instead of comment.
Change-Id: Ib2808343215b8ac6fe400911f6a50511da6cd8fb
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki Hong [Thu, 20 Jul 2023 15:49:48 +0000 (00:49 +0900)]
(Vector) Flush lottie update informations
Add flush action that we can ensure the values updated forcely.
Change-Id: I9ebd65b006e314e087148826b0e5be6842d3679b
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Fri, 25 Aug 2023 12:41:14 +0000 (13:41 +0100)]
DALi Version 2.2.41
Change-Id: I863897b241b6d668690772755066f7cef5fbe60c
Eunki, Hong [Wed, 23 Aug 2023 07:03:10 +0000 (16:03 +0900)]
Temperary increase max bone as 80
TODO : This patch is temperal fix.
We need to remove this limitation in future
Change-Id: Ibe358bc37cd5babb6d9b6fba720bd3c7c0fb94f8
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Sat, 19 Aug 2023 05:24:50 +0000 (14:24 +0900)]
Fix randomly failed UTC
Since application.SendNotification() might complete the loading
before our hard-coding process, It randomly failed.
To fix it, we remove the possible way to complete async loading complete
Change-Id: I010f3c286638e7a961dff02cb15f55fec79ad538
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
David Steele [Fri, 18 Aug 2023 12:35:31 +0000 (12:35 +0000)]
Merge "DALi Version 2.2.40" into devel/master
Adam Bialogonski [Fri, 18 Aug 2023 12:23:03 +0000 (13:23 +0100)]
DALi Version 2.2.40
Change-Id: I8d8732048a1d6912fc3127f8ae5470b58b7ab052
David Steele [Thu, 17 Aug 2023 10:34:49 +0000 (11:34 +0100)]
Updated test harness README.md
Cleaned up the readme,
Removed out of date info
Added new command line options
Change-Id: Icac4db873e94bf0ae8c60aff33052910b4ed7bc2
Signed-off-by: David Steele <david.steele@samsung.com>
Richard Huang [Mon, 14 Aug 2023 10:44:05 +0000 (11:44 +0100)]
Install missing header files in bullet
Change-Id: I20cab953a18927304d14e2648913e4613127de7c
Richard Huang [Fri, 11 Aug 2023 09:56:04 +0000 (10:56 +0100)]
DALi Version 2.2.39
Change-Id: I5ca616818b8443679f8ff34a926c071958b9f9ea
David Steele [Thu, 10 Aug 2023 11:05:29 +0000 (11:05 +0000)]
Merge "Allow worker thread trace + Trace during image works" into devel/master
Eunki Hong [Thu, 10 Aug 2023 07:41:22 +0000 (16:41 +0900)]
Allow npatch image load remote url
Since we don't need to ignore remote npatch image, let we remove
url validation check code.
(And, also that code doesn't show broken image)
Change-Id: I37900863f64a68abb66f6c8a7fd3e21719896ba7
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Wed, 9 Aug 2023 13:09:34 +0000 (22:09 +0900)]
Allow worker thread trace + Trace during image works
Let we add trace marker during image load & apply masking.
It will be helpful when we detect performance bottleneck.
Change-Id: I3c629a6b018cdb6bb5e700a8809557e8475fd1cf
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Wed, 9 Aug 2023 12:50:02 +0000 (21:50 +0900)]
Add missing include for perf logging in gcc-13
Fix gcc-13 compile error
Change-Id: Ib8e937dac2198e15335b8773aba1781a1695b90b
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Bowon Ryu [Wed, 9 Aug 2023 01:16:18 +0000 (01:16 +0000)]
Merge "Add trace log to check performance of text update" into devel/master
David Steele [Tue, 8 Aug 2023 10:42:56 +0000 (11:42 +0100)]
Fixed bullet include paths
Change-Id: Ifca854435c2f05a61e755da656da6ee6271d0b5e
Bowon Ryu [Thu, 3 Aug 2023 05:50:05 +0000 (14:50 +0900)]
Add trace log to check performance of text update
Change-Id: I054f862085208b58f9a5137abccc8f9a1465513c
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki, Hong [Mon, 7 Aug 2023 02:16:45 +0000 (11:16 +0900)]
(SVG) Do not cancel loading task even scene off
Since we request loading task at OnInitialize side,
and we don't re-request loading task even if it scene on,
We should not remove mLoadingTask at SceneOff case.
Change-Id: I26708af92d9dadbd902f225a9d3b26cb9d152292
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Fri, 4 Aug 2023 16:16:57 +0000 (16:16 +0000)]
Merge "Changes in Particle System for NUI" into devel/master
David Steele [Fri, 4 Aug 2023 13:43:08 +0000 (13:43 +0000)]
Merge "DALi Version 2.2.38" into devel/master
David Steele [Fri, 4 Aug 2023 12:43:23 +0000 (13:43 +0100)]
DALi Version 2.2.38
Change-Id: Ic9b55f1b7c8fab3817c497f9103f4bf6333ebfab
Eunki, Hong [Wed, 12 Jul 2023 07:01:56 +0000 (16:01 +0900)]
FastTrackUpload task implement
Let we make another loaderTask for upload texture at work thread.
It will use TextureUploadManager.
Change-Id: Ibc3e19aad3e1a20f3a553b4cf394b315de66980f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Adam Bialogonski [Thu, 3 Aug 2023 12:57:55 +0000 (13:57 +0100)]
Changes in Particle System for NUI
Change-Id: I89c5e40dc7cb8afa6afa0f4845e0d3e5f3a10a1d
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
Bowon Ryu [Tue, 1 Aug 2023 04:15:54 +0000 (04:15 +0000)]
Merge "Apply new clipboard to text component" into devel/master
Eunki Hong [Mon, 31 Jul 2023 01:21:56 +0000 (01:21 +0000)]
Merge "Change MotionData's AsyncLoad UTC" into devel/master
Adeel Kazmi [Fri, 28 Jul 2023 13:58:05 +0000 (13:58 +0000)]
Merge "DALi Version 2.2.37" into devel/master
Adeel Kazmi [Fri, 28 Jul 2023 13:51:58 +0000 (14:51 +0100)]
DALi Version 2.2.37
Change-Id: I933c2cd2dfb8f39e7ac32bd049995142db052976
Eunki Hong [Fri, 28 Jul 2023 11:08:43 +0000 (11:08 +0000)]
Merge "Remove Texture in AsyncLoadComplete()" into devel/master
Adeel Kazmi [Fri, 28 Jul 2023 10:34:34 +0000 (10:34 +0000)]
Merge "Make sure symbols are visible externally for bullet and chipmunk" into devel/master
sunghyun kim [Fri, 28 Jul 2023 08:31:58 +0000 (17:31 +0900)]
Remove Texture in AsyncLoadComplete()
In AsyncLoadComplete(), texture need to remove.
Change-Id: I723bb1c88c36b91850750225ce715db44d2b96a6
Eunki, Hong [Fri, 28 Jul 2023 05:22:48 +0000 (14:22 +0900)]
Change MotionData's AsyncLoad UTC
Since we change to trigger eventfd even if task canceled
during running, UTC implements should be changed.
Change-Id: If63e2f03ff90db23a3226d69dc1bde4fb3352997
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Richard Huang [Mon, 24 Jul 2023 17:06:33 +0000 (18:06 +0100)]
Make sure symbols are visible externally for bullet and chipmunk
Change-Id: Ic5b873d5013480707126dcf8698032e51cbb52d7
sunghyun kim [Fri, 19 May 2023 07:44:14 +0000 (16:44 +0900)]
Add property for disable broken image
add property for disable broken image.
it is for placeholder image visual
Change-Id: I3c2609aed11a5e880207b616243c2b110815d71b
Eunki, Hong [Thu, 27 Jul 2023 00:30:56 +0000 (09:30 +0900)]
Fix svace issue (bad copy and paste)
Change-Id: Ic6830753d264ab3932b6375342a9cc2c639f47bd
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Wed, 26 Jul 2023 06:18:53 +0000 (15:18 +0900)]
Make load failed for invalid bvh format
Let we exist bvh parsing when it have some invalid informations.
Change-Id: I82f090b6207911ef9c49cbbbba8123c6cdeb46ab
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Richard Huang [Mon, 24 Jul 2023 11:30:55 +0000 (12:30 +0100)]
Fix 64-bit build for DALi physics
Change-Id: Ib0b1d1f9fa87af119af45f7b4132f268a5235425
Eunki, Hong [Thu, 20 Jul 2023 10:49:46 +0000 (19:49 +0900)]
Make difference action id between Play and Reload
Since ImageVisual's RELOAD and AnimatedImageVisual's PLAY has same action id,
1. We cannot reload AnimatedImage
2. If we call DoAction PLAY into ImageView, the behavior will be seperated
by the 'type' of image.
To avoid this case, let we make AnimateImageVisual inheriet ImageVisual's action id.
More over, let we make AnimateImageVisual and AnimatedVectorImageVisual share the
same action id s.t. have the same role.
Change-Id: I20745c0cd908fa0cea909ba74cfb9ce68953ba8e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Richard Huang [Thu, 13 Jul 2023 16:56:38 +0000 (17:56 +0100)]
Add Bullet and Chipmunk to dali-toolkit
Change-Id: Ia7d8c33a6bca2b8eff7ada8f441630be51034d75
Adam Bialogonski [Fri, 21 Jul 2023 09:42:25 +0000 (10:42 +0100)]
DALi Version 2.2.36
Change-Id: I08da320cdf8ab67a0289e3816cd0034e88a6e6df
Bowon Ryu [Fri, 30 Jun 2023 02:03:14 +0000 (11:03 +0900)]
Apply new clipboard to text component
and remove legacy text clipboard
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/294862/
Change-Id: I13f25936c230afe97185796c3b366ef8fca229d6
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki, Hong [Tue, 18 Jul 2023 05:29:39 +0000 (14:29 +0900)]
Fix coverity issues (uint32_t overflow + size_t to int32_t)
Change-Id: I51fb4a98a5cdb4f93cf3939ede02d576cff2bc36
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Heeyong Song [Tue, 18 Jul 2023 05:13:29 +0000 (05:13 +0000)]
Merge "Fix coverity issue" into devel/master
jmm [Fri, 14 Jul 2023 09:02:44 +0000 (18:02 +0900)]
Remove external resources lazy.
Since we don't increase & decrease the reference count of ExternalResources during
LoadTexture() API, It can be happened that some TextureId validation failed.
For example of dali://2,
ImageUrl::New() // refcount : 1
ImageVisual::Initialize() // refcount : 2
~ImageVisual
- RemoveExternalTexture("dali://2"); // refcount : 1
- RequestRemove(2) // still refcount : 1
~ImageUrl // now, refcount : 0
ImageVisual()
LoadTexture() //< New generated texture will use TextureId as 2, with refcount 1
== Process() ==
Remove(2) // Now, TextureId 2's refcount is 0! load cancel.
This patch make we only remove normal texture cache, instead of ExternalResource
Change-Id: Ia735770a02c231fa79af40a1e5926aab11358b71
Signed-off-by: jmm <j0064423.lee@samsung.com>
Richard Huang [Fri, 14 Jul 2023 11:35:48 +0000 (12:35 +0100)]
DALi Version 2.2.35
Change-Id: I9a69b415abd9fa45345a3a65354b489624251db0
Heeyong Song [Fri, 14 Jul 2023 09:29:41 +0000 (18:29 +0900)]
Fix coverity issue
Change-Id: I162997b9d8841fe11d85545b87c63fbfbfce9ca7
Heeyong Song [Thu, 13 Jul 2023 07:49:31 +0000 (16:49 +0900)]
(Vector) Fix invalid callback issue
Do not execute a callback with lock
Reset callback pointers after removing
Change-Id: I1f617af4ee89e43c8ab891efbd0beaea14feaea1
Eunki Hong [Thu, 13 Jul 2023 00:07:14 +0000 (00:07 +0000)]
Merge "Fix more compile error/warnings for gcc-13" into devel/master
Seungho Baek [Tue, 11 Jul 2023 09:20:35 +0000 (18:20 +0900)]
Change some precision of shader variables to highp
- There are some visual artifact to render 3D object in case of adding Directional Light.
- Some variable's precision is too low.
- This patch changes minimum number of variable's precision to highp
Change-Id: I0ff1c30bb3f0eb837434f0dc61d2a461383dfbd2
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
Adeel Kazmi [Mon, 10 Jul 2023 16:05:31 +0000 (17:05 +0100)]
Fix SVACE error in scene-definition.cpp
Change-Id: Ia8eab4a10711d0d18221a5212b799dbd7adfb7d5
Seungho BAEK [Mon, 10 Jul 2023 01:15:12 +0000 (01:15 +0000)]
Merge "Apply Light using Shader Manager" into devel/master
Eunki Hong [Fri, 7 Jul 2023 00:13:59 +0000 (09:13 +0900)]
Fix more compile error/warnings for gcc-13
Change-Id: Iee4002a0e2007daf281400ec07a3ffc776e46468
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
David Steele [Fri, 7 Jul 2023 11:13:55 +0000 (11:13 +0000)]
Merge "DALi Version 2.2.34" into devel/master
David Steele [Fri, 7 Jul 2023 11:00:59 +0000 (12:00 +0100)]
DALi Version 2.2.34
Change-Id: I4ec226a069b349124b148b771aa292c7ab1b96cc
seungho baek [Wed, 28 Jun 2023 13:23:07 +0000 (22:23 +0900)]
Apply Light using Shader Manager
Change-Id: I007842c1e6e1c46dc680acbb1306c70d1defb148
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki Hong [Fri, 7 Jul 2023 08:13:32 +0000 (08:13 +0000)]
Merge "Fix comments for MotionData" into devel/master
Seungho BAEK [Fri, 7 Jul 2023 06:15:39 +0000 (06:15 +0000)]
Merge "Makes Models use common shader manager" into devel/master
David Steele [Thu, 6 Jul 2023 16:19:17 +0000 (16:19 +0000)]
Merge "Updated FrameCallback to return value to specify whether we should keep rendering" into devel/master
Richard [Thu, 6 Jul 2023 09:41:37 +0000 (10:41 +0100)]
Updated FrameCallback to return value to specify whether we should keep rendering
Change-Id: I687adaaa23cf5a211a64e74585ae3075824baa75
seungho baek [Mon, 19 Jun 2023 13:43:00 +0000 (22:43 +0900)]
Makes Models use common shader manager
- In Scene3D, the responsibility for modifying the shader code or setting the shader's uniform variables was scattered across many classes.
- When a uniform variable is added or the name of a uniform variable is changed in the shader code, there was a problem of repeating the same modification in multiple codes.
- In this patch, one class is responsible for creating or managing Shader code, and the class name is changed to ShaderManager.
- And by using one ShaderManager per SceneView, it is easy to manage properties that should be applied in common within SceneView.
- Although there is no difference in use in terms of Model/SceneView API, it is helpful for code management, and performance can be improved when many Renderers share a small number of Shaders.
Change-Id: I0975921a1a7e40c453156cf9bd0b1890fc8e6526
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki Hong [Thu, 6 Jul 2023 06:13:35 +0000 (06:13 +0000)]
Merge "Make CreateSolidColorTexture upload pixel data" into devel/master
Eunki Hong [Wed, 5 Jul 2023 15:58:19 +0000 (00:58 +0900)]
Fix comments for MotionData
Change-Id: I87b9e98de2a5ef690d85029996bbafdad7a9c554
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>