platform/upstream/SDL.git
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

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>
7 years agoMerge "[SDL_Tizen] Modify SDL_Test failed" into tizen
Wonsik Jung [Mon, 12 Dec 2016 01:47:56 +0000 (17:47 -0800)]
Merge "[SDL_Tizen] Modify SDL_Test failed" into tizen

7 years ago[SDL_Tizen] Modify SDL_Test failed 13/103913/2
huiyu.eun [Sat, 10 Dec 2016 10:47:03 +0000 (19:47 +0900)]
[SDL_Tizen] Modify SDL_Test failed

Change-Id: Ia9f90a690808b4f48b666e888e8ff5017aafb426
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years agoMerge "[SDL_Tizen] Modify SDL_hint failed." into tizen
Wonsik Jung [Fri, 9 Dec 2016 12:29:22 +0000 (04:29 -0800)]
Merge "[SDL_Tizen] Modify SDL_hint failed." into tizen

7 years ago[SDL_Tizen] Modify SDL_hint failed. 02/103802/1
huiyu.eun [Fri, 9 Dec 2016 12:06:21 +0000 (21:06 +0900)]
[SDL_Tizen] Modify SDL_hint failed.

Change-Id: I86020b8c1f94426a934fed0daa953771ca13efb1
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years agoMerge "[SDL_Tizen] implement SDL_TEXTINPUT and EDITING" into tizen
Wonsik Jung [Fri, 9 Dec 2016 08:54:49 +0000 (00:54 -0800)]
Merge "[SDL_Tizen] implement SDL_TEXTINPUT and EDITING" into tizen

7 years ago[SDL_Tizen] Load 'libwayland-egl.so' using dlopen. 82/103682/1
huiyu.eun [Fri, 9 Dec 2016 06:32:19 +0000 (15:32 +0900)]
[SDL_Tizen] Load 'libwayland-egl.so' using dlopen.

Change-Id: I7f603846833c383551161e19599bf62e88a5a94d
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] implement SDL_TEXTINPUT and EDITING 06/103506/1
DaeKwang Ryu [Tue, 6 Dec 2016 02:37:03 +0000 (11:37 +0900)]
[SDL_Tizen] implement SDL_TEXTINPUT and EDITING

Tizen support SDL_TEXTINPUT and SDL_TEXTEDITING events.

Change-Id: I60ae50c333e2e767083a4817ebafb6f27461e987

7 years ago[SDL_Tizen] Blcok partial update extension 35/103035/3
huiyu.eun [Wed, 7 Dec 2016 05:36:21 +0000 (14:36 +0900)]
[SDL_Tizen] Blcok partial update extension

 + Add glViewport() in drawIndicator.

Change-Id: I0871ca29d1e3280e92592366a7a639aca6975f65
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] fix svase issue in tizenkeyboard.c 39/102739/2 accepted/tizen/3.0/ivi/20161207.070057 accepted/tizen/3.0/mobile/20161207.065949 accepted/tizen/3.0/tv/20161207.070012 accepted/tizen/3.0/wearable/20161207.070032 submit/tizen_3.0/20161207.014336
sunghyun kim [Tue, 6 Dec 2016 09:01:12 +0000 (18:01 +0900)]
[SDL_Tizen] fix svase issue in tizenkeyboard.c

Change-Id: Ica565653a8c0c35c6cca7beaa3092176d547ba88

7 years ago[SDL_Tizen] Fix prerotation issue 20/102420/1
huiyu.eun [Mon, 5 Dec 2016 15:54:20 +0000 (00:54 +0900)]
[SDL_Tizen] Fix prerotation issue

[Problem]
1. When had rotated device, screen flicker.
2. There is area that can't touch screen in 90 or 270 degree.
3. Changed coordinate based on screen rotated.

Change-Id: I58fda15b37962ba6e2ca3b726672d3a6a7cb2416
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Modify prerotation 73/101973/1
huiyu.eun [Fri, 2 Dec 2016 13:57:00 +0000 (22:57 +0900)]
[SDL_Tizen] Modify prerotation

Add 'wl_egl_window_resize' before calling prerotation.

Change-Id: Iad6b33972c3e2c9f7e3887383185702824a7e445
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[Tizen_SDL] Draw indicator without changing vertex and index. 61/101661/1
huiyu.eun [Fri, 2 Dec 2016 02:15:28 +0000 (11:15 +0900)]
[Tizen_SDL] Draw indicator without changing vertex and index.

 -SDL_tizenmouse.c : clean-up code

Change-Id: I749fab7b0f400855eda0a8a0a93faac4ff1f34fa
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years ago[SDL_Tizen] Add PreRotation feature 85/101585/1
Wonsik, Jung [Thu, 1 Dec 2016 12:52:04 +0000 (21:52 +0900)]
[SDL_Tizen] Add PreRotation feature

Add PreRotation feature when device support that

Change-Id: I097eee032bbd0b8a2e80e7d62e393fb2c547711c

7 years agoMerge "Add remote surface indicator" into tizen
Wonsik Jung [Thu, 1 Dec 2016 07:30:11 +0000 (23:30 -0800)]
Merge "Add remote surface indicator" into tizen

7 years agoAdd remote surface indicator 62/101162/5
huiyu.eun [Wed, 30 Nov 2016 10:04:08 +0000 (19:04 +0900)]
Add remote surface indicator

- If can use 'wayland_egl', client will use remote surface.
- It dosesn't draw indicaotr when rotated 180 degree.
- Clean-up code

Change-Id: I61e002d373bd7312561a33638e8a5e623de9267b
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years agoMerge "fix SDL_Vulkan API" into tizen accepted/tizen/3.0/common/20161130.065139 accepted/tizen/3.0/ivi/20161130.012123 accepted/tizen/3.0/mobile/20161130.012033 accepted/tizen/3.0/tv/20161130.012042 accepted/tizen/3.0/wearable/20161130.012105 submit/tizen_3.0/20161129.074705
DaeKwang Ryu [Tue, 29 Nov 2016 07:34:48 +0000 (23:34 -0800)]
Merge "fix SDL_Vulkan API" into tizen

7 years agoMerge "Fix black indicator." into tizen
huiyu.eun [Tue, 29 Nov 2016 02:43:48 +0000 (18:43 -0800)]
Merge "Fix black indicator." into tizen

7 years agoFix black indicator. 52/100652/2
huiyu.eun [Tue, 29 Nov 2016 01:57:11 +0000 (10:57 +0900)]
Fix black indicator.

[Problem]Have drawn black indicator when rotate device.
[Solution]
 1. Use two shared file structure.
 2. Call glTexSubImage2D after received 'OP_UPDATE_DONE' event.

Change-Id: Ifebaef4e331ec1f0632c2344271400a85881afa9
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years agoMerge "Remove Profile Build Dependency" into tizen
Wonsik Jung [Tue, 29 Nov 2016 01:45:43 +0000 (17:45 -0800)]
Merge "Remove Profile Build Dependency" into tizen

7 years agofix SDL_Vulkan API 96/99796/2
DaeKwang Ryu [Wed, 23 Nov 2016 07:57:11 +0000 (16:57 +0900)]
fix SDL_Vulkan API

1. call SDL_Vulkan_GetInstanceExtensions twice
   to get vulkan instance extension names
2. check window magic
3. null check in SDL API layer, not porting layer

Change-Id: Iefb5f7c7da564a1b8489700ff363ead7179e9380

7 years agomove indicator flags to SDL_WindowData 92/99192/2
MaJunqing [Tue, 22 Nov 2016 06:48:25 +0000 (14:48 +0800)]
move indicator flags to SDL_WindowData

Change-Id: Ia212c075200ef72fa5d6adb24524dd84d42f137d

7 years agoDraw indicator without calling SDL_GL_SwapWindow. 95/98395/6 accepted/tizen/3.0/common/20161122.195236 accepted/tizen/3.0/ivi/20161122.123613 accepted/tizen/3.0/mobile/20161122.123519 accepted/tizen/3.0/tv/20161122.123538 accepted/tizen/3.0/wearable/20161122.123606 submit/tizen_3.0/20161122.074835
huiyu.eun [Thu, 17 Nov 2016 07:17:12 +0000 (16:17 +0900)]
Draw indicator without calling SDL_GL_SwapWindow.

Change-Id: Ibcb78ad8a99f534d207e9dd27ca40387dc9984e9
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years agoRemove Profile Build Dependency 82/98982/1
MyungJoo Ham [Mon, 21 Nov 2016 09:48:08 +0000 (18:48 +0900)]
Remove Profile Build Dependency

- This is for Tizen 4.0.
  (4.0 Configurability & Building Blocks requires not to use
  profile macro soon.)

- Verified that Vulkan.... exist in tv/wearable/common as well.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Change-Id: If3c6990de8fd37e728f41d6aa02e88e52f41a75b

7 years ago[SDL_tizen] implement multiple window feature. 03/96603/3
DaeKwang Ryu [Fri, 28 Oct 2016 01:33:24 +0000 (10:33 +0900)]
[SDL_tizen] implement multiple window feature.

Multiple window feature is one of SDL2 main features.

Change-Id: I76dcc05ca9754d46d7e39e3c18cac85fcccf247b

7 years agoMerge "[SDL_Tizen]add Joystick support." into tizen
Wonsik Jung [Wed, 9 Nov 2016 12:55:53 +0000 (04:55 -0800)]
Merge "[SDL_Tizen]add Joystick support." into tizen

8 years ago[SDL_tizen] bugfix vulkan load object 70/95470/1
DaeKwang Ryu [Thu, 3 Nov 2016 09:54:02 +0000 (18:54 +0900)]
[SDL_tizen] bugfix vulkan load object

It tried to load object with NULL.

Change-Id: I57947c49ec87dfd8c264ef41c737894789495881

8 years ago[SDL_tizen] add remarks tag and links 00/95400/1
DaeKwang Ryu [Thu, 3 Nov 2016 06:16:02 +0000 (15:16 +0900)]
[SDL_tizen] add remarks tag and links

Change-Id: I4856c6845a18ea4250541c71d552d8e8fd1195c2

8 years ago[SDL_Tizen]add Joystick support. 28/95028/3
yangchen [Wed, 2 Nov 2016 06:41:39 +0000 (14:41 +0800)]
[SDL_Tizen]add Joystick support.

Change-Id: I55d98b7006919b6a8cfbd96eb7f3c86af5b8cfba