Home
last modified time | relevance | path

Searched refs:GrVkImage (Results 1 – 25 of 31) sorted by relevance

12

/external/skqp/src/gpu/vk/
DGrVkImage.cpp17 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 …]
DGrVkCommandBuffer.h20 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 …]
DGrVkTextureRenderTarget.cpp33 , 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 …]
DGrVkStencilAttachment.cpp18 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()
DGrVkRenderTarget.cpp34 , 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 …]
DGrVkTexture.cpp29 , 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()
DGrVkStencilAttachment.h18 class GrVkStencilAttachment : public GrStencilAttachment, public GrVkImage {
46 const GrVkImage::ImageDesc&,
DGrVkRenderTarget.h34 class GrVkRenderTarget: public GrRenderTarget, public virtual GrVkImage {
55 GrVkImage* msaaImage() { return fMSAAImage.get(); } in msaaImage()
134 std::unique_ptr<GrVkImage> fMSAAImage;
DGrVkTexture.h19 class GrVkTexture : public GrTexture, public virtual GrVkImage {
24 const GrVkImage::ImageDesc&,
DGrVkCommandBuffer.cpp621 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()
DGrVkImage.h22 class GrVkImage : SkNoncopyable {
27 GrVkImage(const GrVkImageInfo& info, sk_sp<GrVkImageLayout> layout,
42 virtual ~GrVkImage();
DGrVkGpu.h231 GrVkImage* dstImage, GrVkImage* srcImage,
237 GrVkImage* dstImage, GrVkImage* srcImage,
DGrVkGpu.cpp494 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 …]
DGrVkGpuCommandBuffer.h20 class GrVkImage; variable
196 SkTArray<GrVkImage*> fSampledImages;
DGrVkTextureRenderTarget.h31 const GrVkImage::ImageDesc&,
/external/skia/src/gpu/vk/
DGrVkImage.cpp16 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 …]
DGrVkCommandBuffer.h19 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 …]
DGrVkAttachment.cpp28 , 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()
DGrVkImage.h23 class GrVkImage : SkNoncopyable {
28 GrVkImage(const GrVkGpu* gpu,
34 virtual ~GrVkImage();
DGrVkCommandBuffer.cpp694 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()
DGrVkGpu.h324 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,
DGrVkGpu.cpp620 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 …]
DGrVkAttachment.h20 class GrVkAttachment : public GrAttachment, public GrVkImage {
DGrVkOpsRenderPass.h21 class GrVkImage; variable
/external/skqp/tools/sk_app/
DVulkanWindowContext.cpp624 VkPipelineStageFlags srcStageMask = GrVkImage::LayoutToPipelineSrcStageFlags(layout); in swapBuffers()
626 VkAccessFlags srcAccessMask = GrVkImage::LayoutToSrcAccessMask(layout); in swapBuffers()

12