skwindow::XlibWindowInfo info = { };
info.fDisplay = XOpenDisplay(NULL);
XSetWindowAttributes attributes;
attributes.event_mask = ExposureMask | KeyPressMask;
info.fWindow = XCreateWindow(
info.fDisplay, DefaultRootWindow(info.fDisplay), 0, 0, 800, 600, 0,
CopyFromParent, InputOutput, CopyFromParent,
CWEventMask, &attributes);
info.fFBConfig = nullptr;
info.fVisualInfo = nullptr;
info.fWidth = 800;
info.fHeight = 600;
skwindow::DisplayParams dp = { };
dp.fColorType = kRGBA_8888_SkColorType;
dp.fColorSpace = SkColorSpace::MakeSRGB();
dp.fMSAASampleCount = 0;
dp.fGrContextOptions = GrContextOptions();
dp.fSurfaceProps = SkSurfaceProps(0, kBGR_H_SkPixelGeometry);
dp.fDisableVsync = false;
dp.fDelayDrawableAcquisition = false;
dp.fEnableBinaryArchive = false;
dp.fCreateProtectedNativeBackend = false;
std::unique_ptr<skwindow::WindowContext> ctx =
skwindow::MakeGraphiteDawnVulkanForXlib(info, dp);