~kgunn72/mir/dont-crash-when-shooting-invalid-surface

« back to all changes in this revision

Viewing changes to tests/unit-tests/client/test_android_client_buffer_factory.cpp

  • Committer: Tarmac
  • Author(s): Alan Griffiths, Alexandros Frantzis, Daniel van Vugt, Kevin DuBois, Christopher James Halse Rogers, chris.gagnon, Mathieu Trudel-Lapierre, Robert Carr, Automatic PS uploader, Kevin Gunn, Daniel d'Andrada, Christopher James Halse Rogers, Michael Terry, Brandon Schaefer, Timo Jyrinki, Mir Team, Andreas Pokorny
  • Date: 2013-12-20 11:11:22 UTC
  • mfrom: (1169.1.1 version-0.1.3)
  • Revision ID: tarmac-20131220111122-h503fd1fnq7pn9za
Latest upstream release: Mir 0.1.3 (r1298).

Approved by Alan Griffiths, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        width = geom::Width(12);
37
37
        height =geom::Height(14);
38
38
        size = geom::Size{width, height};
39
 
        pf = geom::PixelFormat::abgr_8888;
 
39
        pf = mir_pixel_format_abgr_8888;
40
40
 
41
41
        mock_registrar = std::make_shared<mtd::MockAndroidRegistrar>();
42
42
 
46
46
    }
47
47
    geom::Width width;
48
48
    geom::Height height;
49
 
    geom::PixelFormat pf;
 
49
    MirPixelFormat pf;
50
50
    geom::Size size;
51
51
 
52
52
    std::shared_ptr<mtd::MockAndroidRegistrar> mock_registrar;