34
36
struct StubClientPlatform : public mcl::ClientPlatform
36
43
MirPlatformType platform_type() const
38
45
return mir_platform_type_gbm;
41
58
std::shared_ptr<mcl::ClientBufferFactory> create_buffer_factory()
43
60
return std::make_shared<mtd::StubClientBufferFactory>();
48
65
auto fake_window = reinterpret_cast<EGLNativeWindowType>(0x12345678lu);
49
66
return std::make_shared<EGLNativeWindowType>(fake_window);