/external/skqp/src/gpu/vk/ |
D | GrVkImage.cpp | 17 VkPipelineStageFlags GrVkImage::LayoutToPipelineSrcStageFlags(const VkImageLayout layout) { in LayoutToPipelineSrcStageFlags() 38 VkAccessFlags GrVkImage::LayoutToSrcAccessMask(const VkImageLayout layout) { in LayoutToSrcAccessMask() 84 void GrVkImage::setImageLayout(const GrVkGpu* gpu, VkImageLayout newLayout, in setImageLayout() 106 VkAccessFlags srcAccessMask = GrVkImage::LayoutToSrcAccessMask(currentLayout); in setImageLayout() 107 VkPipelineStageFlags srcStageMask = GrVkImage::LayoutToPipelineSrcStageFlags(currentLayout); in setImageLayout() 150 bool GrVkImage::InitImageInfo(const GrVkGpu* gpu, const ImageDesc& imageDesc, GrVkImageInfo* info) { in InitImageInfo() 206 void GrVkImage::DestroyImageInfo(const GrVkGpu* gpu, GrVkImageInfo* info) { in DestroyImageInfo() 212 GrVkImage::~GrVkImage() { in ~GrVkImage() 217 void GrVkImage::releaseImage(GrVkGpu* gpu) { in releaseImage() 228 void GrVkImage::abandonImage() { in abandonImage() [all …]
|
D | GrVkCommandBuffer.h | 20 class GrVkImage; variable 231 GrVkImage* image, 237 GrVkImage* image, 243 GrVkImage* srcImage, 245 GrVkImage* dstImage, 262 const GrVkImage& srcImage, 263 const GrVkImage& dstImage, 269 GrVkImage* srcImage, 277 GrVkImage* dstImage, 295 const GrVkImage& srcImage, [all …]
|
D | GrVkTextureRenderTarget.cpp | 33 , GrVkImage(info, layout, GrBackendObjectOwnership::kOwned) in GrVkTextureRenderTarget() 51 , GrVkImage(info, layout, GrBackendObjectOwnership::kOwned) in GrVkTextureRenderTarget() 72 , GrVkImage(info, layout, ownership) in GrVkTextureRenderTarget() 89 , GrVkImage(info, layout, ownership) in GrVkTextureRenderTarget() 122 GrVkImage::ImageDesc msImageDesc; in create_views() 135 if (!GrVkImage::InitImageInfo(gpu, msImageDesc, &views.msInfo)) { in create_views() 148 GrVkImage::DestroyImageInfo(gpu, &views.msInfo); in create_views() 163 GrVkImage::DestroyImageInfo(gpu, &views.msInfo); in create_views() 175 const GrVkImage::ImageDesc& imageDesc, in MakeNewTextureRenderTarget() 181 if (!GrVkImage::InitImageInfo(gpu, imageDesc, &info)) { in MakeNewTextureRenderTarget() [all …]
|
D | GrVkStencilAttachment.cpp | 18 const GrVkImage::ImageDesc& desc, in GrVkStencilAttachment() 23 , GrVkImage(info, std::move(layout), GrBackendObjectOwnership::kOwned) in GrVkStencilAttachment() 35 GrVkImage::ImageDesc imageDesc; in Create() 48 if (!GrVkImage::InitImageInfo(gpu, imageDesc, &info)) { in Create() 57 GrVkImage::DestroyImageInfo(gpu, &info); in Create()
|
D | GrVkRenderTarget.cpp | 34 , GrVkImage(info, std::move(layout), GrBackendObjectOwnership::kBorrowed) in GrVkRenderTarget() 38 , fMSAAImage(new GrVkImage(msaaInfo, std::move(msaaLayout), in GrVkRenderTarget() 60 , GrVkImage(info, std::move(layout), ownership) in GrVkRenderTarget() 64 , fMSAAImage(new GrVkImage(msaaInfo, std::move(msaaLayout), in GrVkRenderTarget() 81 , GrVkImage(info, std::move(layout), GrBackendObjectOwnership::kBorrowed) in GrVkRenderTarget() 102 , GrVkImage(info, std::move(layout), ownership) in GrVkRenderTarget() 120 , GrVkImage(info, std::move(layout), GrBackendObjectOwnership::kBorrowed, true) in GrVkRenderTarget() 147 GrVkImage::ImageDesc msImageDesc; in MakeWrappedRenderTarget() 160 if (!GrVkImage::InitImageInfo(gpu, msImageDesc, &msInfo)) { in MakeWrappedRenderTarget() 172 GrVkImage::DestroyImageInfo(gpu, &msInfo); in MakeWrappedRenderTarget() [all …]
|
D | GrVkTexture.cpp | 29 , GrVkImage(info, std::move(layout), GrBackendObjectOwnership::kOwned) in GrVkTexture() 44 , GrVkImage(info, std::move(layout), ownership) in GrVkTexture() 63 , GrVkImage(info, layout, ownership) in GrVkTexture() 71 const GrVkImage::ImageDesc& imageDesc, in MakeNewTexture() 76 if (!GrVkImage::InitImageInfo(gpu, imageDesc, &info)) { in MakeNewTexture() 84 GrVkImage::DestroyImageInfo(gpu, &info); in MakeNewTexture()
|
D | GrVkStencilAttachment.h | 18 class GrVkStencilAttachment : public GrStencilAttachment, public GrVkImage { 46 const GrVkImage::ImageDesc&,
|
D | GrVkRenderTarget.h | 34 class GrVkRenderTarget: public GrRenderTarget, public virtual GrVkImage { 55 GrVkImage* msaaImage() { return fMSAAImage.get(); } in msaaImage() 134 std::unique_ptr<GrVkImage> fMSAAImage;
|
D | GrVkTexture.h | 19 class GrVkTexture : public GrTexture, public virtual GrVkImage { 24 const GrVkImage::ImageDesc&,
|
D | GrVkCommandBuffer.cpp | 621 GrVkImage* srcImage, in copyImage() 623 GrVkImage* dstImage, in copyImage() 665 const GrVkImage& srcImage, in blitImage() 666 const GrVkImage& dstImage, in blitImage() 684 GrVkImage* srcImage, in copyImageToBuffer() 703 GrVkImage* dstImage, in copyBufferToImage() 766 GrVkImage* image, in clearColorImage() 782 GrVkImage* image, in clearDepthStencilImage() 798 const GrVkImage& srcImage, in resolveImage() 799 const GrVkImage& dstImage, in resolveImage()
|
D | GrVkImage.h | 22 class GrVkImage : SkNoncopyable { 27 GrVkImage(const GrVkImageInfo& info, sk_sp<GrVkImageLayout> layout, 42 virtual ~GrVkImage();
|
D | GrVkGpu.h | 231 GrVkImage* dstImage, GrVkImage* srcImage, 237 GrVkImage* dstImage, GrVkImage* srcImage,
|
D | GrVkGpu.cpp | 494 GrVkImage* dstImage; in resolveImage() 699 GrVkImage::ImageDesc imageDesc; in uploadTexDataOptimal() 946 GrVkImage::ImageDesc imageDesc; in onCreateTexture() 1547 barrier.srcAccessMask = GrVkImage::LayoutToSrcAccessMask(initialLayout); in createTestingOnlyVkImage() 1556 VK_CALL(CmdPipelineBarrier(cmdBuffer, GrVkImage::LayoutToPipelineSrcStageFlags(initialLayout), in createTestingOnlyVkImage() 1588 barrier.srcAccessMask = GrVkImage::LayoutToSrcAccessMask(initialLayout); in createTestingOnlyVkImage() 1597 GrVkImage::LayoutToPipelineSrcStageFlags(initialLayout), in createTestingOnlyVkImage() 1718 GrVkImage::DestroyImageInfo(this, const_cast<GrVkImageInfo*>(&info)); in deleteTestingOnlyBackendTexture() 1751 GrVkImage::DestroyImageInfo(this, const_cast<GrVkImageInfo*>(&info)); in deleteTestingOnlyBackendRenderTarget() 1816 GrVkImage* dstImage, in copySurfaceAsCopyImage() [all …]
|
D | GrVkGpuCommandBuffer.h | 20 class GrVkImage; variable 196 SkTArray<GrVkImage*> fSampledImages;
|
D | GrVkTextureRenderTarget.h | 31 const GrVkImage::ImageDesc&,
|
/external/skia/src/gpu/vk/ |
D | GrVkImage.cpp | 16 GrVkImage::GrVkImage(const GrVkGpu* gpu, in GrVkImage() function in GrVkImage 59 VkPipelineStageFlags GrVkImage::LayoutToPipelineSrcStageFlags(const VkImageLayout layout) { in LayoutToPipelineSrcStageFlags() 82 VkAccessFlags GrVkImage::LayoutToSrcAccessMask(const VkImageLayout layout) { in LayoutToSrcAccessMask() 126 void GrVkImage::setImageLayoutAndQueueIndex(const GrVkGpu* gpu, in setImageLayoutAndQueueIndex() 184 VkAccessFlags srcAccessMask = GrVkImage::LayoutToSrcAccessMask(currentLayout); in setImageLayoutAndQueueIndex() 185 VkPipelineStageFlags srcStageMask = GrVkImage::LayoutToPipelineSrcStageFlags(currentLayout); in setImageLayoutAndQueueIndex() 209 bool GrVkImage::InitImageInfo(GrVkGpu* gpu, const ImageDesc& imageDesc, GrVkImageInfo* info) { in InitImageInfo() 280 void GrVkImage::DestroyImageInfo(const GrVkGpu* gpu, GrVkImageInfo* info) { in DestroyImageInfo() 286 GrVkImage::~GrVkImage() { in ~GrVkImage() 291 void GrVkImage::prepareForPresent(GrVkGpu* gpu) { in prepareForPresent() [all …]
|
D | GrVkCommandBuffer.h | 19 class GrVkImage; variable 237 GrVkImage* image, 243 GrVkImage* image, 249 GrVkImage* srcImage, 251 GrVkImage* dstImage, 268 const GrVkImage& srcImage, 269 const GrVkImage& dstImage, 275 GrVkImage* srcImage, 286 GrVkImage* dstImage, 304 const GrVkImage& srcImage, [all …]
|
D | GrVkAttachment.cpp | 28 , GrVkImage(gpu, info, std::move(mutableState), GrBackendObjectOwnership::kOwned) in GrVkAttachment() 46 , GrVkImage(gpu, info, std::move(mutableState), ownership, forSecondaryCB) in GrVkAttachment() 141 GrVkImage::ImageDesc imageDesc; in Make() 153 if (!GrVkImage::InitImageInfo(gpu, imageDesc, &info)) { in Make() 160 GrVkImage::DestroyImageInfo(gpu, &info); in Make()
|
D | GrVkImage.h | 23 class GrVkImage : SkNoncopyable { 28 GrVkImage(const GrVkGpu* gpu, 34 virtual ~GrVkImage();
|
D | GrVkCommandBuffer.cpp | 694 GrVkImage* srcImage, in copyImage() 696 GrVkImage* dstImage, in copyImage() 740 const GrVkImage& srcImage, in blitImage() 741 const GrVkImage& dstImage, in blitImage() 759 GrVkImage* srcImage, in copyImageToBuffer() 780 GrVkImage* dstImage, in copyBufferToImage() 848 GrVkImage* image, in clearColorImage() 865 GrVkImage* image, in clearDepthStencilImage() 882 const GrVkImage& srcImage, in resolveImage() 883 const GrVkImage& dstImage, in resolveImage()
|
D | GrVkGpu.h | 324 void copySurfaceAsCopyImage(GrSurface* dst, GrSurface* src, GrVkImage* dstImage, 325 GrVkImage* srcImage, const SkIRect& srcRect, 328 void copySurfaceAsBlit(GrSurface* dst, GrSurface* src, GrVkImage* dstImage, GrVkImage* srcImage,
|
D | GrVkGpu.cpp | 620 GrVkImage* srcImage; in onTransferPixelsFrom() 689 GrVkImage* dstImage; in resolveImage() 1067 GrVkImage* texImage = tex->textureAttachment(); in onCreateTexture() 1563 GrVkImage::ImageDesc imageDesc; in createVkImageForBackendSurface() 1575 if (!GrVkImage::InitImageInfo(this, imageDesc, info)) { in createVkImageForBackendSurface() 1760 void set_layout_and_queue_from_mutable_state(GrVkGpu* gpu, GrVkImage* image, in set_layout_and_queue_from_mutable_state() 1769 VkPipelineStageFlags dstStage = GrVkImage::LayoutToPipelineSrcStageFlags(newLayout); in set_layout_and_queue_from_mutable_state() 1770 VkAccessFlags dstAccess = GrVkImage::LayoutToSrcAccessMask(newLayout); in set_layout_and_queue_from_mutable_state() 1875 GrVkImage::DestroyImageInfo(this, const_cast<GrVkImageInfo*>(&info)); in deleteBackendTexture() 1968 GrVkImage::DestroyImageInfo(this, const_cast<GrVkImageInfo*>(&info)); in deleteTestingOnlyBackendRenderTarget() [all …]
|
D | GrVkAttachment.h | 20 class GrVkAttachment : public GrAttachment, public GrVkImage {
|
D | GrVkOpsRenderPass.h | 21 class GrVkImage; variable
|
/external/skqp/tools/sk_app/ |
D | VulkanWindowContext.cpp | 624 VkPipelineStageFlags srcStageMask = GrVkImage::LayoutToPipelineSrcStageFlags(layout); in swapBuffers() 626 VkAccessFlags srcAccessMask = GrVkImage::LayoutToSrcAccessMask(layout); in swapBuffers()
|