Home
last modified time | relevance | path

Searched refs:mipMapsStatus (Results 1 – 24 of 24) sorted by relevance

/third_party/flutter/skia/src/gpu/mtl/
DGrMtlTexture.mm22 GrMipMapsStatus mipMapsStatus)
25 GrTextureType::k2D, mipMapsStatus)
27 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == texture.mipmapLevelCount));
35 GrMipMapsStatus mipMapsStatus,
40 GrTextureType::k2D, mipMapsStatus)
42 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == texture.mipmapLevelCount));
52 GrMipMapsStatus mipMapsStatus)
55 GrTextureType::k2D, mipMapsStatus)
57 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == texture.mipmapLevelCount));
63 GrMipMapsStatus mipMapsStatus) {
[all …]
DGrMtlTextureRenderTarget.mm22 GrMipMapsStatus mipMapsStatus)
24 , GrMtlTexture(gpu, desc, resolveTexture, mipMapsStatus)
33 GrMipMapsStatus mipMapsStatus)
35 , GrMtlTexture(gpu, desc, colorTexture, mipMapsStatus)
45 GrMipMapsStatus mipMapsStatus,
48 , GrMtlTexture(gpu, desc, resolveTexture, mipMapsStatus)
56 GrMipMapsStatus mipMapsStatus,
59 , GrMtlTexture(gpu, desc, colorTexture, mipMapsStatus)
90 GrMipMapsStatus mipMapsStatus) {
104 gpu, budgeted, desc, sampleCnt, colorTexture, texture, mipMapsStatus));
[all …]
DGrMtlGpu.mm432 GrMipMapsStatus mipMapsStatus = GrMipMapsStatus::kNotAllocated;
434 mipMapsStatus = GrMipMapsStatus::kValid;
437 mipMapsStatus = GrMipMapsStatus::kDirty;
446 texDesc, mipMapsStatus);
448 tex = GrMtlTexture::MakeNewTexture(this, budgeted, desc, texDesc, mipMapsStatus);
/third_party/flutter/skia/src/gpu/vk/
DGrVkTexture.cpp27 GrMipMapsStatus mipMapsStatus) in GrVkTexture() argument
31 GrTextureType::k2D, mipMapsStatus)
33 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == info.fLevelCount));
42 GrMipMapsStatus mipMapsStatus, GrBackendObjectOwnership ownership, in GrVkTexture() argument
47 GrTextureType::k2D, mipMapsStatus)
49 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == info.fLevelCount));
62 GrMipMapsStatus mipMapsStatus, in GrVkTexture() argument
67 GrTextureType::k2D, mipMapsStatus)
69 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == info.fLevelCount));
75 GrMipMapsStatus mipMapsStatus) { in MakeNewTexture() argument
[all …]
DGrVkTextureRenderTarget.cpp32 GrMipMapsStatus mipMapsStatus) in GrVkTextureRenderTarget() argument
35 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus,
51 GrMipMapsStatus mipMapsStatus) in GrVkTextureRenderTarget() argument
54 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus,
71 GrMipMapsStatus mipMapsStatus, in GrVkTextureRenderTarget() argument
76 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, ownership)
89 GrMipMapsStatus mipMapsStatus, in GrVkTextureRenderTarget() argument
94 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, ownership)
181 GrMipMapsStatus mipMapsStatus) { in MakeNewTextureRenderTarget() argument
200 views.resolveAttachmentView, mipMapsStatus)); in MakeNewTextureRenderTarget()
[all …]
DGrVkGpu.cpp991 GrMipMapsStatus mipMapsStatus = GrMipMapsStatus::kNotAllocated; in onCreateTexture() local
993 mipMapsStatus = GrMipMapsStatus::kValid; in onCreateTexture()
996 mipMapsStatus = GrMipMapsStatus::kDirty; in onCreateTexture()
1005 this, budgeted, desc, renderTargetSampleCnt, imageDesc, mipMapsStatus); in onCreateTexture()
1007 tex = GrVkTexture::MakeNewTexture(this, budgeted, desc, imageDesc, mipMapsStatus); in onCreateTexture()
/third_party/flutter/skia/src/gpu/gl/
DGrGLTextureRenderTarget.cpp20 GrMipMapsStatus mipMapsStatus) in GrGLTextureRenderTarget() argument
22 , GrGLTexture(gpu, texDesc, nullptr, mipMapsStatus) in GrGLTextureRenderTarget()
34 GrMipMapsStatus mipMapsStatus) in GrGLTextureRenderTarget() argument
36 , GrGLTexture(gpu, texDesc, std::move(parameters), mipMapsStatus) in GrGLTextureRenderTarget()
69 GrMipMapsStatus mipMapsStatus) { in MakeWrapped() argument
71 gpu, sampleCount, texDesc, std::move(parameters), rtIDs, cacheable, mipMapsStatus)); in MakeWrapped()
DGrGLTexture.cpp46 GrMipMapsStatus mipMapsStatus) in GrGLTexture() argument
49 TextureTypeFromTarget(desc.fTarget), mipMapsStatus) in GrGLTexture()
58 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const Desc& desc, GrMipMapsStatus mipMapsStatus, in GrGLTexture() argument
63 TextureTypeFromTarget(desc.fTarget), mipMapsStatus) in GrGLTexture()
74 GrMipMapsStatus mipMapsStatus) in GrGLTexture() argument
77 TextureTypeFromTarget(desc.fTarget), mipMapsStatus) { in GrGLTexture()
127 GrMipMapsStatus mipMapsStatus, in MakeWrapped() argument
133 new GrGLTexture(gpu, desc, mipMapsStatus, std::move(parameters), cacheable, ioType)); in MakeWrapped()
DGrGLGpu.cpp707 GrMipMapsStatus mipMapsStatus = backendTex.hasMipMaps() ? GrMipMapsStatus::kValid in onWrapBackendTexture() local
710 auto texture = GrGLTexture::MakeWrapped(this, mipMapsStatus, desc, in onWrapBackendTexture()
753 GrMipMapsStatus mipMapsStatus = backendTex.hasMipMaps() ? GrMipMapsStatus::kDirty in onWrapRenderableBackendTexture() local
758 mipMapsStatus)); in onWrapRenderableBackendTexture()
966 GrMipMapsStatus* mipMapsStatus) { in allocate_and_populate_texture() argument
981 if (mipMapsStatus) { in allocate_and_populate_texture()
982 *mipMapsStatus = GrMipMapsStatus::kDirty; in allocate_and_populate_texture()
1052 } else if (mipMapsStatus) { in allocate_and_populate_texture()
1053 *mipMapsStatus = GrMipMapsStatus::kDirty; in allocate_and_populate_texture()
1119 GrMipMapsStatus* mipMapsStatus) { in uploadTexData() argument
[all …]
DGrGLGpu.h237 GrMipMapsStatus* mipMapsStatus);
411 GrMipMapsStatus* mipMapsStatus = nullptr);
/third_party/flutter/skia/src/gpu/mock/
DGrMockTexture.h21 GrProtected isProtected, GrMipMapsStatus mipMapsStatus, in GrMockTexture() argument
23 : GrMockTexture(gpu, desc, isProtected, mipMapsStatus, info) { in GrMockTexture()
28 GrMipMapsStatus mipMapsStatus, const GrMockTextureInfo& info, in GrMockTexture() argument
30 : GrMockTexture(gpu, desc, isProtected, mipMapsStatus, info) { in GrMockTexture()
53 GrMipMapsStatus mipMapsStatus, const GrMockTextureInfo& info) in GrMockTexture() argument
56 GrTextureType::k2D, mipMapsStatus)
140 int sampleCnt, GrProtected isProtected, GrMipMapsStatus mipMapsStatus, in GrMockTextureRenderTarget() argument
144 , GrMockTexture(gpu, desc, isProtected, mipMapsStatus, texInfo)
151 GrProtected isProtected, GrMipMapsStatus mipMapsStatus, in GrMockTextureRenderTarget() argument
155 , GrMockTexture(gpu, desc, isProtected, mipMapsStatus, texInfo)
DGrMockGpu.cpp160 GrMipMapsStatus mipMapsStatus = mipLevelCount > 1 ? GrMipMapsStatus::kValid in onCreateTexture() local
167 mipMapsStatus, texInfo, rtInfo)); in onCreateTexture()
170 new GrMockTexture(this, budgeted, desc, isProtected, mipMapsStatus, texInfo)); in onCreateTexture()
191 GrMipMapsStatus mipMapsStatus = tex.hasMipMaps() ? GrMipMapsStatus::kValid in onWrapBackendTexture() local
195 new GrMockTexture(this, desc, isProtected, mipMapsStatus, texInfo, wrapType, ioType)); in onWrapBackendTexture()
212 GrMipMapsStatus mipMapsStatus = in onWrapRenderableBackendTexture() local
220 this, desc, sampleCnt, isProtected, mipMapsStatus, texInfo, rtInfo, cacheable)); in onWrapRenderableBackendTexture()
/third_party/flutter/skia/src/gpu/
DGrTexturePriv.h29 GrMipMapsStatus mipMapsStatus() const { return fTexture->fMipMapsStatus; } in mipMapsStatus() function
32 return GrMipMapsStatus::kValid != this->mipMapsStatus(); in mipMapsAreDirty()
36 if (GrMipMapsStatus::kNotAllocated != this->mipMapsStatus()) { in mipMapped()
DGrTextureProxy.cpp21 GrMipMapsStatus mipMapsStatus, const GrSwizzle& textureSwizzle, in GrTextureProxy() argument
27 , fMipMapsStatus(mipMapsStatus) in GrTextureProxy()
36 GrMipMapsStatus mipMapsStatus, const GrSwizzle& texSwizzle, in GrTextureProxy() argument
42 , fMipMapsStatus(mipMapsStatus) in GrTextureProxy()
52 , fMipMapsStatus(fTarget->asTexture()->texturePriv().mipMapsStatus()) in GrTextureProxy()
DGrTextureRenderTargetProxy.cpp27 GrMipMapsStatus mipMapsStatus, in GrTextureRenderTargetProxy() argument
39 , GrTextureProxy(format, desc, origin, mipMapped, mipMapsStatus, texSwizzle, fit, budgeted, in GrTextureRenderTargetProxy()
50 GrMipMapsStatus mipMapsStatus, in GrTextureRenderTargetProxy() argument
65 mipMapsStatus, texSwizzle, fit, budgeted, isProtected, surfaceFlags) {} in GrTextureRenderTargetProxy()
DGrProxyProvider.cpp518 GrMipMapsStatus mipMapsStatus = (GrMipMapped::kYes == mipMapped) in createProxy() local
530 *caps, format, copyDesc, renderTargetSampleCnt, origin, mipMapped, mipMapsStatus, in createProxy()
535 format, copyDesc, origin, mipMapped, mipMapsStatus, texSwizzle, fit, budgeted, in createProxy()
800 GrMipMapsStatus mipMapsStatus, in createLazyProxy() argument
805 renderTargetSampleCnt, origin, mipMapped, mipMapsStatus, in createLazyProxy()
816 GrMipMapsStatus mipMapsStatus, in createLazyProxy() argument
825 renderTargetSampleCnt, origin, mipMapped, mipMapsStatus, in createLazyProxy()
836 GrMipMapsStatus mipMapsStatus, in createLazyProxy() argument
863 mipMapped, mipMapsStatus, texSwizzle, outSwizzle, fit, budgeted, isProtected, in createLazyProxy()
866 std::move(callback), lazyType, format, desc, origin, mipMapped, mipMapsStatus, in createLazyProxy()
[all …]
DGrTexture.cpp40 GrTextureType textureType, GrMipMapsStatus mipMapsStatus) in GrTexture() argument
43 , fMipMapsStatus(mipMapsStatus) { in GrTexture()
DGrBackendTextureImageGenerator.cpp157 GrMipMapsStatus mipMapsStatus = fBackendTexture.hasMipMaps() in onGenerateTexture() local
202 backendFormat, desc, GrRenderable::kNo, 1, fSurfaceOrigin, mipMapped, mipMapsStatus, in onGenerateTexture()
DGrSurfaceProxy.cpp176 SkASSERT(thisTexProxy->fInitialMipMapsStatus == texture->texturePriv().mipMapsStatus()); in createSurfaceImpl()
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnTextureRenderTarget.cpp21 GrMipMapsStatus mipMapsStatus) in GrDawnTextureRenderTarget() argument
23 , GrDawnTexture(gpu, size, config, textureView, info, mipMapsStatus) in GrDawnTextureRenderTarget()
DGrDawnGpu.cpp132 GrMipMapsStatus mipMapsStatus = GrMipMapsStatus::kNotAllocated; in onCreateTexture() local
134 mipMapsStatus = GrMipMapsStatus::kValid; in onCreateTexture()
137 mipMapsStatus = GrMipMapsStatus::kDirty; in onCreateTexture()
146 mipMapsStatus); in onCreateTexture()
DGrDawnTextureRenderTarget.h30 GrMipMapsStatus mipMapsStatus);
DGrDawnTexture.cpp19 GrMipMapsStatus mipMapsStatus) in GrDawnTexture() argument
21 , GrTexture(gpu, size, config, GrProtected::kNo, GrTextureType::k2D, mipMapsStatus) in GrDawnTexture()
/third_party/flutter/skia/src/image/
DSkImage_GpuBase.cpp498 GrMipMapsStatus mipMapsStatus = (GrMipMapped::kYes == mipMapped) in MakePromiseImageLazyProxy() local
505 mipMapsStatus, GrInternalSurfaceFlags::kReadOnly, SkBackingFit::kExact, SkBudgeted::kNo, in MakePromiseImageLazyProxy()