platform/upstream/SDL.git
2 years agoRemove tizen specific feature-surfaceless_context 75/275075/2 accepted/tizen/unified/20220524.050346 submit/tizen/20220516.093046
Daekwang Ryu [Mon, 16 May 2022 08:59:16 +0000 (17:59 +0900)]
Remove tizen specific feature-surfaceless_context

SDL 2.0.14 supports the feature. So this code isn't needed anymore.

Change-Id: Ic6fe5deddc899c64f00d587262aeeb144d6d9be4

2 years ago[Tizen] Add the exception case for null input argument 41/272641/4 accepted/tizen/unified/20220329.134606 submit/tizen/20220328.100115
Wonsik Jung [Tue, 22 Mar 2022 07:20:56 +0000 (16:20 +0900)]
[Tizen] Add the exception case for null input argument

Basically, SDL_main() should be used in Tizen SDL.
If SDL application is built in Tizen SDL or Tizen build system,
the application will be used with SDL_main().

If one SDL application that is built on the other embedded linux build system,
the application try to work on Tizen device,
the application should use main instead of SDL_main().
This patch is for that.

Change-Id: I9864c756e4639659c0698beb1019faff4a24f698

2 years ago[Tizen] Fix invalid migration from SDL 2.0.14 02/272802/1
Wonsik Jung [Thu, 24 Mar 2022 21:14:58 +0000 (06:14 +0900)]
[Tizen] Fix invalid migration from SDL 2.0.14

Fix invalid migration from SDL 2.0.14.
Some functions are defined twice.

Change-Id: Icff9b14b1a51e421007a8babd0dba6e0199d830a

2 years ago[Tizen] Support Autoconf 2.71 15/271915/1 accepted/tizen/unified/20220303.094556 submit/tizen/20220303.093944
Wonsik Jung [Thu, 3 Mar 2022 06:14:39 +0000 (15:14 +0900)]
[Tizen] Support Autoconf 2.71

Fix build error to support Autoconf 2.71

Change-Id: I389fbd06309308259565fb84ef3ab218c2d1c0bf

2 years agoUpgrade version to 2.0.14. 40/269840/5 accepted/tizen/unified/20220225.151856 submit/tizen/20220224.063941
huayong.xu [Thu, 20 Jan 2022 08:27:04 +0000 (16:27 +0800)]
Upgrade version to 2.0.14.

When upgrading, Orphan-packaging Model is used:
1. import SDL source in tizen branch.
   gbs import ../zlib-2.0.14.tar.gz
2. push source into remote upstream branch
   git push origin --tags
3. merge source from upstream to tizen.
   git merge upstream
4. fix conflicts and build errors.

Change-Id: I4d4a861abf05a67807d906d2fb7d46814b49b244

2 years agoImported Upstream version 2.0.14 upstream upstream/2.0.14
huiyu.eun [Thu, 6 Jan 2022 02:02:09 +0000 (11:02 +0900)]
Imported Upstream version 2.0.14

2 years agoAdd device name of Ecore_Event_Key 83/268083/1 accepted/tizen/unified/20211229.132638 submit/tizen/20211228.032513
huiyu.eun [Thu, 16 Dec 2021 04:27:36 +0000 (13:27 +0900)]
Add device name of Ecore_Event_Key

Change-Id: I19251112c39c4d911436fbbcc1540b2a07204bd3
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years agoFix svace issue 15/263515/1 upgrade_2.0.14 accepted/tizen/6.5/unified/20211028.224844 accepted/tizen/unified/20210906.123705 submit/tizen/20210906.013721 submit/tizen_6.5/20211028.163301 tizen_6.5.m2_release
huiyu.eun [Mon, 6 Sep 2021 01:33:55 +0000 (10:33 +0900)]
Fix svace issue

add null checker

Change-Id: I0baf60e52dc19adb9194d5b6760c0bcd2af06dfc
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years agoFix svace issue 31/262531/2 accepted/tizen/unified/20210826.123539 submit/tizen/20210813.035334 submit/tizen/20210826.001725
huiyu.eun [Fri, 13 Aug 2021 02:31:29 +0000 (11:31 +0900)]
Fix svace issue

Fix 'DEREF_OF_NULL'
- Add null checker

Change-Id: Icb5b8a74bc652a165397df6a7d55920c3c1502e8
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years agoDelete Indicator code 37/260437/1 accepted/tizen/unified/20210625.170305 submit/tizen/20210625.021255
huiyu.eun [Fri, 25 Jun 2021 02:05:40 +0000 (11:05 +0900)]
Delete Indicator code

Change-Id: I22ceeec3349e1968d6e8645239cfbe2675c27dfd
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years agoChange return value of tizen window callback 12/250112/1 accepted/tizen/unified/20201221.122649 submit/tizen/20201221.034947
huiyu.eun [Mon, 21 Dec 2020 02:46:13 +0000 (11:46 +0900)]
Change return value of tizen window callback

 - ECORE_CALLBACK_CANCEL->ECORE_CALLBACK_PASS_ON
 - if ECORE_CALLBACK_CANCEL is returned,
  the event callback functions registered later will not be called.

Change-Id: I86af52d2e15d913281ea88fb6f335f70689ad1f6
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years agoDelete ltmain.sh 41/242641/2 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.112819 accepted/tizen/6.0/unified/hotfix/20201102.233222 accepted/tizen/unified/20200907.023502 submit/tizen/20200904.075533 submit/tizen_6.0/20201029.205503 submit/tizen_6.0_hotfix/20201102.192903 submit/tizen_6.0_hotfix/20201103.115103 tizen_6.0.m2_release
huiyu.eun [Fri, 28 Aug 2020 10:40:40 +0000 (19:40 +0900)]
Delete ltmain.sh

Change-Id: Idabcffa934d55fcc698f970fa9e28748cda55caa
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years agoDelete unused files 38/241938/2
huiyu.eun [Fri, 21 Aug 2020 03:37:07 +0000 (12:37 +0900)]
Delete unused files

Change-Id: I4107bc0255be03522511ea0f3297dd647b2ef128
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years agoDelete config files 36/241936/3
huiyu.eun [Fri, 21 Aug 2020 03:26:46 +0000 (12:26 +0900)]
Delete config files

Change-Id: Icc9618fcfdcb36deac183f51cbe9d7d87143da89
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[SDL_Tizen] Update tizen.org URL in SDL-Tizen docs 53/220453/1 accepted/tizen/unified/20200114.130708 submit/tizen/20200113.070329
Seoyeon Kim [Wed, 18 Dec 2019 10:05:06 +0000 (19:05 +0900)]
[SDL_Tizen] Update tizen.org URL in SDL-Tizen docs

- According to the address change of tizen documents,
  updated URL in sdl-tizen_docs.h

Change-Id: I68a011f55d2fd1ab98ea5f622700bdc651a77bd7
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
5 years ago[tizen] remove vulkan pkg dependency 86/208086/1 submit/tizen/20190618.055410
Wonsik Jung [Tue, 18 Jun 2019 05:43:29 +0000 (14:43 +0900)]
[tizen] remove vulkan pkg dependency

Change-Id: Ia02351a48ae3e8426d15a5ed723bf37035feffd5

5 years ago[SDL_Tizen] Add relro option 59/197159/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.010351 accepted/tizen/5.5/unified/mobile/hotfix/20201027.072900 accepted/tizen/unified/20190111.055214 submit/tizen/20190110.051512 submit/tizen_5.5/20191031.000006 submit/tizen_5.5_mobile_hotfix/20201026.185108 tizen_5.5.m2_release
huiyu.eun [Thu, 10 Jan 2019 04:56:30 +0000 (13:56 +0900)]
[SDL_Tizen] Add relro option

Change-Id: If3299fff630df330702000ec292413ce4f8c2025
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
5 years ago[SDL_Tizen] Add SDL_Tizen_GetNativeWindow() 70/195070/3 accepted/tizen/unified/20181211.064656 submit/tizen/20181211.010903
huiyu.eun [Mon, 10 Dec 2018 09:43:30 +0000 (18:43 +0900)]
[SDL_Tizen] Add SDL_Tizen_GetNativeWindow()

Change-Id: I9903ceef19d3c01022a4c4b3c845c8c3b01f0475
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Add RELRO option 07/190607/1 accepted/tizen/5.0/unified/20181102.023749 accepted/tizen/unified/20181005.013930 submit/tizen/20181004.062010 submit/tizen_5.0/20181101.000005
huiyu.eun [Thu, 4 Oct 2018 06:02:47 +0000 (15:02 +0900)]
[SDL_Tizen] Add RELRO option

Change-Id: I9075d3c8e82bc540b86e9d4e0564af3a953b5f4f
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Fix svace issue 07/190307/2 accepted/tizen/unified/20181001.092551 submit/tizen/20181001.031614
huiyu.eun [Mon, 1 Oct 2018 02:17:50 +0000 (11:17 +0900)]
[SDL_Tizen] Fix svace issue

Change-Id: I9d519d3a77506bb0fddeea9d0eedce7e5ef8baff
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Delete unused files 23/188723/3 accepted/tizen/unified/20180910.172117 submit/tizen/20180910.065916
huiyu.eun [Mon, 10 Sep 2018 01:21:04 +0000 (10:21 +0900)]
[SDL_Tizen] Delete unused files

Change-Id: I804af9c0bc5372b72ed9d20f01a8179b1cf5d0e7
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Add new internal apis for window 08/188708/5
huiyu.eun [Fri, 7 Sep 2018 11:41:47 +0000 (20:41 +0900)]
[SDL_Tizen] Add new internal apis for window

SDL_Tizen_AddAuxiliaryHint
SDL_Tizen_RemoveAuxiliaryHint
SDL_Tizen_SetAuxiliaryHint

SDL_Tizen_GetAuxiliaryHintValue
SDL_Tizen_GetAuxiliaryHintId

SDL_Tizen_SetWindowFocusSkip
SDL_Tizen_GetWindowFocusSkip

Change-Id: Iba73579e273cf21938acb1e2bedefabcc45a86f9
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Fix Resume/Pause issuse when use multi-window 71/188371/1
huiyu.eun [Tue, 4 Sep 2018 08:32:44 +0000 (17:32 +0900)]
[SDL_Tizen] Fix Resume/Pause issuse when use multi-window

Change-Id: I42c7848eb91dd56e58d5e9872c236a297c3c7135
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Fix svace issue 98/187698/2 accepted/tizen/unified/20180828.182314 submit/tizen/20180828.045128
huiyu.eun [Tue, 28 Aug 2018 02:37:44 +0000 (11:37 +0900)]
[SDL_Tizen] Fix svace issue

Change-Id: Ie3b08ed6d157641014f30a370fcb924f59758c9f
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years agoRevert "add SDL2_image support" 32/187032/2 accepted/tizen/unified/20180828.062226 submit/tizen/20180823.070042
junqing.ma [Fri, 17 Aug 2018 09:23:21 +0000 (17:23 +0800)]
Revert "add SDL2_image support"

This reverts commit a2ea33614cc9f7e389d6a3653810f13fdd945044.

Change-Id: I08e9bf8ed9a79079a019e53e7d56bd3c83cbf627

6 years ago[SDL_Tizen] Add SDL_vulkan header to SDL.h 58/186858/1 accepted/tizen/unified/20180817.061757 submit/tizen/20180816.051646 submit/tizen/20180817.010534
huiyu.eun [Thu, 16 Aug 2018 04:52:41 +0000 (13:52 +0900)]
[SDL_Tizen] Add SDL_vulkan header to SDL.h

Change-Id: Iba8ec37dfde163f071d17bf0248f984b02626829
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years agoMerge "[SDL_Tizen] Fix build warnings" into tizen accepted/tizen/unified/20180813.152534 accepted/tizen/unified/20180814.063313 submit/tizen/20180813.092010 submit/tizen/20180814.021014
Wonsik Jung [Mon, 30 Jul 2018 02:56:36 +0000 (02:56 +0000)]
Merge "[SDL_Tizen] Fix build warnings" into tizen

6 years agoMerge "[SDL_Tizen] Call ecore_wl2_window_position_set when creating window" into...
Wonsik Jung [Mon, 30 Jul 2018 02:56:05 +0000 (02:56 +0000)]
Merge "[SDL_Tizen] Call ecore_wl2_window_position_set when creating window" into tizen

6 years ago[SDL_Tizen] Call ecore_wl2_window_position_set when creating window 63/185363/1
huiyu.eun [Mon, 30 Jul 2018 02:29:40 +0000 (11:29 +0900)]
[SDL_Tizen] Call ecore_wl2_window_position_set when creating window

Change-Id: I8e5c11a7d7b106bdce59fe4b0db5bef524a27060
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Fix build warnings 49/185149/2
huiyu.eun [Thu, 26 Jul 2018 08:33:25 +0000 (17:33 +0900)]
[SDL_Tizen] Fix build warnings

Change-Id: Icdcf1cb45dff488b9ea6b9290b143ab19334a2d3
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Call ecore_wl2_window_iconified_set() 96/184996/2
huiyu.eun [Wed, 25 Jul 2018 06:14:05 +0000 (15:14 +0900)]
[SDL_Tizen] Call ecore_wl2_window_iconified_set()

Change-Id: Id13ac7c503cb2e25ddef6bd74d67c036102678d2
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Delete elementary dependency of ui_app_main 40/184440/6
huiyu.eun [Wed, 18 Jul 2018 04:23:55 +0000 (13:23 +0900)]
[SDL_Tizen] Delete elementary dependency of ui_app_main

Change-Id: I081ae08851a8cac8d5d55f1ef05e825765a15a7b
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Modify vulkan BuildRequires 73/184473/3
huiyu.eun [Wed, 18 Jul 2018 07:10:31 +0000 (16:10 +0900)]
[SDL_Tizen] Modify vulkan BuildRequires

Change-Id: I64665e9285357232f5590e4d543bd50097dcd843
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Add wl_registry_add_listener remove callback 38/184138/2
huiyu.eun [Mon, 16 Jul 2018 01:52:24 +0000 (10:52 +0900)]
[SDL_Tizen] Add wl_registry_add_listener remove callback

Change-Id: Ic6bb87f20562484e8f84362616f342c95f11a1b8
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years agoadd SDL2_image support 63/179163/2
MaJunqing [Wed, 16 May 2018 06:51:34 +0000 (14:51 +0800)]
add SDL2_image support

Change-Id: I4e6a038f7f96f9905350e5d5bec0b501dda86df3

6 years agoadd SDL2_ttf support 62/179162/1
MaJunqing [Wed, 16 May 2018 06:22:29 +0000 (14:22 +0800)]
add SDL2_ttf support

Change-Id: I9bbfed8f408d4448341cd9cb345ff6ffabbfa85a

6 years agoupgrade SDL to version 2.0.8 13/178313/2
MaJunqing [Wed, 9 May 2018 08:27:22 +0000 (16:27 +0800)]
upgrade SDL to version 2.0.8

Change-Id: Idd26d2286f65bedc9c86d5dc3f7ebd2f69dd2baf

6 years agoImported Upstream version 2.0.8 66/177066/1 upstream/2.0.8
MaJunqing [Wed, 25 Apr 2018 05:42:37 +0000 (13:42 +0800)]
Imported Upstream version 2.0.8

Change-Id: I1834be70042e87613e3a42e3c71ad5c6fa907434

6 years ago[SDL_Tizen] Fix memory leak issue 93/174293/4 accepted/tizen/unified/20180416.213841 submit/tizen/20180416.022228
huiyu.eun [Fri, 30 Mar 2018 00:30:14 +0000 (09:30 +0900)]
[SDL_Tizen] Fix memory leak issue

leaked_storage:
Variable globals going out of scope leaks the storage it points to

Change-Id: I7fc23760993a57de39582ba1b155bab78a2051cc
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Add wayland-egl-tizen 82/173982/1
huiyu.eun [Tue, 27 Mar 2018 08:37:24 +0000 (17:37 +0900)]
[SDL_Tizen] Add wayland-egl-tizen

Change-Id: I57a4e810f8892e2ef48203e99393397326986eb9
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Fix coverity issue 92/173792/1
huiyu.eun [Mon, 26 Mar 2018 03:56:21 +0000 (12:56 +0900)]
[SDL_Tizen] Fix coverity issue

CID 104943 (#1 of 1): Unchecked return value (CHECKED_RETURN)
1. check_return: Calling app_event_get_language without checking return
value (as is done elsewhere 37 out of 38 times).

Change-Id: Icbb44f7627b7eef2d6c0aae6f200e92b8fbcb4cc
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[SDL_Tizen] Sync latest SDL_GetNumAudioDevices function 46/173246/2
huiyu.eun [Tue, 20 Mar 2018 06:51:42 +0000 (15:51 +0900)]
[SDL_Tizen] Sync latest SDL_GetNumAudioDevices function

missing_unlock: Returning without unlocking
current_audio.detectionLock->id.

sync->https://hg.libsdl.org/SDL/file/e12c38730512/src/audio/SDL_audio.c

Change-Id: Iaa2685b4cfbdc5d0d66b54ea294c2d76adac849a
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
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>
7 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>
7 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

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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

7 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>
7 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>
7 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>
7 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

7 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>
7 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>
7 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

7 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>
7 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>
7 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>
7 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>
7 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

7 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

7 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>
7 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>
7 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>
7 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>
7 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

7 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

7 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>
7 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>
7 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

7 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>
7 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>
7 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>
7 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>
7 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

7 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>
7 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>
7 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

7 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>
7 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>
7 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>
7 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

7 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>
7 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>
7 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>
7 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>
7 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>
7 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

7 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