Home
last modified time | relevance | path

Searched refs:GrVkTexture (Results 1 – 25 of 33) sorted by relevance

12

/third_party/skia/src/gpu/vk/
DGrVkTexture.cpp23 GrVkTexture::GrVkTexture(GrVkGpu* gpu, in GrVkTexture() function in GrVkTexture
46 GrVkTexture::GrVkTexture(GrVkGpu* gpu, SkISize dimensions, in GrVkTexture() function in GrVkTexture
63 GrVkTexture::GrVkTexture(GrVkGpu* gpu, in GrVkTexture() function in GrVkTexture
79 sk_sp<GrVkTexture> GrVkTexture::MakeNewTexture(GrVkGpu* gpu, SkBudgeted budgeted, in MakeNewTexture()
91 return sk_sp<GrVkTexture>(new GrVkTexture(gpu, budgeted, dimensions, std::move(texture), in MakeNewTexture()
95 sk_sp<GrVkTexture> GrVkTexture::MakeWrappedTexture( in MakeWrappedTexture()
120 return sk_sp<GrVkTexture>(new GrVkTexture(gpu, dimensions, std::move(texture), mipmapStatus, in MakeWrappedTexture()
124 GrVkTexture::~GrVkTexture() { in ~GrVkTexture()
129 void GrVkTexture::onRelease() { in onRelease()
137 struct GrVkTexture::DescriptorCacheEntry {
[all …]
DGrVkTexture.h22 class GrVkTexture : public GrTexture {
24 static sk_sp<GrVkTexture> MakeNewTexture(GrVkGpu*,
32 static sk_sp<GrVkTexture> MakeWrappedTexture(GrVkGpu*,
40 ~GrVkTexture() override;
61 GrVkTexture(GrVkGpu*,
83 GrVkTexture(GrVkGpu*, SkBudgeted, SkISize, sk_sp<GrVkImage> texture, GrMipmapStatus);
84 GrVkTexture(GrVkGpu*, SkISize, sk_sp<GrVkImage> texture, GrMipmapStatus,
DGrVkTextureRenderTarget.h27 class GrVkTextureRenderTarget: public GrVkTexture, public GrVkRenderTarget {
48 GrBackendFormat backendFormat() const override { return GrVkTexture::backendFormat(); } in backendFormat()
53 GrVkTexture::onAbandon(); in onAbandon()
59 GrVkTexture::onRelease(); in onRelease()
86 GrVkTexture::onSetRelease(std::move(releaseHelper)); in onSetRelease()
DGrVkPipelineState.cpp123 GrVkTexture* fTexture; in setAndBindTextures()
131 auto texture = static_cast<GrVkTexture*>(geomProcTextures[i]->peekTexture()); in setAndBindTextures()
138 static_cast<GrVkTexture*>(dstTexture)}; in setAndBindTextures()
143 auto* texture = static_cast<GrVkTexture*>(te.texture()); in setAndBindTextures()
177 GrVkTexture* texture = samplerBindings[i].fTexture; in setAndBindTextures()
224 GrVkTexture* texture = samplerBindings[0].fTexture; in setAndBindTextures()
DGrVkGpu.cpp485 GrVkTexture* texture = static_cast<GrVkTexture*>(surface->asTexture()); in onWritePixels()
563 GrVkTexture* tex = static_cast<GrVkTexture*>(texture); in onTransferPixelsTo()
645 srcImage = static_cast<GrVkTexture*>(surface->asTexture())->textureImage(); in onTransferPixelsFrom()
704 dstImage = static_cast<GrVkTexture*>(dstTex)->textureImage(); in resolveImage()
1054 sk_sp<GrVkTexture> tex; in onCreateTexture()
1060 tex = GrVkTexture::MakeNewTexture(this, budgeted, dimensions, pixelFormat, in onCreateTexture()
1120 auto tex = GrVkTexture::MakeNewTexture(this, budgeted, dimensions, pixelFormat, in onCreateCompressedTexture()
1288 return GrVkTexture::MakeWrappedTexture(this, backendTex.dimensions(), ownership, cacheable, in onWrapBackendTexture()
1403 auto* vkTex = static_cast<GrVkTexture*>(tex)->textureImage(); in onRegenerateMipMapLevels()
1613 sk_sp<GrVkTexture> texture = in onClearBackendTexture()
[all …]
DGrVkTextureRenderTarget.cpp33 , GrVkTexture(gpu, dimensions, std::move(texture), mipmapStatus) in GrVkTextureRenderTarget()
48 , GrVkTexture(gpu, dimensions, std::move(texture), mipmapStatus) in GrVkTextureRenderTarget()
DGrVkPipelineState.h29 class GrVkTexture; variable
DGrVkOpsRenderPass.cpp365 GrVkTexture* vkTex = static_cast<GrVkTexture*>(sampledProxies[i]->peekTexture()); in set()
681 auto vkTex = static_cast<GrVkTexture*>(tex)->textureImage(); in check_sampled_texture()
/third_party/flutter/skia/src/gpu/vk/
DGrVkTexture.cpp21 GrVkTexture::GrVkTexture(GrVkGpu* gpu, in GrVkTexture() function in GrVkTexture
40 GrVkTexture::GrVkTexture(GrVkGpu* gpu, const GrSurfaceDesc& desc, const GrVkImageInfo& info, in GrVkTexture() function in GrVkTexture
57 GrVkTexture::GrVkTexture(GrVkGpu* gpu, in GrVkTexture() function in GrVkTexture
72 sk_sp<GrVkTexture> GrVkTexture::MakeNewTexture(GrVkGpu* gpu, SkBudgeted budgeted, in MakeNewTexture()
92 return sk_sp<GrVkTexture>(new GrVkTexture(gpu, budgeted, desc, info, std::move(layout), in MakeNewTexture()
96 sk_sp<GrVkTexture> GrVkTexture::MakeWrappedTexture(GrVkGpu* gpu, in MakeWrappedTexture()
119 return sk_sp<GrVkTexture>(new GrVkTexture(gpu, desc, info, std::move(layout), imageView, in MakeWrappedTexture()
123 GrVkTexture::~GrVkTexture() { in ~GrVkTexture()
128 void GrVkTexture::onRelease() { in onRelease()
147 void GrVkTexture::onAbandon() { in onAbandon()
[all …]
DGrVkTexture.h19 class GrVkTexture : public GrTexture, public virtual GrVkImage {
21 static sk_sp<GrVkTexture> MakeNewTexture(GrVkGpu*,
27 static sk_sp<GrVkTexture> MakeWrappedTexture(GrVkGpu*, const GrSurfaceDesc&, GrWrapOwnership,
31 ~GrVkTexture() override;
45 GrVkTexture(GrVkGpu*, const GrSurfaceDesc&, const GrVkImageInfo&, sk_sp<GrVkImageLayout>,
60 GrVkTexture(GrVkGpu*, SkBudgeted, const GrSurfaceDesc&, const GrVkImageInfo&,
63 GrVkTexture(GrVkGpu*, const GrSurfaceDesc&, const GrVkImageInfo&, sk_sp<GrVkImageLayout>,
DGrVkTextureRenderTarget.h27 class GrVkTextureRenderTarget: public GrVkTexture, public GrVkRenderTarget {
48 GrVkTexture::onAbandon(); in onAbandon()
54 GrVkTexture::onRelease(); in onRelease()
DGrVkPipelineState.cpp176 GrVkTexture* fTexture; in setAndBindTextures()
185 auto texture = static_cast<GrVkTexture*>(primProcTextures[i]->peekTexture()); in setAndBindTextures()
197 {sampler.samplerState(), static_cast<GrVkTexture*>(sampler.peekTexture())}; in setAndBindTextures()
207 static_cast<GrVkTexture*>(dstTextureProxy->peekTexture())}; in setAndBindTextures()
221 GrVkTexture* texture = samplerBindings[i].fTexture; in setAndBindTextures()
DGrVkGpu.cpp425 GrVkTexture* vkTex = static_cast<GrVkTexture*>(surface->asTexture()); in onWritePixels()
471 GrVkTexture* vkTex = static_cast<GrVkTexture*>(texture); in onTransferPixelsTo()
553 srcImage = static_cast<GrVkTexture*>(surface->asTexture()); in onTransferPixelsFrom()
604 dstImage = static_cast<GrVkTexture*>(dst->asTexture()); in resolveImage()
639 bool GrVkGpu::uploadTexDataLinear(GrVkTexture* tex, int left, int top, int width, int height, in uploadTexDataLinear()
690 bool GrVkGpu::uploadTexDataOptimal(GrVkTexture* tex, int left, int top, int width, int height, in uploadTexDataOptimal()
777 GrVkTexture* uploadTexture = tex; in uploadTexDataOptimal()
780 sk_sp<GrVkTexture> copyTexture; in uploadTexDataOptimal()
807 copyTexture = GrVkTexture::MakeNewTexture(this, SkBudgeted::kYes, surfDesc, imageDesc, in uploadTexDataOptimal()
883 bool GrVkGpu::uploadTexDataCompressed(GrVkTexture* tex, int left, int top, int width, int height, in uploadTexDataCompressed()
[all …]
DGrVkGpu.h34 class GrVkTexture; variable
268 bool uploadTexDataLinear(GrVkTexture* tex, int left, int top, int width, int height,
270 bool uploadTexDataOptimal(GrVkTexture* tex, int left, int top, int width, int height,
272 bool uploadTexDataCompressed(GrVkTexture* tex, int left, int top, int width, int height,
DGrVkTextureRenderTarget.cpp35 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus,
54 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus,
76 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, ownership)
94 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, ownership)
DGrVkImage.h20 class GrVkTexture; variable
201 void addIdleProc(GrVkTexture*, sk_sp<GrRefCntedCallback>) const;
238 mutable GrVkTexture* fOwningTexture = nullptr;
DGrVkPipelineState.h27 class GrVkTexture; variable
68 void addUniformResources(GrVkCommandBuffer&, GrVkSampler*[], GrVkTexture*[], int numTextures);
DGrVkUniformHandler.cpp280 const GrVkTexture* vkTexture = static_cast<const GrVkTexture*>(texture); in addSampler()
DGrVkGpuCommandBuffer.h195 using SampledTexture = GrPendingIOResource<GrVkTexture, kRead_GrIOType>;
DGrVkGpuCommandBuffer.cpp744 GrVkTexture* vkTexture = static_cast<GrVkTexture*>(texture); in onDraw()
792 cbInfo.fSampledTextures.push_back(sk_ref_sp(static_cast<GrVkTexture*>(dstTexture))); in onDraw()
DGrVkImage.cpp286 void GrVkImage::Resource::addIdleProc(GrVkTexture* owningTexture, in addIdleProc()
/third_party/flutter/skia/tests/
DVkBackendSurfaceTest.cpp77 GrVkTexture* vkTexture = static_cast<GrVkTexture*>(texture); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
185 GrVkTexture* vkTex = static_cast<GrVkTexture*>(texture); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
279 GrVkTexture* vkTex = static_cast<GrVkTexture*>(texture); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
375 GrVkTexture* vkTex = static_cast<GrVkTexture*>(texture);
/third_party/skia/tests/
DVkBackendSurfaceTest.cpp138 GrVkImage* vkTexture = static_cast<GrVkTexture*>(texture)->textureImage(); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
224 GrVkTexture* vkTex = static_cast<GrVkTexture*>(texture);
DBackendSurfaceMutableStateTest.cpp73 GrVkImage* vkTexture = static_cast<GrVkTexture*>(texture)->textureImage(); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
/third_party/flutter/skia/include/gpu/
DGrBackendSurface.h287 friend class GrVkTexture; variable

12