Home
last modified time | relevance | path

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

/external/skia/src/gpu/d3d/
DGrD3DTexture.cpp23 GrMipmapStatus mipmapStatus) in GrD3DTexture() argument
26 , INHERITED(gpu, dimensions, info.fProtected, GrTextureType::k2D, mipmapStatus) in GrD3DTexture()
28 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == info.fLevelCount)); in GrD3DTexture()
38 GrMipmapStatus mipmapStatus, GrWrapCacheable cacheable, in GrD3DTexture() argument
42 , INHERITED(gpu, dimensions, info.fProtected, GrTextureType::k2D, mipmapStatus) in GrD3DTexture()
44 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == info.fLevelCount)); in GrD3DTexture()
57 GrMipmapStatus mipmapStatus) in GrD3DTexture() argument
60 , INHERITED(gpu, dimensions, info.fProtected, GrTextureType::k2D, mipmapStatus) in GrD3DTexture()
62 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == info.fLevelCount)); in GrD3DTexture()
69 GrMipmapStatus mipmapStatus) { in MakeNewTexture() argument
[all …]
DGrD3DTextureRenderTarget.cpp24 GrMipmapStatus mipmapStatus) in GrD3DTextureRenderTarget() argument
27 , GrD3DTexture(gpu, dimensions, info, state, shaderResourceView, mipmapStatus) in GrD3DTextureRenderTarget()
48 GrMipmapStatus mipmapStatus) in GrD3DTextureRenderTarget() argument
51 , GrD3DTexture(gpu, dimensions, info, state, shaderResourceView, mipmapStatus) in GrD3DTextureRenderTarget()
66 GrMipmapStatus mipmapStatus, in GrD3DTextureRenderTarget() argument
70 , GrD3DTexture(gpu, dimensions, info, state, shaderResourceView, mipmapStatus) in GrD3DTextureRenderTarget()
90 GrMipmapStatus mipmapStatus, in GrD3DTextureRenderTarget() argument
94 , GrD3DTexture(gpu, dimensions, info, state, shaderResourceView, mipmapStatus) in GrD3DTextureRenderTarget()
106 GrMipmapStatus mipmapStatus) { in MakeNewTextureRenderTarget() argument
145 std::move(msState), msaaRenderTargetView, renderTargetView, mipmapStatus); in MakeNewTextureRenderTarget()
[all …]
DGrD3DGpu.cpp260 GrMipmapStatus mipmapStatus) { in createD3DTexture() argument
288 mipmapStatus); in createD3DTexture()
291 mipmapStatus); in createD3DTexture()
307 GrMipmapStatus mipmapStatus = mipLevelCount > 1 ? GrMipmapStatus::kDirty in onCreateTexture() local
312 mipLevelCount, mipmapStatus); in onCreateTexture()
361 GrMipmapStatus mipmapStatus = mipLevelCount > 1 ? GrMipmapStatus::kValid in onCreateCompressedTexture() local
366 mipLevelCount, mipmapStatus); in onCreateCompressedTexture()
/external/skia/src/gpu/mtl/
DGrMtlTexture.mm24 GrMipmapStatus mipmapStatus)
26 , INHERITED(gpu, dimensions, GrProtected::kNo, GrTextureType::k2D, mipmapStatus)
28 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == texture.mipmapLevelCount));
43 GrMipmapStatus mipmapStatus,
47 , INHERITED(gpu, dimensions, GrProtected::kNo, GrTextureType::k2D, mipmapStatus)
49 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == texture.mipmapLevelCount));
63 GrMipmapStatus mipmapStatus)
65 , INHERITED(gpu, dimensions, GrProtected::kNo, GrTextureType::k2D, mipmapStatus)
67 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == texture.mipmapLevelCount));
78 GrMipmapStatus mipmapStatus) {
[all …]
DGrMtlTextureRenderTarget.mm24 GrMipmapStatus mipmapStatus)
26 , GrMtlTexture(gpu, dimensions, resolveTexture, mipmapStatus)
35 GrMipmapStatus mipmapStatus)
37 , GrMtlTexture(gpu, dimensions, colorTexture, mipmapStatus)
47 GrMipmapStatus mipmapStatus,
50 , GrMtlTexture(gpu, dimensions, resolveTexture, mipmapStatus)
58 GrMipmapStatus mipmapStatus,
61 , GrMtlTexture(gpu, dimensions, colorTexture, mipmapStatus)
94 GrMipmapStatus mipmapStatus) {
113 gpu, budgeted, dimensions, sampleCnt, colorTexture, texture, mipmapStatus));
[all …]
DGrMtlGpu.mm582 GrMipmapStatus mipmapStatus =
586 this, budgeted, dimensions, renderTargetSampleCnt, texDesc, mipmapStatus);
588 tex = GrMtlTexture::MakeNewTexture(this, budgeted, dimensions, texDesc, mipmapStatus);
648 GrMipmapStatus mipmapStatus = (mipMapped == GrMipmapped::kYes)
652 auto tex = GrMtlTexture::MakeNewTexture(this, budgeted, dimensions, texDesc, mipmapStatus);
/external/skia/src/gpu/vk/
DGrVkTexture.cpp26 GrMipmapStatus mipmapStatus) in GrVkTexture() argument
31 GrTextureType::k2D, mipmapStatus) in GrVkTexture()
34 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == fTexture->mipLevels())); in GrVkTexture()
46 sk_sp<GrVkAttachment> texture, GrMipmapStatus mipmapStatus, in GrVkTexture() argument
50 isExternal ? GrTextureType::kExternal : GrTextureType::k2D, mipmapStatus) in GrVkTexture()
53 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == fTexture->mipLevels())); in GrVkTexture()
65 GrMipmapStatus mipmapStatus) in GrVkTexture() argument
68 GrTextureType::k2D, mipmapStatus) in GrVkTexture()
71 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == fTexture->mipLevels())); in GrVkTexture()
82 GrMipmapStatus mipmapStatus) { in MakeNewTexture() argument
[all …]
DGrVkTextureRenderTarget.cpp31 GrMipmapStatus mipmapStatus) in GrVkTextureRenderTarget() argument
33 , GrVkTexture(gpu, dimensions, std::move(texture), mipmapStatus) in GrVkTextureRenderTarget()
45 GrMipmapStatus mipmapStatus, in GrVkTextureRenderTarget() argument
48 , GrVkTexture(gpu, dimensions, std::move(texture), mipmapStatus) in GrVkTextureRenderTarget()
81 GrMipmapStatus mipmapStatus, in MakeNewTextureRenderTarget() argument
100 std::move(resolveAttachment), mipmapStatus)); in MakeNewTextureRenderTarget()
136 GrMipmapStatus mipmapStatus = in MakeWrappedTextureRenderTarget() local
141 std::move(resolveAttachment), mipmapStatus, cacheable)); in MakeWrappedTextureRenderTarget()
DGrVkTextureRenderTarget.h36 GrMipmapStatus mipmapStatus,
DGrVkGpu.cpp1044 GrMipmapStatus mipmapStatus = in onCreateTexture() local
1051 mipmapStatus, isProtected); in onCreateTexture()
1054 mipLevelCount, isProtected, mipmapStatus); in onCreateTexture()
1110 GrMipmapStatus mipmapStatus = (mipMapped == GrMipmapped::kYes) ? GrMipmapStatus::kValid in onCreateCompressedTexture() local
1114 numMipLevels, isProtected, mipmapStatus); in onCreateCompressedTexture()
/external/skia/src/gpu/mock/
DGrMockTexture.h22 GrMipmapStatus mipmapStatus, in GrMockTexture() argument
24 : GrMockTexture(gpu, dimensions, isProtected, mipmapStatus, info) { in GrMockTexture()
31 GrMipmapStatus mipmapStatus, in GrMockTexture() argument
35 : GrMockTexture(gpu, dimensions, isProtected, mipmapStatus, info) { in GrMockTexture()
57 GrMipmapStatus mipmapStatus, const GrMockTextureInfo& info) in GrMockTexture() argument
59 , INHERITED(gpu, dimensions, isProtected, GrTextureType::k2D, mipmapStatus) in GrMockTexture()
160 GrMipmapStatus mipmapStatus, in GrMockTextureRenderTarget() argument
164 , GrMockTexture(gpu, dimensions, isProtected, mipmapStatus, texInfo) in GrMockTextureRenderTarget()
174 GrMipmapStatus mipmapStatus, in GrMockTextureRenderTarget() argument
179 , GrMockTexture(gpu, dimensions, isProtected, mipmapStatus, texInfo) in GrMockTextureRenderTarget()
DGrMockGpu.cpp112 GrMipmapStatus mipmapStatus = in onCreateTexture() local
119 mipmapStatus, texInfo, rtInfo)); in onCreateTexture()
122 new GrMockTexture(this, budgeted, dimensions, isProtected, mipmapStatus, texInfo)); in onCreateTexture()
142 GrMipmapStatus mipmapStatus = (mipMapped == GrMipmapped::kYes) in onCreateCompressedTexture() local
150 new GrMockTexture(this, budgeted, dimensions, isProtected, mipmapStatus, texInfo)); in onCreateCompressedTexture()
165 GrMipmapStatus mipmapStatus = tex.hasMipmaps() ? GrMipmapStatus::kValid in onWrapBackendTexture() local
168 return sk_sp<GrTexture>(new GrMockTexture(this, tex.dimensions(), isProtected, mipmapStatus, in onWrapBackendTexture()
186 GrMipmapStatus mipmapStatus = in onWrapRenderableBackendTexture() local
194 isProtected, mipmapStatus, texInfo, in onWrapRenderableBackendTexture()
/external/skia/src/gpu/gl/
DGrGLTextureRenderTarget.cpp21 GrMipmapStatus mipmapStatus) in GrGLTextureRenderTarget() argument
23 , GrGLTexture(gpu, texDesc, nullptr, mipmapStatus) in GrGLTextureRenderTarget()
34 GrMipmapStatus mipmapStatus) in GrGLTextureRenderTarget() argument
36 , GrGLTexture(gpu, texDesc, std::move(parameters), mipmapStatus) in GrGLTextureRenderTarget()
70 GrMipmapStatus mipmapStatus) { in MakeWrapped() argument
72 gpu, sampleCount, texDesc, std::move(parameters), rtIDs, cacheable, mipmapStatus)); in MakeWrapped()
DGrGLTexture.cpp47 GrMipmapStatus mipmapStatus) in GrGLTexture() argument
50 TextureTypeFromTarget(desc.fTarget), mipmapStatus) in GrGLTexture()
59 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const Desc& desc, GrMipmapStatus mipmapStatus, in GrGLTexture() argument
64 TextureTypeFromTarget(desc.fTarget), mipmapStatus) in GrGLTexture()
75 GrMipmapStatus mipmapStatus) in GrGLTexture() argument
78 TextureTypeFromTarget(desc.fTarget), mipmapStatus) { in GrGLTexture()
126 GrMipmapStatus mipmapStatus, in MakeWrapped() argument
132 new GrGLTexture(gpu, desc, mipmapStatus, std::move(parameters), cacheable, ioType)); in MakeWrapped()
DGrGLGpu.cpp665 GrMipmapStatus mipmapStatus = backendTex.hasMipmaps() ? GrMipmapStatus::kValid in onWrapBackendTexture() local
668 auto texture = GrGLTexture::MakeWrapped(this, mipmapStatus, desc, in onWrapBackendTexture()
719 GrMipmapStatus mipmapStatus = backendTex.hasMipmaps() ? GrMipmapStatus::kValid in onWrapCompressedBackendTexture() local
722 auto texture = GrGLTexture::MakeWrapped(this, mipmapStatus, desc, in onWrapCompressedBackendTexture()
761 GrMipmapStatus mipmapStatus = backendTex.hasMipmaps() ? GrMipmapStatus::kDirty in onWrapRenderableBackendTexture() local
766 mipmapStatus)); in onWrapRenderableBackendTexture()
1303 GrMipmapStatus mipmapStatus = in onCreateTexture() local
1345 this, budgeted, renderTargetSampleCnt, texDesc, rtIDDesc, mipmapStatus); in onCreateTexture()
1348 tex = sk_make_sp<GrGLTexture>(this, budgeted, texDesc, mipmapStatus); in onCreateTexture()
1428 GrMipmapStatus mipmapStatus = mipMapped == GrMipmapped::kYes in onCreateCompressedTexture() local
[all …]
/external/skia/src/gpu/
DGrTextureProxy.cpp22 GrMipmapStatus mipmapStatus, in GrTextureProxy() argument
31 , fMipmapStatus(mipmapStatus) in GrTextureProxy()
47 GrMipmapStatus mipmapStatus, in GrTextureProxy() argument
57 , fMipmapStatus(mipmapStatus) in GrTextureProxy()
74 , fMipmapStatus(fTarget->asTexture()->mipmapStatus()) in GrTextureProxy()
DGrTextureRenderTargetProxy.cpp30 GrMipmapStatus mipmapStatus, in GrTextureRenderTargetProxy() argument
41 , GrTextureProxy(format, dimensions, mipMapped, mipmapStatus, fit, budgeted, isProtected, in GrTextureRenderTargetProxy()
53 GrMipmapStatus mipmapStatus, in GrTextureRenderTargetProxy() argument
67 , GrTextureProxy(LazyInstantiateCallback(), format, dimensions, mipMapped, mipmapStatus, in GrTextureRenderTargetProxy()
DGrProxyProvider.cpp427 GrMipmapStatus mipmapStatus = (GrMipmapped::kYes == mipMapped) in createProxy() local
437 *caps, format, dimensions, renderTargetSampleCnt, mipMapped, mipmapStatus, fit, in createProxy()
442 return sk_sp<GrTextureProxy>(new GrTextureProxy(format, dimensions, mipMapped, mipmapStatus, in createProxy()
461 GrMipmapStatus mipmapStatus = (GrMipmapped::kYes == mipMapped) ? GrMipmapStatus::kValid in createCompressedTextureProxy() local
470 format, dimensions, mipMapped, mipmapStatus,GrInternalSurfaceFlags::kReadOnly, in createCompressedTextureProxy()
687 GrMipmapStatus mipmapStatus = (GrMipmapped::kYes == mipMapped) ? GrMipmapStatus::kValid in CreatePromiseProxy() local
696 mipmapStatus, in CreatePromiseProxy()
711 GrMipmapStatus mipmapStatus, in createLazyProxy() argument
737 mipmapStatus, in createLazyProxy()
753 GrMipmapStatus mipmapStatus, in createLazyRenderTargetProxy() argument
[all …]
DGrTexture.cpp44 GrMipmapStatus mipmapStatus) in GrTexture() argument
47 , fMipmapStatus(mipmapStatus) { in GrTexture()
DGrTexture.h54 GrMipmapStatus mipmapStatus() const { return fMipmapStatus; } in mipmapStatus() function
DGrBackendTextureImageGenerator.cpp164 GrMipmapStatus mipmapStatus = fBackendTexture.hasMipmaps() in onGenerateTexture() local
213 backendFormat, fBackendTexture.dimensions(), textureIsMipMapped, mipmapStatus, in onGenerateTexture()
/external/skia/src/gpu/dawn/
DGrDawnTextureRenderTarget.cpp18 GrMipmapStatus mipmapStatus) in GrDawnTextureRenderTarget() argument
20 , GrDawnTexture(gpu, dimensions, textureInfo, mipmapStatus) in GrDawnTextureRenderTarget()
DGrDawnTexture.cpp17 GrMipmapStatus mipmapStatus) in GrDawnTexture() argument
19 , GrTexture(gpu, dimensions, GrProtected::kNo, GrTextureType::k2D, mipmapStatus) in GrDawnTexture()
DGrDawnTextureRenderTarget.h28 GrMipmapStatus mipmapStatus);
DGrDawnGpu.cpp230 GrMipmapStatus mipmapStatus = in onCreateTexture() local
234 budgeted, mipLevelCount, mipmapStatus); in onCreateTexture()