#include "gpu/command_buffer/service/shared_image/external_vk_image_dawn_representation.h"
#include <dawn/native/VulkanBackend.h>
#include <utility>
#include <vector>
#include "base/posix/eintr_wrapper.h"
#include "gpu/config/gpu_finch_features.h"
#include "gpu/vulkan/vulkan_image.h"
#include "third_party/skia/include/gpu/GrBackendSurface.h"
#include "third_party/skia/include/gpu/MutableTextureState.h"
#include "third_party/skia/include/gpu/ganesh/vk/GrVkBackendSurface.h"
#include "third_party/skia/include/gpu/vk/GrVkTypes.h"
#include "third_party/skia/include/gpu/vk/VulkanMutableTextureState.h"
namespace gpu {
ExternalVkImageDawnImageRepresentation::ExternalVkImageDawnImageRepresentation(
SharedImageManager* manager,
SharedImageBacking* backing,
MemoryTypeTracker* tracker,
wgpu::Device device,
wgpu::TextureFormat wgpu_format,
std::vector<wgpu::TextureFormat> view_formats,
base::ScopedFD memory_fd)
: … { … }
ExternalVkImageDawnImageRepresentation::
~ExternalVkImageDawnImageRepresentation() { … }
wgpu::Texture ExternalVkImageDawnImageRepresentation::BeginAccess(
wgpu::TextureUsage usage,
wgpu::TextureUsage internal_usage) { … }
void ExternalVkImageDawnImageRepresentation::EndAccess() { … }
}