platform/core/uifw/libtdm.git
6 years agohwc: change the condition at set_composition_type 14/167314/1
SooChan Lim [Wed, 17 Jan 2018 05:04:32 +0000 (14:04 +0900)]
hwc: change the condition at set_composition_type

Change-Id: Ie5ac8b7fe49bf3c65f12368f3bfdb612c13a099e

6 years agopackage version up to 1.11.4 03/166803/1 accepted/tizen/unified/20180115.074415 submit/tizen/20180112.044114
SooChan Lim [Fri, 12 Jan 2018 04:18:05 +0000 (13:18 +0900)]
package version up to 1.11.4

Change-Id: Ibbdc2481446d2f5e9bb6d5556ce57e0103af83d2

6 years agohwc: add TDM_COMPOSITION_VIDEO 02/166802/1
SooChan Lim [Fri, 12 Jan 2018 04:00:38 +0000 (13:00 +0900)]
hwc: add TDM_COMPOSITION_VIDEO

Change-Id: Ib1ed904c821ab83cad4d79f8dc794649067b6228

6 years agohwc: change the type of the zpos 01/166801/1
SooChan Lim [Thu, 11 Jan 2018 10:21:09 +0000 (19:21 +0900)]
hwc: change the type of the zpos

Change-Id: Ibc014c34f2414cf7b186b7c740a085b21d8cfed7

6 years agoadd pp scanout capability 76/166576/2
Junkyeong Kim [Thu, 11 Jan 2018 01:32:28 +0000 (10:32 +0900)]
add pp scanout capability

can be executed converting only scanout buffer.

Change-Id: I9c1143ebf16f7be394709789b71da149e5356d79
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agocorrect printf formats 02/166402/1
Boram Park [Wed, 10 Jan 2018 05:19:07 +0000 (14:19 +0900)]
correct printf formats

Change-Id: I8b414e1f2016298699a7f1c1dadc85b0414d910f

6 years agopackage version up to 1.11.4 accepted/tizen/unified/20180110.141917 submit/tizen/20180109.061052
Boram Park [Tue, 9 Jan 2018 09:07:55 +0000 (18:07 +0900)]
package version up to 1.11.4

Change-Id: Iae258ccfd542896d4e5f91842c450b307242465d

6 years agomonitor: enhance vblank_list information 04/166304/1
Boram Park [Tue, 9 Jan 2018 07:30:00 +0000 (16:30 +0900)]
monitor: enhance vblank_list information

Change-Id: I0624e291be53f0abbf8d991969de3e6a6b353759

6 years agopackage version up to 1.11.3 69/166269/1
Boram Park [Tue, 9 Jan 2018 05:55:54 +0000 (14:55 +0900)]
package version up to 1.11.3

Change-Id: I202d8808f01f842fdab3999224455514cc31c4d0

6 years agoRevert "vblank: return TDM_ERROR_TIMEOUT when timeout occurs" 68/166268/1
Boram Park [Tue, 9 Jan 2018 05:55:27 +0000 (14:55 +0900)]
Revert "vblank: return TDM_ERROR_TIMEOUT when timeout occurs"

This reverts commit dc1e81c0f4f0c6e6c4c0d4d553cf8ba730dfb4f5.

Change-Id: I2e1b765e34bf406dcb40a44f0658246e7e43d52a

6 years agopackage version up to 1.11.2 01/166101/1 accepted/tizen/unified/20180108.193247 submit/tizen/20180108.015805
SooChan Lim [Mon, 8 Jan 2018 01:46:03 +0000 (10:46 +0900)]
package version up to 1.11.2

Change-Id: I7e57059690f019afdefdf3c0d329172b9b41107c

6 years agohwc: allow Device Candidate to set composition type. 89/166089/1
SooChan Lim [Sun, 7 Jan 2018 01:20:04 +0000 (10:20 +0900)]
hwc: allow Device Candidate to set composition type.

Change-Id: I3aab482dcc9d037c91cacba9704586ffcd6f1390

6 years agoutest: cactch GoogleTestFailureException 83/165783/1
SooChan Lim [Thu, 4 Jan 2018 02:40:25 +0000 (11:40 +0900)]
utest: cactch GoogleTestFailureException

Change-Id: Ia137c1ba715b29ac7385f55218d51ca880f62fcc

6 years agoutest: initialize the damage variables 82/165782/1
SooChan Lim [Thu, 4 Jan 2018 01:52:55 +0000 (10:52 +0900)]
utest: initialize the damage variables

Change-Id: I9adf1c96dcd5781e816ff74c258135884c132931

6 years agoutest: check the return value. 81/165781/1
SooChan Lim [Thu, 4 Jan 2018 01:48:28 +0000 (10:48 +0900)]
utest: check the return value.

Change-Id: I24e639bbf8a5894cbd2aa8efe6ee6693c4cc6465

6 years agopackage version up to 1.11.1 accepted/tizen/unified/20180104.064649 submit/tizen/20180103.113056
Boram Park [Wed, 3 Jan 2018 11:29:58 +0000 (20:29 +0900)]
package version up to 1.11.1

Change-Id: Ie5ab819303b054ae192e31d81ca01e653888c20a

6 years agovblank: return TDM_ERROR_TIMEOUT when timeout occurs 24/165724/1
Boram Park [Wed, 3 Jan 2018 11:16:25 +0000 (20:16 +0900)]
vblank: return TDM_ERROR_TIMEOUT when timeout occurs

If a vblank callback isn't called in 2000ms, tdm vblank will return
TDM_ERROR_TIMEOUT to client.

Change-Id: Ib5cd14dddd8bef051e01664c52021f57c7099f48

7 years agopackage version up to 1.11.0 30/165330/1 accepted/tizen/unified/20171229.070229 submit/tizen/20171228.075303
Boram Park [Thu, 28 Dec 2017 07:43:25 +0000 (16:43 +0900)]
package version up to 1.11.0

Change-Id: Icb9e4537235985803b85c5b2f2d284c09c663d20

7 years agovblank: set the fixed fps to a vblank object 19/165219/5
Boram Park [Wed, 27 Dec 2017 05:58:21 +0000 (14:58 +0900)]
vblank: set the fixed fps to a vblank object

The vblank fps by setting with tdm_vblank_set_fixed_fps can't be changed with
tdm_vblank_set_fps. But it could be changed with tdm_vblank_enable_global_fps.

Change-Id: Iee25d749c1ebde51546810cb0baee1a0fc08ddef

7 years agovblank: get the client pid of a vblank object. 18/165218/5
Boram Park [Wed, 27 Dec 2017 05:57:36 +0000 (14:57 +0900)]
vblank: get the client pid of a vblank object.

Change-Id: I7fa29f1b03720ec93344893ea8a8bf3e0c8a6c72

7 years agovblank: trace the vblank object creation. 17/165217/4
Boram Park [Wed, 27 Dec 2017 05:56:48 +0000 (14:56 +0900)]
vblank: trace the vblank object creation.

We don't allow adding a create handler in sub-thread because tdm_vblank_create()
can be called in both threads and tdm_thread_send_cb supports only one-way
communication now.

Change-Id: I2c2b90cc29348aa9b24f5882369d94435a358e52

7 years agopackage version up to 1.10.3 92/165292/1
SooChan Lim [Thu, 28 Dec 2017 04:13:25 +0000 (13:13 +0900)]
package version up to 1.10.3

Change-Id: I843294f115afe16868502b16c61b35ad3fbb6195

7 years agoserver: remove unused request 16/165216/2
Boram Park [Tue, 26 Dec 2017 09:34:52 +0000 (18:34 +0900)]
server: remove unused request

Change-Id: I0aa949b4d9ae69464538f178d733223f43c342d9

7 years agoutest: fix the dereference of null pointer 66/165066/1
SooChan Lim [Tue, 26 Dec 2017 00:45:27 +0000 (09:45 +0900)]
utest: fix the dereference of null pointer

Change-Id: I4e3fca3eca89c03a6aa886cc657d90b17dc3b0b3

7 years agoutest: fix the memory leak 65/165065/1
SooChan Lim [Tue, 26 Dec 2017 00:44:48 +0000 (09:44 +0900)]
utest: fix the memory leak

Change-Id: Ib5c0b7dc96b19fefb93889b330b444f937490eac

7 years agopackage version up to 1.10.2 40/164640/1 accepted/tizen/unified/20171221.071303 submit/tizen/20171220.070422
SooChan Lim [Wed, 20 Dec 2017 06:57:19 +0000 (15:57 +0900)]
package version up to 1.10.2

Change-Id: Ib6012f1b570ac89fa4b3f8d4c5588d08e9045750

7 years agoutest: fix all failed tests and add new tests 60/163860/4
Roman Marchenko [Wed, 13 Dec 2017 16:31:14 +0000 (18:31 +0200)]
utest: fix all failed tests and add new tests

Change-Id: I0991ce8cb91d1a8417c9b2b3ef40714a5882a9d7
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agotdm_output_hwc_set_client_target_buffer: allow pass 0 for num_wnds 91/164491/1
Konstantin Drabeniuk [Tue, 19 Dec 2017 08:56:56 +0000 (10:56 +0200)]
tdm_output_hwc_set_client_target_buffer: allow pass 0 for num_wnds

Change-Id: Iaa0df64ec73bb57c8a14647fbd312917fb1e2c76
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agopackage version up to 1.10.1 67/164367/1 accepted/tizen/unified/20171219.072724 submit/tizen/20171219.015150
SooChan Lim [Tue, 19 Dec 2017 01:45:27 +0000 (10:45 +0900)]
package version up to 1.10.1

Change-Id: I0d35bc02b01d0be26fd29b6fa7f9bc4c1e281084

7 years agoutest: fix protex issue 15/164315/2
Roman Marchenko [Mon, 18 Dec 2017 11:23:44 +0000 (13:23 +0200)]
utest: fix protex issue

Change-Id: I8c2e93345ba14375853ac7f001deb211df2744df

7 years agoadd some comments 09/164009/1
Sergey Sizonov [Thu, 14 Dec 2017 12:48:19 +0000 (15:48 +0300)]
add some comments

Change-Id: I14ad80d9ded4cd81b43d94f21fcc479963182c7a
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
7 years agopackage version up to 1.10.0 07/163907/1 accepted/tizen/unified/20171215.060624 submit/tizen/20171214.044336
SooChan Lim [Thu, 14 Dec 2017 04:19:14 +0000 (13:19 +0900)]
package version up to 1.10.0

Change-Id: I07f11f8b4cf5435f5d4a19a835c7dae395dca524

7 years agoimplement new mechanism for smooth transition from DEVICE to CLIENT 55/163355/6
Sergey Sizonov [Fri, 8 Dec 2017 16:45:58 +0000 (19:45 +0300)]
implement new mechanism for smooth transition from DEVICE to CLIENT

This implementation is based on the list of composited
hwc_wnds passed along with target_surface these hwc_wnds
are composited at.

Change-Id: I0b4b6d77b418f3313d11b6a43263160281ae3f19
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
7 years agoremove the old implementation of 'smooth transition' mechanism. 73/163473/3
Sergey Sizonov [Mon, 11 Dec 2017 09:49:25 +0000 (12:49 +0300)]
remove the old implementation of 'smooth transition' mechanism.

Change-Id: I431a148841ae98b156eda141c0582c2f8dc7ab86
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
7 years agofix tained string issue 77/163877/2
Boram Park [Thu, 14 Dec 2017 00:45:12 +0000 (09:45 +0900)]
fix tained string issue

Change-Id: I349b13d2d2731c69c4ee44dc6aef1c9613c00ff5

7 years agofix the typo 64/163664/1
SooChan Lim [Tue, 12 Dec 2017 23:02:24 +0000 (08:02 +0900)]
fix the typo

valide -> valid

Change-Id: I7da023913f350f8c824faf81144e030f18239978

7 years agoadd verification for tdm_vblank 15/163615/3
Roman Marchenko [Mon, 11 Dec 2017 11:59:43 +0000 (13:59 +0200)]
add verification for tdm_vblank

Change-Id: I2858c8a23497ea205d25c732bda40492d9820d99
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoadd verification for tdm_output 14/163614/3
Roman Marchenko [Mon, 11 Dec 2017 11:57:43 +0000 (13:57 +0200)]
add verification for tdm_output

Change-Id: I59ae702314890cad08c8881357e8928a9878bcd4
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoadd verification for tdm_display 13/163613/2
Roman Marchenko [Fri, 8 Dec 2017 09:25:03 +0000 (11:25 +0200)]
add verification for tdm_display

Change-Id: I7f54f16c58fd13a079344075be3244f2f8e82488
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agotdm_hwc_window_set_buffer_damage: add a checking to NULL pointer for damage region 12/163612/2
Roman Marchenko [Mon, 11 Dec 2017 12:31:46 +0000 (14:31 +0200)]
tdm_hwc_window_set_buffer_damage: add a checking to NULL pointer for damage region

Change-Id: I9ac10c9f6df450e4b2a0e9e3312352a137850a20
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agotdm_layer_get_buffer_flags: add a checking to NULL pointer for flags 11/163611/2
Roman Marchenko [Mon, 11 Dec 2017 12:28:27 +0000 (14:28 +0200)]
tdm_layer_get_buffer_flags: add a checking to NULL pointer for flags

Change-Id: Ib564f82715334d07d775261737787cbb7eeefd5c
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoutest: fix wrong tests for tdm_hwc_window.c 10/163610/2
Roman Marchenko [Mon, 11 Dec 2017 12:14:14 +0000 (14:14 +0200)]
utest: fix wrong tests for tdm_hwc_window.c

   - check incorrect composition types

Change-Id: I22f93ab4c609afe805abdbaca9b3cf62c484828b
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoutest: fix wrong tests for tdm_vblank.c 09/163609/1
Roman Marchenko [Mon, 11 Dec 2017 12:11:48 +0000 (14:11 +0200)]
utest: fix wrong tests for tdm_vblank.c

   - VblankDestroyWrongVblankPtr:       use exit(0) in a ASSERT_EXIT block
   - VblankGetOffsetFailWrongOffsetPtr: was deleted as libtdm can't check an offset pointer
   - VblankGetOffsetSucces:             error has to be equel TDM_ERROR_NONE

Change-Id: If346f47e01de9fe884563f9ddaa12dcd26142884
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agofix build-break for aarch64 accepted/tizen/unified/20171213.040821 submit/tizen/20171212.090714
Boram Park [Tue, 12 Dec 2017 09:42:06 +0000 (18:42 +0900)]
fix build-break for aarch64

Change-Id: I1ea0c302e37f3fd44ddce44fae8045b8041d166b

7 years agopackage version up to 1.9.2
Boram Park [Tue, 12 Dec 2017 09:07:04 +0000 (18:07 +0900)]
package version up to 1.9.2

Change-Id: I35b97e2b930648a98bb1768fbd08abf9f379794f

7 years agomonitor: enhance ttrace option for layer, pp, capture 50/163550/1
Boram Park [Tue, 12 Dec 2017 02:44:44 +0000 (11:44 +0900)]
monitor: enhance ttrace option for layer, pp, capture

Change-Id: I3c142a49bff04844734137ea912cd5a84a81e05c

7 years agoadd checking return value 20/163020/1
Boram Park [Thu, 7 Dec 2017 02:16:08 +0000 (11:16 +0900)]
add checking return value

Change-Id: I6b5d85ace61d651722c4df2991ff588d74d726bd

7 years agopackage version up to 1.9.1 98/162598/1 accepted/tizen/unified/20171205.060640 submit/tizen/20171204.100749
SooChan Lim [Mon, 4 Dec 2017 10:02:08 +0000 (19:02 +0900)]
package version up to 1.9.1

Change-Id: I67f467eca26b1669158d1c84f954a70c4272d9eb

7 years agohwc: add the API function tdm_output_hwc_create_video_window instead of TDM_COMPOSITI... 63/162163/6
Roman Marchenko [Wed, 29 Nov 2017 09:46:22 +0000 (11:46 +0200)]
hwc: add the API function tdm_output_hwc_create_video_window instead of TDM_COMPOSITION_VIDEO.

Change-Id: If82b18a3d133abbcedb5d9125e18f5d6682e72f0
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agohwc: add API function tdm_output_hwc_get_video_supported_formats 41/162141/6
Roman Marchenko [Wed, 29 Nov 2017 08:38:57 +0000 (10:38 +0200)]
hwc: add API function tdm_output_hwc_get_video_supported_formats

  delete API function tdm_hwc_window_video_get_supported_format

Change-Id: I72f7e41f89bbc7f9aee665def673306c1072c992
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agohwc: add properties for video hwc windows 40/162140/5
Roman Marchenko [Wed, 29 Nov 2017 08:34:45 +0000 (10:34 +0200)]
hwc: add properties for video hwc windows

 - tdm_hwc_window_video_get_available_properties
 - tdm_hwc_window_video_get_property
 - tdm_hwc_window_video_set_property

Change-Id: I5a1aed2dab3daee875569f9d1046ad51906c1163
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agodpms: add AOD dpms mode 61/162161/2
Boram Park [Wed, 29 Nov 2017 06:20:50 +0000 (15:20 +0900)]
dpms: add AOD dpms mode

Change-Id: I5cd2bda61b7366fdb91e5867bfaa3e58158fccd5

7 years agodpms: handling extended DPMS modes 60/162160/2
Boram Park [Wed, 29 Nov 2017 06:20:28 +0000 (15:20 +0900)]
dpms: handling extended DPMS modes

Change-Id: Ic847321b932625daa6b357ffd435ec719d140ad9

7 years agodpms: add macro to check dpms status 59/162159/1
Boram Park [Tue, 28 Nov 2017 02:47:13 +0000 (11:47 +0900)]
dpms: add macro to check dpms status

Change-Id: I5b3f14d081203395c4fd7e781f216f4871a16bf6

7 years agodpms: update current_dpms_value if failed to set 58/162158/1
Boram Park [Tue, 28 Nov 2017 08:04:54 +0000 (17:04 +0900)]
dpms: update current_dpms_value if failed to set

Change-Id: I3de160985a6631c058d0e0fac59bcad673abd43e

7 years agodpms: allow setting the same value twice 57/162157/1
Boram Park [Tue, 28 Nov 2017 06:48:45 +0000 (15:48 +0900)]
dpms: allow setting the same value twice

Change-Id: I2a039987785c20cacb88be254ced2948cf23cbef

7 years agodpms: add more description 56/162156/1
Boram Park [Tue, 28 Nov 2017 02:08:49 +0000 (11:08 +0900)]
dpms: add more description

Change-Id: Ic8f325d92cdf57cac88f11e0436a378d238fb9c9

7 years agooutput: add debug logs 55/162155/1
Boram Park [Tue, 28 Nov 2017 08:13:27 +0000 (17:13 +0900)]
output: add debug logs

Change-Id: I70c3bce41875176fb01c741e3b8b470dafb128c3

7 years agoadd excluding coverage comments for tdm_client.c/tdm_server.c 19/162119/1
Sergey Sizonov [Wed, 29 Nov 2017 06:07:50 +0000 (09:07 +0300)]
add excluding coverage comments for tdm_client.c/tdm_server.c

Change-Id: I02a2e61c0a944879a6936d784545f731b161e23e
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
7 years agotools: fix syntax error 52/161752/2
Boram Park [Mon, 27 Nov 2017 08:44:40 +0000 (17:44 +0900)]
tools: fix syntax error

Change-Id: I0d857f566ed34dcd415939b7b2fe4b4062320f7f

7 years agooutput: add debug log 51/161751/2
Boram Park [Mon, 27 Nov 2017 08:44:18 +0000 (17:44 +0900)]
output: add debug log

Change-Id: I36f24f5c2e53f56c8568888bd6e305a62dd6eb1b

7 years agofix svace warnings 93/161793/3
Sergey Sizonov [Mon, 27 Nov 2017 09:35:10 +0000 (12:35 +0300)]
fix svace warnings

Change-Id: I4835f45443a7c38353cfc01f0fa3c897cc6d5f04
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
7 years agoutest: Add 62 tests cases for tdm_client 70/161670/7
Sergey Sizonov [Fri, 24 Nov 2017 12:40:16 +0000 (15:40 +0300)]
utest: Add 62 tests cases for tdm_client

Change-Id: If704891c1c2754baacfafdd6f327a94bb5fdc937
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
7 years agoadd excluding coverage comments for tdm_event_loop.c for folowing code: 81/161681/2
Roman Marchenko [Fri, 24 Nov 2017 16:00:41 +0000 (18:00 +0200)]
add excluding coverage comments for tdm_event_loop.c for folowing code:
    - inner functions

Change-Id: Ic3065fa1a0f3e81bff1332b7721d4866a2635286
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoutest: Add 10 test cases for tdm_event_loop.c 80/161680/2
Roman Marchenko [Fri, 24 Nov 2017 14:28:41 +0000 (16:28 +0200)]
utest: Add 10 test cases for tdm_event_loop.c

Change-Id: If7286f39557388dd2fedd8f11d32fa015cb23338
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoadd excluding coverage comments for tdm_vblank.c 68/161668/2
Konstantin Drabeniuk [Fri, 24 Nov 2017 13:19:45 +0000 (15:19 +0200)]
add excluding coverage comments for tdm_vblank.c

add excluding coverage comments for tdm_vblank.c for the folowing code:
- _tdm_vblank_cb_output_change;
- pthread's fail;
- calloc's fail;
- tdm_event_loop_source_timer_update() func's fail;
- _tdm_vblank_sw_timer_update() func's fail;
- funcs for tdm_monitor.

Change-Id: I67a22c38fd1ed19fde6ebf12a08681c60554f16c
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agoadd excluding coverage comments for tdm.c and tdm_thread.c 51/161651/2
Konstantin Drabeniuk [Fri, 24 Nov 2017 12:43:42 +0000 (14:43 +0200)]
add excluding coverage comments for tdm.c and tdm_thread.c

As we test only API's funcs add excluding coverage comments for all
static func in the tdm.c file.

Add excluding coverage comments for tdm_thread.c for the folowing code:
- TDM_THREAD_CB_OUTPUT_STATUS(it is not supported by all targets)
- TDM_THREAD_CB_OUTPUT_DPMS(it is not supported by all targets)

Change-Id: I8f404184774589c27f8c0dfe21574755434a75c8
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agoutest: improve the test coverage for tdm_output.c 24/161624/3
Konstantin Drabeniuk [Fri, 24 Nov 2017 11:28:27 +0000 (13:28 +0200)]
utest: improve the test coverage for tdm_output.c

Change-Id: I71c9e30c79e5f1d98065f13149dbd1b1c3c4826a
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agoadd excluding coverage comments for tdm_monitor_server.c and tdm_output.c 22/161622/2
Konstantin Drabeniuk [Fri, 24 Nov 2017 10:44:14 +0000 (12:44 +0200)]
add excluding coverage comments for tdm_monitor_server.c and tdm_output.c

add excluding coverage comments for tdm_monitor_server.c for all file.

add excluding coverage comments for tdm_output.c for folowing code:
- dump;
- calloc fail;
- fail if the backend's function don't exist;
- fail in the backend's function
- tdm_output_set_dpms_async()
- fail if there is not capability;

Change-Id: I7541c992ddc2f9ea5bb18ab77e97de2a3ed2cf28
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agopackage version up to 1.9.0 accepted/tizen/unified/20171127.083156 submit/tizen/20171126.034826
SooChan Lim [Sun, 26 Nov 2017 04:43:10 +0000 (13:43 +0900)]
package version up to 1.9.0

Change-Id: Iaa50a2ba6a8a4fc5b45ea920be480ed7d1a4a657

7 years agoutest: Fix warning of incorrect 64bits type casting 89/161589/3
Andrii Sokolenko [Fri, 24 Nov 2017 08:45:59 +0000 (10:45 +0200)]
utest: Fix warning of incorrect 64bits type casting

Change-Id: Ic0ab8db296a8295425da1ffc44d1bced023daea1
Signed-off-by: Andrii Sokolenko <a.sokolenko@samsung.com>
7 years agoadd excluding coverage comments for tdm_helper.c 04/161504/3
Roman Marchenko [Thu, 23 Nov 2017 17:04:23 +0000 (19:04 +0200)]
add excluding coverage comments for tdm_helper.c

add excluding coverage comments for tdm_helper.c for folowing code:
    - inner function;
    - deprecated function;

Change-Id: I9b4fb790bd3576fc0bc6a5e76579f74fbb817105
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoutest: Add 33 tests cases for tdm_helper 95/161495/5
Roman Marchenko [Thu, 23 Nov 2017 15:07:55 +0000 (17:07 +0200)]
utest: Add 33 tests cases for tdm_helper

Change-Id: I7b3d77866a67d45ffa740456351629d3cc85f148
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agohwc: add TDM_COMPOSITION_NONE 63/161463/5
Roman Marchenko [Thu, 23 Nov 2017 12:20:19 +0000 (14:20 +0200)]
hwc: add TDM_COMPOSITION_NONE

use TDM_COMPOSITION_NONE insted TDM_HWC_WINDOW_FLAG_SKIP

Change-Id: I8e1959cd953dc38e9dc77ce6c5193659cc8e838c

7 years agopackage version up to 1.8.4 submit/tizen/20171124.015442
Boram Park [Fri, 24 Nov 2017 01:54:24 +0000 (10:54 +0900)]
package version up to 1.8.4

Change-Id: Ic1b66478ff6342e1212a2e2e730da3cc1a7c2de7

7 years agoadd -Werror to CXXFLAGS 25/161525/1
Boram Park [Fri, 24 Nov 2017 01:37:48 +0000 (10:37 +0900)]
add -Werror to CXXFLAGS

Change-Id: I98d88aa39b9d46f517f2cbf44366044909111253

7 years agoutest: Fix warning of incorrect type casting 04/161404/2
Andrii Sokolenko [Thu, 23 Nov 2017 07:46:54 +0000 (09:46 +0200)]
utest: Fix warning of incorrect type casting

Change-Id: I8f8654f2f1e170ae539e417649b7c5b3dc035786
Signed-off-by: Andrii Sokolenko <a.sokolenko@samsung.com>
7 years agottrace: enhance -ttrace_vblank option 91/161391/1
Boram Park [Thu, 23 Nov 2017 06:45:16 +0000 (15:45 +0900)]
ttrace: enhance -ttrace_vblank option

Change-Id: Ic3afb55d3b7cf06e8962bea0ee0f71322fc06d27

7 years agoserver: correct wrong freeing 90/161390/1
Boram Park [Thu, 23 Nov 2017 05:39:47 +0000 (14:39 +0900)]
server: correct wrong freeing

Change-Id: I60595fa61f80ada4c4f2586eef8537cf38c04446

7 years agoutest: rework output init func 39/161239/1
Andrii Sokolenko [Wed, 22 Nov 2017 08:12:20 +0000 (10:12 +0200)]
utest: rework output init func

Change-Id: Ib1f07e1235ed654cf73d346730f94692dabf7438
Signed-off-by: Andrii Sokolenko <a.sokolenko@samsung.com>
7 years agoadd excluding coverage comments for tdm_hwc_window.c 59/161059/3
Roman Marchenko [Tue, 21 Nov 2017 08:07:26 +0000 (10:07 +0200)]
add excluding coverage comments for tdm_hwc_window.c

add excluding coverage comments for tdm_hwc_window.c for folowing code:
- fail if the backend's function don't exist;
- dump;
- calloc fail.

Change-Id: I885ba709fd7407cd5ebb454fcf17f4487a646ad7
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoutest: Add 16 tests cases for tdm_buffer 15/161115/4
Roman Marchenko [Tue, 21 Nov 2017 13:53:05 +0000 (15:53 +0200)]
utest: Add 16 tests cases for tdm_buffer

Change-Id: I75caad5e4236a7b5189d43832a10a6429c4c0ac9
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoadd excluding coverage comments for tdm_display.c 85/161085/1
Konstantin Drabeniuk [Tue, 21 Nov 2017 10:26:17 +0000 (12:26 +0200)]
add excluding coverage comments for tdm_display.c

add excluding coverage comments for tdm_display.c for folowing code:
- fail if there is not capability;
- poll fail.

Change-Id: I02b2bcb11058adc148057fd9a5e5d638751eab15
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agoadd excluding coverage comments for tdm_capture.c 78/161078/1
Konstantin Drabeniuk [Tue, 21 Nov 2017 09:35:59 +0000 (11:35 +0200)]
add excluding coverage comments for tdm_capture.c

add excluding coverage comments for tdm_capture.c for folowing code:
- fail if the backend's function don't exist;
- fail if there is not capability;
- dump;
- calloc fail;
- check_module_abi fail;
- tdm_capture_create_layer_internal.

Change-Id: Icb04f5ab1cd7738d8216bb47cb80211c0821978d
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agoutest: add 28 test cases 52/161052/4
Konstantin Drabeniuk [Tue, 21 Nov 2017 06:57:41 +0000 (08:57 +0200)]
utest: add 28 test cases

Covered API funcs. from the tdm_capture.c file.

Change-Id: I1e4a2426247a6b0fb0e07b4b6840f94f6f172e95
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agocorrect ttrace debug information for vblank 62/161062/1
Boram Park [Tue, 21 Nov 2017 07:56:58 +0000 (16:56 +0900)]
correct ttrace debug information for vblank

Change-Id: Ie465ef620bc2f91b23c85a7321e7ba39de777c02

7 years agoremove unused event 61/161061/1
Boram Park [Tue, 21 Nov 2017 07:35:02 +0000 (16:35 +0900)]
remove unused event

Change-Id: Ia88e9468eb8ca36f0c6902d76d1eb9d9424d7cd5

7 years agoadd stamp to vblank objects 60/161060/1
Boram Park [Tue, 21 Nov 2017 07:31:35 +0000 (16:31 +0900)]
add stamp to vblank objects

To distinguish among vblank objects

Change-Id: Id419092118542442fa719824204e495c48e32d40

7 years agoutest: Add 37 tests cases for tdm_hwc_window 27/160527/6
Roman Marchenko [Thu, 16 Nov 2017 14:16:56 +0000 (16:16 +0200)]
utest: Add 37 tests cases for tdm_hwc_window

Change-Id: I292f3384828ae428e79cb3081cbcf23a709fbb83
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoturn on the utests bulding and fix svace issues 21/160621/4
Konstantin Drabeniuk [Fri, 17 Nov 2017 10:56:10 +0000 (12:56 +0200)]
turn on the utests bulding and fix svace issues

Change-Id: I1c8288cb962725462cc71b6621740dc81075274d
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agoutest: fix warnings 20/160620/1
Konstantin Drabeniuk [Fri, 17 Nov 2017 07:01:38 +0000 (09:01 +0200)]
utest: fix warnings

Change-Id: I5bdb832d6074481723a7ddd14a4b1028f7701188
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agooutput: add debugging logs 14/160614/2
Boram Park [Fri, 17 Nov 2017 06:47:22 +0000 (15:47 +0900)]
output: add debugging logs

Change-Id: I716746908d47b15757772ebc71cf714a0e0a5771

7 years agoadd excluding coverage comments for tdm_pp.c 33/160533/1
Konstantin Drabeniuk [Thu, 16 Nov 2017 15:21:57 +0000 (17:21 +0200)]
add excluding coverage comments for tdm_pp.c

add excluding coverage comments for tdm_pp.c for folowing code:
- fail if the backend's function don't exist;
- dump;
- calloc fail;
- check_module_abi fail.

Change-Id: Ie4dd5dfbd086b858f9235afd72ab7b6518714dc9

7 years agoutest: Add 26 test cases 32/160532/1
Konstantin Drabeniuk [Thu, 16 Nov 2017 15:17:12 +0000 (17:17 +0200)]
utest: Add 26 test cases

Covered API funcs. from the tdm_pp.c file.

Change-Id: I3c0c123d90fdde0929b88cdccb56a456b3d6853a
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agovblank: using tdm_output function to get DPMS status. 14/160414/1
Boram Park [Thu, 16 Nov 2017 04:56:37 +0000 (13:56 +0900)]
vblank: using tdm_output function to get DPMS status.

Storing DPMS value made inconsistency with output's DPMS value

Change-Id: I303486cda38c2d8c9c01346facf1e7848b9c63e3

7 years agooutput: return current_dpms_value if commit_per_vblank is false 13/160413/1
Boram Park [Thu, 16 Nov 2017 04:53:25 +0000 (13:53 +0900)]
output: return current_dpms_value if commit_per_vblank is false

To use the stored value to reduce the interaction between frontend and backend.
If commit_per_vblank is true, tdm_output_get_dpms_internal calls backend's
output_get_dpms always function to get dpms status. Some backends doesn't
work properly for DPMS.

In future, we'd better use new env instead of using commit_per_vblank variable
to distinguish whether we use the stored value or backend's output_get_dpms.

Change-Id: I464e5d0dee98985e657f6db636b4386258ffaa8e

7 years agoadd excluding coverage comments for tdm_layer.c 47/160347/1
Konstantin Drabeniuk [Wed, 15 Nov 2017 12:29:24 +0000 (14:29 +0200)]
add excluding coverage comments for tdm_layer.c

add excluding coverage comments for tdm_layer.c for folowing code:
- fail if the backend's function don't exist;
- dump;
- print fps;
- calloc fail;
- fail in the TBM.

Change-Id: I9e1046f32315147d97930f786047878daca21690
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agoutests: Add 83 test cases 42/160342/2
Konstantin Drabeniuk [Wed, 15 Nov 2017 12:09:02 +0000 (14:09 +0200)]
utests: Add 83 test cases

Covered API funcs. from the tdm_layer.c file.

Change-Id: I27317f987320ee40d1e03ecb98a8e6eac6e28008
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agopackage version up to 1.8.3 13/160113/1 accepted/tizen/unified/20171115.174122 submit/tizen/20171115.084759
SooChan Lim [Tue, 14 Nov 2017 11:32:07 +0000 (20:32 +0900)]
package version up to 1.8.3

Change-Id: I2d6461dfd3f65790f7aa5c00a7f19a4a3978e81b

7 years agochange the version of hwc_window. 12/160112/1
SooChan Lim [Tue, 14 Nov 2017 11:31:02 +0000 (20:31 +0900)]
change the version of hwc_window.

this version change is for the developement temporarily

Change-Id: I4a64f37ef1f9b85f412e200ec2c1542dcfb0cfe5