#include "libANGLE/renderer/vulkan/linux/xcb/DisplayVkXcb.h"
#include <xcb/xcb.h>
#include "common/system_utils.h"
#include "libANGLE/Display.h"
#include "libANGLE/renderer/vulkan/linux/xcb/WindowSurfaceVkXcb.h"
#include "libANGLE/renderer/vulkan/vk_caps_utils.h"
namespace rx
{
namespace
{
EGLint GetXcbVisualType(xcb_screen_t *screen)
{ … }
}
DisplayVkXcb::DisplayVkXcb(const egl::DisplayState &state)
: … { … }
egl::Error DisplayVkXcb::initialize(egl::Display *display)
{ … }
void DisplayVkXcb::terminate()
{ … }
bool DisplayVkXcb::isValidNativeWindow(EGLNativeWindowType window) const
{ … }
SurfaceImpl *DisplayVkXcb::createWindowSurfaceVk(const egl::SurfaceState &state,
EGLNativeWindowType window)
{ … }
egl::ConfigSet DisplayVkXcb::generateConfigs()
{ … }
void DisplayVkXcb::checkConfigSupport(egl::Config *config)
{ … }
const char *DisplayVkXcb::getWSIExtension() const
{ … }
bool IsVulkanXcbDisplayAvailable()
{ … }
DisplayImpl *CreateVulkanXcbDisplay(const egl::DisplayState &state)
{ … }
angle::Result DisplayVkXcb::waitNativeImpl()
{ … }
}