~brandontschaefer/mir/first-round-deprecation

« back to all changes in this revision

Viewing changes to tests/unit-tests/scene/test_surface_stack.cpp

  • Committer: Brandon Schaefer
  • Date: 2016-12-13 17:59:30 UTC
  • mfrom: (3787.1.93 development-branch)
  • Revision ID: brandon.schaefer@canonical.com-20161213175930-j9o7qn0b11n3kzlm
* Merge trunk, fix conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
 
60
60
void post_a_frame(mc::BufferStream& s)
61
61
{
62
 
    mtd::StubBuffer old_buffer;
63
 
    s.swap_buffers(&old_buffer, [](mg::Buffer*){});
 
62
    s.submit_buffer(std::make_shared<mtd::StubBuffer>());
64
63
}
65
64
 
66
65
MATCHER_P(SurfaceWithInputReceptionMode, mode, "")