platform/upstream/SDL.git
6 years ago[SDL_Tizen] Fix dereference 37/173237/2
huiyu.eun [Tue, 20 Mar 2018 06:22:08 +0000 (15:22 +0900)]
[SDL_Tizen] Fix dereference

- Dereference before null check

Change-Id: Ic30e49449edd008f60717069206a464c5fa750ef
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[Tizen] : adding ecore-wl2 feature 03/173003/1 accepted/tizen/unified/20180328.010144 submit/tizen/20180319.053649
Wonsik, Jung [Mon, 19 Mar 2018 07:33:07 +0000 (16:33 +0900)]
[Tizen] : adding ecore-wl2 feature

To upgrade EFL 1.20, adding ecore-wl2 feature in tizen backend

Change-Id: Iaec3e55784d9ccce9a245124df1ef09c22afe254

6 years ago[SDL_Tizen] Fix svace issue 36/170336/1
huiyu,eun [Mon, 19 Feb 2018 07:47:59 +0000 (16:47 +0900)]
[SDL_Tizen] Fix svace issue

Change-Id: I91f08316ec2d666842db92e0f57daba71e594ba2
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Fix drawing issue 05/166105/1
huiyu,eun [Wed, 27 Dec 2017 09:09:15 +0000 (18:09 +0900)]
[SDL_Tizen] Fix drawing issue

Change-Id: I04b684e8b47d491266545021ebf6d5ffcb686a10
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Fix build warnings 37/152137/1 accepted/tizen/4.0/unified/20170925.150705 accepted/tizen/unified/20170925.150804 submit/tizen/20170925.063945 submit/tizen_4.0/20170925.063959 submit/tizen_4.0/20171211.021012 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release
huiyu,eun [Mon, 25 Sep 2017 06:25:30 +0000 (15:25 +0900)]
[SDL_Tizen] Fix build warnings

-implicit declaration of function 'init_info' [-Wimplicit-function-declaration]
-conflicting types for 'init_info'
 -> previous implicit declaration of 'init_info' was here

-pointer targets in passing argument 6 of 'edje_object_part_geometry_get' differ in signedness [-Wpointer-sign]

Change-Id: I8dbb5008f38be71bac9989c6798a3687425e8ea5
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years agotizen_policy: change version of tizen_policy to 7 49/150649/1 submit/tizen/20170925.044006 submit/tizen_4.0/20170925.044016
JunSeok, Kim [Mon, 18 Sep 2017 06:49:54 +0000 (15:49 +0900)]
tizen_policy: change version of tizen_policy to 7

Changing version of tizen_policy to 7 because of tizen_extension version
up.
And implements dumy callback function for highter version.

Change-Id: I7cd938f25d59b7a94c7a27a879dca894542d011a

6 years agoDelete unused files 96/148496/1 accepted/tizen/4.0/unified/20170911.154244 accepted/tizen/unified/20170911.060312 submit/tizen/20170908.044758 submit/tizen_4.0/20170908.044746
huiyu,eun [Fri, 8 Sep 2017 04:26:25 +0000 (13:26 +0900)]
Delete unused files

files has LGPL, apache license

Change-Id: I96670557f99e224fef8404576769112a2e27a490
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Apply ASLR options to sdl_indicator 77/144477/1 accepted/tizen/4.0/unified/20170828.221843 accepted/tizen/unified/20170822.023831 submit/tizen/20170821.030122 submit/tizen_4.0/20170821.031011 submit/tizen_4.0/20170828.100007
huiyu,eun [Thu, 17 Aug 2017 01:32:16 +0000 (10:32 +0900)]
[SDL_Tizen] Apply ASLR options to sdl_indicator

add -fPIE, -pie option in CFLAG, LDFLAG of sdl_indicator

Change-Id: I85c9fc2f80c0bf911cd9d7a4d79aa86754718792
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Modify return value in SDL_tizen_app_init 68/142968/1 accepted/tizen/unified/20170810.172213 submit/tizen/20170810.014105
huiyu,eun [Tue, 8 Aug 2017 05:14:38 +0000 (14:14 +0900)]
[SDL_Tizen] Modify return value in SDL_tizen_app_init

value 0 means sucess.

Change-Id: I1c4e459fa362d4d989a9f9082e1946a7f482f818
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Add directives for check egl_window 48/142348/2 accepted/tizen/unified/20170808.171031 submit/tizen/20170807.010048
huiyu.eun [Wed, 2 Aug 2017 12:51:04 +0000 (21:51 +0900)]
[SDL_Tizen] Add directives for check egl_window

Add directives for check egl_window on OpenGL ES.
- if use vulkan, can't rotate.

Change-Id: I3f1a73078fe7c61570e1b5f66a4c53de01bb5501
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Fix Tizen_VideoQuit() 45/141945/1
huiyu.eun [Wed, 2 Aug 2017 05:28:15 +0000 (14:28 +0900)]
[SDL_Tizen] Fix Tizen_VideoQuit()

When call SDL_Quit twice, have problem
->Add exception case.

Change-Id: Iad36196e8c411ed83e2f04f1060cecd23b6754e0
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Change indicator if-then statement 56/141856/2
huiyu.eun [Wed, 2 Aug 2017 00:19:36 +0000 (09:19 +0900)]
[SDL_Tizen] Change indicator if-then statement

Change-Id: Ib4d327a2020d75b35d8aa9c25e8cb1b67792fb9e
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years agoMerge "[SDL_Tizen] Fix indicator bug" into tizen
huiyu.eun [Tue, 1 Aug 2017 10:31:08 +0000 (10:31 +0000)]
Merge "[SDL_Tizen] Fix indicator bug" into tizen

6 years ago[SDL_Tizen] Fix VD Svace issue 66/141766/1
huiyu.eun [Tue, 1 Aug 2017 10:07:22 +0000 (19:07 +0900)]
[SDL_Tizen] Fix VD Svace issue

delete errorno

Change-Id: I5260a0f8292cff182d6f2ba3f09baff321675345
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Fix indicator bug 01/141601/2
huiyu.eun [Tue, 1 Aug 2017 05:52:34 +0000 (14:52 +0900)]
[SDL_Tizen] Fix indicator bug

- When apply screen-rotation to 90 degree,
  Can't execute indicator process

Change-Id: Id2ecc26af46e23dd179e09f14813a65da1ef05ec
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Load rotation function from shared object 92/141592/1
huiyu.eun [Tue, 1 Aug 2017 05:31:36 +0000 (14:31 +0900)]
[SDL_Tizen] Load rotation function from shared object

- wl_egl_window_set_buffer_transform
- wl_egl_window_set_window_transform

Change-Id: Iddd7297c765d135304a619a9f66c65891ad3ccef
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years agoMerge "[SDL_Tizen] Modify SDL-Tizen docs" into tizen accepted/tizen/4.0/unified/20170816.012908 accepted/tizen/4.0/unified/20170816.015614 accepted/tizen/unified/20170728.195915 accepted/tizen/unified/20170801.054818 submit/tizen/20170728.054402 submit/tizen/20170730.224646 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Wonsik Jung [Fri, 28 Jul 2017 01:23:23 +0000 (01:23 +0000)]
Merge "[SDL_Tizen] Modify SDL-Tizen docs" into tizen

6 years ago[SDL_Tizen] Fix build error 94/140894/2
huiyu.eun [Thu, 27 Jul 2017 05:43:44 +0000 (14:43 +0900)]
[SDL_Tizen] Fix build error

Add appcore-common package

Change-Id: Icc898899c643bcd4087954ddb44f8aed20cd8dc5
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Modify SDL-Tizen docs 76/140876/1
huiyu.eun [Thu, 27 Jul 2017 04:16:22 +0000 (13:16 +0900)]
[SDL_Tizen] Modify SDL-Tizen docs

Modify SDL-Tizen docs

Change-Id: I868d401457daa6c94a147e49861a1e3e974cc156
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years agoMerge "[SDL_Tizen] Delete getenv" into tizen
huiyu.eun [Wed, 26 Jul 2017 00:19:21 +0000 (00:19 +0000)]
Merge "[SDL_Tizen] Delete getenv" into tizen

6 years ago[SDL_Tizen] Delete getenv 97/140097/1
huiyu.eun [Mon, 24 Jul 2017 01:35:13 +0000 (10:35 +0900)]
[SDL_Tizen] Delete getenv

delte getenv
- prerotation
- vsync timer

Change-Id: I9dc03a96bc7c6c2872014441defd85e0f06414d7
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Modify SDL-Tizen docs 15/139415/7
huiyu.eun [Wed, 19 Jul 2017 01:48:43 +0000 (10:48 +0900)]
[SDL_Tizen] Modify SDL-Tizen docs

[ACR-1017] Add new SDL APIs

Change-Id: Ie47f8263eebb510395578d7a0657eeaed59f457a
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Do set_buffer_transform 87/139687/3
huiyu.eun [Thu, 20 Jul 2017 06:20:10 +0000 (15:20 +0900)]
[SDL_Tizen] Do set_buffer_transform

Do set_buffer_transform

Change-Id: I1c0003be100b31be438d16f2adabfe5fc0ca9b06
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Fix svace issue and so name 53/139653/2
huiyu.eun [Thu, 20 Jul 2017 01:29:54 +0000 (10:29 +0900)]
[SDL_Tizen] Fix svace issue and so name

- Fix svace issue
- libwayland-egl.so -> libwayland-egl.so.1

Change-Id: I56b6bd4825f3b4c6032d39721673b8174b2c75d1
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years agoMerge "[SDL_Tizen] Fix security issue" into tizen
Wonsik Jung [Thu, 20 Jul 2017 01:28:03 +0000 (01:28 +0000)]
Merge "[SDL_Tizen] Fix security issue" into tizen

6 years ago[Test] Remove unnecessary library 42/139642/1
Wonsik, Jung [Thu, 20 Jul 2017 00:51:42 +0000 (09:51 +0900)]
[Test] Remove unnecessary library

Change-Id: I6ea815e212458bfd8632aa8c9f975d397c57f35c

6 years ago[SDL_Tizen] Fix security issue 18/139618/1
huiyu.eun [Wed, 19 Jul 2017 14:20:27 +0000 (23:20 +0900)]
[SDL_Tizen] Fix security issue

- Modify sprintf() -> SDL_snprintf()

Change-Id: I2d7267cdc803cc4e39b704e48165db2cf055fc83
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Fix Tizen event arguments 29/139329/2
huiyu.eun [Tue, 18 Jul 2017 10:33:08 +0000 (19:33 +0900)]
[SDL_Tizen] Fix Tizen event arguments

1. clone app_control_h and send event.
2. send actual value of language, region and battery event.

Change-Id: Ie597c697b9a74a2d079ce8e2e2e20a290bce909d
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Add indicator source 72/138572/4
huiyu.eun [Thu, 13 Jul 2017 00:23:56 +0000 (09:23 +0900)]
[SDL_Tizen] Add indicator source

Add indicator source.
When install SDL pacakge, indicator is installed into '/usr/bin/'

Change-Id: Iacc4f5262e123dd7fdb1d647b7f5c59f7eea2b5f
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Delete TIZEN define 38/138338/1
huiyu.eun [Wed, 12 Jul 2017 01:32:01 +0000 (10:32 +0900)]
[SDL_Tizen] Delete TIZEN define

'__TIZEN__' is not define in SDK.

Change-Id: I5c8547ffab1e2644a77781e7b68896561d73c93a
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Improve indicator functions 70/137670/1 accepted/tizen/unified/20170710.154330 submit/tizen/20170707.072036
huiyu.eun [Wed, 5 Jul 2017 06:12:50 +0000 (15:12 +0900)]
[SDL_Tizen] Improve indicator functions

- Send Resume/Pause event to indicator
- When touch the indicator space and occurs rotate event, show indicator to display

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Change-Id: I8223be30f38b7c701c12d9b157883ef78b96a785

6 years agoMerge "[SDL_Tizen] Get a wayland window resource id" into tizen
huiyu.eun [Fri, 7 Jul 2017 01:56:43 +0000 (01:56 +0000)]
Merge "[SDL_Tizen] Get a wayland window resource id" into tizen

6 years ago[SDL_Tizen] Get a wayland window resource id 22/137022/2
huiyu.eun [Tue, 4 Jul 2017 06:32:28 +0000 (15:32 +0900)]
[SDL_Tizen] Get a wayland window resource id

Get a window resouce id using ECORE_WL_EVENT_WINDOW_SHOW event callback.
after that send id to indicator.

Change-Id: Idd2473ff53951095ec660cd2e50dbfa919a25e03
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Modify function related to SDL_Window 17/137017/2
huiyu.eun [Tue, 4 Jul 2017 06:09:58 +0000 (15:09 +0900)]
[SDL_Tizen] Modify function related to SDL_Window

- Add SDL_SetWindowFullScreen()->Tizen_SetWindowFullScreen()
- Modify Tizen_SetWindowSize()

Change-Id: I29f6ecbd364ea981b1bfce6fc4083df3e44bb8ca
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years agoMerge "[SDL_Tizen] Fix rotation issue" into tizen
huiyu.eun [Tue, 4 Jul 2017 05:49:42 +0000 (05:49 +0000)]
Merge "[SDL_Tizen] Fix rotation issue" into tizen

6 years ago[SDL_Tizen] Add SDL Indicator hints 65/136965/6
huiyu.eun [Tue, 4 Jul 2017 01:49:23 +0000 (10:49 +0900)]
[SDL_Tizen] Add SDL Indicator hints

- "opaque" : Opacifies the indicator
- "translucent" : Be translucent the indicator
- "transparent" : Transparentizes the indicator
- "bg_transparent" : Transparentizes the indicator background

Can use tizen indicator by SDL_SetHint() api.
* SDL_SetHint("SDL_TIZEN_INDICATOR_OPACITY", "bg_transparent");

Change-Id: I8fd7f17a8e9241eb3bd4d4cef925fb3b0ea1eb4d
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Fix rotation issue 96/136996/1
huiyu.eun [Tue, 4 Jul 2017 03:02:07 +0000 (12:02 +0900)]
[SDL_Tizen] Fix rotation issue

- If occurs rotatation event, rotate all SDL_Window

Change-Id: I3b584733406bbca603d95e67b02ac3dc2f1bc223
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Move prerotation data to SDL_VideoData 56/136856/1
huiyu.eun [Mon, 3 Jul 2017 07:53:15 +0000 (16:53 +0900)]
[SDL_Tizen] Move prerotation data to SDL_VideoData

SDL_WindowData->SDL_VideoData

Change-Id: I31a255a11a6d1e4e441af4fcae985fe12b8ac338
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Delete build warnings 62/136762/1
huiyu.eun [Mon, 3 Jul 2017 06:15:27 +0000 (15:15 +0900)]
[SDL_Tizen] Delete build warnings

- remove unused code
- adjust function location
- ecore_input_joystick_init function is deprecated since Tizen 4.0
  ecore_event_init calls this by default.

Change-Id: I11ea53becb4d313615ce23b90ddc7cf4cfd34cb8
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years agoMerge "[SDL_Tizen] Add SDL_Window function" into tizen
huiyu.eun [Thu, 29 Jun 2017 07:15:47 +0000 (07:15 +0000)]
Merge "[SDL_Tizen] Add SDL_Window function" into tizen

6 years ago[SDL_Tizen] Add SDL_Window function 55/136255/2
huiyu.eun [Thu, 29 Jun 2017 01:25:51 +0000 (10:25 +0900)]
[SDL_Tizen] Add SDL_Window function

- SDL_HideWindow()->Tizen_HideWindow()
- SDL_RaizeWindow()->Tizen_RaiseWindow()
- SDL_SetWindowTitle()->Tizen_SetWindowTitle()

Change-Id: I08169098558d95e13451c37a93e5c7676a6b0e09
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] delete ecore_imf_callback 51/136251/1
huiyu.eun [Thu, 29 Jun 2017 00:53:23 +0000 (09:53 +0900)]
[SDL_Tizen] delete ecore_imf_callback

-ecore_imf_context_event_callback_add(...) allocates memory
 which is released using ecore_imf_context_event_callback_del(...)
-Documentation :
https://docs.enlightenment.org/auto/group__Ecore__IMF__Context__Group.html#ga7e0ef28b49fbdc54c4657d88a139d5f5

Change-Id: I8be41c3b7426954b46d97377e902ba0b3e86a770
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years agoMerge "[SDL_Tizen] Change rotation function position" into tizen
huiyu.eun [Wed, 28 Jun 2017 23:59:32 +0000 (23:59 +0000)]
Merge "[SDL_Tizen] Change rotation function position" into tizen

6 years ago[SDL_Tizen] Change rotation function position 45/136145/1
huiyu.eun [Wed, 28 Jun 2017 08:03:47 +0000 (17:03 +0900)]
[SDL_Tizen] Change rotation function position

Call _tizen_rotate_update after swap buffer

Change-Id: Ie01f06ca4321a51a1e6b6ec73a07ab7da1c2b256
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Fix orientation issue 86/134386/1
huiyu.eun [Fri, 16 Jun 2017 07:03:48 +0000 (16:03 +0900)]
[SDL_Tizen] Fix orientation issue

Set rotation in _tizen_window_orientaiton_hint_callback function

Change-Id: Id68e833897e99d65a41a351449a84a730b9788d1
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Execute indicator process 45/133745/2
huiyu.eun [Tue, 13 Jun 2017 08:31:53 +0000 (17:31 +0900)]
[SDL_Tizen] Execute indicator process

execute indicator process

Change-Id: Ib09e2c39fe36d99ac6bbab19c1048a5a6f79eaa9
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years agoMerge "[SDL_Tizen] If doesn't support prerotation, window is composite mode" into...
huiyu.eun [Tue, 13 Jun 2017 08:16:48 +0000 (08:16 +0000)]
Merge "[SDL_Tizen] If doesn't support prerotation, window is composite mode" into tizen

6 years ago[SDL_Tizen] Delete unused code 04/133704/1
huiyu.eun [Tue, 13 Jun 2017 06:59:22 +0000 (15:59 +0900)]
[SDL_Tizen] Delete unused code

- Indicator code
- Unused variable

Change-Id: I15e29040f1b6e44c4389638776946a210ed01b28
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] If doesn't support prerotation, window is composite mode 95/133095/1
huiyu.eun [Fri, 9 Jun 2017 02:12:55 +0000 (11:12 +0900)]
[SDL_Tizen] If doesn't support prerotation, window is composite mode

 window is 'composite' mode
1) In case of using screen rotation.
2) If doesn't support prerotation.

Change-Id: If44d12c8af9db632c133c4b9143085bfdff32837
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Add Screen Rotation 15/131615/4 accepted/tizen/unified/20170609.054234 submit/tizen/20170607.021940
huiyu.eun [Tue, 30 May 2017 07:48:48 +0000 (16:48 +0900)]
[SDL_Tizen] Add Screen Rotation

Add Screen Rotation

Change-Id: I6f5a3243984ac9194ae11494d51f037f01375407
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Fix Rotation Issue 66/131566/1
huiyu.eun [Tue, 30 May 2017 04:53:19 +0000 (13:53 +0900)]
[SDL_Tizen] Fix Rotation Issue

- If alpha size is not zero, doesn't occur rotate event.
- alpha value fixed a zero.

Change-Id: I01728f61121ca29731bf936128831a06f1520f52
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Fix build warning 50/130350/1
huiyu.eun [Mon, 22 May 2017 05:55:01 +0000 (14:55 +0900)]
[SDL_Tizen] Fix build warning

- /home/abuild/rpmbuild/BUILD/SDL2-2.0.4/src/SDL_log.c:92:5:
  warning: initialization makes integer from pointer without a cast [-Wint-conversion]
- Modify Null to 0(DLOG_UNKNOWN)

Change-Id: Ie9880b060bf63d3214461a0923668df83d934388
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years agoRevert "[SDL_Tizen] Reduce CPU usage" 35/128235/1 accepted/tizen/unified/20170508.153331 submit/tizen/20170508.071648 tizen_4.0.m1_release
Daekwang Ryu [Mon, 8 May 2017 06:20:33 +0000 (15:20 +0900)]
Revert "[SDL_Tizen] Reduce CPU usage"

This reverts commit defbe27d13a987dd925b035fa4a0130b1a40a18d.

Change-Id: I5a5354c180df71e583b235caff22f59c2242b387

6 years ago[SDL_tizen] fix Svace issue 34/128234/1
Daekwang Ryu [Mon, 8 May 2017 06:19:35 +0000 (15:19 +0900)]
[SDL_tizen] fix Svace issue

check wayland window and surface before using it.

Change-Id: Iee01f6e304d03a458f3d97c63bfe0c9c525c0b78

7 years ago[SDL_Tizen] Reduce CPU usage 65/127365/2
huiyu.eun [Thu, 27 Apr 2017 05:44:52 +0000 (14:44 +0900)]
[SDL_Tizen] Reduce CPU usage

Add usleep(0) at Tizen_PumpEvents();

Change-Id: I83e5e0093563c51ed19827a41fe4a28caafb623f
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Delete LGPL files 36/127036/1 accepted/tizen/unified/20170426.061826 submit/tizen/20170426.022238 submit/tizen/20170426.022443
huiyu.eun [Wed, 26 Apr 2017 02:01:30 +0000 (11:01 +0900)]
[SDL_Tizen] Delete LGPL files

- Fix warnings
- Delete LGPL files

Change-Id: I39e0f8f13e67b60eb38c1dff04e84a83fb8ee361
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Fix Svace Issue 11/125711/1 accepted/tizen/unified/20170419.165248 submit/tizen/20170419.044319
huiyu.eun [Tue, 18 Apr 2017 12:05:58 +0000 (21:05 +0900)]
[SDL_Tizen] Fix Svace Issue

-SDL_waylandevents.c : DEREF_OF_NULL
 -> Pointer 'window' that can have only NULL value(417 line).
-SDL_test_fuzzer.c : UNREACHABLE_CODE
 -> line 261, 400, bufIdx (4 <= [0, 3]) is always false.

Change-Id: Ie5bdd4a4da88a4b3b428f82df2bad9b97dbbbbf9
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[Tizen] modify event looping with non block mode 31/125131/1
Wonsik, Jung [Fri, 14 Apr 2017 02:28:29 +0000 (11:28 +0900)]
[Tizen] modify event looping with non block mode

Sometimes, event looping is pause, so, event block mode is non.

Change-Id: Ia7105713077832e55f2f1c740c5d0d28abf70e36

7 years ago[Tizen] Support 32 bit window surface 29/125129/1
Wonsik, Jung [Fri, 14 Apr 2017 02:16:10 +0000 (11:16 +0900)]
[Tizen] Support 32 bit window surface

To support 32bit window, use EGL atrribute of EGL_ALPHA_SIZE
If EGL_ALPHA_SIZE is valid, opaque regions are NULL

Change-Id: I4306f3c4688f6fdf20af43035699204085fcc4fb

7 years agoUse strncpy instead of strcpy 10/124810/1
Daekwang Ryu [Wed, 12 Apr 2017 11:01:03 +0000 (20:01 +0900)]
Use strncpy instead of strcpy

Change-Id: If5bdeafe9c0ac87097e0417524e7ae7a64fe5619

7 years agoMerge "[Tizen/Wayland] Modify event loop code" into tizen
Wonsik, Jung [Wed, 12 Apr 2017 05:21:09 +0000 (22:21 -0700)]
Merge "[Tizen/Wayland] Modify event loop code" into tizen

7 years ago[Tizen/Wayland] Modify event loop code 63/124563/1
Wonsik, Jung [Tue, 11 Apr 2017 23:49:09 +0000 (08:49 +0900)]
[Tizen/Wayland] Modify event loop code

To reduce CPU usage, modify event loop.
The modified code is that wait for receiving new event.

Change-Id: Ib98e9214ddadaa2233387506e53aeb000aff2d95

7 years agoMerge "[Wayland] Modify wayland event polling" into tizen
Wonsik, Jung [Mon, 10 Apr 2017 05:03:57 +0000 (22:03 -0700)]
Merge "[Wayland] Modify wayland event polling" into tizen

7 years ago[Wayland] Modify wayland event polling 50/124050/1
Wonsik, Jung [Mon, 10 Apr 2017 04:53:23 +0000 (13:53 +0900)]
[Wayland] Modify wayland event polling

Modify wayland event polling in wayaland backend.
This patch is made by referring the below.

https://wayland.freedesktop.org/docs/html/apb.html#Client-classwl__display

Change-Id: Ia070b96e285b595b223752386099484b753b0d9f

7 years ago[SDL_Tizen] Fix svace issue 16/123516/2 accepted/tizen/unified/20170407.190801 submit/tizen/20170407.065343
huiyu.eun [Thu, 6 Apr 2017 03:43:03 +0000 (12:43 +0900)]
[SDL_Tizen] Fix svace issue

- Uninitialized data is read from local variable 'sampleErrorY' at SDL_test_compare.c:106.
  The variable is uninitialized at SDL_test_compare.c:106.
- Buffer 'tempBuf' of size 4 accessed at SDL_test_fuzzer.c:259 can overflow.
  since its index 'return value of SDLTest_RandomUint8() % index' can have value 254 that is out of range,
  as indicated by preceding conditional expression at SDL_test_fuzzer.c:259.

Change-Id: Ia35aeea7f691bc582c40136c4269d70785e68000
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years agoMerge "[SDL_Tizen] Copy license" into tizen
huiyu.eun [Tue, 28 Mar 2017 06:34:44 +0000 (23:34 -0700)]
Merge "[SDL_Tizen] Copy license" into tizen

7 years ago[SDL_Tizen] Copy license 52/121452/2
huiyu.eun [Tue, 28 Mar 2017 05:30:30 +0000 (14:30 +0900)]
[SDL_Tizen] Copy license

Add '%license COPYING'

Change-Id: I52c8fc8cba3db097180db6038fb768f74a27142f
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years agoMerge "[Wayland] Add touch event & xdg-shell functions in wayland backend" into tizen
Wonsik, Jung [Mon, 27 Mar 2017 05:16:58 +0000 (22:16 -0700)]
Merge "[Wayland] Add touch event & xdg-shell functions in wayland backend" into tizen

7 years ago[Wayland] Add touch event & xdg-shell functions in wayland backend 76/120976/2
Wonsik, Jung [Mon, 27 Mar 2017 02:25:00 +0000 (11:25 +0900)]
[Wayland] Add touch event & xdg-shell functions in wayland backend

In Wayland bakcend, add touch event & xdg-shell listener

Change-Id: Ic1f30b823a9edf90ea2ea05b43b23a6b25188ba4

7 years ago[SDL_Tizen] Delete unused GPL files 70/119470/1
huiyu.eun [Fri, 17 Mar 2017 05:38:01 +0000 (14:38 +0900)]
[SDL_Tizen] Delete unused GPL files

Delete Unused GPL files

Change-Id: I3ddaeb4af683bf2b13eefeeb2ccb78847d76906c
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Fix pre-rotation issue 89/118189/2
huiyu.eun [Wed, 8 Mar 2017 06:48:25 +0000 (15:48 +0900)]
[SDL_Tizen] Fix pre-rotation issue

- Change prerotation location before draw call
- Remove wl_egl_window_resize() before prerotation
- Use Tizen_SetWindowSize

Change-Id: I199fad47c5638970808afeeb51786bd90d7ab502
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Modify memory leak
huiyu.eun [Wed, 8 Feb 2017 05:01:02 +0000 (14:01 +0900)]
[SDL_Tizen] Modify memory leak

[Svace Issue] Dynamic memory referenced by 'display' was allocated at SDL_malloc.c:36
by calling function 'SDL_malloc_REAL' at SDL_waylandvideo.c:212 and lost at SDL_waylandvideo.c:222.

refer https://www.libsdl.org/tmp/SDL/src/haptic/linux/SDL_syshaptic.c

Change-Id: Id5607d1d88aa15349e561b0d5397ea3944f08316
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Modify MakeCurrent 13/110813/2
huiyu.eun [Wed, 18 Jan 2017 06:24:52 +0000 (15:24 +0900)]
[SDL_Tizen] Modify MakeCurrent

If have not window and have context, pass context.

Change-Id: I1f988cef81504b895992d9cdb33376ba710f1eb8
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Remove remote surface indicator 37/110337/1
huiyu.eun [Mon, 16 Jan 2017 03:58:27 +0000 (12:58 +0900)]
[SDL_Tizen] Remove remote surface indicator

remove remote surface indicator

Change-Id: Id5e96f0c0987ce9f34935ddb7b0e1fa97fb1f6e3
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Fix pre-rotation 06/109106/2
huiyu.eun [Mon, 9 Jan 2017 01:53:22 +0000 (10:53 +0900)]
[SDL_Tizen] Fix pre-rotation

- Have fixed driver issue.
Call wl_egl_window_resize() with passing parameter changed window size.

Change-Id: Ic2287440fff793644609e25887651b010deb8d8c
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Fix pre-rotation issue 04/108904/1
huiyu.eun [Fri, 6 Jan 2017 07:12:12 +0000 (16:12 +0900)]
[SDL_Tizen] Fix pre-rotation issue

[Problem] Occure pre-rotation error when setting one orientation.
[Cause] Called _tizen_cb_event_window_rotate callback 2 times.

Change-Id: I0ebcf25796c51b0573902b375c73ea8fd9e1be1a
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Enable quick panel 73/108673/6
huiyu.eun [Thu, 5 Jan 2017 10:25:22 +0000 (19:25 +0900)]
[SDL_Tizen] Enable quick panel

Enable quick panel if window size is full.

Change-Id: I8009c90cf5207608ac80bee0e1b37e154905d085
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Disable indicator 25/108625/2
huiyu.eun [Thu, 5 Jan 2017 08:23:34 +0000 (17:23 +0900)]
[SDL_Tizen] Disable indicator

Disable indicator

Change-Id: Iff47d2fea71304779ba8c5bed96b70c8679d3157
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Modify a typing error 18/108618/1
huiyu.eun [Thu, 5 Jan 2017 08:13:15 +0000 (17:13 +0900)]
[SDL_Tizen] Modify a typing error

SDL_APP_RIGION_CHANGED->SDL_APP_REGION_CHANGED

Change-Id: I272c459614c8ff1d0b5ff068cfcacc675fd89c1d
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Add pre-rotation environment variable 16/108016/2
huiyu.eun [Mon, 2 Jan 2017 10:12:02 +0000 (19:12 +0900)]
[SDL_Tizen] Add pre-rotation environment variable

Add pre-rotation environment variable.
If you want to change pre-rotation option, add environment variable below.

path : in /etc/profile.d/*.sh file
export SDL_ROTATION=normal or pre_rotation

Change-Id: Icf4abaae95bd083fd6ddf4fe722a0df8ed8ce488
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Move pre-rotaion function 66/107466/2
huiyu.eun [Wed, 28 Dec 2016 07:00:43 +0000 (16:00 +0900)]
[SDL_Tizen] Move pre-rotaion function

[Problem] When using pre-rotate, stretched screen view.
Move function related about pre-rotation into Tizen_GLES_SwapWindow().

Change-Id: I6d4422d3990ebf0bc7af4515ff8b18d559ed7c7c
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Add Null value to appcore_handle after finish 28/107428/1
huiyu.eun [Wed, 28 Dec 2016 04:37:32 +0000 (13:37 +0900)]
[SDL_Tizen] Add Null value to appcore_handle after finish

[Problem] when finish application using home button, remained screen.
Because of calling ui_app_finish twice.
[Solve] Add Null value to appcore_handle after calling ui_app_fini function.

Change-Id: I56a67fcc49fdd25b4a25717a0195558c1864c609
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Block indicator on multi thread 13/106913/1
huiyu.eun [Fri, 23 Dec 2016 14:29:07 +0000 (23:29 +0900)]
[SDL_Tizen] Block indicator on multi thread

occure indicator error on multi thread

Change-Id: I39296fb4aabfdd4ba32dd85561b0b4ebb373546a
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Support environment which is not using pre-rotation 89/106889/2
huiyu.eun [Fri, 23 Dec 2016 10:25:37 +0000 (19:25 +0900)]
[SDL_Tizen] Support environment which is not using pre-rotation

Support environment which is not using pre-rotation.

Change-Id: I4f1b72b2096c112d05b06f2518d9a43ecb9e15c6
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Delete oreientation callback 80/106880/1
huiyu.eun [Fri, 23 Dec 2016 02:14:46 +0000 (11:14 +0900)]
[SDL_Tizen] Delete oreientation callback

Use pre-rotation.

Change-Id: I5c36e65b232ccf508a26d85e5d87c1500abaf873
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years agoMerge "[SDL_Tizen]Add SDL_SetWindowBordered function" into tizen
huiyu.eun [Thu, 22 Dec 2016 12:59:11 +0000 (04:59 -0800)]
Merge "[SDL_Tizen]Add SDL_SetWindowBordered function" into tizen

7 years ago[SDL_Tizen]Add SDL_SetWindowBordered function 17/106717/2
huiyu.eun [Thu, 22 Dec 2016 12:30:57 +0000 (21:30 +0900)]
[SDL_Tizen]Add SDL_SetWindowBordered function

Add SDL_SetWindowBordered() for using indicator.
 + delete terminate callback
 + add to check indicator init

Change-Id: Ieb803fa109277cf75d18c7984759532cd13b9625
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years agoMerge "[Tizen] add vulkan local header" into tizen
Wonsik, Jung [Thu, 22 Dec 2016 12:42:24 +0000 (04:42 -0800)]
Merge "[Tizen] add vulkan local header" into tizen

7 years ago[SDL_TIZEN] code clean up 01/106701/1
Wonsik, Jung [Thu, 22 Dec 2016 12:02:56 +0000 (21:02 +0900)]
[SDL_TIZEN] code clean up

code clean up

Change-Id: Iae599a059a27b76cf6f58d3e3e350b8e53cd8416

7 years ago[SDL_Tizen] Delete using ecore_timer 10/106610/2
huiyu.eun [Thu, 22 Dec 2016 07:40:46 +0000 (16:40 +0900)]
[SDL_Tizen] Delete using ecore_timer

Occur rendering problem using ecore timer

Change-Id: I6d666c6ce7bf742a414e0ce93d4d95b1a93f9653
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[Tizen] add vulkan local header 45/106445/1
Wonsik, Jung [Wed, 21 Dec 2016 13:44:55 +0000 (22:44 +0900)]
[Tizen] add vulkan local header

For vulkan ddk is not supported on env,
add vulkan local header in SDL.

Change-Id: Ib2d85890236b3387d28411e5010c346faeb2091e

7 years ago[SDL_Tizen] Fix Indicator issue 53/106253/4
huiyu.eun [Wed, 21 Dec 2016 06:19:32 +0000 (15:19 +0900)]
[SDL_Tizen] Fix Indicator issue

Doesn't use indicator, if SDL_window size is smaller than device screen size.

Change-Id: I3c1bd4bd8896fc50e98f1753edbd8005f49285da
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Add pre-buffer for remote-surface. 61/105961/2
huiyu.eun [Tue, 20 Dec 2016 06:21:04 +0000 (15:21 +0900)]
[SDL_Tizen] Add pre-buffer for remote-surface.

Change-Id: Icca14b992ab17a5c725ebbd43d5a419e03c61c36
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_tizen] Modify pre-rotation enum type 36/105936/1
huiyu.eun [Tue, 20 Dec 2016 05:37:50 +0000 (14:37 +0900)]
[SDL_tizen] Modify pre-rotation enum type

Change-Id: If07e05caf715e41b665c4ef6fa3c3097ba4a99a0
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Add pre-rotation enum type 81/105881/1
huiyu.eun [Tue, 20 Dec 2016 02:10:51 +0000 (11:10 +0900)]
[SDL_Tizen] Add pre-rotation enum type

Change-Id: Ic054cd48e7cf571761533e28cebb26b30465ad64
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_tizen] Fix Indicator issue and build warnings 33/105433/3
huiyu.eun [Fri, 16 Dec 2016 12:09:47 +0000 (21:09 +0900)]
[SDL_tizen] Fix Indicator issue and build warnings

- Indicator issue : Couldn't draw indicator using EGL_ext sample.
                    EGL-Image moved with indicator.
- Fix build-warnings. 'implicit declaration of function'
- Clean-up code.

Change-Id: I69f7ba29b1eb55575b6cc51ccbf4452a5822df64
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Change SDL_Window size in full screen 43/104843/1
huiyu.eun [Wed, 14 Dec 2016 11:25:08 +0000 (20:25 +0900)]
[SDL_Tizen] Change SDL_Window size in full screen

Change-Id: I3105e95f677c5bddc6ef474563beae61b04aed09
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Fix Indicator issue 30/104830/1
huiyu.eun [Wed, 14 Dec 2016 10:58:57 +0000 (19:58 +0900)]
[SDL_Tizen] Fix Indicator issue

when doesn't use indicator, off the indicator.

Change-Id: I96b14f4dfbc6a8d993e43e07aae872a09d81058f
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Fix indicator issue using multi-thread 11/104811/1
huiyu.eun [Wed, 14 Dec 2016 10:20:33 +0000 (19:20 +0900)]
[SDL_Tizen] Fix indicator issue using multi-thread

Change-Id: I8878449a08f5aac981b43d54a92ff98597b7ced3
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Fix SDL_Test 09/104209/2
huiyu.eun [Mon, 12 Dec 2016 17:02:51 +0000 (02:02 +0900)]
[SDL_Tizen] Fix SDL_Test

- testautomation_audio : if not support audio capture, should return count 0.
                         dsp is not supported in tizen.
- testautomation_render : When create window, add flag 'SDL_WINDOW_FULLSCREEN'
                         because in renderer, drew indicator.

Change-Id: I61bfdc41735ef78eacca71e7ab9e4ad02f47d917
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>