#include "gpu/command_buffer/service/shared_image/vulkan_ozone_image_representation.h"
#if BUILDFLAG(ENABLE_VULKAN)
#include "gpu/command_buffer/service/shared_image/ozone_image_backing.h"
namespace gpu {
VulkanOzoneImageRepresentation::VulkanOzoneImageRepresentation(
SharedImageManager* manager,
SharedImageBacking* backing,
MemoryTypeTracker* tracker,
std::unique_ptr<gpu::VulkanImage> vulkan_image,
gpu::VulkanDeviceQueue* vulkan_device_queue,
gpu::VulkanImplementation& vulkan_impl)
: … { … }
VulkanOzoneImageRepresentation::~VulkanOzoneImageRepresentation() = default;
std::unique_ptr<VulkanImageRepresentation::ScopedAccess>
VulkanOzoneImageRepresentation::BeginScopedAccess(
AccessMode access_mode,
std::vector<VkSemaphore>& begin_semaphores,
std::vector<VkSemaphore>& end_semaphores) { … }
void VulkanOzoneImageRepresentation::EndScopedAccess(
bool is_read_only,
VkSemaphore end_semaphore) { … }
}
#endif