~mir-team/mir/trunk

« back to all changes in this revision

Viewing changes to examples/demo-inprocess-egl/inprocess_egl_client.cpp

  • Committer: Tarmac
  • Author(s): Alan Griffiths
  • Date: 2013-04-25 23:50:01 UTC
  • mfrom: (526.2.22 mir1)
  • Revision ID: tarmac-20130425235001-c3b3x2yyb3eldyx1
frontend, shell, tests: surface-states updated to avoid supplying dependencies through public member functions.

Approved by PS Jenkins bot, Chris Halse Rogers, Robert Ancell, Kevin DuBois.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
        .of_size(surface_size)
61
61
        .of_buffer_usage(mc::BufferUsage::hardware)
62
62
        .of_pixel_format(geom::PixelFormat::argb_8888);
63
 
    auto surface = surface_factory->create_surface(params);
 
63
    auto surface = surface_factory->create_surface(params, mf::SurfaceId(), std::shared_ptr<events::EventSink>());
64
64
 
65
65
    surface->advance_client_buffer(); // TODO: What a wart!
66
66