~raof/mir/blowup-eventhub

« back to all changes in this revision

Viewing changes to tests/unit-tests/graphics/android/test_hwc_fb_device.cpp

  • Committer: Tarmac
  • Author(s): Kevin DuBois
  • Date: 2014-01-29 00:49:23 UTC
  • mfrom: (1329.1.42 renderable)
  • Revision ID: tarmac-20140129004923-a52iu4phmbzmv9ot
android: split out HWC layers into their own file and add a mga::CompositionLayer type that depends on the interface mg::Renderable.

Approved by Andreas Pokorny, Alan Griffiths, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
 
84
84
    mga::HwcFbDevice device(mock_hwc_device, mock_fb_device, mock_vsync);
85
85
 
86
 
    std::list<mg::Renderable> renderlist;
 
86
    std::list<std::shared_ptr<mg::Renderable>> renderlist;
87
87
    device.prepare_gl_and_overlays(renderlist);
88
88
 
89
89
    EXPECT_EQ(-1, mock_hwc_device->display0_prepare_content.retireFenceFd);