Daekwang Ryu [Mon, 18 Jul 2022 08:16:55 +0000 (17:16 +0900)]
Remove SDL_tizen_app_init in SDL_DYNAMIC_API
It can cause a issue when using SDL_DYNAMIC_API feature
Change-Id: If0702589e45d711ad25587b8e1afda516cd414e3
Daekwang Ryu [Thu, 16 Jun 2022 01:54:25 +0000 (10:54 +0900)]
Change Tizen_GLES_MakeCurrent to using SDL_EGL_MakeCurrent_impl
Tizen_GLES_MakeCurrent doesn't have to be implemented.
I believe that the function was copied from Wayland_GLES_MakeCurrent.
The Wayland's function has been implemented before SDL supports surfaceless_context.
It doesn't still support surfaceless_context.
To support it, the Tizen port can just use SDL_EGL_MakeCurrent_impl.
Change-Id: I7c289afc0f3dd8b1bb525833601185b58b0fc8cb
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
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
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
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
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
huiyu.eun [Thu, 6 Jan 2022 02:02:09 +0000 (11:02 +0900)]
Imported Upstream version 2.0.14
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>
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>
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>
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>
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>
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>
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>
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>
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>
Wonsik Jung [Tue, 18 Jun 2019 05:43:29 +0000 (14:43 +0900)]
[tizen] remove vulkan pkg dependency
Change-Id: Ia02351a48ae3e8426d15a5ed723bf37035feffd5
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
Wonsik Jung [Mon, 30 Jul 2018 02:56:36 +0000 (02:56 +0000)]
Merge "[SDL_Tizen] Fix build warnings" into tizen
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
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>
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>
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>
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>
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>
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>
MaJunqing [Wed, 16 May 2018 06:51:34 +0000 (14:51 +0800)]
add SDL2_image support
Change-Id: I4e6a038f7f96f9905350e5d5bec0b501dda86df3
MaJunqing [Wed, 16 May 2018 06:22:29 +0000 (14:22 +0800)]
add SDL2_ttf support
Change-Id: I9bbfed8f408d4448341cd9cb345ff6ffabbfa85a
MaJunqing [Wed, 9 May 2018 08:27:22 +0000 (16:27 +0800)]
upgrade SDL to version 2.0.8
Change-Id: Idd26d2286f65bedc9c86d5dc3f7ebd2f69dd2baf
MaJunqing [Wed, 25 Apr 2018 05:42:37 +0000 (13:42 +0800)]
Imported Upstream version 2.0.8
Change-Id: I1834be70042e87613e3a42e3c71ad5c6fa907434
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>
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>
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>
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>
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>
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
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
huiyu.eun [Tue, 1 Aug 2017 10:31:08 +0000 (10:31 +0000)]
Merge "[SDL_Tizen] Fix indicator bug" into tizen
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>
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>
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>
Wonsik Jung [Fri, 28 Jul 2017 01:23:23 +0000 (01:23 +0000)]
Merge "[SDL_Tizen] Modify SDL-Tizen docs" into tizen
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>
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>
huiyu.eun [Wed, 26 Jul 2017 00:19:21 +0000 (00:19 +0000)]
Merge "[SDL_Tizen] Delete getenv" into tizen
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>
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>
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>
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>
Wonsik Jung [Thu, 20 Jul 2017 01:28:03 +0000 (01:28 +0000)]
Merge "[SDL_Tizen] Fix security issue" into tizen
Wonsik, Jung [Thu, 20 Jul 2017 00:51:42 +0000 (09:51 +0900)]
[Test] Remove unnecessary library
Change-Id: I6ea815e212458bfd8632aa8c9f975d397c57f35c
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>
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>
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>
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>
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
huiyu.eun [Fri, 7 Jul 2017 01:56:43 +0000 (01:56 +0000)]
Merge "[SDL_Tizen] Get a wayland window resource id" into tizen
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>
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>
huiyu.eun [Tue, 4 Jul 2017 05:49:42 +0000 (05:49 +0000)]
Merge "[SDL_Tizen] Fix rotation issue" into tizen
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>
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>
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>
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>
huiyu.eun [Thu, 29 Jun 2017 07:15:47 +0000 (07:15 +0000)]
Merge "[SDL_Tizen] Add SDL_Window function" into tizen
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>
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>
huiyu.eun [Wed, 28 Jun 2017 23:59:32 +0000 (23:59 +0000)]
Merge "[SDL_Tizen] Change rotation function position" into tizen
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>
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>
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>
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
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>
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>
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>
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>
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>
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
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
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>
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>