[PATCH weston 0/4] don't check active order lists before adding surface/layer

Ucan, Emre (ADITG/SW1) eucan at de.adit-jv.com
Wed Jan 18 15:25:17 UTC 2017


If a surface is removed from a layer's render order list, but the
changes are not commited. Then, the surface could not be added to the
same layer with ivi_layout_add_surface API. Because ivi_view of the
surface is still in the render order list of the layer.

It is not possible to change the order of surfaces in a layer without
clearing and commiting the changes before. The same issue also occurs
for layers with ivi_layout_screen_add_layer API.

First two patches fix issues for ivi_layout_layer_add_surface and
ivi_layout_screen_add_layer API. Other patches implement testcases to
test these use-cases.

Emre Ucan (4):
  ivi-shell: don't check view is rendered before adding surface
  ivi-shell: don't check layer is already on the screen
  ivi-shell: add layer_add_surfaces test
  ivi-shell: add screen_add_layers test

 ivi-shell/ivi-layout.c           |    7 -----
 tests/ivi_layout-internal-test.c |   54 ++++++++++++++++++++++++++++++++++++++
 tests/ivi_layout-test-plugin.c   |   49 ++++++++++++++++++++++++++++++++++
 tests/ivi_layout-test.c          |    1 +
 4 files changed, 104 insertions(+), 7 deletions(-)

-- 
1.7.9.5



More information about the wayland-devel mailing list