D18452: [autotests] Sub-surface resize test

Roman Gilg <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
romangg created this revision.
romangg added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
romangg requested review of this revision.

REVISION SUMMARY
  Adds an autotest to show that KWin fails an assertion when a client tries to
  resize a sub-surface.
  
  Since it is the first autotest dealing with sub-surfaces explicitly additional
  autotest helpers are introduced to allow that.
  
  We also add a new signal in Compositor to spy on to know when the buffer swap
  has been completed.

TEST PLAN
  Test fails as expected.

REPOSITORY
  R108 KWin

BRANCH
  bufferSizeTest

REVISION DETAIL
  https://phabricator.kde.org/D18452

AFFECTED FILES
  autotests/integration/CMakeLists.txt
  autotests/integration/buffer_size_change_test.cpp
  autotests/integration/kwin_wayland_test.h
  autotests/integration/test_helpers.cpp
  composite.cpp
  composite.h

To: romangg, #kwin
Cc: kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.