Adeel Kazmi [Fri, 17 May 2024 15:12:04 +0000 (16:12 +0100)]
Updated the spec file so that it builds for tizen
Change-Id: I5012e7a454df2d1e8e93dd28a62edebf83ed03bd
David Steele [Thu, 9 May 2024 17:27:42 +0000 (18:27 +0100)]
Fixing modern doxygen warnings
David Steele [Thu, 9 May 2024 16:16:42 +0000 (17:16 +0100)]
Updating dali-env to work with latest ubuntu
David Steele [Thu, 9 May 2024 14:58:10 +0000 (15:58 +0100)]
Changing API level back to 1
David Steele [Mon, 19 Feb 2024 19:04:23 +0000 (19:04 +0000)]
Migrated build system to modern cmake
David Steele [Fri, 16 Feb 2024 10:19:00 +0000 (10:19 +0000)]
Updates for modern compiler
David Steele [Tue, 29 Jun 2021 15:26:02 +0000 (16:26 +0100)]
Updates for doxygen, remove unused crap
David Steele [Tue, 26 Feb 2019 17:38:19 +0000 (17:38 +0000)]
Upgraded dali test framework to support Graphics API
Stubbed all of the graphics API within the test framework.
Commented out all tests that required GL Abstraction to pass (149 tests)
3 broad categories of tests: checking uniform values, checking texture ids and checking draw calls.
Modified Test::TraceCallStack class to remove stringified data. Now uses a map for parameters using a
string key (parameter name) and Dali::Any to store the value with type. However, there is no == operator
in Dali::Any; consequently needed to write type specific AnyEquals. Have added a number of basic types,
expect there will be a need to add more types as tracing added to more objects.
For enums and enum classes, I think casting to int should be enough for the moment.
If a type is used that isn't handled, the test case will fail; a comment in AnyEquals should direct
one to check types.
Added tracing to each object - draw calls can then be tested from GraphicsRenderCommand; handles
can be tested from GraphicsTexture.
Modified UtcDaliActorSetDrawModeOverlayRender test case to figure out texture binding order with new test APIs.
Shader stub automatically has 2 texture samplers by default.
It's not quickly feasible to test writing to uniforms, as we now use introspection via Shader API to
enable DALi code to write to Uniform Buffer. (There is a possible mechanism - would require some
thought, but could automatically calculate and store offsets for uniform names as the introspection
code is called; these offsets would be used within the uniform buffer; the test system currently
allocates memory for the buffers, also need to work out the initial offset into the buffer where
each render command is writing uniforms)
Change-Id: I406b32888d1af9aece0b0501e7a0d05541df838c
Signed-off-by: David Steele <david.steele@samsung.com>
adam.b [Mon, 15 Apr 2019 14:49:20 +0000 (15:49 +0100)]
Fixes background color
Background color on the default render task is set by the Scene now
Change-Id: I483defdbee64f6accf04118e3ae748b3e72e121f
adam.b [Mon, 15 Apr 2019 13:38:44 +0000 (14:38 +0100)]
Separate reflection for DALi default uniforms
Writing the default uniforms could be time consuming due to reflection lookup.
The change brings the optimized default uniforms reflection lookup.
Change-Id: I610310e3d6c1c6407fe4a1586aa5845f18869977
adam.b [Thu, 18 Apr 2019 10:58:18 +0000 (11:58 +0100)]
Merge branch 'devel/master' into devel/vulkan
Change-Id: I67e2a12b93e10f46caa635d417cf5a5d4558e19c
Agnelo Vaz [Thu, 18 Apr 2019 10:19:36 +0000 (11:19 +0100)]
DALi Version 1.4.16
Change-Id: I597ddc60b42a24640e346893c99bc75306918a5e
Adeel Kazmi [Mon, 15 Apr 2019 09:15:06 +0000 (10:15 +0100)]
(Build) Ensure Env options are expanded correctly
If CXXFLAGS was not set then it expanded to nothing causing an error.
The solution was to surround it by quotes so that it is evaluated
correctly within the if statement.
Change-Id: I410a0fe13882f13b4ad84e4f68db4a46dcb93037
Seungho, Baek [Mon, 18 Mar 2019 06:11:08 +0000 (15:11 +0900)]
Remove DALI_GLES_VERSION compile option
- Remove compile option DALI_GLES_VERSION
- Define whether the texture format is converted in the dali-adaptor
Change-Id: I9919fd4adf03e554e1d72b6bdf6d1a50ca43ea77
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
Adeel Kazmi [Fri, 12 Apr 2019 10:48:32 +0000 (11:48 +0100)]
DALi Version 1.4.15
Change-Id: Ic2eb6898cc622b3f703acfe32cf6a824c219b34d
David Steele [Thu, 11 Apr 2019 17:08:37 +0000 (17:08 +0000)]
Merge "Get coverage working for the cmake build" into devel/master
adam.b [Thu, 11 Apr 2019 17:01:34 +0000 (18:01 +0100)]
Merge branch 'devel/master' into devel/vulkan
Change-Id: I27e5cb5ef1a39cef0a4a7ed5e527eab1ad54881d
Adeel Kazmi [Wed, 10 Apr 2019 18:33:11 +0000 (19:33 +0100)]
Get coverage working for the cmake build
Change-Id: Icab8bf64fae2beafbb97bcb50824d29afd01e981
Adeel Kazmi [Thu, 11 Apr 2019 11:37:34 +0000 (11:37 +0000)]
Merge "Temporarily disable viewport caching in GL context" into devel/master
Adeel Kazmi [Tue, 9 Apr 2019 15:35:58 +0000 (16:35 +0100)]
Fixed Cmake build
- Added all the files that need to be built & installed
- Ensure an empty string is not printed out in a release build if
nothing specified
- Ensure dali-core.pc is generated properly by setting the include and
lib dir variables
- Ensure ENABLE_COVERAGE and ENABLE_DEBUG vars are turned out when other
factors switch them on
Change-Id: Ibc41fbde699e4432bca5fa613e8b3c377d1a6bb7
Yevhen Kyriukha [Sun, 11 Nov 2018 15:09:15 +0000 (17:09 +0200)]
Add missing source file entry to CMakeLists
Change-Id: I6dbbe627661d036df6bba11c6f8ecbd7d5648dc6
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
adam.b [Fri, 5 Apr 2019 10:50:24 +0000 (11:50 +0100)]
DALi Version 1.4.14
Change-Id: I400c193938d33098fd8adef9099fdd75883e0a76
Richard Huang [Fri, 5 Apr 2019 09:43:56 +0000 (10:43 +0100)]
Temporarily disable viewport caching in GL context
Change-Id: I5d6bdf82d3cea8c6e40f5b62c7d263b49f2ae86b
Victor Cebollada [Fri, 29 Mar 2019 07:06:53 +0000 (07:06 +0000)]
DALi Version 1.4.13
Change-Id: I50ed758a9517bca7ad063d7621df2797cdbd6c39
adun [Fri, 1 Feb 2019 09:43:23 +0000 (17:43 +0800)]
Use correct macro in Stage & fix wild pointer issue in RenderTaskList
Change-Id: I60e17c9cc8d1e0e1882db36bb2454e02a2a5eafd
Richard Huang [Fri, 22 Mar 2019 10:45:34 +0000 (10:45 +0000)]
DALi Version 1.4.12
Change-Id: I38e1890a155faf51af101cb0fc415605a7a1adad
Adeel Kazmi [Fri, 15 Mar 2019 14:35:37 +0000 (14:35 +0000)]
Merge "Revert "Remove dependency of OpenGL es version."" into devel/master
Richard Huang [Fri, 15 Mar 2019 14:01:26 +0000 (14:01 +0000)]
Revert "Remove dependency of OpenGL es version."
This reverts commit
9d38b085d8a186cc7980a6f854492591353ddfe5.
Change-Id: Iec561d896c2f731912b66934225153bdf2fec076
György Straub [Fri, 15 Mar 2019 09:39:16 +0000 (09:39 +0000)]
DALi Version 1.4.11
Change-Id: I00cc62f24e62b073e16bf31d234e65f109f72389
Seungho, Baek [Fri, 22 Feb 2019 02:09:39 +0000 (11:09 +0900)]
Remove dependency of OpenGL es version.
- Remove compile option DALI_GLES_VERSION
- Define texture format converting in the dali-adaptor
Change-Id: Ib6805783b718c5796341ce77a5346f7178c0705b
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
Anton Obzhirov [Fri, 30 Nov 2018 17:44:15 +0000 (17:44 +0000)]
Add event handling support for multiple windows.
Add all basic event handling for multiple windows.
Event gestures are partially supported for now.
Change-Id: I2c2d81b0e0eb25c0d8619afd94b5aa8784b0db8a
Daniel McEwen [Fri, 8 Mar 2019 11:29:13 +0000 (11:29 +0000)]
DALi Version 1.4.10
Change-Id: Iea8c46a953ab7196bd2ab04e16f381f2a6e05eef
Anton Obzhirov [Thu, 7 Mar 2019 11:08:23 +0000 (11:08 +0000)]
Remove HitTest Devel API for RenderTask.
Change-Id: Ibfb7504a1b99986033165a86a0b502a6893ced23
adam.b [Thu, 21 Feb 2019 18:23:50 +0000 (18:23 +0000)]
Linear tiling support for parallel texture upload
Parallel upload of textures with linear tiling:
- Added API::TextureTiling enum ( optimal, linear )
- Added direct memory copy functionality for linear tiled textures
- Parallelized direct memory copying
Change-Id: I36385ae1f9939808720e1c380143d715b15faf22
Signed-off-by: adam.b <adam.b@samsung.com>
adam.b [Fri, 1 Mar 2019 14:04:44 +0000 (14:04 +0000)]
Pipeline compilation in parallel
Pipelines are compiled with use of thread pool
Change-Id: I70d7dfd6b3735a740e81136bef108b5c37e27dda
Signed-off-by: adam.b <adam.b@samsung.com>
adam.b [Fri, 1 Mar 2019 13:59:38 +0000 (13:59 +0000)]
Parallel texture upload
Changes:
- Static default staging buffer of configurable size (DALI_DEFAULT_STAGING_BUFFER_SIZE_MB)
- Per batch of textures, single staging buffer is allocated
- The staging buffer is deleted after uploading to the GPU
- Processing uploads parallel with the scenegraph update ( but fence before PrepareRenderers() ) ( optional )
- Parallel write into the staging buffer ( optional )
- Deferred texture initialization until upload takes place ( unless it's a texture bound as a framebuffer ).
- New environmental variables:
DALI_DISABLE_PARALLEL_TEXTURE_UPLOAD - disables delegating texture upload to the worker thread. Parallel upload is ENABLED by default
DALI_DISABLE_SINGLE_STAGING_BUFFER - disables use of single staging buffer for batch of textures. It uses individual staging buffers per texture. Use of single staging buffer is ENABLED by default.
DALI_DEFAULT_STAGING_BUFFER_SIZE_MB - size of default static staging buffer which is created earlier and reused, if size is 0 then there is no staging buffer pre-initialised and staging buffer is allocated lazily.
Change-Id: I9c3a64c8e4d9ddebeb0f4c40fb3f48e7576f2701
Signed-off-by: adam.b <adam.b@samsung.com>
adam.b [Tue, 19 Feb 2019 12:53:57 +0000 (12:53 +0000)]
Added TextureBindingState to the RenderCommand
In order to use an immutable sampler within Pipeline,
the RenderCommand can accept the texture binding state.
Change-Id: Ie5d9c8ce31d6350ce4d2934c318d53cbccf273ec
adam.b [Tue, 5 Mar 2019 16:22:59 +0000 (16:22 +0000)]
Added native texture as a separate class in Vulkan backend
Core side of the patch
Change-Id: Iab24386fdea28c72b0787bb0622b4fc9a7ad3376
adam.b [Mon, 4 Mar 2019 16:46:09 +0000 (16:46 +0000)]
Thread pool moved to DALi devel-api
Change-Id: Ic8b6b59fe58b3678693cc84414b43d596c7debd5
greynaga [Fri, 1 Mar 2019 14:34:31 +0000 (14:34 +0000)]
DALi Version 1.4.9
Change-Id: I9f8ccc7cb2aa42a3f06fe040f24e7791056a4567
junqing.ma [Thu, 31 Jan 2019 07:55:40 +0000 (15:55 +0800)]
add Convert from TouchEvent to TouchData
Change-Id: I2a75db549b506c502eb622702459f892f2880c82
David Steele [Fri, 22 Feb 2019 16:22:47 +0000 (16:22 +0000)]
Merge "Support multiple window rendering" into devel/master
David Steele [Fri, 22 Feb 2019 14:31:56 +0000 (14:31 +0000)]
DALi Version 1.4.8
Change-Id: Id405aed8745e90a02393d7fd0c538524c067e4aa
Richard Huang [Tue, 27 Nov 2018 15:16:38 +0000 (15:16 +0000)]
Support multiple window rendering
Multiple windows support is added to Core with new Scene API.
It also removed the top margin from the Stage as system overlay is already removed.
Change-Id: If6b42be996cf884be6da00c41456155a881fc554
Joogab Yun [Fri, 18 Jan 2019 09:17:00 +0000 (18:17 +0900)]
Add cairo
Change-Id: I6674f228209e4824b5ad598f47cddabc86034382
Adeel Kazmi [Thu, 14 Feb 2019 15:04:34 +0000 (15:04 +0000)]
Merge "Remove SystemOverlay." into devel/master
Anton Obzhirov [Thu, 14 Feb 2019 14:07:08 +0000 (14:07 +0000)]
DALi Version 1.4.7
Change-Id: I52d531a1520fa5461ec11ff10f6baa8c011d5cbc
Anton Obzhirov [Wed, 13 Feb 2019 16:24:30 +0000 (16:24 +0000)]
Remove SystemOverlay.
Change-Id: If4b9ad894ba0da12b7b267f9f0fb9a5b5af3f373
Seoyeon Kim [Fri, 8 Feb 2019 07:09:10 +0000 (16:09 +0900)]
Fix SINCE and DEPRECATED versions to be included in Tizen 5.5
- Some APIs are added or deprecated without Tizen ACR process.
To be included in Tizen platform, fixed ALIASES tags for Tizen 5.5
Change-Id: I3e1993e6f1bf2e5468a2d3d93ba757019827c81d
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Adeel Kazmi [Fri, 8 Feb 2019 12:21:33 +0000 (12:21 +0000)]
Merge "Separating Processor Interface from core.h" into devel/master
Agnelo Vaz [Fri, 8 Feb 2019 12:14:50 +0000 (12:14 +0000)]
DALi Version 1.4.6
Change-Id: Ibbd3eb49b378e5695222041d42d6be960fd15a06
Agnelo Vaz [Thu, 7 Feb 2019 11:02:54 +0000 (11:02 +0000)]
Separating Processor Interface from core.h
Change-Id: I3adac9125078542b76e791148af1a72b47281dd0
David Steele [Thu, 7 Feb 2019 16:05:00 +0000 (16:05 +0000)]
Merge branch 'devel/master' into devel/vulkan
Change-Id: Iad7e59c0105d9135f4ccd12b4a29de139726ffa5
Adeel Kazmi [Thu, 7 Feb 2019 14:41:53 +0000 (14:41 +0000)]
Merge "Add descriptions to generate doxygen page" into devel/master
Adeel Kazmi [Mon, 4 Feb 2019 15:24:30 +0000 (15:24 +0000)]
Ensure visibility of std namespace symbols are hidden with later versions of GCC
Change-Id: If18e4e8c4244ddb5261e2a7190327b5129578b87
Adeel Kazmi [Fri, 1 Feb 2019 11:57:25 +0000 (11:57 +0000)]
DALi Version 1.4.5
Change-Id: I52b03abf1a6a3202ec81f87946e43be3441337e1
David Steele [Wed, 23 Jan 2019 16:10:12 +0000 (16:10 +0000)]
Removed Integration::GraphicsInterface
Core was only using it to get the Graphics::Controller.
Have modified Core interface to take a ref to the controller instead of the interface,
and am using Controller everywhere instead of Graphics interface.
Tidied up the API slightly.
Change-Id: I6c693811959f8542601708aa0d51a2642031e13a
Adeel Kazmi [Fri, 25 Jan 2019 15:17:32 +0000 (15:17 +0000)]
(CodingGuidelines) Added a chapter about inheritance
Change-Id: Iace7cdc9b113dc09749c807d124dbd40966f3b16
Seoyeon Kim [Fri, 25 Jan 2019 02:28:05 +0000 (11:28 +0900)]
Add descriptions to generate doxygen page
Change-Id: Ie74614771d548068c934d9eb34d24c1cd3f4a983
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
adam.b [Fri, 25 Jan 2019 12:20:05 +0000 (12:20 +0000)]
DALi Version 1.4.4
Change-Id: I79c2eadc6615dde4020cd9d3b0094b5dba74a367
David Steele [Wed, 23 Jan 2019 13:27:24 +0000 (13:27 +0000)]
Minor updates to Graphics API and documentation
Change-Id: I9cc127dfa04c18311803d1a2fe2762c01aff0d61
Heeyong Song [Fri, 18 Jan 2019 05:01:30 +0000 (14:01 +0900)]
Add RENDERING_BEHAVIOR property to Renderer
Change-Id: Ie4775bf4ca31453bcff399b434e5a0d42d7fbeb3
Victor Cebollada [Fri, 18 Jan 2019 10:44:02 +0000 (10:44 +0000)]
DALi Version 1.4.3
Change-Id: I73afbb7857c50fff11a87cfdfd8784fab85cbc3f
Seoyeon Kim [Tue, 15 Jan 2019 10:42:50 +0000 (19:42 +0900)]
Restore the deprecated property of Actor
- One former patch removed some deprecated APIs
including a property, "POSITION_INHERITANCE".
- But, to keep binary compatibility, the table of Property and the number of properties
should be same, even though the properties can be removed.
- Instead, Property name changes to RESERVED_PROPERTY_01, not to be used in an application
Change-Id: I6d855df42e2d74756f2819ae507e3b637595c796
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Seoyeon Kim [Mon, 14 Jan 2019 05:13:31 +0000 (05:13 +0000)]
Merge "Add the logical key to Integration::KeyEvent" into devel/master
Richard Huang [Fri, 11 Jan 2019 12:38:46 +0000 (12:38 +0000)]
DALi Version 1.4.2
Change-Id: I6003c4e5965281826340f4e2e434e30a900d4166
Adeel Kazmi [Wed, 9 Jan 2019 11:34:31 +0000 (11:34 +0000)]
(FrameBuffer) Add Attachment enum boolean operator to allow it being used as a bool expression
Fixes an SVACE error as well.
Change-Id: Icfb3a970753b2a558854176e24580a222e8d6e2c
Sunghyun kim [Wed, 9 Jan 2019 02:09:54 +0000 (11:09 +0900)]
Fix typo in math-util.h
Change-Id: I382877543dc0ddfb8a29c2b653f028005bf2cdc0
David Steele [Tue, 8 Jan 2019 18:55:59 +0000 (18:55 +0000)]
Removed unnecessary graphics utility headers
Change-Id: I64842b927942e877057fd976f0a74987373ca9fa
David Steele [Mon, 7 Jan 2019 15:01:02 +0000 (15:01 +0000)]
Changed Dali::Graphics::API namespace to Dali::Graphics
Removed "API" from namespace, as it conflicts in adaptor build with tizen
headers which define the token API for managing symbol tables.
It also makes it consistent with other public namespaces, which also don't use
the term "API".
Change-Id: I5f74f047d83b29369b93c854427ba7799c235b21
Signed-off-by: David Steele <david.steele@samsung.com>
David Steele [Fri, 4 Jan 2019 17:39:37 +0000 (17:39 +0000)]
DALi Version 1.4.1
Change-Id: Ifda8951858c3e5dbfb2f3fc09835d56b4348a07e
David Steele [Wed, 2 Jan 2019 19:40:59 +0000 (19:40 +0000)]
Moving graphics backend implementation to dali-adaptor
Changed integration class from Graphics to GraphicsInterface
Keeping graphics-api as a top-level include directory, though it better fits in integration-api
Added basic test harness stubs for graphics API due to linker test requirements.
Note, some graphics-api structs have debug only attributes - be careful of structs changing size!
Have moved them to the end of the structure to prevent size changes affecting base attributes
(the debug attributes would still be overwritten by deriving class's vtable/attrs if debug was enabled
in one file and disabled in another file)
Change-Id: I779f63d839de8616baf549d68a7ac5235e26b5d5
Signed-off-by: David Steele <david.steele@samsung.com>
David Steele [Wed, 2 Jan 2019 14:20:57 +0000 (14:20 +0000)]
Remove debug code
Change-Id: I6a6276472441931afd3e5db8132038790a46b271
Seoyeon Kim [Tue, 18 Dec 2018 06:50:45 +0000 (15:50 +0900)]
Remove deprecated APIs in Tizen 3.0
- Except several APIs related to TouchEvent,
removed deprecated APIs in Tizen 3.0
(~ DALi Version 1.1.45)
Change-Id: I4b87a0bbea1b543fcd84397a9fd675cdf010d4a6
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
György Straub [Fri, 21 Dec 2018 10:22:01 +0000 (10:22 +0000)]
DALi Version 1.4.0
Change-Id: I8fbe3a8f1332e606aee9563cccd798f5db1691a2
Adeel Kazmi [Thu, 20 Dec 2018 11:23:25 +0000 (11:23 +0000)]
Change version of new FrameBuffer APIs
Change-Id: I196c5a4e30e31a3240575337ef56ab47beb1fdb5
David Steele [Wed, 19 Dec 2018 17:24:41 +0000 (17:24 +0000)]
Ensure that a re-draw happens immediately after resuming.
Change-Id: I3e763e3c45e616fdda25c0d0fb0f7638d9530c11
Signed-off-by: David Steele <david.steele@samsung.com>
Adeel Kazmi [Tue, 18 Dec 2018 16:18:50 +0000 (16:18 +0000)]
Updates required to build on 18.04
- Undef SIZE_WIDTH in actor.h as it's used in stdint.h
- Add more packages that are required
- Additionally, ensured gtest is only installed if required
Change-Id: Ibc89c1456a7c4fb34262f1aed254636a1c2c504d
adam.b [Wed, 12 Dec 2018 02:40:30 +0000 (11:40 +0900)]
Fixes in vulkan queues handling
- Queue wrapper objects ( Vulkan::Queue ) are not duplicated anymore
- The access to the queue via Submit() or WaitIdle() is guarded with a mutex to protect the queue when accessing it from multiple threads ( ie. during resource transfers ).
- Improves overall stability
Signed-off-by: adam.b <adam.b@samsung.com>
Change-Id: I4a1e0880cf5516721d924e09d3b11816c6e494fd
Daekwang Ryu [Tue, 11 Dec 2018 02:56:37 +0000 (11:56 +0900)]
Add Renderdoc layer and env variable
If you want to use Renderdoc capture,
turn on env value
ENABLE_VULKAN_RENDERDOC_CAPTURE=1
If you set the variable, other layers are turned off.
Change-Id: If3046cecf5c18ddd9a8d7ba180c2e71aab42441c
David Steele [Thu, 13 Dec 2018 02:05:42 +0000 (11:05 +0900)]
Add device extension to list for external image
Change-Id: Ic8b23aa9200a510453ea8eec7c58dee805dae7fb
David Steele [Mon, 10 Dec 2018 11:13:12 +0000 (20:13 +0900)]
Changed node / renderer aging of uniform maps
Change-Id: Ie921fe077359b8887c6bc4bd33789ccc6459fbab
Signed-off-by: David Steele <david.steele@samsung.com>
adam.b [Fri, 7 Dec 2018 06:47:35 +0000 (15:47 +0900)]
Crash issue fix - using invalid command buffers
When number of render passes first increased and then, in the next frame, decreased the container of the command buffers was not resized. As result, invalid command buffers were submitted to the queue.
Signed-off-by: adam.b <adam.b@samsung.com>
Change-Id: I53404a3f840d9fab259b58f1aed913a5bd00698a
Wonsik Jung [Fri, 7 Dec 2018 04:34:36 +0000 (13:34 +0900)]
Add flag to disable ext memory feature
Add flag to disable ext memroy feature that is used for Native Image.
It is for working validation layer and RenderDoc
Change-Id: I1adc0a0f9c834f64207b53682c087e6a4a785225
adam.b [Wed, 5 Dec 2018 05:44:02 +0000 (14:44 +0900)]
ASAN issue fix - accessing invalid iterator
In ResolveFreeDescriptorSets() after reaching end of free list, the
end iterator was dereferenced.
Signed-off-by: adam.b <adam.b@samsung.com>
Change-Id: Ifd8272438f88367cbfbca018f64e3e91e1b0c9d5
adam.b [Wed, 5 Dec 2018 10:57:43 +0000 (19:57 +0900)]
Fix ASAN error, removed resource register
The resource register has been removed as an obsolete module. Storing raw pointers to the objects was quite risky and after many other changes stopped serving any purpose.
Signed-off-by: adam.b <adam.b@samsung.com>
Change-Id: I5b1e5df49d242e019fbbe068fd2796c3575d11bc
adam.b [Wed, 12 Dec 2018 08:00:28 +0000 (17:00 +0900)]
Fixed validation layer error ( recording command buffer that hasn't begun )
Validation layer issue detected that we were trying to record the command buffer without calling vkCmdBegin(). It was mostly occurring during pause/resume actions.
Signed-off-by: adam.b <adam.b@samsung.com>
Change-Id: Iba6b7b506706ddc4b3a24046ac05bfa364e52f45
adam.b [Tue, 4 Dec 2018 05:06:01 +0000 (14:06 +0900)]
Fixed flag passed to vkCmdBeginRenderPass()
Replaced vk::SubpassContents::eSecondaryCommandBuffers with vk::SubpassContents::eInline when beginning render pass with empty content ( nothing drawn, just clearing the framebuffer ).
Signed-off-by: adam.b <adam.b@samsung.com>
Change-Id: If909ebf9e6277ae7eb92ea7594cd43b7ad377a78
adam.b [Tue, 4 Dec 2018 05:00:36 +0000 (14:00 +0900)]
Fix ASAN error: Remove staging buffer from object registry before destruction.
Fixes error when the staging buffer has been released immediately ( DestroyNow() )
but not removed from the object registry. When destroying buffers last handle, the
OnDestroy() tries to remove the object which already has been nullified. The patch
makes sure that the Vulkan object is removed from the registry before being destroyed.
Signed-off-by: adam.b <adam.b@samsung.com>
Change-Id: If8faf4339faf87585a0a9d9ec9aa3225010d1a0c
adam.b [Tue, 18 Dec 2018 18:55:09 +0000 (18:55 +0000)]
Data buffer index centralized in the vulkan-graphics module, additional synchronization applied
Currently, only vulkan-graphics module swaps data buffers. Anything else
that has to use double buffering should query current data buffer index
in order to stay in sync. The data buffers are swapped using Controller::SwapBuffers().
Signed-off-by: adam.b <adam.b@samsung.com>
Change-Id: If4cdcd8e90ed519ca5381955322ec4b8184fdca1
adam.b [Tue, 27 Nov 2018 14:52:16 +0000 (14:52 +0000)]
Swapchain data is always double buffered
Before, the swapchain data ( command buffers, fences, semaphores ) used as many buffers as image count. This now has changed and data is always double-buffered to stay in sync with data owned by the DALi side ( like UBOs ).
Signed-off-by: adam.b <adam.b@samsung.com>
Change-Id: I9fdbac92647aafd6e82b7b3df651d9ea6e521a0d
adam.b [Tue, 27 Nov 2018 16:24:36 +0000 (16:24 +0000)]
Added GetImageCount() to the swapchain
Added call to retrieve number of images in the swapchain.
Signed-off-by: adam.b <adam.b@samsung.com>
Change-Id: I2c4a9b8fd12784f548653c6caebc1826c1034c62
David Steele [Tue, 11 Dec 2018 01:55:19 +0000 (10:55 +0900)]
Initialize vulkan instance in RenderThread
Change-Id: I040e98731c09fac9a06322f2d2c1a3139976c2fd
Signed-off-by: David Steele <david.steele@samsung.com>
David Steele [Wed, 5 Dec 2018 12:23:52 +0000 (21:23 +0900)]
Ensure on RenderThread shutdown that all graphics objects are destroyed
Currently, graphics objects live too long, and are being killed on application
exit - this is too long, and they should be killed earlier: when render
thread is being destroyed.
Change-Id: I269ab52a8a868372feecb434a68f568d314c734e
Signed-Off-By: David Steele <david.steele@samsung.com>
Seoyeon Kim [Tue, 20 Nov 2018 07:02:20 +0000 (16:02 +0900)]
Add the logical key to Integration::KeyEvent
- Should get Logical key symbol and send it to Ecore_IMF_Event
Change-Id: Idfb91eb9a60caaa8c0ceb5d0ad365710bd600f82
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
greynaga [Fri, 14 Dec 2018 15:37:18 +0000 (15:37 +0000)]
DALi Version 1.3.54
Change-Id: Ib88cd8446d69518c457b8312064055ecc41ae6a7
Kimmo Hoikka [Wed, 5 Dec 2018 18:17:16 +0000 (18:17 +0000)]
Add an easier to use New in FrameBuffer for the 99% of the cases where we use offscreens
- Deprecated the unsafe version which allows enum to be passed in as uint32_t
Change-Id: I9c28f06d26c25ce1d84e840e7a46056d6760208a
Adeel Kazmi [Thu, 6 Dec 2018 13:27:50 +0000 (13:27 +0000)]
Merge changes I1aa1107c,Iede00fcd,I43ba1a81 into devel/master
* changes:
Fix some more of size_t and unsigned ints in DALi API
Reduce the binary size of Constraint code by refactoring the templates to produce less bloat
Refactored Animator classes to reduce code binary size by 60%
Anton Obzhirov [Thu, 6 Dec 2018 11:29:01 +0000 (11:29 +0000)]
DALi Version 1.3.53
Change-Id: Ia8d257c0c221f1f060dc5f8c5cbce748b3acac0f
Kimmo Hoikka [Wed, 5 Dec 2018 17:49:23 +0000 (17:49 +0000)]
Fix some more of size_t and unsigned ints in DALi API
Change-Id: I1aa1107cbd9323248b42b06ba33fed53b7ad777b