#include "gpu/command_buffer/service/shared_image/external_vk_image_overlay_representation.h"
#include "build/build_config.h"
#if BUILDFLAG(IS_FUCHSIA)
#include "gpu/vulkan/fuchsia/vulkan_fuchsia_ext.h"
#endif
#include "components/viz/common/gpu/vulkan_context_provider.h"
#include "gpu/vulkan/vulkan_implementation.h"
namespace gpu {
ExternalVkImageOverlayImageRepresentation::
ExternalVkImageOverlayImageRepresentation(SharedImageManager* manager,
ExternalVkImageBacking* backing,
MemoryTypeTracker* tracker)
: … { … }
ExternalVkImageOverlayImageRepresentation::
~ExternalVkImageOverlayImageRepresentation() = default;
bool ExternalVkImageOverlayImageRepresentation::BeginReadAccess(
gfx::GpuFenceHandle& acquire_fence) { … }
void ExternalVkImageOverlayImageRepresentation::EndReadAccess(
gfx::GpuFenceHandle release_fence) { … }
void ExternalVkImageOverlayImageRepresentation::GetAcquireFence(
gfx::GpuFenceHandle& fence) { … }
}