Home
last modified time | relevance | path

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

12

/third_party/skia/src/gpu/vk/
DGrVkFramebuffer.h19 class GrVkImage; variable
28 GrVkImage* colorAttachment,
29 GrVkImage* resolveAttachment,
30 GrVkImage* stencilAttachment,
35 sk_sp<GrVkImage> colorAttachment,
73 GrVkImage* colorAttachment() { return fColorAttachment.get(); } in colorAttachment()
74 GrVkImage* resolveAttachment() { return fResolveAttachment.get(); } in resolveAttachment()
75 GrVkImage* stencilAttachment() { return fStencilAttachment.get(); } in stencilAttachment()
80 sk_sp<GrVkImage> colorAttachment,
81 sk_sp<GrVkImage> resolveAttachment,
[all …]
DGrVkTextureRenderTarget.cpp28 sk_sp<GrVkImage> texture, in GrVkTextureRenderTarget()
29 sk_sp<GrVkImage> colorAttachment, in GrVkTextureRenderTarget()
30 sk_sp<GrVkImage> resolveAttachment, in GrVkTextureRenderTarget()
42 sk_sp<GrVkImage> texture, in GrVkTextureRenderTarget()
43 sk_sp<GrVkImage> colorAttachment, in GrVkTextureRenderTarget()
44 sk_sp<GrVkImage> resolveAttachment, in GrVkTextureRenderTarget()
56 sk_sp<GrVkImage> texture, in create_rt_attachments()
57 sk_sp<GrVkImage>* colorAttachment, in create_rt_attachments()
58 sk_sp<GrVkImage>* resolveAttachment) { in create_rt_attachments()
67 *colorAttachment = sk_sp<GrVkImage>(static_cast<GrVkImage*>(msaaAttachment.release())); in create_rt_attachments()
[all …]
DGrVkImage.cpp18 sk_sp<GrVkImage> GrVkImage::MakeStencil(GrVkGpu* gpu, in MakeStencil()
24 return GrVkImage::Make(gpu, in MakeStencil()
36 sk_sp<GrVkImage> GrVkImage::MakeMSAA(GrVkGpu* gpu, in MakeMSAA()
50 return GrVkImage::Make(gpu, in MakeMSAA()
62 sk_sp<GrVkImage> GrVkImage::MakeTexture(GrVkGpu* gpu, in MakeTexture()
80 return GrVkImage::Make(gpu, in MakeTexture()
130 sk_sp<GrVkImage> GrVkImage::Make(GrVkGpu* gpu, in Make()
140 GrVkImage::ImageDesc imageDesc; in Make()
152 if (!GrVkImage::InitImageInfo(gpu, imageDesc, &info)) { in Make()
159 GrVkImage::DestroyImageInfo(gpu, &info); in Make()
[all …]
DGrVkRenderTarget.h55 GrVkImage* colorAttachment() const { in colorAttachment()
64 GrVkImage* resolveAttachment() const { in resolveAttachment()
77 GrVkImage* nonMSAAAttachment() const;
81 GrVkImage* externalAttachment() const { in externalAttachment()
124 sk_sp<GrVkImage> colorAttachment,
125 sk_sp<GrVkImage> resolveImage,
144 GrVkImage* dynamicMSAAAttachment();
145 GrVkImage* msaaAttachment();
164 GrVkImage* attachment = in onSetRelease()
171 sk_sp<GrVkImage> fColorAttachment;
[all …]
DGrVkRenderTarget.cpp53 sk_sp<GrVkImage> colorAttachment, in GrVkRenderTarget()
54 sk_sp<GrVkImage> resolveAttachment, in GrVkRenderTarget()
109 GrVkImage* nonMSAAAttachment = this->nonMSAAAttachment(); in setFlags()
130 sk_sp<GrVkImage> wrappedAttachment = in MakeWrappedRenderTarget()
131 GrVkImage::MakeWrapped(gpu, in MakeWrappedRenderTarget()
142 sk_sp<GrVkImage> colorAttachment; in MakeWrappedRenderTarget()
177 sk_sp<GrVkImage> colorAttachment = in MakeSecondaryCBRenderTarget()
178 GrVkImage::MakeWrapped(gpu, in MakeSecondaryCBRenderTarget()
209 GrVkImage* GrVkRenderTarget::nonMSAAAttachment() const { in nonMSAAAttachment()
217 GrVkImage* GrVkRenderTarget::dynamicMSAAAttachment() { in dynamicMSAAAttachment()
[all …]
DGrVkTextureRenderTarget.h67 sk_sp<GrVkImage> texture,
68 sk_sp<GrVkImage> colorAttachment,
69 sk_sp<GrVkImage> resolveAttachment,
74 sk_sp<GrVkImage> texture,
75 sk_sp<GrVkImage> colorAttachment,
76 sk_sp<GrVkImage> resolveAttachment,
DGrVkFramebuffer.cpp20 GrVkImage* colorAttachment, in Make()
21 GrVkImage* resolveAttachment, in Make()
22 GrVkImage* stencilAttachment, in Make()
66 sk_sp<GrVkImage> colorAttachment, in GrVkFramebuffer()
67 sk_sp<GrVkImage> resolveAttachment, in GrVkFramebuffer()
68 sk_sp<GrVkImage> stencilAttachment, in GrVkFramebuffer()
82 sk_sp<GrVkImage> colorAttachment, in GrVkFramebuffer()
DGrVkTexture.h48 GrVkImage* textureImage() const { return fTexture.get(); } in textureImage()
63 sk_sp<GrVkImage> texture,
83 GrVkTexture(GrVkGpu*, SkBudgeted, SkISize, sk_sp<GrVkImage> texture, GrMipmapStatus);
84 GrVkTexture(GrVkGpu*, SkISize, sk_sp<GrVkImage> texture, GrMipmapStatus,
87 sk_sp<GrVkImage> fTexture;
DGrVkCommandBuffer.h19 class GrVkImage; variable
235 GrVkImage* image,
241 GrVkImage* image,
247 GrVkImage* srcImage,
249 GrVkImage* dstImage,
266 const GrVkImage& srcImage,
267 const GrVkImage& dstImage,
273 GrVkImage* srcImage,
284 GrVkImage* dstImage,
302 const GrVkImage& srcImage,
[all …]
DGrVkImage.h28 class GrVkImage : public GrAttachment {
33 static sk_sp<GrVkImage> MakeStencil(GrVkGpu* gpu,
38 static sk_sp<GrVkImage> MakeMSAA(GrVkGpu* gpu,
45 static sk_sp<GrVkImage> MakeTexture(GrVkGpu* gpu,
54 static sk_sp<GrVkImage> MakeWrapped(GrVkGpu* gpu,
63 ~GrVkImage() override;
213 static sk_sp<GrVkImage> Make(GrVkGpu* gpu,
224 GrVkImage(GrVkGpu* gpu,
233 GrVkImage(GrVkGpu* gpu,
DGrVkTexture.cpp26 sk_sp<GrVkImage> texture, in GrVkTexture()
47 sk_sp<GrVkImage> texture, GrMipmapStatus mipmapStatus, in GrVkTexture()
65 sk_sp<GrVkImage> texture, in GrVkTexture()
84 sk_sp<GrVkImage> texture = GrVkImage::MakeTexture( in MakeNewTexture()
103 sk_sp<GrVkImage> texture = GrVkImage::MakeWrapped(gpu, in MakeWrappedTexture()
DGrVkGpu.h142 GrVkImage* src,
341 GrVkImage* dstImage,
342 GrVkImage* srcImage,
348 GrVkImage* dstImage,
349 GrVkImage* srcImage,
357 bool uploadTexDataLinear(GrVkImage* tex,
362 bool uploadTexDataOptimal(GrVkImage* tex,
367 bool uploadTexDataCompressed(GrVkImage* tex, SkImage::CompressionType compression,
DGrVkGpu.cpp489 GrVkImage* texImage = texture->textureImage(); in onWritePixels()
567 GrVkImage* vkImage = tex->textureImage(); in onTransferPixelsTo()
631 GrVkImage* srcImage; in onTransferPixelsFrom()
700 GrVkImage* dstImage; in resolveImage()
742 bool GrVkGpu::uploadTexDataLinear(GrVkImage* texImage, in uploadTexDataLinear()
856 bool GrVkGpu::uploadTexDataOptimal(GrVkImage* texImage, in uploadTexDataOptimal()
970 bool GrVkGpu::uploadTexDataCompressed(GrVkImage* uploadTexture, in uploadTexDataCompressed()
1074 GrVkImage* texImage = tex->textureImage(); in onCreateTexture()
1394 GrVkImage* src, in loadMSAAFromResolve()
1497 return GrVkImage::MakeStencil(this, dimensions, numStencilSamples, sFmt); in makeStencilAttachment()
[all …]
DGrVkMSAALoadManager.h20 class GrVkImage; variable
34 GrVkImage* src,
/third_party/flutter/skia/src/gpu/vk/
DGrVkImage.cpp17 VkPipelineStageFlags GrVkImage::LayoutToPipelineSrcStageFlags(const VkImageLayout layout) { in LayoutToPipelineSrcStageFlags()
40 VkAccessFlags GrVkImage::LayoutToSrcAccessMask(const VkImageLayout layout) { in LayoutToSrcAccessMask()
87 void GrVkImage::setImageLayout(const GrVkGpu* gpu, VkImageLayout newLayout, in setImageLayout()
112 VkAccessFlags srcAccessMask = GrVkImage::LayoutToSrcAccessMask(currentLayout); in setImageLayout()
113 VkPipelineStageFlags srcStageMask = GrVkImage::LayoutToPipelineSrcStageFlags(currentLayout); in setImageLayout()
156 bool GrVkImage::InitImageInfo(const GrVkGpu* gpu, const ImageDesc& imageDesc, GrVkImageInfo* info) { in InitImageInfo()
221 void GrVkImage::DestroyImageInfo(const GrVkGpu* gpu, GrVkImageInfo* info) { in DestroyImageInfo()
227 GrVkImage::~GrVkImage() { in ~GrVkImage()
232 void GrVkImage::prepareForPresent(GrVkGpu* gpu) { in prepareForPresent()
243 void GrVkImage::prepareForExternal(GrVkGpu* gpu) { in prepareForExternal()
[all …]
DGrVkCommandBuffer.h20 class GrVkImage; variable
224 GrVkImage* image,
230 GrVkImage* image,
236 GrVkImage* srcImage,
238 GrVkImage* dstImage,
255 const GrVkImage& srcImage,
256 const GrVkImage& dstImage,
262 GrVkImage* srcImage,
270 GrVkImage* dstImage,
288 const GrVkImage& srcImage,
[all …]
DGrVkTextureRenderTarget.cpp34 , GrVkImage(info, layout, GrBackendObjectOwnership::kOwned)
53 , GrVkImage(info, layout, GrBackendObjectOwnership::kOwned)
75 , GrVkImage(info, layout, ownership)
93 , GrVkImage(info, layout, ownership)
126 GrVkImage::ImageDesc msImageDesc; in create_views()
139 if (!GrVkImage::InitImageInfo(gpu, msImageDesc, &views.msInfo)) { in create_views()
152 GrVkImage::DestroyImageInfo(gpu, &views.msInfo); in create_views()
167 GrVkImage::DestroyImageInfo(gpu, &views.msInfo); in create_views()
180 const GrVkImage::ImageDesc& imageDesc, in MakeNewTextureRenderTarget()
186 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.cpp35 , GrVkImage(info, std::move(layout), GrBackendObjectOwnership::kBorrowed)
39 , fMSAAImage(new GrVkImage(msaaInfo, std::move(msaaLayout),
63 , GrVkImage(info, std::move(layout), ownership)
68 new GrVkImage(msaaInfo, std::move(msaaLayout), GrBackendObjectOwnership::kOwned))
85 , GrVkImage(info, std::move(layout), GrBackendObjectOwnership::kBorrowed)
105 , GrVkImage(info, std::move(layout), ownership)
122 , GrVkImage(info, std::move(layout), GrBackendObjectOwnership::kBorrowed, true)
151 GrVkImage::ImageDesc msImageDesc; in MakeWrappedRenderTarget()
165 if (!GrVkImage::InitImageInfo(gpu, msImageDesc, &msInfo)) { in MakeWrappedRenderTarget()
177 GrVkImage::DestroyImageInfo(gpu, &msInfo); in MakeWrappedRenderTarget()
[all …]
DGrVkTexture.cpp29 , GrVkImage(info, std::move(layout), GrBackendObjectOwnership::kOwned)
45 , GrVkImage(info, std::move(layout), ownership)
65 , GrVkImage(info, layout, ownership)
74 const GrVkImage::ImageDesc& imageDesc, in MakeNewTexture()
79 if (!GrVkImage::InitImageInfo(gpu, imageDesc, &info)) { in MakeNewTexture()
87 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()
135 std::unique_ptr<GrVkImage> fMSAAImage;
DGrVkTexture.h19 class GrVkTexture : public GrTexture, public virtual GrVkImage {
24 const GrVkImage::ImageDesc&,
DGrVkCommandBuffer.cpp637 GrVkImage* srcImage, in copyImage()
639 GrVkImage* dstImage, in copyImage()
683 const GrVkImage& srcImage, in blitImage()
684 const GrVkImage& dstImage, in blitImage()
702 GrVkImage* srcImage, in copyImageToBuffer()
722 GrVkImage* dstImage, in copyBufferToImage()
788 GrVkImage* image, in clearColorImage()
805 GrVkImage* image, in clearDepthStencilImage()
822 const GrVkImage& srcImage, in resolveImage()
823 const GrVkImage& dstImage, in resolveImage()
DGrVkGpu.cpp531 GrVkImage* srcImage; in onTransferPixelsFrom()
597 GrVkImage* dstImage; in resolveImage()
796 GrVkImage::ImageDesc imageDesc; in uploadTexDataOptimal()
980 GrVkImage::ImageDesc imageDesc; in onCreateTexture()
1076 GrVkImage::ImageDesc imageDesc; in onCreateCompressedTexture()
1526 VkAccessFlags srcAccessMask = GrVkImage::LayoutToSrcAccessMask(info->fImageLayout); in set_image_layout()
1527 VkPipelineStageFlags srcStageMask = GrVkImage::LayoutToPipelineSrcStageFlags( in set_image_layout()
1597 GrVkImage::ImageDesc imageDesc; in createVkImageForBackendSurface()
1609 if (!GrVkImage::InitImageInfo(this, imageDesc, info)) { in createVkImageForBackendSurface()
1635 GrVkImage::DestroyImageInfo(this, info); in createVkImageForBackendSurface()
[all …]

12