Home
last modified time | relevance | path

Searched refs:GrDawnTexture (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/gpu/dawn/
DGrDawnTexture.cpp14 GrDawnTexture::GrDawnTexture(GrDawnGpu* gpu, in GrDawnTexture() function in GrDawnTexture
22 sk_sp<GrDawnTexture> GrDawnTexture::Make(GrDawnGpu* gpu, SkISize dimensions, in Make()
56 sk_sp<GrDawnTexture> result; in Make()
64 result = sk_sp<GrDawnTexture>( in Make()
65 new GrDawnTexture(gpu, dimensions, info, status)); in Make()
71 GrBackendFormat GrDawnTexture::backendFormat() const { in backendFormat()
75 sk_sp<GrDawnTexture> GrDawnTexture::MakeWrapped(GrDawnGpu* gpu, SkISize dimensions, in MakeWrapped()
79 sk_sp<GrDawnTexture> tex; in MakeWrapped()
83 tex = sk_sp<GrDawnTexture>(new GrDawnTextureRenderTarget( in MakeWrapped()
86 tex = sk_sp<GrDawnTexture>( in MakeWrapped()
[all …]
DGrDawnTexture.h16 class GrDawnTexture : public GrTexture {
18 static sk_sp<GrDawnTexture> Make(GrDawnGpu*, SkISize dimensions,
22 static sk_sp<GrDawnTexture> MakeWrapped(GrDawnGpu*, SkISize dimensions, GrRenderable,
26 ~GrDawnTexture() override;
36 GrDawnTexture(GrDawnGpu*, SkISize dimensions, const GrDawnTextureInfo&, GrMipmapStatus);
DGrDawnTextureRenderTarget.h22 class GrDawnTextureRenderTarget : public GrDawnTexture, public GrDawnRenderTarget {
32 GrBackendFormat backendFormat() const override { return GrDawnTexture::backendFormat(); } in backendFormat()
37 GrDawnTexture::onAbandon(); in onAbandon()
42 GrDawnTexture::onRelease(); in onRelease()
DGrDawnGpu.cpp185 GrDawnTexture* texture = static_cast<GrDawnTexture*>(surface->asTexture()); in onWritePixels()
233 return GrDawnTexture::Make(this, dimensions, format, renderable, renderTargetSampleCnt, in onCreateTexture()
254 return GrDawnTexture::MakeWrapped(this, dimensions, GrRenderable::kNo, 1, cacheable, ioType, in onWrapBackendTexture()
279 sk_sp<GrTexture> result = GrDawnTexture::MakeWrapped(this, dimensions, GrRenderable::kYes, in onWrapRenderableBackendTexture()
572 if (auto t = static_cast<GrDawnTexture*>(src->asTexture())) { in get_dawn_texture_from_surface()
663 GrDawnTexture* src = static_cast<GrDawnTexture*>(tex); in onRegenerateMipMapLevels()
717 colorTargetState.format = static_cast<GrDawnTexture*>(tex)->format(); in onRegenerateMipMapLevels()
744 dstViewDesc.format = static_cast<GrDawnTexture*>(tex)->format(); in onRegenerateMipMapLevels()
DGrDawnTextureRenderTarget.cpp20 , GrDawnTexture(gpu, dimensions, textureInfo, mipmapStatus) in GrDawnTextureRenderTarget()
DGrDawnProgramBuilder.cpp484 GrDawnTexture* tex = static_cast<GrDawnTexture*>(texture); in set_texture()
/external/skia/gn/
Dgpu.gni797 "$_src/gpu/dawn/GrDawnTexture.cpp",
798 "$_src/gpu/dawn/GrDawnTexture.h",