platform/core/uifw/pepper.git
7 years agoevdev: add boiler plates 52/118752/1
Sung-Jin Park [Tue, 14 Mar 2017 03:31:54 +0000 (12:31 +0900)]
evdev: add boiler plates

Change-Id: Ib7cee096c98d8aa3643a2357ff669961060084c7
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
7 years agoevdev: add initial apis for creating/destroying evdev 51/118751/1
Sung-Jin Park [Tue, 14 Mar 2017 03:28:38 +0000 (12:28 +0900)]
evdev: add initial apis for creating/destroying evdev

Change-Id: Ib340feade771246e14e94511d37965447721ebd4
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
7 years agoPackaging: update version to 1.0.14 02/114902/1 tizen_3.0_tv accepted/tizen/3.0/common/20170216.151551 accepted/tizen/3.0/ivi/20170216.060604 accepted/tizen/3.0/mobile/20170216.060428 accepted/tizen/3.0/tv/20170216.060458 accepted/tizen/3.0/wearable/20170216.060538 accepted/tizen/common/20170215.171140 accepted/tizen/ivi/20170216.094646 accepted/tizen/mobile/20170216.094537 accepted/tizen/tv/20170216.094607 accepted/tizen/unified/20170309.034755 accepted/tizen/wearable/20170216.094625 submit/tizen/20170215.124049 submit/tizen_3.0/20170215.124121 submit/tizen_unified/20170308.100410
Juyeon Lee [Wed, 15 Feb 2017 12:38:03 +0000 (21:38 +0900)]
Packaging: update version to 1.0.14

Change-Id: If71a4c5522ca42acc590dde952fc7f3ad73e1778

7 years agopepper: Fix possible integer overflow 80/114480/2 submit/tizen/20170215.123502
Hoyub Lee [Mon, 13 Feb 2017 11:26:36 +0000 (20:26 +0900)]
pepper: Fix possible integer overflow

Change-Id: Ib0eca42f1d3c16521a9309e2c584b44a994fa279
Signed-off-by: Hoyub Lee <hoyub.lee@samsung.com>
7 years agopepper: Fix possible memory leak path 49/114349/1
Hoyub Lee [Mon, 13 Feb 2017 04:20:51 +0000 (13:20 +0900)]
pepper: Fix possible memory leak path

Change-Id: I3df142212d2a8565b7e78c44fa80d9306bf83edf
Signed-off-by: Hoyub Lee <hoyub.lee@samsung.com>
7 years agoconfigure: fix to resolve warnings related to 'subdir-objects' during running automake 26/113526/1
Sung-Jin Park [Wed, 8 Feb 2017 05:12:28 +0000 (14:12 +0900)]
configure: fix to resolve warnings related to 'subdir-objects' during running automake

Change-Id: I97a5c31183292409006d4da4608e5c12dd973936
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
7 years agoPackaging: update version to 1.0.13 23/112523/1 accepted/tizen/3.0/common/20170202.150945 accepted/tizen/3.0/ivi/20170202.010539 accepted/tizen/3.0/mobile/20170202.010139 accepted/tizen/3.0/tv/20170202.010244 accepted/tizen/3.0/wearable/20170202.010421 accepted/tizen/common/20170201.172021 accepted/tizen/ivi/20170202.015106 accepted/tizen/mobile/20170202.015017 accepted/tizen/tv/20170202.015034 accepted/tizen/wearable/20170202.015048 submit/tizen/20170201.084438 submit/tizen_3.0/20170201.084505
Gwanglim Lee [Wed, 1 Feb 2017 08:41:40 +0000 (17:41 +0900)]
Packaging: update version to 1.0.13

Change-Id: I31e4dab34d7182ee3bf1bfe199b95125a455157c

7 years agoFix invalid literal suffixes in C++11 39/111139/1
taeyoon0.lee [Thu, 19 Jan 2017 13:44:59 +0000 (22:44 +0900)]
Fix invalid literal suffixes in C++11

  Changed "%s:%s "fmt to "%s:%s " fmt in pepper_log

Change-Id: I060a6d5bf2a056c5875b47690a00a46b66ecac8f

7 years agoPackaging: update version to 1.0.12 accepted/tizen/3.0/common/20170118.131032 accepted/tizen/3.0/ivi/20170118.041443 accepted/tizen/3.0/mobile/20170118.041342 accepted/tizen/3.0/tv/20170118.041402 accepted/tizen/3.0/wearable/20170118.041423 accepted/tizen/common/20170117.174803 accepted/tizen/ivi/20170118.035956 accepted/tizen/mobile/20170118.035908 accepted/tizen/tv/20170118.035923 accepted/tizen/wearable/20170118.035939 submit/tizen/20170117.054250 submit/tizen_3.0/20170117.054328
SooChan Lim [Tue, 17 Jan 2017 05:42:08 +0000 (14:42 +0900)]
Packaging: update version to 1.0.12

Change-Id: I99bc204609042ae93eaf1b65a518fda18e85e8a2

7 years agolibdrm_sprd dependency removed 56/110456/2
SooChan Lim [Mon, 16 Jan 2017 12:48:38 +0000 (21:48 +0900)]
libdrm_sprd dependency removed

The libdrm_sprd will be deprecated.

Change-Id: I2eb7bf67c37c991cbc4895d33d067f23e99704d9
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
7 years agoPackaging: update version to 1.0.11 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 vulkan accepted/tizen/3.0.m2/mobile/20170104.143211 accepted/tizen/3.0.m2/tv/20170104.143601 accepted/tizen/3.0.m2/wearable/20170104.143956 accepted/tizen/3.0/common/20161201.135400 accepted/tizen/3.0/ivi/20161201.032459 accepted/tizen/3.0/mobile/20161201.032402 accepted/tizen/3.0/tv/20161201.032421 accepted/tizen/3.0/wearable/20161201.032439 accepted/tizen/common/20161201.135831 accepted/tizen/ivi/20161202.005039 accepted/tizen/mobile/20161202.004944 accepted/tizen/tv/20161202.005001 accepted/tizen/wearable/20161202.005019 submit/tizen/20161201.005038 submit/tizen_3.0.m2/20170104.093752 submit/tizen_3.0/20161201.005106
Seunghun Lee [Wed, 30 Nov 2016 12:58:02 +0000 (21:58 +0900)]
Packaging: update version to 1.0.11

Change-Id: Ifa4ee2532732d8ac12b0987fe2fe35f35844752e

7 years agofix some issues spotted by static analyzer.
Seunghun Lee [Wed, 30 Nov 2016 02:13:07 +0000 (11:13 +0900)]
fix some issues spotted by static analyzer.

Change-Id: I0c5d46ec031848cdc87019ab686b6fa5117135ed

7 years agogl-renderer: remove a unreachable code.
Seunghun Lee [Tue, 29 Nov 2016 12:19:48 +0000 (21:19 +0900)]
gl-renderer: remove a unreachable code.

Change-Id: Ia28fe152c9b3e875f6fe73915ac3abb01d1ac91b

7 years agopepper: add apis to remove xkb dependences
Sangjin Lee [Thu, 17 Nov 2016 05:36:01 +0000 (14:36 +0900)]
pepper: add apis to  remove xkb dependences

Most of IoT device not use xkb keymap, because maybe it has only few key.
so xkb use only in libinput backend or some specific profile.
There are TODOs to remove xkb dependency perfectly.

1. Change use old api(pepper_keyboard_set_keymap) for xkb keymap.
2. Depercate this api and remove all
3. Remove xkb in pepper core

Change-Id: I4c084e0d4bac38623d864ae0705941d0321a848f

7 years agoPackaging: update version to 1.0.10 37/98937/1 accepted/tizen/common/20161121.143441 accepted/tizen/ivi/20161121.235245 accepted/tizen/mobile/20161121.235125 accepted/tizen/tv/20161121.235151 accepted/tizen/wearable/20161121.235226 submit/tizen/20161121.084448
Gwanglim Lee [Mon, 21 Nov 2016 07:48:39 +0000 (16:48 +0900)]
Packaging: update version to 1.0.10

Change-Id: Ia60c69564a75c5e37083e3274561ed0d0e302b59

7 years agoUse pepper_region instead of pixman_region 64/96364/6
Sangjin Lee [Tue, 8 Nov 2016 13:35:27 +0000 (22:35 +0900)]
Use pepper_region instead of pixman_region

add pepper-utils-pixman.h.
this header should include inline function or useful define.

Change-Id: I339695a47d80388ce91e92476cbf349056c82dec

7 years agoAdd pepper_region to pepper 63/96363/2
Sangjin Lee [Tue, 8 Nov 2016 12:29:31 +0000 (21:29 +0900)]
Add pepper_region to pepper

For remove dependency of pixman in pepper.
add the pepper_region funtions to the pepper.
this funcions came from the pixman logic. therefor logic and operation
is same form pixman. the difference is just prefix.

Change-Id: I4124791a394657de97073a713abd697bbad8de0c

7 years agoRename pepper_region_t to pepper_wl_region_t 62/96362/1
Sangjin Lee [Tue, 8 Nov 2016 10:33:06 +0000 (19:33 +0900)]
Rename pepper_region_t to pepper_wl_region_t

For remove pixman_region, first rename pepper_region_t.
and then add pepper_region_t like pixman_region

Change-Id: I59f15b2ea0eb5f42bfe0a9aa9b71fc029939712c

7 years agoPackaging: update version to 1.0.9 70/95970/2 accepted/tizen/3.0/common/20161114.082911 accepted/tizen/3.0/ivi/20161108.062441 accepted/tizen/3.0/mobile/20161108.062348 accepted/tizen/3.0/tv/20161108.062403 accepted/tizen/3.0/wearable/20161108.062422 accepted/tizen/common/20161108.131537 accepted/tizen/ivi/20161109.001847 accepted/tizen/mobile/20161109.001751 accepted/tizen/tv/20161109.001808 accepted/tizen/wearable/20161109.001827 submit/tizen/20161108.011855 submit/tizen_3.0/20161108.012122 submit/tizen_3.0_common/20161110.084657
Seunghun Lee [Mon, 7 Nov 2016 07:48:17 +0000 (16:48 +0900)]
Packaging: update version to 1.0.9

Change-Id: I2e92384027ee3aaba312e484420eac8047b820a3

7 years agouse the 'wl_buffer_send_release' instead of 'wl_resource_queue_event' to release... 68/95968/2
Seunghun Lee [Mon, 7 Nov 2016 07:41:18 +0000 (16:41 +0900)]
use the 'wl_buffer_send_release' instead of 'wl_resource_queue_event' to release wl_buffer.

the message added by wl_resource_queue_event() won't be delivered,
if there is no calling 'wl_resource_post_event' after that.

Change-Id: I7378d115a999b12ea68bdfdd57f311f2b5851a8f

7 years agowayland-common: Added missing renderer destroy calls when connection failed. 87/83087/1 accepted/tizen/3.0/ivi/20161011.055435 accepted/tizen/3.0/mobile/20161015.034013 accepted/tizen/3.0/tv/20161016.005757 accepted/tizen/3.0/wearable/20161015.084100 accepted/tizen/common/20160809.184040 accepted/tizen/ivi/20160809.080020 accepted/tizen/mobile/20160809.075919 accepted/tizen/tv/20160809.075939 accepted/tizen/wearable/20160809.075958 submit/tizen/20160809.062109 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000005 submit/tizen_3.0_mobile/20161015.000005 submit/tizen_3.0_tv/20161015.000005 submit/tizen_3.0_wearable/20161015.000005
Gwanglim Lee [Tue, 9 Aug 2016 06:50:13 +0000 (15:50 +0900)]
wayland-common: Added missing renderer destroy calls when connection failed.

Change-Id: I0fcf4ef98288f636e5c536b1b6488d0670cc025e

7 years agoPackaging: update version to 1.0.8 76/83076/1
Gwanglim Lee [Tue, 9 Aug 2016 06:17:31 +0000 (15:17 +0900)]
Packaging: update version to 1.0.8

Change-Id: If4d62e48f52feb8ae511873f9b7590b3a75b7bfe

7 years agowayland-common: Added missing null check for return value of wl_event_loop_add when... 63/83063/1
Gwanglim Lee [Tue, 9 Aug 2016 04:55:49 +0000 (13:55 +0900)]
wayland-common: Added missing null check for return value of wl_event_loop_add when establishing pepper connection.

Change-Id: I066e85eb3426889cc4b2e405b9c772beb48109cc

7 years agowayland-common: add missing string free and disconnection after connection failed. 61/82761/1
Gwanglim Lee [Fri, 5 Aug 2016 13:02:09 +0000 (22:02 +0900)]
wayland-common: add missing string free and disconnection after connection failed.

Change-Id: I0984bdc3334903b99485a568ae1115ea154be243

7 years agowayland-shm-buffer: fixed dereference of freed buffer. 55/82755/1
Gwanglim Lee [Fri, 5 Aug 2016 12:41:22 +0000 (21:41 +0900)]
wayland-shm-buffer: fixed dereference of freed buffer.

Change-Id: I355285aa9a6ee5e73e35dc44ec3cdf557a9d3fbf

7 years agowayland-shm-buffer: fixed double close for anonymous file. 54/82754/1
Gwanglim Lee [Fri, 5 Aug 2016 12:38:38 +0000 (21:38 +0900)]
wayland-shm-buffer: fixed double close for anonymous file.

Change-Id: I05a3541e7bcb8cd6f54edb4f551e6f5299d4ce8f

8 years agoPackaging: update version to 1.0.7 43/78143/1 accepted/tizen/common/20160704.150234 accepted/tizen/ivi/20160705.004016 accepted/tizen/mobile/20160705.004001 accepted/tizen/tv/20160705.003959 accepted/tizen/wearable/20160705.003951 submit/tizen/20160704.103512
Seunghun Lee [Mon, 4 Jul 2016 10:29:14 +0000 (19:29 +0900)]
Packaging: update version to 1.0.7

Change-Id: I9a0c6ac7dfa3cf0e639ba16fafe8c4e8998e36ea

8 years agofixed possibly dereferencing issue. 38/78138/1
Seunghun Lee [Mon, 4 Jul 2016 10:24:21 +0000 (19:24 +0900)]
fixed possibly dereferencing issue.

Change-Id: I8ec1e0da58f15198455911772c98c68123a05b7f

8 years agoPackaging: update version to 1.0.6 12/77412/1 accepted/tizen/common/20160629.223505 accepted/tizen/ivi/20160630.004149 accepted/tizen/mobile/20160630.004247 accepted/tizen/tv/20160630.004138 accepted/tizen/wearable/20160630.004218 submit/tizen/20160629.135923
Gwanglim Lee [Wed, 29 Jun 2016 13:26:31 +0000 (22:26 +0900)]
Packaging: update version to 1.0.6

Change-Id: I3ca54c7b827b1e718f844434f66c1b633ec142f8

8 years agoFix svace critial and major issue 07/77407/3
Sangjin Lee [Wed, 29 Jun 2016 13:07:00 +0000 (22:07 +0900)]
Fix svace critial and major issue

Change-Id: Ic8bb6f890910b2cb35e0d4efefc75278e91674a0

8 years agoRevert "Packaging: make all warnings into errors." 05/72805/1 accepted/tizen/common/20160603.150658 accepted/tizen/ivi/20160602.231411 accepted/tizen/mobile/20160602.231456 accepted/tizen/tv/20160602.231327 accepted/tizen/wearable/20160602.231424 submit/tizen/20160602.114245
Gwanglim Lee [Thu, 2 Jun 2016 11:33:39 +0000 (20:33 +0900)]
Revert "Packaging: make all warnings into errors."

This reverts commit 069253a4f503fc2b8fb4d34260c2cf3c06d83e64.

Change-Id: I53efa0e917c07472073cff98701ff21e009dee82
Signed-off-by: Gwanglim Lee <gl77.lee@samsung.com>
8 years agoPackaging: update version to 1.0.5 50/71750/1 submit/tizen/20160602.104157
Gwanglim Lee [Fri, 27 May 2016 04:09:37 +0000 (13:09 +0900)]
Packaging: update version to 1.0.5

Change-Id: I4311dfbd69049c0eb28e6c431a2466e3149c07d6

8 years agoPackaging: make all warnings into errors. 49/71749/1
Gwanglim Lee [Fri, 27 May 2016 04:08:30 +0000 (13:08 +0900)]
Packaging: make all warnings into errors.

Change-Id: I3c8b6e17db559a01bf2be85015cb1cf7a8611094

8 years agoPackaging: use a linker option --as-needed if it is inherited. 48/71748/1
Gwanglim Lee [Fri, 27 May 2016 04:07:40 +0000 (13:07 +0900)]
Packaging: use a linker option --as-needed if it is inherited.

Change-Id: Ic1f5bcf0883dcb52242d3db95c0f8f528926a654

8 years agoPackaging: update version to 1.0.4 00/71400/1 accepted/tizen/common/20160525.160256 accepted/tizen/ivi/20160525.235448 accepted/tizen/mobile/20160525.235600 accepted/tizen/tv/20160525.235442 accepted/tizen/wearable/20160525.235451 submit/tizen/20160525.082124
Gwanglim Lee [Wed, 25 May 2016 08:16:05 +0000 (17:16 +0900)]
Packaging: update version to 1.0.4

Change-Id: I20d37a3c854f288acf11247612d6cb27c93958ea

8 years agoDefined GL_GLEXT_PROTOTYPES macro to use GLES2 API directly instead function pointer... 97/71397/1
Gwanglim Lee [Wed, 25 May 2016 08:10:15 +0000 (17:10 +0900)]
Defined GL_GLEXT_PROTOTYPES macro to use GLES2 API directly instead function pointer type.

Change-Id: Ieb0d85338c91da029c6d52383df125185dc9f449

8 years agofix crash caused by referencing memory without allocation. 37/70137/2
Seunghun Lee [Wed, 18 May 2016 08:34:31 +0000 (17:34 +0900)]
fix crash caused by referencing memory without allocation.

Change-Id: Ie5f5e333d1e803ea114c629ffe175f81b4b1040b

8 years agouse 'strncpy' and 'strncat' instead of using of vulnerable function 'strcpy' and... 17/70117/1
Seunghun Lee [Wed, 18 May 2016 05:26:14 +0000 (14:26 +0900)]
use 'strncpy' and 'strncat' instead of using of vulnerable function 'strcpy' and 'strcat'.

Change-Id: I9abff4fbb8b49f7a69f2ff8a8b514945966a4127

8 years agoPackaging: update version to 1.0.3 76/68876/1 accepted/tizen/common/20160512.144100 accepted/tizen/ivi/20160513.004312 accepted/tizen/mobile/20160513.004225 accepted/tizen/tv/20160513.004258 accepted/tizen/wearable/20160513.004209 submit/tizen/20160512.051703
Gwanglim Lee [Tue, 10 May 2016 07:12:39 +0000 (16:12 +0900)]
Packaging: update version to 1.0.3

Change-Id: Id5e887662aa368bc9d5cccfbcc14ec3e586166b7

8 years agotdm: check if null before using allocated memory. 66/68866/1
Seunghun Lee [Tue, 10 May 2016 06:48:57 +0000 (15:48 +0900)]
tdm: check if null before using allocated memory.

Change-Id: I2708e7bc43decff58065a35dcb6b6445505699a4

8 years agoview: check if null before accessing 'view->surface'. 65/68865/1
Seunghun Lee [Tue, 10 May 2016 06:37:45 +0000 (15:37 +0900)]
view: check if null before accessing 'view->surface'.

Change-Id: If05db77c89cdd12fa8e8414bfa502490f8b373e4

8 years agoPackaging: update version to 1.0.2 10/64810/1 accepted/tizen/common/20160406.143751 accepted/tizen/ivi/20160406.014648 accepted/tizen/mobile/20160406.014555 accepted/tizen/tv/20160406.014609 accepted/tizen/wearable/20160406.014632 submit/tizen/20160405.130631
Gwanglim Lee [Tue, 5 Apr 2016 12:03:57 +0000 (21:03 +0900)]
Packaging: update version to 1.0.2

Change-Id: I24274ea7bd44944cc4bcdb5b3eb95fc3f933cb1a

8 years agodesktop-shell: Fix build warning 06/64406/1
Sangjin Lee [Fri, 1 Apr 2016 04:32:05 +0000 (13:32 +0900)]
desktop-shell: Fix build warning

Change protocol for DTD test.
please see wayland.dtd

Change-Id: I15af7b63b5ebcbf2abe4ebd571432345c60788d3

8 years agoChange coding style for tizen 86/64386/1
Sangjin Lee [Fri, 1 Apr 2016 02:09:17 +0000 (11:09 +0900)]
Change coding style for tizen

Change-Id: Ib3727f408f1f88be3c1484c0220aa6e2772005df

8 years agoutils-map: fix a type casting warning 42/64342/1
Gwanglim Lee [Thu, 31 Mar 2016 13:05:44 +0000 (22:05 +0900)]
utils-map: fix a type casting warning

Change-Id: Iae3be2d73e2968a271f2c8dd334cafebc725c0a4

8 years agoutils-log: fix an uninitialized value warning 40/64340/1
Gwanglim Lee [Thu, 31 Mar 2016 13:05:13 +0000 (22:05 +0900)]
utils-log: fix an uninitialized value warning

Change-Id: I8d860d561d7807e039e5b15c490f8c4cc0276fe1

8 years agoDisabled doxygen build to fix warnings. 39/64339/1
Gwanglim Lee [Thu, 31 Mar 2016 13:02:43 +0000 (22:02 +0900)]
Disabled doxygen build to fix warnings.
Pepper does not ready to make doxygen yet.

Change-Id: If6ee1b03f71de520515c64469109ce1023236114

8 years agoinstall the manifest for assigning SMACK label. 40/62340/1 accepted/tizen/common/20160315.222119 accepted/tizen/ivi/20160316.081028 accepted/tizen/mobile/20160316.080929 accepted/tizen/tv/20160316.080944 accepted/tizen/wearable/20160316.081008 submit/tizen/20160315.120259
Seunghun Lee [Tue, 15 Mar 2016 11:52:00 +0000 (20:52 +0900)]
install the manifest for assigning SMACK label.

Change-Id: I1c0aedd0017c9876d53847a92462a15503322b66

8 years agouse a environment "TIZEN_WAYLAND_SHM_DIR" as a path of shared memory. 19/62319/2
Seunghun Lee [Tue, 15 Mar 2016 08:52:26 +0000 (17:52 +0900)]
use a environment "TIZEN_WAYLAND_SHM_DIR" as a path of shared memory.

allow to locate the shm file in the Tizen specific directory.

Change-Id: Ibeb1ea4b918f02ef80ee99167a5e8e744b07f06a

8 years agofix svace error 03/61903/2 accepted/tizen/common/20160311.203624 accepted/tizen/ivi/20160311.150232 accepted/tizen/mobile/20160311.143209 accepted/tizen/tv/20160311.144803 accepted/tizen/wearable/20160311.145611 submit/tizen/20160311.063943
Junkyeong Kim [Fri, 11 Mar 2016 05:57:53 +0000 (14:57 +0900)]
fix svace error

Change-Id: I6b9df73f2b3460b51e6f0f2b9d136fb69f7d5e08
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoPackaging: update version to 1.0.1 16/61316/1 accepted/tizen/common/20160307.154513 accepted/tizen/ivi/20160307.111132 accepted/tizen/mobile/20160307.111042 accepted/tizen/tv/20160307.111059 accepted/tizen/wearable/20160307.111113 submit/tizen/20160307.085853
Seunghun Lee [Mon, 7 Mar 2016 08:56:29 +0000 (17:56 +0900)]
Packaging: update version to 1.0.1

Change-Id: Iecee7b20b57723d991e65bdab764c4488caf4741

8 years agocompositor: unlink socket file, if given path of socket does already exist. 05/61305/2
Seunghun Lee [Mon, 7 Mar 2016 08:16:58 +0000 (17:16 +0900)]
compositor: unlink socket file, if given path of socket does already exist.

Change-Id: I7ff54a039a2eb169d1d7798ba2e7ff92a55de324

8 years agosamples: tdm-backend: fix that calling wrong function for freeing tdm. 25/61225/1 accepted/tizen/ivi/20160307.104934 accepted/tizen/mobile/20160307.104838 accepted/tizen/tv/20160307.104859 accepted/tizen/wearable/20160307.104912 submit/tizen/20160307.020658
Seunghun Lee [Mon, 7 Mar 2016 01:16:51 +0000 (10:16 +0900)]
samples: tdm-backend: fix that calling wrong function for freeing tdm.

this is a kind of c&p error.

Change-Id: I9a1ff76e6d6d73480dd7450ca2cecc4652265403

8 years agorenderer: added omitted one that is needed by cflags and libs for tbm. 24/61224/1
Seunghun Lee [Mon, 7 Mar 2016 01:03:44 +0000 (10:03 +0900)]
renderer: added omitted one that is needed by cflags and libs for tbm.

this causes breaks build after enabling "--as-needed" option.

Change-Id: I8634001e7e691a910ce1a04b4dc95c33e2f54400

8 years agopackaging: removed '-Wl,as-needed' for build error. 11/59911/2 accepted/tizen/common/20160304.195740 accepted/tizen/ivi/20160305.094627 accepted/tizen/mobile/20160305.094538 accepted/tizen/tv/20160305.094555 accepted/tizen/wearable/20160305.094611 submit/tizen/20160304.110046
Dongkyun, Son [Fri, 19 Feb 2016 10:27:20 +0000 (19:27 +0900)]
packaging: removed '-Wl,as-needed' for build error.

Change-Id: Ieaf608ec017db1459601426e46585336b79ff540
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
8 years agogl-renderer: Fix build error on emulator 27/60627/1 accepted/tizen/common/20160302.193407 accepted/tizen/ivi/20160302.003353 accepted/tizen/mobile/20160302.003301 accepted/tizen/tv/20160302.003319 accepted/tizen/wearable/20160302.003332 submit/tizen/20160229.101954
Sangjin Lee [Mon, 29 Feb 2016 10:57:48 +0000 (19:57 +0900)]
gl-renderer: Fix build error on emulator

Change-Id: Ibf439fdf1e3a7ffce9272ac4e2b48d73432dc06f

8 years agotdm: change output mode 23/60623/1
Sangjin Lee [Mon, 29 Feb 2016 10:43:27 +0000 (19:43 +0900)]
tdm: change output mode

Change-Id: Ia260cb9a20b0f2a0e94cbd3ef32f04efd1aa2323

8 years agoGuide to coding-style 58/59858/3
Sangjin Lee [Fri, 19 Feb 2016 04:39:29 +0000 (13:39 +0900)]
Guide to coding-style

Change-Id: Ic991236c34e6b71c74e33fd94e81d60087a87e73

8 years agoChange coding-style to tizen 57/59857/2
Sangjin Lee [Fri, 19 Feb 2016 04:33:28 +0000 (13:33 +0900)]
Change coding-style to tizen

Change-Id: Ie33a0a7e5da13a2f942a0662e6dd078f60211a96

8 years agotdm: remove gbm 52/59352/2
Sangjin Lee [Sat, 13 Feb 2016 00:45:21 +0000 (09:45 +0900)]
tdm: remove gbm

The tdm backend use tbm_surface_queue directly.
Tizen EGL support tbm_bufmgr to eglNativeDisplay and tbm_surface_queue to eglNativeWindow.

Change-Id: I8398b2d29d0231fc45b3594692c838358d35a74d

8 years agoFix build warning 48/59348/2
Sangjin Lee [Sat, 13 Feb 2016 06:04:17 +0000 (15:04 +0900)]
Fix build warning

Change-Id: I5719d94ed4e060f7d0759f9dd05fc76321e06a7c

8 years agoutil: Deep copy a map key if the key length func is specified 47/59347/3
Sangjin Lee [Sat, 13 Feb 2016 05:41:50 +0000 (14:41 +0900)]
util: Deep copy a map key if the key length func is specified

If key length func is specified, pepper_map_t will allocate internal space
for the key and memcpy() the key into it, otherwise, key is treated as
a normal variable. Thus, pepper_object_set/get_user_data() is modified to
use the pointer value itself as a key.

Change-Id: I141f014ea1aee552c0ce3c8a0d4e13665de71c3d

8 years agopepper: Better ID allocation algorithm 88/56988/2
Taekyun Kim [Thu, 14 Jan 2016 06:19:10 +0000 (15:19 +0900)]
pepper: Better ID allocation algorithm

Avoid allocating an ID having same value with recently released IDs.
To do this, we use some upper bits of the ID as an age. When an ID
is reused, the age is increased. This can help detect error cases
where users incorrectly access IDs that has been already destroyed.

But, this does not mean that we are completely safe from the problem.
Some kind of locking mechanism or reference counting is required to
prevent from accessing invalid (most likely dead) IDs.

Change-Id: I218f94566c0f2e63d23df4e8fa1a2890184ca583

8 years agoMerge "pepper: Bug fix in ID allocator" into tizen
Sangjin Lee [Thu, 14 Jan 2016 04:16:54 +0000 (20:16 -0800)]
Merge "pepper: Bug fix in ID allocator" into tizen

8 years agopepper: Bug fix in ID allocator 57/56957/1
Taekyun Kim [Thu, 14 Jan 2016 01:15:19 +0000 (10:15 +0900)]
pepper: Bug fix in ID allocator

Change-Id: I5286c34f444b70ef64aaac0942d46dbd760668a6

8 years agoutils: Fix error of bucket free 50/56950/1
Sangjin Lee [Wed, 13 Jan 2016 23:57:07 +0000 (08:57 +0900)]
utils: Fix error of bucket free

Change-Id: I1060781e2ab987c47f5f6f3d0a60f11e4f81be48

8 years agopepper: Unique 32bit ID for pepper_object_t 13/56913/1
Taekyun Kim [Wed, 13 Jan 2016 12:18:22 +0000 (21:18 +0900)]
pepper: Unique 32bit ID for pepper_object_t

Added following two APIs
    - pepper_object_get_id()
    - pepper_object_from_id()

Change-Id: I39504a35a0fc356333a0e947bcd269be943b90e1

8 years agopepper: pepper_map_t revised 12/56912/1
Taekyun Kim [Wed, 13 Jan 2016 12:16:07 +0000 (21:16 +0900)]
pepper: pepper_map_t revised

Use key as a pointer to the key value instead of key itself.
Added several convinience functions for int32/64 maps.

Change-Id: Idfba75a31fccde6b6aec4042094831cad83624ba

8 years agopepper: utils: Add 32bit integer ID allocator 11/56911/1
Taekyun Kim [Wed, 13 Jan 2016 11:04:00 +0000 (20:04 +0900)]
pepper: utils: Add 32bit integer ID allocator

Change-Id: I25d391b8f5eda12e01f8e7de31c82a86f0c71d53

8 years agoshell: Fix typo error in pepper-shell.xml 10/56910/1
Taekyun Kim [Wed, 13 Jan 2016 09:35:12 +0000 (18:35 +0900)]
shell: Fix typo error in pepper-shell.xml

Change-Id: If0f493a323847daafbcc770ed4dfd5b4a8f7833b

8 years agopepper: add NULL check 52/56052/1 accepted/tizen/ivi/20160218.024515 accepted/tizen/mobile/20160104.054511 accepted/tizen/tv/20160104.054531 accepted/tizen/wearable/20160104.054554 submit/tizen/20160104.030124 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000004
Sangjin Lee [Mon, 4 Jan 2016 02:49:13 +0000 (11:49 +0900)]
pepper: add NULL check

Change-Id: Ic5ec8f4c1090d8ab45a420721581a9a558d6a669

8 years agotouch: fix check validation of the point 69/55669/1 accepted/tizen/mobile/20151228.233343 accepted/tizen/tv/20151228.232240 accepted/tizen/wearable/20151228.231523 submit/tizen/20151228.124733
Sangjin Lee [Mon, 28 Dec 2015 11:45:11 +0000 (20:45 +0900)]
touch: fix check validation of the point

Change-Id: I2c7b6b1e113718ca7cd4ba97d57982f1c3c7253b

8 years agodesktop-shell: fix DEREF_AFTER_NULL 65/55665/1
Sangjin Lee [Mon, 28 Dec 2015 11:09:41 +0000 (20:09 +0900)]
desktop-shell: fix DEREF_AFTER_NULL

Change-Id: Ie96a803f7e56d0ff23af3fefd2da0dd900be4d07

8 years agodesktop-shell: fix DEREF_AFTER_NULL 64/55664/1
Sangjin Lee [Mon, 28 Dec 2015 11:07:38 +0000 (20:07 +0900)]
desktop-shell: fix DEREF_AFTER_NULL

Change-Id: I81e79341a56b3f493547c88f09822aed8b485b10

8 years agotdm: chenge keep_buffer in flush_surface_damage 42/55242/1
Sangjin Lee [Tue, 22 Dec 2015 12:58:56 +0000 (21:58 +0900)]
tdm: chenge keep_buffer in flush_surface_damage

Change-Id: Iff7ebfb6aa40af4097e31d46c992846da1c82f3d

8 years agopepper: fix build error 38/55238/1 accepted/tizen/mobile/20151222.225050 accepted/tizen/tv/20151222.225109 accepted/tizen/wearable/20151222.225124 submit/tizen/20151222.124433 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Sangjin Lee [Tue, 22 Dec 2015 12:41:18 +0000 (21:41 +0900)]
pepper: fix build error

Change-Id: Ie0c21a62fcfe7ec2320e24429e6adf7a9a1d1aa8

8 years agopepper: change pepper_compositor_create_fd() 08/55208/3
Sangjin Lee [Tue, 22 Dec 2015 11:14:43 +0000 (20:14 +0900)]
pepper: change pepper_compositor_create_fd()

wayland server api was changed
http://cgit.freedesktop.org/wayland/wayland/commit/?id=225830dcb8bf1a6583d0f4ca182584024783923e
so pepper must bind and listen to socket fd.

Change-Id: I798c2c0d684ddb1034eaec20eda60e3800ac5e11
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agopepper: add TDM backend 61/55061/4
Sangjin Lee [Mon, 21 Dec 2015 12:25:37 +0000 (21:25 +0900)]
pepper: add TDM backend

TDM(tizen display manager) is HAL layer for tizen
this is just draft version.
- use only primary layer
- gl and sw renderer test: ok

Change-Id: Id6ea1c1c90d1d02a3ffa7d315cc20d65fabee574
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agoshell: Fix build error 86/54686/1 accepted/tizen/mobile/20151221.050925 accepted/tizen/tv/20151221.051004 accepted/tizen/wearable/20151221.051043 submit/tizen/20151221.025226
Taekyun Kim [Thu, 17 Dec 2015 07:32:29 +0000 (16:32 +0900)]
shell: Fix build error

Change-Id: I2feae9320873baa5fb5fb1827c46337e604ac93e

8 years agoshell: shell client implementation 82/54582/2
Taekyun Kim [Wed, 16 Dec 2015 08:16:07 +0000 (17:16 +0900)]
shell: shell client implementation

Only manages the pointer cursor now.

Change-Id: I441637a262d97c414a122d3173e7eb4a67b8560e

8 years agopepper: pointer cursor implementation 81/54581/1
Junghoon [Sun, 18 Oct 2015 05:47:32 +0000 (14:47 +0900)]
pepper: pointer cursor implementation

    - implement wl_pointer::set_cursor
    - implement drm_cursor

Change-Id: I45aac2e96b176a8480307a4465782c255e4ca2be

8 years agopepper: Removed unused data device codes 35/54535/1
Taekyun Kim [Wed, 16 Dec 2015 04:40:06 +0000 (13:40 +0900)]
pepper: Removed unused data device codes

Change-Id: I4ac53eccf3da630f543803ffd2418e8ea75f9483

8 years agodoc: Documentation 34/54534/1
Taekyun Kim [Wed, 16 Dec 2015 03:56:52 +0000 (12:56 +0900)]
doc: Documentation

Change-Id: I655102f2bd0619472d5192b0b3658453592ec677

8 years agodoc: documentation in pepper-output-backend.h 33/54533/1
Junghoon [Wed, 9 Dec 2015 08:03:01 +0000 (17:03 +0900)]
doc: documentation in pepper-output-backend.h

Change-Id: I44c2bed7a316308df65243dc8196385580b3c5f4

8 years agodoc: documentation in pepper-input-backend.h 32/54532/1
Junghoon [Wed, 9 Dec 2015 08:01:19 +0000 (17:01 +0900)]
doc: documentation in pepper-input-backend.h

Change-Id: I10115244aa65c9c3279125b5fdb0f377bb3d0250

8 years agopepper: save time of last pointer event 31/54531/1
Junghoon [Fri, 27 Nov 2015 10:50:19 +0000 (19:50 +0900)]
pepper: save time of last pointer event

    - for internal pointer motion event

Change-Id: Ife0f545942952865d9d50a87bb3dbec5e7974426

8 years agodrm: add specific init function for spreadtrum 28/54528/1
Sangjin Lee [Wed, 16 Dec 2015 04:11:06 +0000 (13:11 +0900)]
drm: add specific init function for spreadtrum

drm-sprd need specific init function.

Change-Id: Ibcc0c3dd1acfb0559146c23e8a96c8055b6913a9
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agopepper: option for enabling wl_display_add_socket_fd() 12/53612/1
Taekyun Kim [Tue, 8 Dec 2015 06:34:46 +0000 (15:34 +0900)]
pepper: option for enabling wl_display_add_socket_fd()

wl_display_add_socket_fd() is tizen specific. It is not supported by
other linux systems. So, disable it by default and enable for GBS
build only.

Change-Id: I295b7adcc4619dc630da1716aadfba1c53565ab2

8 years agopepper: support creation with socket fd 77/53577/1
Sangjin Lee [Tue, 8 Dec 2015 04:27:22 +0000 (13:27 +0900)]
pepper: support creation with socket fd

Change-Id: I604c91dc631f39419a6ccc2fd6fb5f3cc244207f
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agodrm: Check valid pageflip in handler 97/53197/1
Sangjin Lee [Wed, 2 Dec 2015 12:36:08 +0000 (21:36 +0900)]
drm: Check valid pageflip in handler

drmModePageFlip is called twice.
1. output render
2. start_repaint_loop
So the pageflip handler is called twice and relese front buffer for invaild

Change-Id: I00a79f1405001abcb41abcd685ce0c6a3da923c2
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agodrm: fix resource leak 46/53046/1
Sangjin Lee [Tue, 1 Dec 2015 06:49:15 +0000 (15:49 +0900)]
drm: fix resource leak

Change-Id: Ied296861266fd8479efdf3407ce968cf4a194cca
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agorender: change to supprot the wayland-tbm buffer 36/53036/2
Sangjin Lee [Tue, 1 Dec 2015 05:01:03 +0000 (14:01 +0900)]
render: change to supprot the wayland-tbm buffer

pixman renderer can support wayland-tbm buffer.

Change-Id: Idff39133e72a023451aab5d92234efdd74a92142
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agodrm: Use wayland-tbm protocol 28/53028/1
Sangjin Lee [Tue, 1 Dec 2015 02:14:07 +0000 (11:14 +0900)]
drm: Use wayland-tbm protocol

Change-Id: Ib9e078da148e03b693be473e8efd639915945f26
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agodesktop-shell : xdg-shell version upgrade to 5 71/52971/1
Sangjin Lee [Mon, 30 Nov 2015 10:57:45 +0000 (19:57 +0900)]
desktop-shell : xdg-shell version upgrade to 5

Change-Id: I27364e2e7579dab4174cc220dd08722e1e030351
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agopepper: remove unused variable 14/52914/1
Junghoon [Fri, 27 Nov 2015 05:50:36 +0000 (14:50 +0900)]
pepper: remove unused variable

Change-Id: I8a60e131b8e11504495165d18db0f9db58a5b39e

8 years agopepper: destroy resources in subcompositor_destroy 13/52913/1
Jaehoon Jeong [Wed, 25 Nov 2015 06:51:39 +0000 (15:51 +0900)]
pepper: destroy resources in subcompositor_destroy

Change-Id: I0c3a7591403d411409e92a9553daa24d5a3870bc

8 years agopepper: Initialize subcompositor when creating compositor 12/52912/1
Jaehoon Jeong [Wed, 25 Nov 2015 06:50:58 +0000 (15:50 +0900)]
pepper: Initialize subcompositor when creating compositor

Change-Id: I20053bf6795dbcbc2674b2cc62bc769b72bc7988

8 years agobuild: add doxygen support 11/52911/1
Jaehoon Jeong [Tue, 24 Nov 2015 07:46:29 +0000 (16:46 +0900)]
build: add doxygen support

    - Documentation build enabled as default, so use --disable-document if do not want

Change-Id: I51c83a58d69276065323b0b33999cb987c9dbbb4

8 years agorender: gl-renderer: minor refactoring of repaint_region_scissor() 10/52910/1
Junghoon [Wed, 25 Nov 2015 07:33:48 +0000 (16:33 +0900)]
render: gl-renderer: minor refactoring of repaint_region_scissor()

Change-Id: Iaec6c59dc57cd96698ed426eddac534d905e10b9

8 years agorender: gl-renderer: apply y_inverted 09/52909/1
Junghoon [Tue, 24 Nov 2015 07:57:26 +0000 (16:57 +0900)]
render: gl-renderer: apply y_inverted

Change-Id: I3761e9e60c6aad12916b76acb357a1a80de36d3a