Kimmo Hoikka [Tue, 20 Oct 2015 17:10:42 +0000 (18:10 +0100)]
Stop creating string for sampler name every frame for every program
Change-Id: Ic5da8308fd6e51ecce7173a159956488b83766cf
Kimmo Hoikka [Tue, 20 Oct 2015 10:29:54 +0000 (11:29 +0100)]
Minor cleanup of commented out headers and @todos
Change-Id: I1f07eb55544df502f74c0063cd1d3be304fc4850
Ferran Sole [Thu, 15 Oct 2015 13:56:27 +0000 (14:56 +0100)]
Fixed bug on SetTextureUniformName
-The new uniform name was not properly updated in internal material
-Added test cases for new Material APIs
Change-Id: Ib87cbbb0513e731862b04d998aeeb5e0abad9805
Kimmo Hoikka [Fri, 16 Oct 2015 10:45:57 +0000 (03:45 -0700)]
Merge "BufferImage Fix for multiple area updates." into devel/master
Richard Underhill [Thu, 15 Oct 2015 09:15:27 +0000 (10:15 +0100)]
BufferImage Fix for multiple area updates.
Change-Id: I65785011e84f83c4fb11247f8c5bec49ee212247
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
Kimmo Hoikka [Wed, 14 Oct 2015 15:38:22 +0000 (16:38 +0100)]
Remove some dead and non-thread safe internal uniforms
Change-Id: I70635a012f67b75d22a411ac06d7b34f27be4659
Ferran Sole [Tue, 6 Oct 2015 08:02:05 +0000 (09:02 +0100)]
Remove Sampler scene object
* Removed sampler scene object
* Created render thread sampler
* Separated samplers (specify sampling mode) from textures
* Samplers can be reused by multiple textures
* Added support for texture wrapping modes
Change-Id: I530cd6346ae828dabdeeaa2874fa9c4229b4601a
Kimmo Hoikka [Tue, 13 Oct 2015 09:34:03 +0000 (02:34 -0700)]
Merge "Avoid constraint suicide during ObjectDestroyed callbacks" into devel/master
Paul Wisbey [Mon, 12 Oct 2015 15:38:49 +0000 (16:38 +0100)]
Avoid constraint suicide during ObjectDestroyed callbacks
Valgrind reports this when the gallery grid layout terminates:
==5351== Invalid write of size 4
==5351== at 0x4F8FF32: Dali::Internal::ConstraintBase::ObjectDestroyed(Dali::Internal::Object&) (constraint-base.cpp:218)
==5351== by 0x4F962B9: Dali::Internal::Object::~Object() (object-impl.cpp:1206)
==5351== by 0x4FA810B: Dali::Internal::CustomObject::~CustomObject() (custom-object-internal.cpp:110)
The issue is that constraints commit suicide during ObjectDestroyed callbacks,
with a (dangerous) call to mTargetObject->RemoveConstraint.
Change-Id: I8da276fda1b4dfd987a8bd699ed3d908994b361e
Chu Hoang [Mon, 12 Oct 2015 14:41:15 +0000 (15:41 +0100)]
Moved INITIAL_HASH_VALUE from hash.cpp to hash.h
Change-Id: I474044a9e2ed7437d1792fc97327372e26a9dbc3
Kimmo Hoikka [Fri, 9 Oct 2015 17:17:31 +0000 (10:17 -0700)]
Merge "Moved OwnerContainer from internal to devel-api." into devel/master
Kimmo Hoikka [Fri, 9 Oct 2015 15:31:22 +0000 (08:31 -0700)]
Merge "Changed WeakHandle::GetHandle() method to use a DownCast<T> instead of a reinterpret_cast." into devel/master
Chu Hoang [Fri, 9 Oct 2015 12:47:44 +0000 (13:47 +0100)]
Changed WeakHandle::GetHandle() method to use a DownCast<T> instead of a reinterpret_cast.
This allows WeakHandle::GetHandle to be usable by non Actor/customActor derived classes.
Change-Id: I4a2f2fb143fe6d50e7555846c560ffe4aabc8bc0
Chu Hoang [Fri, 9 Oct 2015 11:04:48 +0000 (12:04 +0100)]
Moved OwnerContainer from internal to devel-api.
Change-Id: I9d47ec9e11e2f44d884a758e79f402711018ed3e
Tom Robinson [Fri, 9 Oct 2015 09:48:14 +0000 (10:48 +0100)]
DALi Version 1.1.6
Change-Id: Id025f65d0fd6e424345a43e5ab92132f7784c0ff
Adeel Kazmi [Thu, 8 Oct 2015 16:46:48 +0000 (09:46 -0700)]
Merge "Revert "Fix thread contention issues in messages and pan gestures."" into devel/master
Kimmo Hoikka [Thu, 8 Oct 2015 12:26:52 +0000 (05:26 -0700)]
Revert "Fix thread contention issues in messages and pan gestures."
This reverts commit
8be6860f402e22fa57088a25993e8340a85e812d.
Change-Id: I85d4f5ed09fff79fd790222ff41f80cb6952ea94
Kimmo Hoikka [Thu, 8 Oct 2015 12:21:43 +0000 (13:21 +0100)]
Cache size uniform as its often same for many renderers now as we are scaling geometry
Change-Id: Ic236e62c73b4c0db2c7ad2ab3fc13b4a957eaeaa
Chu Hoang [Tue, 6 Oct 2015 11:09:12 +0000 (12:09 +0100)]
Changed SceneGraph::Renderer::mOnStage flag to instead count the number of connections/disconnects and only connect/disconnect once.
This fixes a bug where multiple actors share a renderer causes multiple connections/discconections.
Change-Id: I75a14ac350fb46e72da7fcaa85ba9ec8324d9e62
Xiangyin Ma [Fri, 2 Oct 2015 14:15:19 +0000 (15:15 +0100)]
(Geometry) Allow to set index buffer when using triangle strip/fan
Change-Id: I969530bca9df4bc22a474f26cd3d8f53e8513f26
Chu Hoang [Fri, 2 Oct 2015 09:38:21 +0000 (10:38 +0100)]
DALi Version 1.1.5
Change-Id: I2fdb0e01c080846981241d2683b63f142da426bd
Chu Hoang [Thu, 1 Oct 2015 11:35:24 +0000 (12:35 +0100)]
Changed SceneGraph::CompareItems and CompareItems3D to compare the render items based on textureId instead of material.
This is to reduce the number of glBindTexture calls.
Change-Id: Iad24b18c5a42a53a85cdcf9522c5de71e3bf44a2
Agnelo Vaz [Mon, 28 Sep 2015 16:32:24 +0000 (17:32 +0100)]
Removing GetDefaultFontDescription and libXML from Platform Abstraction
* Font Client now provides this functionality
* Parsing of XML file no longer needed so libXML library dependancy removed
Change-Id: Id3de780a5c813008528efd4eade6ed83e226623a
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
Adeel Kazmi [Mon, 28 Sep 2015 15:15:13 +0000 (16:15 +0100)]
Rearrange doxygen tags for recently deprecated or new APIs
Change-Id: Ib75a37dd4036dc6997f0f3f2a91fc6c34d66658e
Adeel Kazmi [Mon, 28 Sep 2015 12:47:21 +0000 (13:47 +0100)]
(Docs) Adding doxygen tag order to coding style
Change-Id: I0d3f2637b5d9e0d919f86c1f2665a34782c17b4c
Kimmo Hoikka [Fri, 25 Sep 2015 08:42:42 +0000 (01:42 -0700)]
Merge "Allow multiple renderers per Actor and sharing renderers between actors" into devel/master
Adeel Kazmi [Fri, 25 Sep 2015 07:45:40 +0000 (08:45 +0100)]
DALi Version 1.1.4
Change-Id: Ie3c75c8886fdce0f5edf3d4c527db572fa0d6677
HyunJu Shin [Fri, 25 Sep 2015 01:52:16 +0000 (18:52 -0700)]
Merge "Remove the actor from exclusive list in RenderTaskList when the actor is destroyed" into devel/master
Yoonsang Lee [Thu, 24 Sep 2015 07:46:33 +0000 (16:46 +0900)]
Modify doxygen group names
- "-" in group names causes javascript errors when used in doxygen
1.7.6.1 with GENERATE_TREEVIEW option - by which Tizen API reference
is generated (not sure for later version)
- It makes DALi items in the tree view cannot be opened.
- Replace all "-" to "_" in doxygen group names to solve the problem.
Change-Id: If61d3da158c2c3d90fe1c67fbbb114767f37e698
Adeel Kazmi [Thu, 24 Sep 2015 13:10:18 +0000 (06:10 -0700)]
Merge "Marked new API's since 1.1.4" into devel/master
Lee Morgan [Wed, 23 Sep 2015 15:04:16 +0000 (16:04 +0100)]
Marked new API's since 1.1.4
Change-Id: I36ed0f90917a19ed967948af2ae160657c02a227
Ferran Sole [Tue, 8 Sep 2015 14:37:30 +0000 (15:37 +0100)]
Allow multiple renderers per Actor and sharing renderers between actors
-Separate Renderers from NodeAttachments
-Actor has references to Renderer handles
-Node has references to SceneGraph renderers
-UpdateManager owns SceneGraph renderers
-RenderManager owns render thread renderers
-Moved render thread renderers to Render namespace
-Added support for triange strips and triangle fans
Change-Id: I854f92821b52098b59d639542b0eb1c01572c69b
Kimmo Hoikka [Thu, 24 Sep 2015 09:19:48 +0000 (02:19 -0700)]
Merge "Remove dead code: BitmapExternal; not been used for a while, not even included in the build" into devel/master
Heeyong Song [Wed, 23 Sep 2015 06:23:56 +0000 (15:23 +0900)]
Remove the actor from exclusive list in RenderTaskList when the actor is destroyed
Change-Id: Id8030de0b865d5670372f3e6d992ec8c9ba1d1cb
Kimmo Hoikka [Wed, 23 Sep 2015 16:27:07 +0000 (17:27 +0100)]
Remove dead code: BitmapExternal; not been used for a while, not even included in the build
Change-Id: I9e47e8ef7d14ee97e4aa5d037439cba0e24c0e49
Chu Hoang [Wed, 23 Sep 2015 15:04:30 +0000 (16:04 +0100)]
Changed NinePatchImage to always load images without any filtering.
This is so that the stretch borders metadata is not filtered and become incorrect.
Change-Id: I3cd4be5c8511e39938a159de5431ab2ef88c015d
Adeel Kazmi [Wed, 23 Sep 2015 09:24:43 +0000 (02:24 -0700)]
Merge "Changed NinePatchImage to support parsing of n-patches." into devel/master
Paul Wisbey [Tue, 15 Sep 2015 17:46:18 +0000 (18:46 +0100)]
Merged NativeFrameBufferTexture into FrameBufferTexture
Change-Id: I5b4b3a7b811bb56a8fb6ccee9ca54478a68f4eee
Chu Hoang [Mon, 21 Sep 2015 13:44:53 +0000 (14:44 +0100)]
Changed NinePatchImage to support parsing of n-patches.
Change-Id: Id05ea194408730460b4bd62571b1fd2f5ec814e2
Adeel Kazmi [Mon, 21 Sep 2015 10:28:05 +0000 (11:28 +0100)]
Added version when deprecated to the documentation for ShaderEffect
Change-Id: I4266f704d1e394e8119b7a8b6abf6787cb4f47ac
Xiangyin Ma [Fri, 18 Sep 2015 10:02:54 +0000 (11:02 +0100)]
DALi Version 1.1.3
Change-Id: Id93f8ab3376daee874438e7a3361b88d54475651
Kimmo Hoikka [Tue, 15 Sep 2015 13:12:21 +0000 (14:12 +0100)]
Deprecated load and resource policies as they dont work and cause more harm than benefits
Change-Id: I7927a21a8d35a27a38e620a1a0c88f8b227eeafb
Kimmo Hoikka [Tue, 15 Sep 2015 15:21:37 +0000 (08:21 -0700)]
Merge "Added GetUniformName to Sampler." into devel/master
Kimmo Hoikka [Tue, 15 Sep 2015 15:21:11 +0000 (08:21 -0700)]
Merge "Fixed Material::RemoveSampler not calling SceneGraph::RemoveSamplerMessage to match Material::AddSampler." into devel/master
Chu Hoang [Mon, 14 Sep 2015 15:20:50 +0000 (16:20 +0100)]
Added GetUniformName to Sampler.
Change-Id: I962305f3cdf5b19ac5d2d1c23186c3204057be6e
Chu Hoang [Fri, 11 Sep 2015 10:40:26 +0000 (11:40 +0100)]
Fixed Material::RemoveSampler not calling SceneGraph::RemoveSamplerMessage to match Material::AddSampler.
Change-Id: I2614bcb803d587a8e76486f00b9f2ac49fbb9695
Adeel Kazmi [Thu, 10 Sep 2015 08:50:46 +0000 (09:50 +0100)]
ConditionalWait moved to Core & add check for how many locks we're keeping
Option can be enabled via --enable-lock-backtrace which will show the backtrace for all locks
whenever more than 1 is held on a given thread.
Change-Id: Ib4b51f1167371922e57cee0e68909ac6bd83377f
Richard Huang [Thu, 10 Sep 2015 10:04:56 +0000 (11:04 +0100)]
DALi Version 1.1.2
Change-Id: Ifb617c7e2266e59fd117102e0e7ea70b2b520bf9
Adeel Kazmi [Wed, 9 Sep 2015 14:31:53 +0000 (07:31 -0700)]
Merge "Stability/Performance for update buffer index" into devel/master
Kimmo Hoikka [Wed, 9 Sep 2015 14:24:14 +0000 (07:24 -0700)]
Merge "BufferImage mirrors an external Pixel Buffer on creation." into devel/master
Kimmo Hoikka [Wed, 9 Sep 2015 12:10:28 +0000 (13:10 +0100)]
Stability/Performance for update buffer index
- use the same update buffer index rather than call getter function multiple times per update
- swap index as the last thing of update
Change-Id: I8507bfed16600d0b14eabf4fd052304cc0443364
Paul Wisbey [Tue, 8 Sep 2015 10:12:28 +0000 (11:12 +0100)]
Fixed Helgrind issue with SceneGraph::Animator creation
Change-Id: Ieabaf8f2c7a607cdbfeea448d03ef690174642ad
Richard Underhill [Tue, 8 Sep 2015 09:10:07 +0000 (10:10 +0100)]
BufferImage mirrors an external Pixel Buffer on creation.
BufferImage now will maintain its own internal copy of a buffer
and will not own any external buffer.
BufferImage will Update() from the external buffer and it is
the application's responsibility to not destroy that if an
Update() is required.
If there is no future Update() after the BufferImage is created
then the external buffer can be safely destroyed.
Change-Id: Idd1224a7a5d2d022455018ec23b98e8b734abe31
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
Adeel Kazmi [Mon, 7 Sep 2015 08:36:30 +0000 (09:36 +0100)]
ScenGraph::ConstraintBase does not need to inherit from PropertyOwner
Change-Id: I37d3842a082c0eb824f8626f9d2992711f0ecea1
Richard Underhill [Fri, 4 Sep 2015 12:34:12 +0000 (13:34 +0100)]
Fix thread contention issues in messages and pan gestures.
Change-Id: I21db78ce7a8504dfc9eb2241330ab51e8007d97f
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
Adeel Kazmi [Fri, 4 Sep 2015 12:07:09 +0000 (05:07 -0700)]
Merge "Prevents an invalid texture cache being interrogated for a texture. This 'fixes' the crash reported in gallery. An investigation of the root cause is underway." into devel/master
Adeel Kazmi [Fri, 4 Sep 2015 10:04:34 +0000 (03:04 -0700)]
Merge "Doxygen grouping" into devel/master
Richard Underhill [Wed, 2 Sep 2015 12:34:47 +0000 (13:34 +0100)]
Prevents an invalid texture cache being interrogated for a texture.
This 'fixes' the crash reported in gallery.
An investigation of the root cause is underway.
Change-Id: I30f48e33148a2399f23e81d71749c0bad6335919
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
Yoonsang Lee [Thu, 23 Jul 2015 05:38:18 +0000 (14:38 +0900)]
Doxygen grouping
- Grouping using @defgroup, @ingroup, @addtogroup
- Results are shown in the "Modules" tab of the generated doxygen html
- Grouping doxygen comments are in doc/xxx_doc.h
- Install doc/xxx_doc.h as well when conducting 'make install'
Change-Id: I46830ecf57a4ad842a6cd5cb63a98968f0a23dda
Adeel Kazmi [Tue, 1 Sep 2015 13:50:08 +0000 (06:50 -0700)]
Merge changes I02677edb,If59805d2 into devel/master
* changes:
Fix VD prevent issues
Fix prevent issues
taeyoon [Wed, 26 Aug 2015 07:19:49 +0000 (16:19 +0900)]
Fix VD prevent issues
- Add copy constructor & assignment operator (undefined, private member)
- Add KeyFrameBaseSpec<V>& operator=(...)
Change-Id: I02677edba93b122fe59ad3d0e9ee2a4155d5b8fb
taeyoon [Tue, 25 Aug 2015 09:45:28 +0000 (18:45 +0900)]
Fix prevent issues
- Handling NULL by if()
- 451521, 451524, 451534, 453410, 453417
Change-Id: If59805d26be51c63e0b65d19d9f639f3128fa672
Richard Underhill [Wed, 19 Aug 2015 15:38:18 +0000 (16:38 +0100)]
Fix for Valgrind reporting loss from QuramBitmapFactory in MCD.
There is a delete[]/free mismatch changed Dali to use malloc/free to
help with third party libraries.
Change-Id: Ib3fbe62f9b00cea5062b44cf1169de1f6dda3bf0
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
Adeel Kazmi [Fri, 28 Aug 2015 16:58:47 +0000 (09:58 -0700)]
Merge "Fix VD prevent issues - DIVIDE_BY_ZERO" into devel/master
Adeel Kazmi [Fri, 28 Aug 2015 16:47:13 +0000 (09:47 -0700)]
Merge "Basic pan-gesture resampling for when prediction is off" into devel/master
Kimmo Hoikka [Fri, 28 Aug 2015 14:29:49 +0000 (07:29 -0700)]
Merge "Removed default in AnimatorBase::ApplyAlphaFunction switch statement to ensure that compiler will warn if any new built in alpha functions aren't handled." into devel/master
Tom Robinson [Tue, 25 Aug 2015 17:21:26 +0000 (18:21 +0100)]
Basic pan-gesture resampling for when prediction is off
Change-Id: Ib75998b9051ac495870dc6cf6333b1536fe42c03
Signed-off-by: Tom Robinson <tom.robinson@samsung.com>
UTC pan-gesture fix
Change-Id: I24728b70c44d1f11798ee9fd7230c0987b8b686f
Signed-off-by: Tom Robinson <tom.robinson@samsung.com>
Chu Hoang [Wed, 26 Aug 2015 16:17:39 +0000 (17:17 +0100)]
Removed default in AnimatorBase::ApplyAlphaFunction switch statement to ensure that compiler will warn if any new built in alpha functions aren't handled.
Change-Id: I43682ce8b37829b00c277b4d274a1eff9d63517e
Kimmo Hoikka [Wed, 26 Aug 2015 11:39:24 +0000 (04:39 -0700)]
Merge "Fixed a potential memory corruption due to update and render potentially using the same container simultaneously" into devel/master
Lee Morgan [Wed, 26 Aug 2015 10:14:24 +0000 (11:14 +0100)]
DALi Version 1.1.1
Change-Id: Ic0a5ee8724f8a8102f5a12038ba77021d57c809d
Heeyong Song [Wed, 26 Aug 2015 07:53:01 +0000 (16:53 +0900)]
Fix VD prevent issues - DIVIDE_BY_ZERO
Change-Id: Iceb219087a98082fa36e40a4f1701b17c7105c57
Kimmo Hoikka [Tue, 25 Aug 2015 14:31:46 +0000 (15:31 +0100)]
Fixed a potential memory corruption due to update and render potentially using the same container simultaneously
Fixed by not using double buffering with index but having two separate containers
==5511== ----------------------------------------------------------------
==5511== Possible data race during read of size 4 at 0x14ECD29C by thread #4
==5511== Locks held: none
==5511== at 0x55ADFB1: Dali::Internal::SceneGraph::UpdateManager::SaveBinary(Dali::IntrusivePtr<Dali::Internal::ShaderData>) (update-manager.cpp:632)
==5511== by 0x5599DF4: Dali::Internal::ProgramController::StoreBinary(Dali::IntrusivePtr<Dali::Internal::ShaderData>) (program-controller.cpp:151)
==5511== by 0x5598CFD: Dali::Internal::Program::Load() (program.cpp:559)
==5511== by 0x5598DB4: Dali::Internal::Program::Use() (program.cpp:135)
==5511== by 0x559799C: Dali::Internal::SceneGraph::Renderer::Render(Dali::Internal::Context&, Dali::Internal::SceneGraph::TextureCache&, unsigned int, Dali::Internal::SceneGraph::Shader&, Dali::Matrix const&, Dali::Matrix const&, Dali::Matrix const&, float, bool) (scene-graph-renderer.cpp:213)
==5511== by 0x55891B2: Dali::Internal::Render::ProcessRenderInstruction(Dali::Internal::SceneGraph::RenderInstruction const&, Dali::Internal::Context&, Dali::Internal::SceneGraph::TextureCache&, Dali::Internal::SceneGraph::Shader&, unsigned int, float) (render-algorithms.cpp:146)
==5511== by 0x558BDE5: Dali::Internal::SceneGraph::RenderManager::DoRender(Dali::Internal::SceneGraph::RenderInstruction&, Dali::Internal::SceneGraph::Shader&, float) (render-manager.cpp:558)
==5511== by 0x558C423: Dali::Internal::SceneGraph::RenderManager::Render(Dali::Integration::RenderStatus&) (render-manager.cpp:430)
==5511== by 0x551D25C: Dali::Internal::Core::Render(Dali::Integration::RenderStatus&) (core-impl.cpp:278)
==5511== by 0x4E72B04: Dali::Internal::Adaptor::RenderThread::Run() (render-thread.cpp:199)
==5511== by 0x4E72B58: Dali::Internal::Adaptor::RenderThread::InternalThreadEntryFunc(void*) (render-thread.h:197)
==5511== by 0x4C30E26: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==5511==
==5511== This conflicts with a previous write of size 4 by thread #3
==5511== Locks held: none
==5511== at 0x559F1EF: Dali::Internal::SceneGraph::SceneGraphBuffers::Swap() (scene-graph-buffers.cpp:45)
==5511== by 0x55ADADA: Dali::Internal::SceneGraph::UpdateManager::Update(float, unsigned int, unsigned int) (update-manager.cpp:1121)
==5511== by 0x551D229: Dali::Internal::Core::Update(float, unsigned int, unsigned int, Dali::Integration::UpdateStatus&) (core-impl.cpp:261)
==5511== by 0x4E74438: Dali::Internal::Adaptor::UpdateThread::Run() (update-thread.cpp:119)
==5511== by 0x4E744A8: Dali::Internal::Adaptor::UpdateThread::InternalThreadEntryFunc(void*) (update-thread.h:107)
==5511== by 0x4C30E26: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==5511== by 0x908A181: start_thread (pthread_create.c:312)
==5511== by 0x5E8EFBC: clone (clone.S:111)
==5511==
==5511== Address 0x14ECD29C is 12 bytes inside a block of size 24 alloc'd
==5511== at 0x4C2C460: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==5511== by 0x551D745: Dali::Internal::Core::Core(Dali::Integration::RenderController&, Dali::Integration::PlatformAbstraction&, Dali::Integration::GlAbstraction&, Dali::Integration::GlSyncAbstraction&, Dali::Integration::GestureManager&, Dali::ResourcePolicy::DataRetention) (core-impl.cpp:149)
==5511== by 0x55BB824: Dali::Integration::Core::New(Dali::Integration::RenderController&, Dali::Integration::PlatformAbstraction&, Dali::Integration::GlAbstraction&, Dali::Integration::GlSyncAbstraction&, Dali::Integration::GestureManager&, Dali::ResourcePolicy::DataRetention) (core.cpp:37)
==5511== by 0x4E9E9E8: Dali::Internal::Adaptor::Adaptor::Initialize(Dali::Configuration::ContextLoss) (adaptor-impl.cpp:139)
==5511== by 0x4E9FC3C: Dali::Internal::Adaptor::Adaptor::New(Dali::Any, Dali::RenderSurface*, Dali::Configuration::ContextLoss, Dali::Internal::Adaptor::EnvironmentOptions*) (adaptor-impl.cpp:79)
==5511== by 0x4E9FD05: Dali::Internal::Adaptor::Adaptor::New(Dali::Window, Dali::Configuration::ContextLoss, Dali::Internal::Adaptor::EnvironmentOptions*) (adaptor-impl.cpp:89)
==5511== by 0x4EA22BB: Dali::Internal::Adaptor::Application::CreateAdaptor() (application-impl.cpp:134)
==5511== by 0x4EA2407: Dali::Internal::Adaptor::Application::OnInit() (application-impl.cpp:175)
==5511== by 0x4EB8B88: Dali::Internal::Adaptor::Framework::AppStatusHandler(int, void*) (framework-tizen.cpp:380)
==5511== by 0x7D6BC9D: app_appcore_create (app_main.c:149)
==5511== by 0x7F6E819: appcore_efl_main (appcore-efl.c:16)
==5511== by 0x7D6BDEC: app_efl_main (app_main.c:116)
==5511== ----------------------------------------------------------------
Change-Id: I1bdcfd8c00d9f37b0dd1f3f580f1bd69d4e0a20b
Kimmo Hoikka [Tue, 25 Aug 2015 14:44:22 +0000 (07:44 -0700)]
Merge "Changed RendererAttachment to use blend flag from RenderDataProvider rather than base class's mUseBlend flag." into devel/master
Kimmo Hoikka [Tue, 25 Aug 2015 09:19:24 +0000 (10:19 +0100)]
Remove Helgrind warning when Node flags are illegally accessed from event and update thread at the same time
Change-Id: I45c483fe5db2d3cad32144f120b7d7311867658c
Adeel Kazmi [Thu, 20 Aug 2015 16:23:19 +0000 (17:23 +0100)]
(Logging) Ensure we do not output unrequired spaces & colons when trace is not enabled
Before: No Trace:
INFO: DALI: : MyDebug
Now: No Trace:
INFO: DALI: MyDebug
Before: Trace:
INFO: DALI: Entr: MyFunction()
INFO: DALI: : MyDebug
INFO: DALI: Exit: MyFunction()
Now: Trace:
INFO: DALI: Entr: MyFunction()
INFO: DALI: : MyDebug
INFO: DALI: Exit: MyFunction()
Change-Id: I3a04b50154a4f23ca90cad5a7ad2ef26ae6cb1cf
Chu Hoang [Thu, 20 Aug 2015 12:32:56 +0000 (13:32 +0100)]
DALi Version 1.1.0
Change-Id: I5a94629a418273369cd7cf3fa79d421676519175
Kimmo Hoikka [Fri, 14 Aug 2015 16:42:28 +0000 (09:42 -0700)]
Merge "Ensure synchronous buffer decode when using encoded buffer image." into devel/master
Kimmo Hoikka [Fri, 14 Aug 2015 16:26:01 +0000 (09:26 -0700)]
Merge "Changed drawing order for 2D and 3D layers" into devel/master
Adeel Kazmi [Fri, 14 Aug 2015 13:49:02 +0000 (14:49 +0100)]
Ensure synchronous buffer decode when using encoded buffer image.
Change-Id: Iaff725f9ee05c2c35d902849949389807689995f
Richard Huang [Thu, 13 Aug 2015 10:10:25 +0000 (11:10 +0100)]
Implemented WeakHandle in dali-core
WeakHandle stores a weak pointer to an internal Dali object. The handle to the object
can be accessed if the object exists, and such access is not reference counted. When
the object is deleted, the weak pointer will be set to NULL, and any further attmpt
to access to a deleted object will return an empty handle.
Change-Id: I56c8b0ea398f22c1d735270e6287124bdcea740b
Adeel Kazmi [Thu, 13 Aug 2015 19:08:54 +0000 (20:08 +0100)]
Remove Boost completely
Change-Id: Iedeecbfa65be7714db94bc15d94f545d5d5bb6aa
Adeel Kazmi [Fri, 31 Jul 2015 09:11:33 +0000 (10:11 +0100)]
Remove unnecessary timeDelta parameter from PostRender
Change-Id: Ie18c2d9e4b237d430673d7c5ed6f08f34ed23cc0
Ferran Sole [Thu, 13 Aug 2015 08:38:24 +0000 (09:38 +0100)]
Changed drawing order for 2D and 3D layers
-In 2D Layers, all renderers (opaque and transparent) are sorted based on its SortModifier/DepthIndex.
-In 3D Layers, opaque renderers are sorted by mesh and material to reduce GL state changes
and transparent renderers are sorted back to front. SortModifier/DepthIndex is used as an offset to
the Z position of the transparent renderers when sorting.
Change-Id: I5ca4cd4786bd106d62edf6428c58ad538a0dd2f3
Adeel Kazmi [Wed, 12 Aug 2015 09:50:16 +0000 (10:50 +0100)]
DALi Version 1.0.53
Change-Id: Ic6d5c2aa2da684eaf17b180157885db9fdf224ec
Chu Hoang [Mon, 20 Jul 2015 08:20:26 +0000 (09:20 +0100)]
Changed RendererAttachment to use blend flag from RenderDataProvider rather than base class's mUseBlend flag.
This fixes a issue where (when adding to the stage, removing and then re-adding) the Renderer blend flag can be become out of sync with the RenderableAttachment's mUseBlend flag.
Related: moved Renderer::mUseBlend flag and relevant methods to ImageRender since this way of controlling the blending is now specific to ImageRenderer.
Change-Id: Iebc0664946fe4c83b43291aa8004c66e004cbf22
Kimmo Hoikka [Mon, 10 Aug 2015 15:01:12 +0000 (16:01 +0100)]
Change Epsilon 0 and 1 to use the compiler provided values
Change-Id: I68cb4b0fe5c965c47560a46aa5575836b8f5743c
Xiangyin Ma [Thu, 6 Aug 2015 10:05:16 +0000 (11:05 +0100)]
DALi Version 1.0.52
Change-Id: Ie07d42a55baf409e7b5b5a859e3294eb209d08ad
Tom Robinson [Mon, 27 Jul 2015 16:18:31 +0000 (17:18 +0100)]
New Popup implementation
Change-Id: I8657560f0a83ef7beadf2a312096477ccb1fbb7a
Ferran Sole [Mon, 3 Aug 2015 13:30:39 +0000 (14:30 +0100)]
Re-enable sort modifier ( depth index ) in 3D layers
SortModifier, or DepthIndex in Renderers, is now being considered as an offset to
the Z value used when ordering transparent RenderItems back-to-front
Change-Id: Idc5f5cb825395ed0fb1ace211b11877109dc8ac5
Paul Wisbey [Fri, 31 Jul 2015 15:18:02 +0000 (16:18 +0100)]
Fixed memory corruption in RendererAttachment::DoPrepareRender()
(Fixes crash issue in blocks.example)
Change-Id: I18a3f3690ddc0204a1b69c0687aabae4fc627dad
Yoonsang Lee [Fri, 31 Jul 2015 05:53:43 +0000 (14:53 +0900)]
Update license information in the spec file
Change-Id: I78701683f7b42d44b732749a3c9e737b636889de
Tom Robinson [Thu, 30 Jul 2015 08:26:20 +0000 (09:26 +0100)]
DALi Version 1.0.51
Change-Id: I38cc4bae9ccede9450d48a4286655f3d8ecdb428
Kimmo Hoikka [Wed, 29 Jul 2015 12:02:38 +0000 (13:02 +0100)]
Cleanup platform abstraction API (to allow removal of dead code from Adaptor)
Change-Id: I70b633fa641676d8805f9e854806f54d1372fcbb
Nick Holland [Tue, 28 Jul 2015 15:36:36 +0000 (16:36 +0100)]
Temporarily disable v8 build and install from dali_env
when running dali_env script the v8 installation fails if the
machine is not using a http proxy.
Change-Id: I5caa75723c0a211b045c8ab30744c9777ae1d233
Adeel Kazmi [Tue, 28 Jul 2015 14:42:30 +0000 (07:42 -0700)]
Merge "Stop setting crazy Z value when SetSize(width,height) is used" into devel/master
Paul Wisbey [Thu, 16 Jul 2015 09:28:37 +0000 (10:28 +0100)]
Remove on/off stage behavior from Shader
Change-Id: I2ee41d546fee1c32c017a507ea9bfac9e471822e
Kimmo Hoikka [Thu, 23 Jul 2015 12:42:26 +0000 (13:42 +0100)]
Stop setting crazy Z value when SetSize(width,height) is used
Change-Id: Ic428a491ec271748eac7930a3126c4f9fb5132e3
Paul Wisbey [Thu, 23 Jul 2015 16:59:05 +0000 (17:59 +0100)]
Keep track of Bitmap data ownership
i.e. Disard refers to whether the data can be released after uploading.
ResourcePolicy::RETAIN does not mean that the data is externally owned.
Change-Id: I550f227e5463d677ba7e5ac5e889989360834089
Adeel Kazmi [Mon, 27 Jul 2015 10:40:29 +0000 (03:40 -0700)]
Merge "Changed UtcFrustumNearCullP and UtcFrustumFarCullP to explicitly set the position of the mesh actor instead of relying on the ParentOrigin since the parent might not have any depth. Added more negative tests." into devel/master
Chu Hoang [Fri, 24 Jul 2015 15:22:40 +0000 (16:22 +0100)]
Changed UtcFrustumNearCullP and UtcFrustumFarCullP to explicitly set the position of the mesh actor instead of relying on the ParentOrigin since the parent might not have any depth. Added more negative tests.
Refactored and cleaned up utc-Dali-Internal-FrustumCulling tests.
Change-Id: I5fa7fd85b6cc0866749733d3c13af1202b5cb4a3