// // Copyright 2016 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // RenderTargetVk: // Wrapper around a Vulkan renderable resource, using an ImageView. // #ifndef LIBANGLE_RENDERER_VULKAN_RENDERTARGETVK_H_ #define LIBANGLE_RENDERER_VULKAN_RENDERTARGETVK_H_ #include "common/vulkan/vk_headers.h" #include "libANGLE/FramebufferAttachment.h" #include "libANGLE/renderer/renderer_utils.h" #include "libANGLE/renderer/vulkan/vk_helpers.h" namespace rx { namespace vk { class FramebufferHelper; class ImageHelper; class ImageView; class Resource; class RenderPassDesc; } // namespace vk class ContextVk; class TextureVk; enum class RenderTargetTransience { … }; // This is a very light-weight class that does not own to the resources it points to. // It's meant only to copy across some information from a FramebufferAttachment to the // business rendering logic. It stores Images and ImageViews by pointer for performance. class RenderTargetVk final : public FramebufferAttachmentRenderTarget { … }; // A vector of rendertargets RenderTargetVector; } // namespace rx #endif // LIBANGLE_RENDERER_VULKAN_RENDERTARGETVK_H_