summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Hyunho Kang [Fri, 16 Jun 2017 06:54:05 +0000 (15:54 +0900)]
Remove evas callback from destroyed surface tbm
Destroyed surface's tbm buffer can be remained in viewer application so
we need to remove every callback from destroyed surface's tbm buffer.
Change-Id: I0487f697ae506079790c333875cc8f7885452087
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Junghoon Park [Thu, 11 May 2017 05:09:39 +0000 (14:09 +0900)]
Add APIs for binding and unbinding window
Change-Id: I0ae4e1aaff04896400047ed9867fd5c75f823cb6
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Fri, 2 Jun 2017 07:34:04 +0000 (16:34 +0900)]
Fix add by rid bug
- Only main viewer should remove prev tbm buffer.
- Resources which generated by add_by_rid should be managed
Change-Id: Icf2dfdc47b131e2efd86b82aabdb1ff683d30203
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Thu, 25 May 2017 10:36:43 +0000 (19:36 +0900)]
Add buffer changed event filter
Some watcher application like task-manager want to receive only file
type update event. Using these APIs developer can filter update event.
- screen_connector_watcher_set_changed_event_filter
- screen_connector_watcher_evas_set_changed_event_filter
Change-Id: I773f6817d3ab6c2ac58941b1948940daaed90976
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Wed, 31 May 2017 10:26:00 +0000 (19:26 +0900)]
Add object visible check API
- screen_connector_toolkit_evas_is_visible
Change-Id: Id8010fa0507770ea85135fcf3597032f36ca0734
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
(cherry picked from commit
5616860841370bdd65cdc322ebf735199073f751)
Junghoon Park [Tue, 16 May 2017 02:18:24 +0000 (11:18 +0900)]
Add APIs to control visibility
Change-Id: I901d56fce6ab6703f865388fd361157b374f82d6
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
(cherry picked from commit
fcefc9d15e719d27fcc34919d2fd2eca079259fc)
Junghoon Park [Wed, 26 Apr 2017 05:08:33 +0000 (14:08 +0900)]
Delay resuming time
- This patch allows some widgets to postpone getting resuming callback
- If widgets change the visibility repeatedly, the performance will
not be good
- Added API will help to adjust the delayed resuming time
- By default, the delayed resuming time is 0
Change-Id: I87edb61a7706bd0abf28fe63c9289c56635d64e5
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
(cherry picked from commit
acf380a217578c085f28fa13b10f8cba00f5ae53)
Hyunho Kang [Wed, 19 Apr 2017 05:05:53 +0000 (14:05 +0900)]
Fix toolkit_table destroy bug
screen_connector_toolkit_evas_fini is called remote surface is destroyed
but screen_connector_toolkit_evas_h will not freed, so callback which have
a screen_connector_toolkit_evas_h as a user data like __rs_cb_mouse_move
callback could cause crash when they try to send event through already
destroyed remote surface
Change-Id: Ifda77fa1cb0244186179c7ffe2dc77b536593586
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
(cherry picked from commit
e5b91194895ffb1bb3b1b32a77c14dbb42963c64)
Hyunho Kang [Tue, 18 Apr 2017 11:24:13 +0000 (20:24 +0900)]
Add bind surface APIs
- screen_connector_toolkit_add_with_surface
- screen_connector_toolkit_evas_add_with_win
Change-Id: I375e74a3a6b26da81befff3109987fc9b9a32234
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
(cherry picked from commit
e4674c573afede712f7f0b92afefaae90dd46e73)
Shinwoo Kim [Wed, 12 Apr 2017 11:39:40 +0000 (20:39 +0900)]
Make widget work.
The data of '___PLUGID' key is used on accessibility environment.
A widget process window such as 'Alarm Widget' on wearable is using same data.
Becase the widget process could make more than one window, the data should be
the instance ID, NOT the application ID to separate thoes windows.
Change-Id: I2ee38bc57128b4c6497111b1628183512ed9e0f2
Hyunho Kang [Mon, 3 Apr 2017 01:27:59 +0000 (10:27 +0900)]
Fix memory leak
Change-Id: Ie3ff7bcbb7340b1e6336e19ad5b2e1ab667dda0e
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
(cherry picked from commit
0b07eb5a3e067f73857aae585ac369433ad8e1fa)
seungha.son [Mon, 3 Apr 2017 00:39:45 +0000 (09:39 +0900)]
Fix memory leak
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I81669725500ecf915feca52bbb303aa8cb55bea1
(cherry picked from commit
7dc3034997783c336c8fcaab761d4cfffa93a0e9)
Hyunho Kang [Thu, 16 Mar 2017 01:56:31 +0000 (10:56 +0900)]
Add tbm buffer destroy logic
tbm buffer should be handled by viewer side.
If not, tbm_surface fd will be remained after widget is deleted.
Change-Id: Ia6abc17c53af08c24d7d080378c121879e1a291d
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
(cherry picked from commit
2d09ccf2a1b73ef116d700b1de5a0dbcbc901a89)
Hyunho Kang [Mon, 13 Mar 2017 13:19:24 +0000 (22:19 +0900)]
Fix destroy handle bug
Change-Id: Ifc796724e8db62557fab4c80e6e912dbe022f169
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
(cherry picked from commit
505fb90a88d192f7a2311c49fc3693a4c2e82415)
Hyunho Kang [Fri, 24 Mar 2017 08:39:29 +0000 (17:39 +0900)]
Fix callback disapeared bug
For locally declared callback function,
screen_connector_toolkit_add should copy and store callback functions.
Change-Id: I14ac550d5f062e03315046bedd0b69649972255f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Mon, 20 Feb 2017 13:22:45 +0000 (22:22 +0900)]
Refactor screen-connector
Old version screen connecotor handle UI app and widget
exactly same way. So viewer have to know running app list
to watch other app screen. It's not a good design and make
problems like timing issue. Old design also make troubles
with widgets because it is watching app with appid so,
in multi instance senario sometimes timing issue was occured.
To solve those problems we divide screen connector into two
API sets. For watching UI apps, we provide
screen_connector_watcher* API set.
For widget/watch apps, we provide
screen_connector_toolkit* API set.
Change-Id: Ifdff15e80d36945747fcc37b90a760fc2e5df561
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
(cherry picked from commit
dde5ccecdbb88c1dfc7b344872b8811a2b007347)
Hyunho Kang [Thu, 2 Mar 2017 12:28:24 +0000 (21:28 +0900)]
Remove handle from watcher list when watcher destroyed
If viewer try to remove handle without removing evas object,
handle remain in watcher list.
Change-Id: I88f04d69ad56aa6b380e430d94b733c86d07f2f2
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
(cherry picked from commit
de30a1b347eeb91c75de828647f65f6b7b89bd45)
Hwankyu Jhun [Mon, 27 Feb 2017 08:29:33 +0000 (17:29 +0900)]
Add an exception handling about destroying the watcher handle
We should check whether the surface handle is NULL or NOT.
Change-Id: Idca2b162a2e08a68f913118206f655f6336555b7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hyunho Kang [Fri, 17 Feb 2017 06:26:32 +0000 (15:26 +0900)]
Fix screen_connector_watcher_remove API bug
Widget app died after screen watcher handle freed,
viewer crashed because of freed data.
Change-Id: I7aef5e6b6b2dcf09cb2bdd04c7d38d016dedc936
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
(cherry picked from commit
53c7ae3a7c9570341c5b22f0b65fa572422eeac4)
Daehyeon Jung [Fri, 13 Jan 2017 10:22:37 +0000 (19:22 +0900)]
Apply tizen remote surface v4, add event filter
- Some remote surface enabled applications are need to ignore some
input events.
- When provider applications set some input event filter, the value
will be passed to the watcher application. In this case, watcher
applications should check input event filter before send the input
events.
Change-Id: Ifd065fd2bc9ee467cdcbd7e30131a5a22ab15254
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
Hyunho Kang [Fri, 10 Feb 2017 05:18:28 +0000 (14:18 +0900)]
Fix screen_connector_watcher_evas_add_by_rid bug
This API was designed for other viewer but implementation
was for main viewer
Change-Id: I1292fb070d5a1c298e0bc8750ae864ee9407cda5
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
(cherry picked from commit
7dcac60b2b98387af463681e012998be9278ef64)
Hyunho Kang [Fri, 10 Feb 2017 05:47:53 +0000 (14:47 +0900)]
Add error return logic to watcher_evas_get_pid
Sub viewer should not get pid using screen image object.
Change-Id: I4f12cb2c1f8f96575a81f1e8a5665ff7f52fba09
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
(cherry picked from commit
29c85c12a9d6c42860fe64abf485c5beb67b6cdc)
Hyunho Kang [Wed, 8 Feb 2017 12:36:51 +0000 (21:36 +0900)]
Fix memory leaks
Change-Id: Idb56464495739c44b1735fea75d56a1901718d13
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
(cherry picked from commit
e262f6dbb8bb12f2a537b620a9e90a0929f833b5)
Hwankyu Jhun [Thu, 9 Feb 2017 23:46:28 +0000 (08:46 +0900)]
Add an exception handling
The tizen_remote_surface_manager_create_surface() API returns
a NULL porinter if the resource id is invalid.
Change-Id: I5d3b084db876061d4f2a02254e8905db4ff52d68
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
(cherry picked from commit
d88dd0de0d418c42ed4465a2c76de2cef677401b)
Hyunho Kang [Wed, 8 Feb 2017 09:13:49 +0000 (18:13 +0900)]
Fix screen_connector_watcher_evas_get_rid bug
Change-Id: If3086b6a1984ceb6a1864a57b5fba238ad04ee81
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Wed, 1 Feb 2017 01:15:58 +0000 (10:15 +0900)]
Release version 1.1.1
Changes:
- Fix tbm buffer and file fd management logic
Change-Id: I17058cd8dc7016bcf0ae4106f489cd0f04c44965
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Tue, 24 Jan 2017 02:59:16 +0000 (11:59 +0900)]
Fix tbm buffer and file fd management logic
Change-Id: I8bb5c15ea0a247c33e9450698d0529926a1a0f86
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Tue, 17 Jan 2017 01:18:14 +0000 (10:18 +0900)]
Release version 1.1.0
Changes:
- Add tizen remote surface buffer changed callback
Change-Id: I87c2c4d15db825b050fa5545276057f6f4fced7c
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Tue, 17 Jan 2017 01:00:29 +0000 (10:00 +0900)]
Add tizen remote surface buffer changed callback
tizen remote surface version up to 3.
Change-Id: I1e4b5fab125903ac7b63c8a1a97314accb576380
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Thu, 5 Jan 2017 13:32:10 +0000 (22:32 +0900)]
Add Null Check logic
__watcher_tbl can be already destroyed by
screen_connector_watcher_evas_fini call
Change-Id: I783c4bcdea20d02ced1910a066d0d1652f0d5d9a
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Semun Lee [Wed, 28 Dec 2016 05:01:47 +0000 (14:01 +0900)]
Call visibility update in show,resize callback
We need to update initial visibility value for the
object when it is shown or resized.
If we skip it, the display server sets its own visibility
state value for the object as invisible one.
Change-Id: I75782a77f1cabadafabf560965e34e634816d702
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
Hyunho Kang [Fri, 23 Dec 2016 00:21:19 +0000 (09:21 +0900)]
Fix fail to get object pid
Change-Id: I4cfff44f1628e9bd4467d437a446e3445de9c51f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hwankyu Jhun [Tue, 20 Dec 2016 05:01:54 +0000 (14:01 +0900)]
Adjust coding style
Change-Id: Ia8eae134aac2f04a82e8402f93b194bfbe43b932
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hyunho Kang [Mon, 19 Dec 2016 07:37:05 +0000 (16:37 +0900)]
tizen_remote_surface version up
tizen_remote_surface manager version 1 has bug.
tizen_remote_surface_release protocol is added.
Change-Id: I23e4d6533451b78e2c88e0ab330d2af3485581f4
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Tue, 13 Dec 2016 11:03:06 +0000 (20:03 +0900)]
Add APIs and divide Evas dependant APIs
Added APIs
- _compositor_set_handler_by_rid -> screen_connector_watcher_evas_add_by_rid
- _compositor_get_rid -> screen_connector_watcher_evas_get_rid
- _compositor_get_pid -> screen_connector_watcher_evas_get_pid
Evas dependant APIs should be devided for none evas APIs like dali.
Change-Id: I5806013d68262becc1b6d69bbccdffea757cfaf0
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Mon, 12 Dec 2016 12:36:56 +0000 (21:36 +0900)]
Fix remove callback
remove callback have to pass object to keep
consistancy of old version.
Change-Id: I40001484188a983092d1bcd6e10f658249c38420
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Hyunho Kang [Mon, 28 Nov 2016 12:56:24 +0000 (21:56 +0900)]
Initial commit
- screen_connector_watcher
- screen_connector_watcher_evas
Change-Id: I884dcd1139825dc67a5b3a18e7cbe18d92cc150d
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Jong Jeong Kim [Wed, 23 Nov 2016 02:00:07 +0000 (18:00 -0800)]
Initial empty repository