#include "libANGLE/renderer/vulkan/linux/DisplayVkLinux.h"
#include "common/linux/dma_buf_utils.h"
#include "libANGLE/renderer/vulkan/linux/DeviceVkLinux.h"
#include "libANGLE/renderer/vulkan/linux/DmaBufImageSiblingVkLinux.h"
#include "libANGLE/renderer/vulkan/vk_renderer.h"
namespace rx
{
DisplayVkLinux::DisplayVkLinux(const egl::DisplayState &state)
: … { … }
DeviceImpl *DisplayVkLinux::createDevice()
{ … }
ExternalImageSiblingImpl *DisplayVkLinux::createExternalImageSibling(
const gl::Context *context,
EGLenum target,
EGLClientBuffer buffer,
const egl::AttributeMap &attribs)
{ … }
std::vector<VkDrmFormatModifierPropertiesEXT> DisplayVkLinux::GetDrmModifiers(
const DisplayVk *displayVk,
VkFormat vkFormat)
{ … }
bool DisplayVkLinux::SupportsDrmModifiers(VkPhysicalDevice device, VkFormat vkFormat)
{ … }
std::vector<VkFormat> DisplayVkLinux::GetVkFormatsWithDrmModifiers(const vk::Renderer *renderer)
{ … }
std::vector<EGLint> DisplayVkLinux::GetDrmFormats(const vk::Renderer *renderer)
{ … }
bool DisplayVkLinux::supportsDmaBufFormat(EGLint format) const
{ … }
egl::Error DisplayVkLinux::queryDmaBufFormats(EGLint maxFormats,
EGLint *formats,
EGLint *numFormats)
{ … }
egl::Error DisplayVkLinux::queryDmaBufModifiers(EGLint drmFormat,
EGLint maxModifiers,
EGLuint64KHR *modifiers,
EGLBoolean *externalOnly,
EGLint *numModifiers)
{ … }
}