93
95
auto null_buffer_initializer = std::make_shared<mg::NullBufferInitializer>();
94
96
auto allocator = std::make_shared<mga::AndroidGraphicBufferAllocator>(null_buffer_initializer);
95
97
auto buffer_stream_factory = std::make_shared<mc::BufferStreamFactory>(allocator);
97
99
auto surface_allocator = std::make_shared<ms::SurfaceAllocator>(buffer_stream_factory, stub_input_factory, scene_report);
98
100
auto ss = std::make_shared<ms::SurfaceStack>(surface_allocator, stub_input_registrar, scene_report);
99
101
auto surface_controller = std::make_shared<ms::SurfaceController>(ss);