kelgin rename conformity

dev
keldu.magnus 2021-06-08 23:43:08 +02:00
parent a4285d3659
commit 370a4dfc85
5 changed files with 8 additions and 8 deletions

View File

@ -176,7 +176,7 @@ void XcbDevice::flush() {
xcb_flush(xcb_connection);
}
Own<XcbDevice> createXcbDevice(AsyncIoProvider &provider) {
Own<XcbDevice> createXcbDevice(IoProvider &provider) {
::Display *display = ::XOpenDisplay(nullptr);
if (!display) {
/// @todo log errors
@ -214,7 +214,7 @@ Own<XcbDevice> createXcbDevice(AsyncIoProvider &provider) {
std::move(fd_wrapped));
}
Own<Device> createDevice(AsyncIoProvider &provider) {
Own<Device> createDevice(IoProvider &provider) {
return createXcbDevice(provider);
}
} // namespace gin

View File

@ -43,5 +43,5 @@ public:
void flush() override;
};
Own<XcbDevice> createXcbDevice(AsyncIoProvider &provider);
Own<XcbDevice> createXcbDevice(IoProvider &provider);
} // namespace gin

View File

@ -104,7 +104,7 @@ void XcbGlContext::flush() {
}
}
Own<GlContext> createGlContext(AsyncIoProvider &provider,
Own<GlContext> createGlContext(IoProvider &provider,
const GlSettings &settings) {
Own<XcbDevice> device = createXcbDevice(provider);
if (!device) {

View File

@ -18,6 +18,6 @@ public:
virtual void flush() = 0;
};
class AsyncIoProvider;
Own<Device> createDevice(AsyncIoProvider &provider);
class IoProvider;
Own<Device> createDevice(IoProvider &provider);
} // namespace gin

View File

@ -56,6 +56,6 @@ public:
virtual void flush() = 0;
};
class AsyncIoProvider;
Own<GlContext> createGlContext(AsyncIoProvider &, const GlSettings &);
class IoProvider;
Own<GlContext> createGlContext(IoProvider &, const GlSettings &);
} // namespace gin