Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/vk/
DGrVkTexture.cpp21 GrVkTexture::GrVkTexture(GrVkGpu* gpu, in GrVkTexture() function in GrVkTexture
39 GrVkTexture::GrVkTexture(GrVkGpu* gpu, const GrSurfaceDesc& desc, const GrVkImageInfo& info, in GrVkTexture() function in GrVkTexture
55 GrVkTexture::GrVkTexture(GrVkGpu* gpu, in GrVkTexture() function in GrVkTexture
69 sk_sp<GrVkTexture> GrVkTexture::MakeNewTexture(GrVkGpu* gpu, SkBudgeted budgeted, in MakeNewTexture()
89 return sk_sp<GrVkTexture>(new GrVkTexture(gpu, budgeted, desc, info, std::move(layout), in MakeNewTexture()
93 sk_sp<GrVkTexture> GrVkTexture::MakeWrappedTexture(GrVkGpu* gpu, const GrSurfaceDesc& desc, in MakeWrappedTexture()
113 return sk_sp<GrVkTexture>(new GrVkTexture(gpu, desc, info, std::move(layout), imageView, in MakeWrappedTexture()
117 GrVkTexture::~GrVkTexture() { in ~GrVkTexture()
122 void GrVkTexture::onRelease() { in onRelease()
141 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 {
46 GrVkTexture::onAbandon(); in onAbandon()
52 GrVkTexture::onRelease(); in onRelease()
DGrVkPipelineState.cpp206 GrVkTexture* fTexture; in setAndBindTextures()
215 auto texture = static_cast<GrVkTexture*>(primProcTextures[i]->peekTexture()); in setAndBindTextures()
227 {sampler.samplerState(), static_cast<GrVkTexture*>(sampler.peekTexture())}; in setAndBindTextures()
237 static_cast<GrVkTexture*>(dstTextureProxy->peekTexture())}; in setAndBindTextures()
251 GrVkTexture* texture = samplerBindings[i].fTexture; in setAndBindTextures()
DGrVkTextureRenderTarget.cpp34 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, in GrVkTextureRenderTarget()
52 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, in GrVkTextureRenderTarget()
73 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, ownership) in GrVkTextureRenderTarget()
90 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, ownership) in GrVkTextureRenderTarget()
DGrVkImage.h20 class GrVkTexture; variable
195 void replaceIdleProc(GrVkTexture* owner, sk_sp<GrRefCntedCallback>) const;
229 mutable GrVkTexture* fOwningTexture = nullptr;
DGrVkGpu.h35 class GrVkTexture; variable
258 bool uploadTexDataLinear(GrVkTexture* tex, int left, int top, int width, int height,
260 bool uploadTexDataOptimal(GrVkTexture* tex, int left, int top, int width, int height,
262 bool uploadTexDataCompressed(GrVkTexture* tex, int left, int top, int width, int height,
DGrVkGpu.cpp389 GrVkTexture* vkTex = static_cast<GrVkTexture*>(surface->asTexture()); in onWritePixels()
437 GrVkTexture* vkTex = static_cast<GrVkTexture*>(texture); in onTransferPixels()
504 dstImage = static_cast<GrVkTexture*>(dst->asTexture()); in resolveImage()
539 bool GrVkGpu::uploadTexDataLinear(GrVkTexture* tex, int left, int top, int width, int height, in uploadTexDataLinear()
594 bool GrVkGpu::uploadTexDataOptimal(GrVkTexture* tex, int left, int top, int width, int height, in uploadTexDataOptimal()
685 GrVkTexture* uploadTexture = tex; in uploadTexDataOptimal()
688 sk_sp<GrVkTexture> copyTexture; in uploadTexDataOptimal()
712 copyTexture = GrVkTexture::MakeNewTexture(this, SkBudgeted::kYes, surfDesc, imageDesc, in uploadTexDataOptimal()
791 bool GrVkGpu::uploadTexDataCompressed(GrVkTexture* tex, int left, int top, int width, int height, in uploadTexDataCompressed()
854 GrVkTexture* uploadTexture = tex; in uploadTexDataCompressed()
[all …]
DGrVkPipelineState.h28 class GrVkTexture; variable
71 void addUniformResources(GrVkCommandBuffer&, GrVkSampler*[], GrVkTexture*[], int numTextures);
DGrVkUniformHandler.cpp282 const GrVkTexture* vkTexture = static_cast<const GrVkTexture*>(texture); in addSampler()
DGrVkCopyManager.cpp168 GrVkTexture* srcTex = static_cast<GrVkTexture*>(src->asTexture()); in copySurfaceAsDraw()
DGrVkGpuCommandBuffer.h196 SkTArray<sk_sp<GrVkTexture>> fSampledTextures;
/external/skqp/src/gpu/vk/
DGrVkTexture.cpp21 GrVkTexture::GrVkTexture(GrVkGpu* gpu, in GrVkTexture() function in GrVkTexture
39 GrVkTexture::GrVkTexture(GrVkGpu* gpu, const GrSurfaceDesc& desc, const GrVkImageInfo& info, in GrVkTexture() function in GrVkTexture
55 GrVkTexture::GrVkTexture(GrVkGpu* gpu, in GrVkTexture() function in GrVkTexture
69 sk_sp<GrVkTexture> GrVkTexture::MakeNewTexture(GrVkGpu* gpu, SkBudgeted budgeted, in MakeNewTexture()
89 return sk_sp<GrVkTexture>(new GrVkTexture(gpu, budgeted, desc, info, std::move(layout), in MakeNewTexture()
93 sk_sp<GrVkTexture> GrVkTexture::MakeWrappedTexture(GrVkGpu* gpu, const GrSurfaceDesc& desc, in MakeWrappedTexture()
113 return sk_sp<GrVkTexture>(new GrVkTexture(gpu, desc, info, std::move(layout), imageView, in MakeWrappedTexture()
117 GrVkTexture::~GrVkTexture() { in ~GrVkTexture()
122 void GrVkTexture::onRelease() { in onRelease()
142 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;
52 GrVkTexture(GrVkGpu*, const GrSurfaceDesc&, const GrVkImageInfo&, sk_sp<GrVkImageLayout>,
65 GrVkTexture(GrVkGpu*, SkBudgeted, const GrSurfaceDesc&, const GrVkImageInfo&,
68 GrVkTexture(GrVkGpu*, const GrSurfaceDesc&, const GrVkImageInfo&, sk_sp<GrVkImageLayout>,
DGrVkTextureRenderTarget.h27 class GrVkTextureRenderTarget: public GrVkTexture, public GrVkRenderTarget {
46 GrVkTexture::onAbandon(); in onAbandon()
52 GrVkTexture::onRelease(); in onRelease()
DGrVkPipelineState.cpp206 GrVkTexture* fTexture; in setAndBindTextures()
215 auto texture = static_cast<GrVkTexture*>(primProcTextures[i]->peekTexture()); in setAndBindTextures()
227 {sampler.samplerState(), static_cast<GrVkTexture*>(sampler.peekTexture())}; in setAndBindTextures()
237 static_cast<GrVkTexture*>(dstTextureProxy->peekTexture())}; in setAndBindTextures()
251 GrVkTexture* texture = samplerBindings[i].fTexture; in setAndBindTextures()
DGrVkImage.h20 class GrVkTexture; variable
182 void setIdleProc(GrVkTexture* owner, GrTexture::IdleProc, void* context) const;
208 mutable GrVkTexture* fOwningTexture = nullptr;
DGrVkGpu.h35 class GrVkTexture; variable
247 bool uploadTexDataLinear(GrVkTexture* tex, int left, int top, int width, int height,
249 bool uploadTexDataOptimal(GrVkTexture* tex, int left, int top, int width, int height,
251 bool uploadTexDataCompressed(GrVkTexture* tex, int left, int top, int width, int height,
DGrVkTextureRenderTarget.cpp34 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, in GrVkTextureRenderTarget()
52 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, in GrVkTextureRenderTarget()
73 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, ownership) in GrVkTextureRenderTarget()
90 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, ownership) in GrVkTextureRenderTarget()
DGrVkGpu.cpp386 GrVkTexture* vkTex = static_cast<GrVkTexture*>(surface->asTexture()); in onWritePixels()
434 GrVkTexture* vkTex = static_cast<GrVkTexture*>(texture); in onTransferPixels()
501 dstImage = static_cast<GrVkTexture*>(dst->asTexture()); in resolveImage()
536 bool GrVkGpu::uploadTexDataLinear(GrVkTexture* tex, int left, int top, int width, int height, in uploadTexDataLinear()
591 bool GrVkGpu::uploadTexDataOptimal(GrVkTexture* tex, int left, int top, int width, int height, in uploadTexDataOptimal()
683 GrVkTexture* uploadTexture = tex; in uploadTexDataOptimal()
686 sk_sp<GrVkTexture> copyTexture; in uploadTexDataOptimal()
710 copyTexture = GrVkTexture::MakeNewTexture(this, SkBudgeted::kYes, surfDesc, imageDesc, in uploadTexDataOptimal()
789 bool GrVkGpu::uploadTexDataCompressed(GrVkTexture* tex, int left, int top, int width, int height, in uploadTexDataCompressed()
852 GrVkTexture* uploadTexture = tex; in uploadTexDataCompressed()
[all …]
DGrVkPipelineState.h28 class GrVkTexture; variable
71 void addUniformResources(GrVkCommandBuffer&, GrVkSampler*[], GrVkTexture*[], int numTextures);
DGrVkUniformHandler.cpp287 const GrVkTexture* vkTexture = static_cast<const GrVkTexture*>(texture); in addSampler()
DGrVkCopyManager.cpp168 GrVkTexture* srcTex = static_cast<GrVkTexture*>(src->asTexture()); in copySurfaceAsDraw()
/external/skia/tests/
DVkBackendSurfaceTest.cpp73 GrVkTexture* vkTexture = static_cast<GrVkTexture*>(texture); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
178 GrVkTexture* vkTex = static_cast<GrVkTexture*>(texture); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
/external/skqp/tests/
DVkBackendSurfaceTest.cpp73 GrVkTexture* vkTexture = static_cast<GrVkTexture*>(texture); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()

12