~albaguirre/mir/backport-fixes-to-0.11

« back to all changes in this revision

Viewing changes to tests/include/mir_test_doubles/stub_display_builder.h

  • Committer: Tarmac
  • Author(s): Kevin DuBois
  • Date: 2015-01-29 16:35:31 UTC
  • mfrom: (2215.3.26 pull-list-from-device)
  • Revision ID: tarmac-20150129163531-oklyqevk921mxuq3
android: pull the mga::LayerList instance from the mga::HwcDevice to the mga::DisplayBuffer.

Approved by Alan Griffiths, Alexandros Frantzis, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
    {
72
72
    }
73
73
 
 
74
    std::unique_ptr<graphics::android::LayerList> create_layer_list()
 
75
    {
 
76
        return std::unique_ptr<graphics::android::LayerList>(
 
77
            new graphics::android::LayerList(std::make_shared<graphics::android::IntegerSourceCrop>(), {}));
 
78
    }
 
79
 
74
80
    std::unique_ptr<graphics::android::FramebufferBundle> create_framebuffers(graphics::android::DisplayAttribs const&) override
75
81
    {
76
82
        return std::unique_ptr<graphics::android::FramebufferBundle>(new StubFramebufferBundle());