platform/core/uifw/dali-core.git
10 years agoMerge "Print line numbers with shader source."
Paul Wisbey [Mon, 10 Mar 2014 17:19:21 +0000 (10:19 -0700)]
Merge "Print line numbers with shader source."

10 years agoPrint line numbers with shader source. 69/17769/1
Francisco Santos [Thu, 27 Feb 2014 17:39:00 +0000 (17:39 +0000)]
Print line numbers with shader source.

Change-Id: I9729b9bf75d5082e0a3be5a5a194e4afe0ede8c6
Signed-off-by: Francisco Santos <f1.santos@samsung.com>
10 years agoChanged view matrix calculation to fix related problems. 62/17762/1
Francisco Santos [Mon, 10 Mar 2014 10:50:52 +0000 (10:50 +0000)]
Changed view matrix calculation to fix related problems.

Changed the view matrix to be the inverse of the Camera View matrix in the FREE_LOOK camera.
Updated the LOOK_AT view matrix to match an equivalent FREE_LOOK camera.
Updated sorting of renderables to work with the new view space.
Updated shader viewport uniform translation to match new view space.

Change-Id: Ideeacd1990ee4ebde715362e8006b0f2adebda91
Signed-off-by: Francisco Santos <f1.santos@samsung.com>
10 years agoClamp text shadow offset to limit clipping and/or bleeding of the shadow 02/17702/1
Javon Prince [Thu, 6 Mar 2014 11:05:15 +0000 (11:05 +0000)]
Clamp text shadow offset to limit clipping and/or bleeding of the shadow

[Issue#] P140304-04522

[Problem] If the shadow offset value is too large artifacts can be seen.

[Cause] Range of values is relative to the font point size.

[Solution] Clamp the shadow offset value internally.

Change-Id: Idb26ac962b08fc302988d1ea101962e637ed1e44
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
10 years ago(PropertyRegistration) Moved enums outside of PropertyRegistration class. 01/17701/1
Adeel Kazmi [Thu, 6 Mar 2014 15:53:52 +0000 (15:53 +0000)]
(PropertyRegistration) Moved enums outside of PropertyRegistration class.

[Issue#]   N/A
[Problem]  PropertyRegistration is not in CAPI but the enum is being used by Toolkit headers that
           are in CAPI.
[Cause]    N/A
[Solution] Move the enum outside of CAPI as we do not want to include type-registry in CAPI yet.

Change-Id: Iabc97d6257c1bac1870dab5084a1c9a53d3fad7e
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
10 years agoInline default layer sort function to avoid unnecessary function call 21/17221/1
Kimmo Hoikka [Fri, 28 Feb 2014 15:12:59 +0000 (15:12 +0000)]
Inline default layer sort function to avoid unnecessary function call

[Issue#] N/A
[Problem]
[Cause]
[Solution] inline it and make layer aware when default function is used

Change-Id: Ic5376536a9a0925dcfab71aa02f9a0c0a337ab1e
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
10 years agoRemove redundant Core::SendEvent() & NotificationEvent 20/17220/1
Paul Wisbey [Tue, 4 Mar 2014 11:14:28 +0000 (11:14 +0000)]
Remove redundant Core::SendEvent() & NotificationEvent

[Issue#]   N/A
[Problem]  Notification event is redundant
[Cause]    Previously there was no way of telling Core to process events,
except by sending an event.
[Solution] Use the ProcessEvents() method, which was separated from Core::SendEvent()

Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
Change-Id: I3ae05b53931a685c59b5b0e2a449c633901d7ede

10 years agoEmscripten/llvm related issues 54/17154/1
Lee Morgan [Mon, 3 Mar 2014 12:57:20 +0000 (12:57 +0000)]
Emscripten/llvm related issues

[Issue] N/A
[Problem] Emscripten/llvm patch (f33bf99) highlighted issues
[Cause] N/A
[Solution] N/A

Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
Change-Id: I625e1cd852bf199b5bea261581c71ae4d0ff83e2

10 years agoEmscripten workarounds and llvm syntax fixes
Lee Morgan [Tue, 17 Dec 2013 18:10:26 +0000 (18:10 +0000)]
Emscripten workarounds and llvm syntax fixes

[Issue] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A

10 years ago(Properties) Added ability to add non-animatable event-thread only properties via...
Adeel Kazmi [Tue, 18 Feb 2014 17:27:45 +0000 (17:27 +0000)]
(Properties) Added ability to add non-animatable event-thread only properties via type-registry

[Issue#]   N/A
[Problem]  1) Toolkit in particular, but objects in general have several properties which do not
              require any instance on the update-thread. This was partly why the OnPropertySet()
              virtual method was added to CustomActor but this is intrinsically broken as the same
              property could be set indirectly from the OnPropertySet() method which could cause
              an unwanted loop.
           2) Additionally, due to the change of property numbers where there are numerical gaps
              between base and derived class properties, it has become quite difficult to retrieve
              all properties for a certain class/object.
[Cause]    N/A
[Solution] 1) A property registration system has been introduced which allows properties to be
              dynamically added to a class on library load time (using the type-registry).
              Upon registration, a getter and setter is specified.
              Number ranges are used for property indices to distinguish between property types:
               - Default Properties range from 0 to 10000000.
               - Currently, event-only properties use 10000000 to 19999999.
               - Custom properties are anything equal to or greater than 50000000.
           2) Added a method to Object which retrieves a container of all the indices that an
              object has. Only the indices are required as the name, type etc. can be retrieved by
              using existing methods (if the index is known).

Change-Id: Icd477996465a4fb291f446feffa65ce2eb8c9120

10 years ago(KeyEvents) Removing deprecated and unused KeyEvents
Agnelo Vaz [Fri, 28 Feb 2014 10:34:02 +0000 (10:34 +0000)]
(KeyEvents) Removing deprecated and unused KeyEvents

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Removing Deprecated parts of KeyEvent
           Removing cursorOffset and numberOfCharacters memebers variables as not used
[Verification] Build Repo

10 years ago(PropertyNotifications) Fixed TET issue
Julien Heanley [Fri, 28 Feb 2014 10:49:52 +0000 (10:49 +0000)]
(PropertyNotifications) Fixed TET issue

[Issue#]   N/A
[Problem]
[Cause]
[Solution]

Change-Id: I6bb009706f17807873d6757c77c671a40f509474

10 years agoFix the renderable visibility checking and its relationship with render once
Kimmo Hoikka [Thu, 27 Feb 2014 17:46:05 +0000 (17:46 +0000)]
Fix the renderable visibility checking and its relationship with render once

[Issue#] N/A
[Problem] incorrect algorithm
[Cause]
[Solution] fix the logic and clarify

Change-Id: I7114e35209f8a11d4f9e5c6aaa619b1744b20015

10 years agoHide the sort function implementation and remove the unused functions.
Francisco Santos [Thu, 27 Feb 2014 18:44:08 +0000 (18:44 +0000)]
Hide the sort function implementation and remove the unused functions.

[Issue#] (N/A)

[Problem]

[Cause]

[Solution]

10 years ago(PropertyNotification) Added conditions to allow checking of a specific vector components
Julien Heanley [Tue, 25 Feb 2014 10:33:56 +0000 (10:33 +0000)]
(PropertyNotification) Added conditions to allow checking of a specific vector components

[Issue#]   N/A
[Problem]  N/A
[Cause]    N/A
[Solution] N/A

Change-Id: I468b57fb1deb46a711073d0d578c2da9f475f66a

10 years ago(ImageSize) Add natural image size handling
David Steele [Tue, 25 Feb 2014 13:25:04 +0000 (13:25 +0000)]
(ImageSize) Add natural image size handling

[Issue#]       N/A
[Problem]      Need a way of switching actor between natural image size and
constrained, animated or set size.
[Cause]        Natural image size not handled correctly
[Solution]     Add mechanism to switch to natural size, (using existing
Actor::SetSize() will override this)
[Verification] Build Repo

Change-Id: Id4641d87bc8de68e613a0e10d8dddf26cddae9fb
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years ago(ImageLoader) Added synchronous method to get closest image size
David Steele [Wed, 19 Feb 2014 20:43:47 +0000 (20:43 +0000)]
(ImageLoader) Added synchronous method to get closest image size

[Issue#]       N/A
[Problem]      Can't synchronously determine what the loaded image size will be
[Cause]        Not implemented
[Solution]     Added a new method to the platform abstraction to get the closest
size for a given requested size and orientation correction.
Changed image implementation to set the correct image size on creation.

Change-Id: I7dab185ecc18e6f8605a3c3996d6586c47e5fb6e
[Verification] Build Repo
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years ago(Images) Reducing thread tennis
David Steele [Mon, 17 Feb 2014 20:16:48 +0000 (20:16 +0000)]
(Images) Reducing thread tennis

[Issue#]       N/A
[Problem]      Non-loaded images do not get size set immediately, and
rely on messages from update thread to update their size.
[Cause]        N/A
[Solution]     Store image size in image base class and in created ticket's image
attributes. Remove message notification of creation of bitmaps, native images and framebuffers
where the size is already known.

This will also prevent LoadingFinished signal from being sent for
bitmaps, native images and framebuffers that are created directly.
LoadingFinished will only be sent for images created from filenames.

On adding images to image-actors, only listens to LoadingFinished signal if the image
has a filename, otherwise it uses the known size.

Change-Id: Ie08a0c9070d903b87447841af8ddc1da0234a51f
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years ago[SRUK] Initial copy from Tizen 2.2 version
Paul Wisbey [Mon, 3 Mar 2014 18:14:45 +0000 (18:14 +0000)]
[SRUK] Initial copy from Tizen 2.2 version

Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
Change-Id: I34519cb86d06e4edd581a5ff010224e96d702aab

10 years agoInitial empty repository
Sehong Na [Sun, 16 Feb 2014 23:48:25 +0000 (15:48 -0800)]
Initial empty repository