platform/core/uifw/rive-tizen.git
2 years agorenderer: apply background clip path. accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.122016 accepted/tizen/unified/20210712.131302 submit/tizen/20210712.043639 submit/tizen_6.5/20211028.163101 tizen_6.5.m2_release
Taehyub Kim [Tue, 15 Jun 2021 11:42:49 +0000 (20:42 +0900)]
renderer: apply background clip path.

Change-Id: I96f5b1f71326be4b94e9a88970d75b15ef852b94

2 years agobuild: export all rive-cpp APIs. 76/259676/1 accepted/tizen/unified/20210614.061500 submit/tizen/20210611.024846 submit/tizen/20210612.024435 submit/tizen/20210614.024854
Taehyub Kim [Fri, 11 Jun 2021 11:31:11 +0000 (20:31 +0900)]
build: export all rive-cpp APIs.

Change-Id: I9dec09231e27163d14093424fd076a8ffb41bfde

2 years agoup-to-date submodule(rive-cpp) accepted/tizen/unified/20210610.141338 submit/tizen/20210531.044041 submit/tizen/20210609.083248
Hermet Park [Mon, 24 May 2021 09:29:39 +0000 (18:29 +0900)]
up-to-date submodule(rive-cpp)

Change-Id: If411149f38e668ba01613845e6a2753fb554ade5

2 years agoexamples: fix compiler warnings.
Hermet Park [Mon, 24 May 2021 08:03:42 +0000 (17:03 +0900)]
examples: fix compiler warnings.

Change-Id: I320432b2de1687e3037ab793c63151d826787f86

2 years agounit test: Set up unit test based on gtest.
JunsuChoi [Fri, 21 May 2021 04:52:45 +0000 (13:52 +0900)]
unit test: Set up unit test based on gtest.

In test directory, set up unit_test based on gtest

Change-Id: I5b16914f10ab548ccd4bc564cf15d0d7615c79f2

2 years agoexample: nullptr setting to prevent invalid access submit/tizen/20210520.083834
JunsuChoi [Tue, 18 May 2021 05:41:49 +0000 (14:41 +0900)]
example: nullptr setting to prevent invalid access

2 years agoexample: Revise meson script in example
JunsuChoi [Tue, 18 May 2021 02:19:46 +0000 (11:19 +0900)]
example: Revise meson script in example

2 years agoup-to-date submodule(rive-cpp)
Taehyub Kim [Thu, 20 May 2021 08:26:43 +0000 (17:26 +0900)]
up-to-date submodule(rive-cpp)

Change-Id: I8ff93588e45e8634ea06fa53a61cddb5623e17dc

2 years agoexample: add user interaction sample(touch node instance).
Taehyub Kim [Mon, 17 May 2021 12:00:29 +0000 (21:00 +0900)]
example: add user interaction sample(touch node instance).

2 years agoFix thorvg version info
JunsuChoi [Tue, 18 May 2021 00:54:57 +0000 (09:54 +0900)]
Fix thorvg version info

2 years agoinfra: updated github action to the latest thorvg v0.1.1 dependency
Hermet Park [Mon, 17 May 2021 08:41:16 +0000 (17:41 +0900)]
infra: updated github action to the latest thorvg v0.1.1 dependency

2 years agoREADME : Add build status badge
JunsuChoi [Wed, 12 May 2021 06:27:02 +0000 (15:27 +0900)]
README : Add build status badge

Change-Id: I189aa12c0fa45d1095f969e0a1a8a3cc66b54140

2 years agoexample: nullptr setting to prevent invalid access
JunsuChoi [Wed, 12 May 2021 04:47:53 +0000 (13:47 +0900)]
example: nullptr setting to prevent invalid access

Change-Id: I6635da98012c2bdf734f93a4c272f2e1314c756d

2 years agoexample: -- more compile warnings.
Hermet Park [Wed, 12 May 2021 04:04:41 +0000 (13:04 +0900)]
example: -- more compile warnings.

Change-Id: I50523cf8402996893f589d773b24e16376e22af6

2 years agoexample: --compiler warnings.
Hermet Park [Wed, 12 May 2021 02:56:05 +0000 (11:56 +0900)]
example: --compiler warnings.

remove unused vars.

Change-Id: Ifc1f419bdf1a545927c1f0c216cf79d00d15b6e8

2 years agorenderer: ++safety
Hermet Park [Tue, 11 May 2021 05:29:30 +0000 (14:29 +0900)]
renderer: ++safety

initialize class members to prevent invalid pointers.

Change-Id: If981275e7eb065ba80be206fa09387c388536b95

2 years ago++ action submit/tizen/20210510.055018
JunsuChoi [Fri, 7 May 2021 06:38:06 +0000 (15:38 +0900)]
++ action

Change-Id: I9eb7e0b7c752964cb64ddfff815d36078ccb3de6

2 years agoInfra: Add build test with github-action
JunsuChoi [Fri, 7 May 2021 06:20:54 +0000 (15:20 +0900)]
Infra: Add build test with github-action

This patch make run two types of build test.
- normal build
- example build (with libefl-dev)

2 years agoExample: Fix memory leak
JunsuChoi [Fri, 7 May 2021 06:01:14 +0000 (15:01 +0900)]
Example: Fix memory leak

2 years agoexample: improve follow cursor sample.
Taehyub Kim [Fri, 7 May 2021 06:37:36 +0000 (15:37 +0900)]
example: improve follow cursor sample.

2 years agoexample: fix wrong word.
Taehyub Kim [Thu, 6 May 2021 09:15:17 +0000 (18:15 +0900)]
example: fix wrong word.

2 years agoexample: add user interaction sample(animation speed).
Taehyub Kim [Thu, 6 May 2021 09:08:22 +0000 (18:08 +0900)]
example: add user interaction sample(animation speed).

2 years agoexample: add user interaction sample(follow cursor).
Taehyub Kim [Thu, 6 May 2021 08:25:07 +0000 (17:25 +0900)]
example: add user interaction sample(follow cursor).

2 years agoexample: add user interaction sample(RollInOut).
Taehyub Kim [Tue, 4 May 2021 10:58:10 +0000 (19:58 +0900)]
example: add user interaction sample(RollInOut).

2 years agoexample: add animation mixing sample.
Taehyub Kim [Tue, 4 May 2021 08:03:08 +0000 (17:03 +0900)]
example: add animation mixing sample.

2 years agoexample: add runtime color change sample.
Taehyub Kim [Tue, 4 May 2021 06:28:03 +0000 (15:28 +0900)]
example: add runtime color change sample.

2 years agoup-to-date submodule (rive-cpp)
Hermet Park [Mon, 10 May 2021 05:15:13 +0000 (14:15 +0900)]
up-to-date submodule (rive-cpp)

Change-Id: I2483bf6c15fe46510b599855c5f676d6e6128fe8

3 years agorenderer: apply gradient fill every render frame. accepted/tizen/unified/20210504.041107 submit/tizen/20210503.052047
Taehyub Kim [Fri, 30 Apr 2021 05:14:01 +0000 (14:14 +0900)]
renderer: apply gradient fill every render frame.

Change-Id: I46ad37b752c51c5bddb014dc7605e235a09cf122

3 years agolicense: change the license to MIT
Taehyub Kim [Thu, 29 Apr 2021 12:03:57 +0000 (21:03 +0900)]
license: change the license to MIT

3 years agoexample: add more resources.
Taehyub Kim [Thu, 29 Apr 2021 02:55:15 +0000 (11:55 +0900)]
example: add more resources.

Change-Id: I2044c907b6ba30a8806eea3995206a00b7fa6dd5

3 years agoexample: implements animation selection function for rive tizen viewer.
Taehyub Kim [Sun, 18 Apr 2021 08:04:30 +0000 (17:04 +0900)]
example: implements animation selection function for rive tizen viewer.

Change-Id: Ie16aefd301a1aa89966e191b2bee5e6bbb5bd96f

3 years agoManual Code Sync: 50/257050/1 accepted/tizen/unified/20210419.153502 submit/tizen/20210419.031955
Hermet Park [Mon, 19 Apr 2021 02:30:02 +0000 (11:30 +0900)]
Manual Code Sync:

Author: Hermet Park <chuneon.park@samsung.com>
Date:   Thu Apr 15 16:52:28 2021 +0900

    up-to-date submodule (rive-cpp)

Change-Id: Ibd0aed1e5cd249874f859bc0c19b58df7d4fc396

3 years agobuild: fix wrong resources path.
Taehyub Kim [Wed, 7 Apr 2021 06:27:05 +0000 (15:27 +0900)]
build: fix wrong resources path.

Change-Id: I7933774a5212fcae3eaf7e8aefc20aa09ae61f80

3 years agobuild: update rive-tizen header files for build 74/256574/1 accepted/tizen/unified/20210409.064102 submit/tizen/20210408.104426
Taehyub Kim [Wed, 7 Apr 2021 09:11:51 +0000 (18:11 +0900)]
build: update rive-tizen header files for build

Change-Id: Ic012e1e3686e5ea7033eed7da847648e52547843

3 years agorenderer: code refactoring accepted/tizen/unified/20210407.100442 submit/tizen/20210407.053711
Hermet Park [Wed, 7 Apr 2021 03:05:14 +0000 (12:05 +0900)]
renderer: code refactoring

initialize member variable.

Change-Id: I361f0529801bb48c5027dc71ce2d02f14b5065b4

3 years agorenderer: initialize members.
Hermet Park [Wed, 7 Apr 2021 02:53:22 +0000 (11:53 +0900)]
renderer: initialize members.

to shutdown annoyed code analizer detections.

Change-Id: I523d61dc2924d1e02a125477306c620f02292076

3 years agoup-to-date submodule(rive-cpp) 55/256555/1
Hermet Park [Wed, 7 Apr 2021 02:35:45 +0000 (11:35 +0900)]
up-to-date submodule(rive-cpp)

Change-Id: I4edd887343b9a76cc084da39b464684d7ee4d072

3 years agobuild: remove redundant patch script. 54/256554/2
Hermet Park [Wed, 7 Apr 2021 02:26:28 +0000 (11:26 +0900)]
build: remove redundant patch script.

these diff is applied to the rive-cpp runtime.
we don't need to maintain it anymore.

Change-Id: I6395b33bd9ad9a093bb24bab61de18b10a27cab5

3 years agoexample resources: updated example resources
Hermet Park [Mon, 5 Apr 2021 11:17:57 +0000 (20:17 +0900)]
example resources: updated example resources

3 years agobuild: update submodule build
Taehyub Kim [Mon, 5 Apr 2021 11:07:55 +0000 (20:07 +0900)]
build: update submodule build

3 years agopackaging: includes rive-tizen header files submit/tizen/20210406.060732
Taehyub Kim [Thu, 1 Apr 2021 11:10:19 +0000 (20:10 +0900)]
packaging: includes rive-tizen header files

Change-Id: Ie7e408af4601fa192002ff3137dc256550b938d2

3 years agobuild: install rive header files and export rive-tizen APIs. 30/256330/1
Taehyub Kim [Thu, 1 Apr 2021 06:32:42 +0000 (15:32 +0900)]
build: install rive header files and export rive-tizen APIs.

- This patch is temporary patch for export Rive APIs before implementing rive-tizen controller APIs.
  After Imiplementing rive-tizen controller APIs, This patch should be reverted.

Change-Id: Iad72a227545fd55df204125b2caa0ae744ea9296

3 years agorenderer: code refactoring
Hermet Park [Tue, 30 Mar 2021 11:30:25 +0000 (20:30 +0900)]
renderer: code refactoring

Keep unique_ptr shape, as tvg recommended to use.

3 years agorenderer: optimize path manipulation.
Hermet Park [Tue, 30 Mar 2021 10:53:03 +0000 (19:53 +0900)]
renderer: optimize path manipulation.

Avoid unnecessary intermediate path data copy
by applying immediate tvg path.

3 years agorenderer: code refactoring. (#29)
Hermet Park [Tue, 30 Mar 2021 10:11:02 +0000 (19:11 +0900)]
renderer: code refactoring. (#29)

remove redundant code.

3 years agorenderer: fix wrong layering order. (#28)
Hermet Park [Tue, 30 Mar 2021 09:05:23 +0000 (18:05 +0900)]
renderer: fix wrong layering order. (#28)

we can push paint nodes in order for guarantee the layering,
instead canvas needs to clear it every frames.

3 years agoexample: update blend juice resources.
Taehyub Kim [Tue, 30 Mar 2021 06:52:52 +0000 (15:52 +0900)]
example: update blend juice resources.

3 years agoexample: add space_reload.riv resource
Taehyub Kim [Tue, 30 Mar 2021 06:15:27 +0000 (15:15 +0900)]
example: add space_reload.riv resource

3 years agorenderer: implements trimpath and artboard rendering
Taehyub Kim [Tue, 30 Mar 2021 05:28:50 +0000 (14:28 +0900)]
renderer: implements trimpath and artboard rendering

 - make trimpath and artboard render, trimpath and artboard is not initialized in addRenderPath.
   so implements buildShape function for initializing trimpath and artboard shape in the function.

3 years agoremove a redundant file. (#25)
Hermet Park [Tue, 30 Mar 2021 05:35:21 +0000 (14:35 +0900)]
remove a redundant file. (#25)

3 years agobuild: revise meson build script
Hermet Park [Mon, 29 Mar 2021 08:37:32 +0000 (17:37 +0900)]
build: revise meson build script

separate build script per sub folders to maintain easier.
in this revise, renamed files & folders as well.

3 years agoexample: code refactoring
Hermet Park [Mon, 29 Mar 2021 06:13:02 +0000 (15:13 +0900)]
example: code refactoring

keep it clean & neat, no logical changes.

3 years agopackaging: modify rive-tizen spec for gbs build 95/256095/1
Taehyub Kim [Mon, 29 Mar 2021 05:57:27 +0000 (14:57 +0900)]
packaging: modify rive-tizen spec for gbs build

Change-Id: I26c0049ad31b4198eea39166b55e301cdc009009

3 years agobuild: add example build option to toggle it. 94/256094/1
Hermet Park [Mon, 29 Mar 2021 04:33:55 +0000 (13:33 +0900)]
build: add example build option to toggle it.

To enable example building, please add meson option like this:

$meson . build -Dexample=true

This requires Efl Elementary dependency as for UI toolkits.

Change-Id: I25c2698a3b04d35676b6c3e88b18060b3d0e82e6

3 years agosubmodule: add rive-cpp to rive-tizen as submodule 93/256093/1
Taehyub Kim [Mon, 29 Mar 2021 04:53:28 +0000 (13:53 +0900)]
submodule: add rive-cpp to rive-tizen as submodule

Change-Id: Ifcca417a2662eeeb75a56ad18246bbab82de151c

3 years agosubmodule : deinit submodule for gbs build 92/256092/1
Taehyub Kim [Mon, 29 Mar 2021 06:07:40 +0000 (15:07 +0900)]
submodule : deinit submodule for gbs build

gbs does not support submodule build so deinit submodule

Change-Id: I9160bea306317384f66fa7275f18d80230439530

3 years agoMerge remote-tracking branch 'rive/master' into tizen
Hermet Park [Mon, 22 Mar 2021 05:05:15 +0000 (14:05 +0900)]
Merge remote-tracking branch 'rive/master' into tizen

3 years agoexample: rename resources according to rive feature categories.
Taehyub Kim [Fri, 19 Mar 2021 07:04:54 +0000 (16:04 +0900)]
example: rename resources according to rive feature categories.

3 years agorenderer: Implements ClipPath function.
Taehyub Kim [Thu, 18 Mar 2021 12:14:05 +0000 (21:14 +0900)]
renderer: Implements ClipPath function.

 - ClipPath transform matrix is calculated by transform matrix in addRenderPath function.

3 years agoexample: remove the unnecessary resources.
Taehyub Kim [Wed, 17 Mar 2021 10:10:09 +0000 (19:10 +0900)]
example: remove the unnecessary resources.

3 years agorenderer: remove the tab
Taehyub Kim [Wed, 17 Mar 2021 10:08:12 +0000 (19:08 +0900)]
renderer: remove the tab

3 years agoexample, renderer: implements viewport, save and restore transform matrix function.
Taehyub Kim [Wed, 17 Mar 2021 08:55:03 +0000 (17:55 +0900)]
example, renderer: implements viewport, save and restore transform matrix function.

3 years agoexample: remove unnecessary resource.
Taehyub Kim [Tue, 16 Mar 2021 10:21:23 +0000 (19:21 +0900)]
example: remove unnecessary resource.

3 years agorenderer: Implements Linear Gradient and Radial Gradeint.
Taehyub Kim [Tue, 16 Mar 2021 07:34:15 +0000 (16:34 +0900)]
renderer: Implements Linear Gradient and Radial Gradeint.

3 years agoadd more rive resources.
Taehyub Kim [Tue, 16 Mar 2021 07:51:13 +0000 (16:51 +0900)]
add more rive resources.

3 years agorenderer: remove tabs
Taehyub Kim [Tue, 16 Mar 2021 07:13:36 +0000 (16:13 +0900)]
renderer: remove tabs

3 years agorenderer: code reordering for readability.
Taehyub Kim [Mon, 15 Mar 2021 10:23:03 +0000 (19:23 +0900)]
renderer: code reordering for readability.

3 years agorenderer: Implements Skeletone Codes for Gradient
Taehyub Kim [Mon, 15 Mar 2021 07:48:13 +0000 (16:48 +0900)]
renderer: Implements Skeletone Codes for Gradient

3 years agoexample: upgrade rive viewer for loading rive files in examples/resource directory.
Taehyub Kim [Fri, 12 Mar 2021 08:48:47 +0000 (17:48 +0900)]
example: upgrade rive viewer for loading rive files in examples/resource directory.

3 years agorenderer: fix wrong transform matrix.
Taehyub Kim [Fri, 12 Mar 2021 04:50:05 +0000 (13:50 +0900)]
renderer: fix wrong transform matrix.

3 years agorenderer: we know the type casting in compile time.
Hermet Park [Thu, 11 Mar 2021 09:46:29 +0000 (18:46 +0900)]
renderer: we know the type casting in compile time.

Don't use reinterpret_cast unless it's avoidable.

3 years agorenderer: code refactoring.
Hermet Park [Thu, 11 Mar 2021 09:41:43 +0000 (18:41 +0900)]
renderer: code refactoring.

keep it in clean and release shape resource properly.

3 years agorenderer: remove unused variable.
Taehyub Kim [Thu, 11 Mar 2021 08:42:27 +0000 (17:42 +0900)]
renderer: remove unused variable.

3 years agorenderer, example: implments shape animation
Taehyub Kim [Thu, 11 Mar 2021 08:25:47 +0000 (17:25 +0900)]
renderer, example: implments shape animation

3 years agorenderer, example: remove all compile warnings & clean up code.
Hermet Park [Thu, 11 Mar 2021 05:30:32 +0000 (14:30 +0900)]
renderer, example: remove all compile warnings & clean up code.

3 years agorenderer: fix missing break in switch.
Hermet Park [Thu, 11 Mar 2021 04:56:47 +0000 (13:56 +0900)]
renderer: fix missing break in switch.

3 years agorenderer: code refactoring
Hermet Park [Thu, 11 Mar 2021 04:55:53 +0000 (13:55 +0900)]
renderer: code refactoring

just renamed internal structure.

3 years agorenderer: code refactoring
Hermet Park [Thu, 11 Mar 2021 04:52:16 +0000 (13:52 +0900)]
renderer: code refactoring

keep it clean & neat.

3 years agorenderer: add tvg stroke and cap function
Taehyub Kim [Thu, 11 Mar 2021 04:47:54 +0000 (13:47 +0900)]
renderer: add tvg stroke and cap function

3 years agorenderer: code refactoring
Hermet Park [Thu, 11 Mar 2021 04:43:11 +0000 (13:43 +0900)]
renderer: code refactoring

renamed Thorvg prefix to Tvg, shorter is better for code typing. :)

3 years agorenderer: code refactoring
Hermet Park [Thu, 11 Mar 2021 04:39:06 +0000 (13:39 +0900)]
renderer: code refactoring

removed ThorvgPathType, we can immediately use thorvg PathCommand.

3 years agorenderer: fix wrong api call.
Hermet Park [Thu, 11 Mar 2021 04:16:47 +0000 (13:16 +0900)]
renderer: fix wrong api call.

3 years agoImplements stroke feature for shape pathes
Taehyub Kim [Thu, 11 Mar 2021 02:24:01 +0000 (11:24 +0900)]
Implements stroke feature for shape pathes

3 years agorenderer: removed unused header file.
Hermet Park [Wed, 10 Mar 2021 11:38:50 +0000 (20:38 +0900)]
renderer: removed unused header file.

3 years agoexample: code refactoring.
Hermet Park [Wed, 10 Mar 2021 11:22:51 +0000 (20:22 +0900)]
example: code refactoring.

keep clean & neat code.

3 years agoImplements ThorVG Renderer Skeletone Code for Rive
Taehyub Kim [Wed, 10 Mar 2021 06:17:03 +0000 (15:17 +0900)]
Implements ThorVG Renderer Skeletone Code for Rive

3 years agoUpdate README.md
Hermet Park [Thu, 18 Feb 2021 08:22:35 +0000 (17:22 +0900)]
Update README.md

3 years agoUpdate README.md
Hermet Park [Thu, 18 Feb 2021 08:15:26 +0000 (17:15 +0900)]
Update README.md

added basic build guide.

3 years agoImplements rive-cpp submodule full build
Taehyub Kim [Mon, 15 Feb 2021 10:25:15 +0000 (19:25 +0900)]
Implements rive-cpp submodule full build

 add all rive-cpp files to meson.build and apply tizen_build.diff patch

3 years agoImplements the skeletone codes for rive-cpp submodule build
Taehyub Kim [Fri, 5 Feb 2021 06:53:46 +0000 (15:53 +0900)]
Implements the skeletone codes for rive-cpp submodule build

 This patch implemented the skeletone codes of rive-cpp submodule build
 and the simple example to check the rive-tizen API call.

3 years agoInitialize repo.
Hermet Park [Sun, 10 Jan 2021 06:28:20 +0000 (15:28 +0900)]
Initialize repo.

3 years agoInitial empty repository master
Tizen Infrastructure [Tue, 22 Dec 2020 06:28:14 +0000 (06:28 +0000)]
Initial empty repository