Boram Park [Mon, 26 Feb 2018 23:29:36 +0000 (08:29 +0900)]
buffer: initializing pointer
Change-Id: Ifbc4bb53e006103a9ff4c4ad1692027f0f3d7ac4
Boram Park [Mon, 26 Feb 2018 23:29:23 +0000 (08:29 +0900)]
client: initializing pointer
Change-Id: I36f67b911a8335766fa9d3b0385ec4e6aef0e720
Boram Park [Mon, 26 Feb 2018 07:23:48 +0000 (16:23 +0900)]
vblank: ignore global fps for server's vblank
Change-Id: I4188bd1e539792f3a2fbb6547d39276581175896
Boram Park [Mon, 26 Feb 2018 06:38:41 +0000 (15:38 +0900)]
thread: fix deadlock issue
when there are callbacks in cb_list[0] and cb_list[1], display-thread and tdm-
thread are slept in pthread_cond_wait.
Change-Id: If5d459b5f8579fcbf05765de12f76cca548de6eb
Boram Park [Mon, 26 Feb 2018 06:36:25 +0000 (15:36 +0900)]
vblank: check return value
Change-Id: Iafc93e27e3d9b41c2a2ca61c1da9622f9a8b27d8
Boram Park [Mon, 26 Feb 2018 06:36:14 +0000 (15:36 +0900)]
server: check return value
Change-Id: I6efd4944ec752d7b9ce70ed67a2ef73021b1f1f1
Boram Park [Mon, 26 Feb 2018 06:35:53 +0000 (15:35 +0900)]
server: correct syntax error
Change-Id: I1fa8fa63a4acda61638a2a94b2e9023a6c75ef47
Boram Park [Mon, 26 Feb 2018 06:34:46 +0000 (15:34 +0900)]
output: correct syntax error
Change-Id: I3fd9c71554093877da1e975ce4b870a9cb9a5497
Boram Park [Mon, 26 Feb 2018 06:35:34 +0000 (15:35 +0900)]
display: add tdm_display_find_output
Change-Id: I78c86c27e3f6c8c0cbf31d04455c3024d936e9a5
Boram Park [Mon, 26 Feb 2018 06:33:21 +0000 (15:33 +0900)]
display: add tdm_display_flush
Change-Id: I8fd5bf404cac29d323a858bec482e45754d7ef9d
Boram Park [Mon, 26 Feb 2018 06:32:49 +0000 (15:32 +0900)]
client: let a server know the watch status
Change-Id: I25652d7f92bb47909ef3d3873ee0df2620261d1f
Boram Park [Mon, 26 Feb 2018 06:31:36 +0000 (15:31 +0900)]
client: no need to check watch_output_changes
1) If watch_output_changes == true, private_output->dpms has been already updated
in _tdm_client_output_cb_dpms.
2) If watch_output_changes == false, server will return TDM_ERROR_DPMS_OFF. The
dpms value in client side is not important. If a client calls tdm_client_output_get_dpms,
private_output->dpms will be updated.
Change-Id: I6d6ea1df74955c44ce02c2d7a39aa589d38ba516
Boram Park [Mon, 26 Feb 2018 02:15:38 +0000 (11:15 +0900)]
client: check invalid params
Change-Id: I637a30bb799589d359c8e9bfdafdec539a062717
Boram Park [Mon, 26 Feb 2018 02:15:24 +0000 (11:15 +0900)]
client: not allow adding handler twicenot allow
Change-Id: Ibc42a95295638ccc87aba5eb6999ef73664be7b2
Boram Park [Mon, 26 Feb 2018 00:16:53 +0000 (09:16 +0900)]
client: fix deadlock issue
tdmp_vblank shouldn't be protected by mutex.
Change-Id: I9bf718402774d3109b0482c2e8f80c4baeee8c54
Boram Park [Sun, 25 Feb 2018 22:55:23 +0000 (07:55 +0900)]
output: update caps only in case of changing status between connection and disconnection
Change-Id: I63126a368331b494b3a4aa9c17a7e2abbc75a058
Boram Park [Sun, 25 Feb 2018 23:30:24 +0000 (08:30 +0900)]
vblank: offset should be greater than 0
Change-Id: Iee03c0b17b51f8a35c844b5d4f6581ada167d8eb
Boram Park [Sun, 25 Feb 2018 22:54:28 +0000 (07:54 +0900)]
vblank: interval should be greater than 0
Change-Id: I69108d7b81fd14f22d6e9f5d7fecfcf28dd3623e
Boram Park [Sun, 25 Feb 2018 22:54:12 +0000 (07:54 +0900)]
macro: add tdm_capture_type_str
Change-Id: Ie5674d055852a98e95306c1573432162704f2191
Boram Park [Sun, 25 Feb 2018 22:53:57 +0000 (07:53 +0900)]
log: TDM_DEBUG env for debugging
Change-Id: I820e71c3dbb27fd6d7b5677f4c295c55367711e3
Boram Park [Sun, 25 Feb 2018 22:53:47 +0000 (07:53 +0900)]
log: add return char only in case of stdout
Change-Id: Ia87ae3a1fdceec67d93280f3e238092f544bc851
Boram Park [Sun, 25 Feb 2018 22:53:13 +0000 (07:53 +0900)]
layer: correct return type
TDM_ERROR_NONE seems right because flags is set to 0 as default
Change-Id: I351454370b6e001ec1ba3ee1cccd514e1d6df908
Boram Park [Fri, 23 Feb 2018 06:43:18 +0000 (15:43 +0900)]
protect a handler list with mutex
Change-Id: I120a0fbf28cdf64f81318dc7f6c544b994c4662a
Boram Park [Fri, 23 Feb 2018 06:40:24 +0000 (15:40 +0900)]
vblank: correct printf format
Change-Id: I088fd0ce9acef399f8f0ff03de80da76f4fbe3a3
Boram Park [Fri, 23 Feb 2018 06:39:09 +0000 (15:39 +0900)]
vblank: add tdm_vblank_get_output
Change-Id: Ibad717742bb0ebe8ad7b92926c1b48bdc3fc37ac
Boram Park [Fri, 23 Feb 2018 06:38:44 +0000 (15:38 +0900)]
layer: fix syntax error
Change-Id: Ie57843ae9735804d50e3118340d86b9fa0db56ca
Boram Park [Fri, 23 Feb 2018 06:38:12 +0000 (15:38 +0900)]
output: not allow adding handler twice
Change-Id: I63ff48c75010263e96f765366d6a7f3ec5988dae
Boram Park [Fri, 23 Feb 2018 06:37:50 +0000 (15:37 +0900)]
buffer: not allow adding handler twice
Change-Id: I385a17820ff81f527ab21e0d01dbe07e274dace0
Boram Park [Fri, 23 Feb 2018 06:37:11 +0000 (15:37 +0900)]
tdm: add missed description
Change-Id: I91f0053a9e97459ec5269cc1fb638adc310c74e4
Boram Park [Fri, 23 Feb 2018 01:50:40 +0000 (10:50 +0900)]
output: don't touch return params when failed
Change-Id: Iba17eb76a47078f3bd37e338318bbcc8354a69d6
Boram Park [Fri, 23 Feb 2018 00:09:59 +0000 (09:09 +0900)]
thread: remove test code
Change-Id: I70f8d4bde93c521ba12ec2177666806da921e7e6
Boram Park [Fri, 23 Feb 2018 00:05:24 +0000 (09:05 +0900)]
helper: add tdm_helper_output_vblank_timer_expired
To check if output-vblank is expired
Change-Id: I4c3339a62f970372c2749808f2a8d930dd211935
Boram Park [Fri, 23 Feb 2018 00:04:25 +0000 (09:04 +0900)]
output: correct return type
Change-Id: I927d257820e11dcfa5bf545c88f374d092d6fb7f
Boram Park [Thu, 22 Feb 2018 23:08:32 +0000 (08:08 +0900)]
log: remove time information from stdout
Change-Id: I4328046076b3b4d6824a7eab5a357b8ddd163e82
Boram Park [Thu, 22 Feb 2018 22:51:29 +0000 (07:51 +0900)]
layer: correct set_buffer_queue behavior
Change-Id: I7d72456f54ed91b392799918727886d8520e6b9f
Boram Park [Thu, 22 Feb 2018 22:50:21 +0000 (07:50 +0900)]
layer: correct error type
Change-Id: I6bc89d04588ac3f94ed129943a0be12b94fd6fb0
Boram Park [Thu, 22 Feb 2018 05:02:51 +0000 (14:02 +0900)]
thread: use two lists for each thread
When tdm_thread_call_cb is called in both threads at the same time, the 'called'
variable makes a thread issue.
1) Calling tdm_thread_call_cb in display-thread makes the 'called' variable as 1
2) Calling tdm_thread_call_cb in tdm-thread at the same time checks cb->called.
3) Because cb->called is 1 by display-thread, tdm_thread_call_cb in tdm-thread
does nothing.
Change-Id: I009e3a17b40d32502f3567b8ecd712fa7c8dc349
Boram Park [Wed, 21 Feb 2018 23:38:55 +0000 (08:38 +0900)]
macro: move backend's name definition
Change-Id: I53d086d54b8a9b13f686f91d93d6d543ffe0059e
Boram Park [Wed, 21 Feb 2018 07:09:04 +0000 (16:09 +0900)]
log: restore stdout when set NULL.
Change-Id: I25934b33f8468e55fdd063068f868fafab81f948
Boram Park [Wed, 21 Feb 2018 06:28:25 +0000 (15:28 +0900)]
remove unused file
Change-Id: I8c4e786bd29a33d5dad356d517fa137798dfac66
Boram Park [Wed, 31 Jan 2018 03:04:51 +0000 (12:04 +0900)]
support multi backend
Change-Id: I6e6d24256e1eb84dd6180bac35b33c55b076b3bb
Boram Park [Wed, 21 Feb 2018 05:39:28 +0000 (14:39 +0900)]
should init event_loop before vblank
when initing event_loop, thread's find_funcs table is also inited. This should
be done before initing others.
Change-Id: Iae6c0e44b3f00c0b6a5aa77bbdbee158ce74baa0
Boram Park [Wed, 21 Feb 2018 05:37:35 +0000 (14:37 +0900)]
config: remove unuseful codes
Change-Id: If5b99cb203fcb7e58fc3e9c40e45f64bd3d84a3a
Boram Park [Wed, 21 Feb 2018 05:36:52 +0000 (14:36 +0900)]
thread: reset find_funcs table when init, deinit
Change-Id: I20f572f7dd6014daf0ee02a656f188c3d89d5900
Boram Park [Wed, 21 Feb 2018 05:36:26 +0000 (14:36 +0900)]
log: no need to use ifdef
Change-Id: I2f1b03b99b6925511410d87b0649db1c19580ba5
Boram Park [Mon, 29 Jan 2018 00:54:16 +0000 (09:54 +0900)]
output: using thread_cb
Change-Id: I00fa06b60a2fa808df7a54d6739d1c4d8b3ae54e
Boram Park [Mon, 29 Jan 2018 00:53:49 +0000 (09:53 +0900)]
vblank: using thread_cb
Change-Id: I2974baaff66cbe7fd1ea0e18ed89e68229efdd0f
Boram Park [Mon, 29 Jan 2018 00:53:31 +0000 (09:53 +0900)]
capture: using thread_cb
Change-Id: I9c2e914fb12d472aac1faf354e893a18c3b060e3
Boram Park [Mon, 29 Jan 2018 00:53:05 +0000 (09:53 +0900)]
pp: using thread_cb
Change-Id: I02bdd31434f95ff5c249e839442fd397afaffdef
Boram Park [Thu, 18 Jan 2018 06:45:39 +0000 (15:45 +0900)]
thread: support cb for multi-thread communication
Change-Id: Ic59dd29fbc574232ec28e3a34e63533a8bd4d6f8
Boram Park [Tue, 23 Jan 2018 02:15:05 +0000 (11:15 +0900)]
debug: add event type
Change-Id: Ib12af60beac82dd6bfc8e3f57f2930c1158dfe3b
Boram Park [Tue, 16 Jan 2018 02:12:55 +0000 (11:12 +0900)]
server: remove useless codes
Change-Id: I09d265a0a5ab8eda71826f55ce9e4b23e1a25048
Boram Park [Tue, 20 Feb 2018 09:17:58 +0000 (18:17 +0900)]
utests: not using setenv
Change-Id: I734c97d423ddf0dc85068fea9cf3f7393d6ab681
Boram Park [Tue, 20 Feb 2018 09:17:32 +0000 (18:17 +0900)]
config: export tdm_config functions
Change-Id: I95bcd81ba94b21a7383f88e99a5b254effb10597
Boram Park [Mon, 29 Jan 2018 07:54:28 +0000 (16:54 +0900)]
ini: not using getenv
Change-Id: I82ccecd7a09d5b4e1e5c391b4499ac47e307c96c
Boram Park [Fri, 12 Jan 2018 08:31:29 +0000 (17:31 +0900)]
ini: first implementation
Change-Id: I9e2fd2892279fbc84d1265802b5b33ef6d68dc27
Boram Park [Mon, 22 Jan 2018 23:20:50 +0000 (08:20 +0900)]
buffer: remove unused functions
Change-Id: I6c73f3978a3f89422904390cb9683c8fd7b25b40
Boram Park [Mon, 22 Jan 2018 23:21:17 +0000 (08:21 +0900)]
capture: use correct function
Change-Id: I53a21fa01c6347085b492bfc38685fd43c22f391
Boram Park [Mon, 22 Jan 2018 23:19:58 +0000 (08:19 +0900)]
tests: correct capture information
Change-Id: Ib03a067db3c7e885495005ba27c7730cee77a1a6
Boram Park [Thu, 18 Jan 2018 05:39:19 +0000 (14:39 +0900)]
vblank: add description
Change-Id: I516ed249e61a26640968cfcc53d32ed99daa89c8
Boram Park [Thu, 18 Jan 2018 01:23:52 +0000 (10:23 +0900)]
types: give a detail name to structure
Change-Id: Id3f0471e1d040f38810c85c1b2dcab6b6c83b208
Boram Park [Thu, 18 Jan 2018 01:10:55 +0000 (10:10 +0900)]
types: move to the frontned's types header
Change-Id: I322acc5654651122661ec5bc0f68541df7818e38
Boram Park [Thu, 18 Jan 2018 00:50:54 +0000 (09:50 +0900)]
output: remove unused params
Change-Id: Id92aa4041890a16d87e564800dbc017c50701554
Boram Park [Tue, 20 Feb 2018 07:05:00 +0000 (16:05 +0900)]
package version up to 1.14.0
Change-Id: Iaf72619db33492b9609c3f509f1f0505c87d5433
Boram Park [Mon, 5 Feb 2018 08:56:25 +0000 (17:56 +0900)]
log: check log level
Change-Id: I314e2b31ecfd402b75dabaa66ffd8d6198a3d5cd
Boram Park [Thu, 8 Feb 2018 05:04:02 +0000 (14:04 +0900)]
client: handling wayland protocol error
Change-Id: I2d064e7808298820dd7e44f0c185aea673fa9999
Boram Park [Mon, 5 Feb 2018 08:56:25 +0000 (17:56 +0900)]
log: check log level
Change-Id: I314e2b31ecfd402b75dabaa66ffd8d6198a3d5cd
Boram Park [Tue, 6 Feb 2018 04:12:59 +0000 (13:12 +0900)]
utests: rename filename
Change-Id: I9b3bf085adddef16a9f4e8a46878b9b455e9050e
Boram Park [Tue, 20 Feb 2018 05:18:18 +0000 (14:18 +0900)]
layer: set committing variable when commit
Change-Id: Iac72ec1ff1f18e08c9b3170967f556ac9e771b64
Boram Park [Tue, 20 Feb 2018 05:00:19 +0000 (14:00 +0900)]
layer: allow func and user_data are null when removed
Change-Id: Ia9d8d49209a4ef59e86b974a3193e1f64994bf38
Boram Park [Tue, 20 Feb 2018 04:59:48 +0000 (13:59 +0900)]
layer: reset flags in case of success
Change-Id: Ib8a9b489b22d0b7bf9381ba01cd87350128b5f97
Boram Park [Tue, 20 Feb 2018 04:59:12 +0000 (13:59 +0900)]
helper: allow user_data's NULL
Change-Id: I2b7c91dbfaf09be177a43e447692465e76c06944
Boram Park [Tue, 20 Feb 2018 04:58:35 +0000 (13:58 +0900)]
macro: move tdm_debug_module's extern position
Change-Id: I5a302cc39c70f28416b7a243286b69749673fe5e
Boram Park [Tue, 20 Feb 2018 04:57:40 +0000 (13:57 +0900)]
buffers: add extern for testing
Change-Id: Ib23b11d99fc399a0673272c39786989a6aa4973a
Boram Park [Tue, 20 Feb 2018 04:56:36 +0000 (13:56 +0900)]
fix buffer leak when deiniting
Change-Id: I7a742f011f0e75341f6a4d17140c2f0c184abc91
Boram Park [Tue, 20 Feb 2018 04:56:16 +0000 (13:56 +0900)]
add tdm_layer_get_output
Change-Id: Icbc2003297276a45b6d2d7f3cda54393aa12bc0d
Boram Park [Mon, 12 Feb 2018 09:10:02 +0000 (18:10 +0900)]
helper: correct symbolic check function
Change-Id: Id52e6ed434ae6a2aba926362a2ce02bf58b5788d
Boram Park [Mon, 12 Feb 2018 09:09:16 +0000 (18:09 +0900)]
helper: export tdm_helper_dump_buffer_str
Change-Id: I426b31bdbb93cfbfec651cac0a5a2eaeb139c0be
Boram Park [Mon, 12 Feb 2018 09:07:29 +0000 (18:07 +0900)]
display: fix wrong typo
Change-Id: Id67480b0ad585df0534d1c317da0ae49661ba654
SooChan Lim [Mon, 19 Feb 2018 04:47:49 +0000 (13:47 +0900)]
package version up to 1.13.1
Change-Id: I42a9f79dfc2718c6cb2ad691d7636fdc89e16e5b
SooChan Lim [Mon, 19 Feb 2018 04:13:27 +0000 (13:13 +0900)]
tdm_output: set the layer_info of the target buffer only when the mode is set.
Change-Id: I21bb59e31c6922a827bb5c614e78ee5a7f6b7922
SooChan Lim [Mon, 19 Feb 2018 02:38:11 +0000 (11:38 +0900)]
tdm_output: do not check the null buffer
Change-Id: Iaf8d0d134a6fb683bbc1d39afba51fb7768de945
SooChan Lim [Mon, 19 Feb 2018 02:36:37 +0000 (11:36 +0900)]
tdm_hwc_window: do not check the null buffer
Change-Id: Iffb2096ff4523d5416c01496a79c4d89413fb831
SooChan Lim [Mon, 12 Feb 2018 06:54:34 +0000 (15:54 +0900)]
package version up to 1.13.0
Change-Id: I193a586223f9ca8c9a1dfd36257e146d08905eac
Junkyeong Kim [Thu, 8 Feb 2018 02:34:41 +0000 (11:34 +0900)]
enhance log for distinguishment of output status cb thread
Change-Id: Ib78ddd3d3f6c9e1203512e451bf29a171b80d37d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Thu, 8 Feb 2018 02:30:36 +0000 (11:30 +0900)]
do not update caps.status in sub thread
Change-Id: Ib11fb4b9d448ade7740887b6aad9cc6a9ee3d91d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
SooChan Lim [Mon, 12 Feb 2018 03:44:53 +0000 (12:44 +0900)]
hwc: remove the window zpos
Change-Id: I15f6636b1875059ebe98742e7949ca97f2aeae10
SooChan Lim [Mon, 12 Feb 2018 02:17:05 +0000 (11:17 +0900)]
hwc: add tdm_output_hwc_commit_client_target_buffer
Change-Id: I48164e6e2ea918567355c7bf69a751e0dfdee472
SooChan Lim [Mon, 12 Feb 2018 02:04:06 +0000 (11:04 +0900)]
hwc: add tdm_hwc_window_commit
Change-Id: Ic6282508e8ce1a075c340b167ae821512de7bf90
SooChan Lim [Mon, 12 Feb 2018 01:51:11 +0000 (10:51 +0900)]
layer: add tdm_layer_unset_buffer_internal
Change-Id: If9004eeabdcc0138d4b1fcaa6da4de84e133eff0
SooChan Lim [Mon, 12 Feb 2018 01:50:31 +0000 (10:50 +0900)]
layer: add tdm_layer_set_buffer_internal
Change-Id: Iba8154071512bbd86d80666a8a84b33b9cb8f0e2
SooChan Lim [Mon, 12 Feb 2018 01:47:51 +0000 (10:47 +0900)]
layer: add tdm_layer_commit_internal
Change-Id: I9ceeba70ea836953a145dc6f5a049a9311d453b5
SooChan Lim [Mon, 12 Feb 2018 01:45:19 +0000 (10:45 +0900)]
layer: add tdm_layer_set_info_internal
Change-Id: I66f1c28cd95b2355e7a98387abf8c048c07d2e24
SooChan Lim [Mon, 12 Feb 2018 01:41:04 +0000 (10:41 +0900)]
hwc: add hwc_window_get_layer at backend function
Change-Id: I42ce34f3b72a030542ec86a0c865bc38e34733ec
SooChan Lim [Mon, 12 Feb 2018 01:40:26 +0000 (10:40 +0900)]
hwc: add hwc_window_get_buffer at backend function
Change-Id: I4ca3a45175259f57a2ca073293e73d13744224c3
SooChan Lim [Mon, 12 Feb 2018 01:39:53 +0000 (10:39 +0900)]
hwc: add hwc_window_get_info at backend function
Change-Id: Ia117ec0acb961611175a86d421032326f07902a9
SooChan Lim [Mon, 12 Feb 2018 01:39:15 +0000 (10:39 +0900)]
hwc : add output_hwc_get_client_target_buffer at backend function
Change-Id: I6356f108c69e5bb255d9aef1a0fc81cb3b27aa37
SooChan Lim [Mon, 12 Feb 2018 01:38:42 +0000 (10:38 +0900)]
hwc: add output_hwc_get_client_target_buffer_layer at backend function
Change-Id: Icbfda1122a75db3f0a88ed7aff7ac511617b9009
SooChan Lim [Mon, 12 Feb 2018 01:37:22 +0000 (10:37 +0900)]
hwc: add tdm_output_hwc_unset_client_target_buffer
Change-Id: I1ba5f4dc3b2d547fd1ceee1ea01cebb1747e109d
SooChan Lim [Mon, 12 Feb 2018 01:29:35 +0000 (10:29 +0900)]
hwc: add tdm_hwc_unset_buffer
Change-Id: Ia00e4ea2e07217fa7c6b42cf9a4ab0aefa4053e7