Home
last modified time | relevance | path

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

12

/external/skqp/src/gpu/mtl/
DGrMtlTexture.mm18 GrMipMapsStatus mipMapsStatus)
20 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus)
22 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == texture.mipmapLevelCount));
30 GrMipMapsStatus mipMapsStatus,
34 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus)
36 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == texture.mipmapLevelCount));
46 GrMipMapsStatus mipMapsStatus)
48 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus)
50 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == texture.mipmapLevelCount));
56 GrMipMapsStatus mipMapsStatus) {
[all …]
DGrMtlTextureRenderTarget.mm16 GrMipMapsStatus mipMapsStatus)
18 , GrMtlTexture(gpu, desc, renderTexture, mipMapsStatus)
26 GrMipMapsStatus mipMapsStatus,
29 , GrMtlTexture(gpu, desc, renderTexture, mipMapsStatus)
39 GrMipMapsStatus mipMapsStatus) {
47 new GrMtlTextureRenderTarget(gpu, budgeted, desc, renderTexture, mipMapsStatus));
56 GrMipMapsStatus mipMapsStatus = renderTexture.mipmapLevelCount > 1
64 new GrMtlTextureRenderTarget(gpu, desc, renderTexture, mipMapsStatus, cacheable));
DGrMtlGpu.mm275 GrMipMapsStatus mipMapsStatus = GrMipMapsStatus::kNotAllocated;
277 mipMapsStatus = texels[0].fPixels ? GrMipMapsStatus::kValid : GrMipMapsStatus::kDirty;
280 if (mipMapsStatus == GrMipMapsStatus::kValid) {
291 desc, texDesc, mipMapsStatus);
293 tex = GrMtlTexture::CreateNewTexture(this, budgeted, desc, texDesc, mipMapsStatus);
/external/skia/src/gpu/mtl/
DGrMtlTexture.mm18 GrMipMapsStatus mipMapsStatus)
20 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus)
22 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == texture.mipmapLevelCount));
30 GrMipMapsStatus mipMapsStatus,
34 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus)
36 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == texture.mipmapLevelCount));
46 GrMipMapsStatus mipMapsStatus)
48 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus)
50 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == texture.mipmapLevelCount));
56 GrMipMapsStatus mipMapsStatus) {
[all …]
DGrMtlTextureRenderTarget.mm16 GrMipMapsStatus mipMapsStatus)
18 , GrMtlTexture(gpu, desc, renderTexture, mipMapsStatus)
26 GrMipMapsStatus mipMapsStatus,
29 , GrMtlTexture(gpu, desc, renderTexture, mipMapsStatus)
39 GrMipMapsStatus mipMapsStatus) {
47 new GrMtlTextureRenderTarget(gpu, budgeted, desc, renderTexture, mipMapsStatus));
56 GrMipMapsStatus mipMapsStatus = renderTexture.mipmapLevelCount > 1
64 new GrMtlTextureRenderTarget(gpu, desc, renderTexture, mipMapsStatus, cacheable));
DGrMtlGpu.mm334 GrMipMapsStatus mipMapsStatus = GrMipMapsStatus::kNotAllocated;
336 mipMapsStatus = texels[0].fPixels ? GrMipMapsStatus::kValid : GrMipMapsStatus::kDirty;
339 if (mipMapsStatus == GrMipMapsStatus::kValid) {
349 desc, texDesc, mipMapsStatus);
351 tex = GrMtlTexture::CreateNewTexture(this, budgeted, desc, texDesc, mipMapsStatus);
/external/skia/src/gpu/vk/
DGrVkTexture.cpp27 GrMipMapsStatus mipMapsStatus) in GrVkTexture() argument
30 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus) in GrVkTexture()
32 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == info.fLevelCount)); in GrVkTexture()
41 GrMipMapsStatus mipMapsStatus, GrBackendObjectOwnership ownership, in GrVkTexture() argument
45 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus) in GrVkTexture()
47 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == info.fLevelCount)); in GrVkTexture()
60 GrMipMapsStatus mipMapsStatus, in GrVkTexture() argument
64 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus) in GrVkTexture()
66 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == info.fLevelCount)); in GrVkTexture()
72 GrMipMapsStatus mipMapsStatus) { in MakeNewTexture() argument
[all …]
DGrVkTextureRenderTarget.cpp31 GrMipMapsStatus mipMapsStatus) in GrVkTextureRenderTarget() argument
34 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, in GrVkTextureRenderTarget()
49 GrMipMapsStatus mipMapsStatus) in GrVkTextureRenderTarget() argument
52 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, in GrVkTextureRenderTarget()
68 GrMipMapsStatus mipMapsStatus, in GrVkTextureRenderTarget() argument
73 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, ownership) in GrVkTextureRenderTarget()
85 GrMipMapsStatus mipMapsStatus, in GrVkTextureRenderTarget() argument
90 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, ownership) in GrVkTextureRenderTarget()
176 GrMipMapsStatus mipMapsStatus) { in MakeNewTextureRenderTarget() argument
195 mipMapsStatus)); in MakeNewTextureRenderTarget()
[all …]
/external/skqp/src/gpu/vk/
DGrVkTexture.cpp27 GrMipMapsStatus mipMapsStatus) in GrVkTexture() argument
30 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus) in GrVkTexture()
32 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == info.fLevelCount)); in GrVkTexture()
41 GrMipMapsStatus mipMapsStatus, GrBackendObjectOwnership ownership, in GrVkTexture() argument
45 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus) in GrVkTexture()
47 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == info.fLevelCount)); in GrVkTexture()
60 GrMipMapsStatus mipMapsStatus, in GrVkTexture() argument
64 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus) in GrVkTexture()
66 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == info.fLevelCount)); in GrVkTexture()
72 GrMipMapsStatus mipMapsStatus) { in MakeNewTexture() argument
[all …]
DGrVkTextureRenderTarget.cpp31 GrMipMapsStatus mipMapsStatus) in GrVkTextureRenderTarget() argument
34 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, in GrVkTextureRenderTarget()
49 GrMipMapsStatus mipMapsStatus) in GrVkTextureRenderTarget() argument
52 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, in GrVkTextureRenderTarget()
68 GrMipMapsStatus mipMapsStatus, in GrVkTextureRenderTarget() argument
73 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, ownership) in GrVkTextureRenderTarget()
85 GrMipMapsStatus mipMapsStatus, in GrVkTextureRenderTarget() argument
90 , GrVkTexture(gpu, desc, info, layout, texView, mipMapsStatus, ownership) in GrVkTextureRenderTarget()
176 GrMipMapsStatus mipMapsStatus) { in MakeNewTextureRenderTarget() argument
195 mipMapsStatus)); in MakeNewTextureRenderTarget()
[all …]
DGrVkGpu.cpp949 GrMipMapsStatus mipMapsStatus = GrMipMapsStatus::kNotAllocated; in onCreateTexture() local
951 mipMapsStatus = GrMipMapsStatus::kValid; in onCreateTexture()
954 mipMapsStatus = GrMipMapsStatus::kDirty; in onCreateTexture()
964 mipMapsStatus); in onCreateTexture()
966 tex = GrVkTexture::MakeNewTexture(this, budgeted, desc, imageDesc, mipMapsStatus); in onCreateTexture()
/external/skia/src/gpu/mock/
DGrMockTexture.h20 GrMipMapsStatus mipMapsStatus, const GrMockTextureInfo& info) in GrMockTexture() argument
21 : GrMockTexture(gpu, desc, mipMapsStatus, info) { in GrMockTexture()
25 GrMockTexture(GrMockGpu* gpu, const GrSurfaceDesc& desc, GrMipMapsStatus mipMapsStatus, in GrMockTexture() argument
27 : GrMockTexture(gpu, desc, mipMapsStatus, info) { in GrMockTexture()
49 GrMockTexture(GrMockGpu* gpu, const GrSurfaceDesc& desc, GrMipMapsStatus mipMapsStatus, in GrMockTexture() argument
52 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus) in GrMockTexture()
130 GrMipMapsStatus mipMapsStatus, const GrMockTextureInfo& texInfo, in GrMockTextureRenderTarget() argument
133 , GrMockTexture(gpu, desc, mipMapsStatus, texInfo) in GrMockTextureRenderTarget()
140 GrMipMapsStatus mipMapsStatus, const GrMockTextureInfo& texInfo, in GrMockTextureRenderTarget() argument
143 , GrMockTexture(gpu, desc, mipMapsStatus, texInfo) in GrMockTextureRenderTarget()
DGrMockGpu.cpp94 GrMipMapsStatus mipMapsStatus = mipLevelCount > 1 ? GrMipMapsStatus::kValid in onCreateTexture() local
103 return sk_sp<GrTexture>(new GrMockTextureRenderTarget(this, budgeted, desc, mipMapsStatus, in onCreateTexture()
106 return sk_sp<GrTexture>(new GrMockTexture(this, budgeted, desc, mipMapsStatus, texInfo)); in onCreateTexture()
120 GrMipMapsStatus mipMapsStatus = tex.hasMipMaps() ? GrMipMapsStatus::kValid in onWrapBackendTexture() local
123 return sk_sp<GrTexture>(new GrMockTexture(this, desc, mipMapsStatus, info, wrapType, ioType)); in onWrapBackendTexture()
139 GrMipMapsStatus mipMapsStatus = in onWrapRenderableBackendTexture() local
148 new GrMockTextureRenderTarget(this, desc, mipMapsStatus, texInfo, rtInfo, cacheable)); in onWrapRenderableBackendTexture()
/external/skia/src/gpu/gl/
DGrGLTextureRenderTarget.cpp20 GrMipMapsStatus mipMapsStatus) in GrGLTextureRenderTarget() argument
22 , GrGLTexture(gpu, desc, texIDDesc, mipMapsStatus) in GrGLTextureRenderTarget()
32 GrMipMapsStatus mipMapsStatus) in GrGLTextureRenderTarget() argument
34 , GrGLTexture(gpu, desc, texIDDesc, mipMapsStatus) in GrGLTextureRenderTarget()
62 GrMipMapsStatus mipMapsStatus) { in MakeWrapped() argument
64 new GrGLTextureRenderTarget(gpu, desc, texIDDesc, rtIDDesc, cacheable, mipMapsStatus)); in MakeWrapped()
DGrGLTexture.cpp46 const IDDesc& idDesc, GrMipMapsStatus mipMapsStatus) in GrGLTexture() argument
48 , INHERITED(gpu, desc, TextureTypeFromTarget(idDesc.fInfo.fTarget), mipMapsStatus) { in GrGLTexture()
56 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, GrMipMapsStatus mipMapsStatus, in GrGLTexture() argument
59 , INHERITED(gpu, desc, TextureTypeFromTarget(idDesc.fInfo.fTarget), mipMapsStatus) { in GrGLTexture()
68 GrMipMapsStatus mipMapsStatus) in GrGLTexture() argument
70 , INHERITED(gpu, desc, TextureTypeFromTarget(idDesc.fInfo.fTarget), mipMapsStatus) { in GrGLTexture()
116 GrMipMapsStatus mipMapsStatus, const IDDesc& idDesc, in MakeWrapped() argument
118 return sk_sp<GrGLTexture>(new GrGLTexture(gpu, desc, mipMapsStatus, idDesc, cacheable, ioType)); in MakeWrapped()
DGrGLGpu.cpp698 GrMipMapsStatus mipMapsStatus = backendTex.hasMipMaps() ? GrMipMapsStatus::kValid in onWrapBackendTexture() local
702 GrGLTexture::MakeWrapped(this, surfDesc, mipMapsStatus, idDesc, cacheable, ioType); in onWrapBackendTexture()
746 GrMipMapsStatus mipMapsStatus = backendTex.hasMipMaps() ? GrMipMapsStatus::kDirty in onWrapRenderableBackendTexture() local
750 this, surfDesc, idDesc, rtIDDesc, cacheable, mipMapsStatus)); in onWrapRenderableBackendTexture()
1201 GrMipMapsStatus* mipMapsStatus) { in uploadTexData() argument
1260 if (mipMapsStatus) { in uploadTexData()
1261 *mipMapsStatus = GrMipMapsStatus::kValid; in uploadTexData()
1290 if (mipMapsStatus) { in uploadTexData()
1291 *mipMapsStatus = GrMipMapsStatus::kDirty; in uploadTexData()
1296 if (mipMapsStatus && mipLevelCount <= 1) { in uploadTexData()
[all …]
DGrGLGpu.h218 int mipLevelCount, GrMipMapsStatus* mipMapsStatus);
397 GrMipMapsStatus* mipMapsStatus = nullptr);
404 GrMipMapsStatus* mipMapsStatus = nullptr);
/external/skqp/src/gpu/gl/
DGrGLTextureRenderTarget.cpp20 GrMipMapsStatus mipMapsStatus) in GrGLTextureRenderTarget() argument
22 , GrGLTexture(gpu, desc, texIDDesc, mipMapsStatus) in GrGLTextureRenderTarget()
32 GrMipMapsStatus mipMapsStatus) in GrGLTextureRenderTarget() argument
34 , GrGLTexture(gpu, desc, texIDDesc, mipMapsStatus) in GrGLTextureRenderTarget()
62 GrMipMapsStatus mipMapsStatus) { in MakeWrapped() argument
64 new GrGLTextureRenderTarget(gpu, desc, texIDDesc, rtIDDesc, cacheable, mipMapsStatus)); in MakeWrapped()
DGrGLTexture.cpp46 const IDDesc& idDesc, GrMipMapsStatus mipMapsStatus) in GrGLTexture() argument
48 , INHERITED(gpu, desc, TextureTypeFromTarget(idDesc.fInfo.fTarget), mipMapsStatus) { in GrGLTexture()
56 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, GrMipMapsStatus mipMapsStatus, in GrGLTexture() argument
59 , INHERITED(gpu, desc, TextureTypeFromTarget(idDesc.fInfo.fTarget), mipMapsStatus) { in GrGLTexture()
68 GrMipMapsStatus mipMapsStatus) in GrGLTexture() argument
70 , INHERITED(gpu, desc, TextureTypeFromTarget(idDesc.fInfo.fTarget), mipMapsStatus) { in GrGLTexture()
118 GrMipMapsStatus mipMapsStatus, const IDDesc& idDesc, in MakeWrapped() argument
120 return sk_sp<GrGLTexture>(new GrGLTexture(gpu, desc, mipMapsStatus, idDesc, cacheable, ioType)); in MakeWrapped()
DGrGLGpu.cpp662 GrMipMapsStatus mipMapsStatus = backendTex.hasMipMaps() ? GrMipMapsStatus::kValid in onWrapBackendTexture() local
666 GrGLTexture::MakeWrapped(this, surfDesc, mipMapsStatus, idDesc, cacheable, ioType); in onWrapBackendTexture()
710 GrMipMapsStatus mipMapsStatus = backendTex.hasMipMaps() ? GrMipMapsStatus::kDirty in onWrapRenderableBackendTexture() local
714 this, surfDesc, idDesc, rtIDDesc, cacheable, mipMapsStatus)); in onWrapRenderableBackendTexture()
1166 GrMipMapsStatus* mipMapsStatus) { in uploadTexData() argument
1225 if (mipMapsStatus) { in uploadTexData()
1226 *mipMapsStatus = GrMipMapsStatus::kValid; in uploadTexData()
1255 if (mipMapsStatus) { in uploadTexData()
1256 *mipMapsStatus = GrMipMapsStatus::kDirty; in uploadTexData()
1261 if (mipMapsStatus && mipLevelCount <= 1) { in uploadTexData()
[all …]
DGrGLGpu.h213 int mipLevelCount, GrMipMapsStatus* mipMapsStatus);
385 GrMipMapsStatus* mipMapsStatus = nullptr);
392 GrMipMapsStatus* mipMapsStatus = nullptr);
/external/skqp/src/gpu/mock/
DGrMockTexture.h20 GrMipMapsStatus mipMapsStatus, const GrMockTextureInfo& info) in GrMockTexture() argument
21 : GrMockTexture(gpu, desc, mipMapsStatus, info) { in GrMockTexture()
25 GrMockTexture(GrMockGpu* gpu, const GrSurfaceDesc& desc, GrMipMapsStatus mipMapsStatus, in GrMockTexture() argument
27 : GrMockTexture(gpu, desc, mipMapsStatus, info) { in GrMockTexture()
58 GrMockTexture(GrMockGpu* gpu, const GrSurfaceDesc& desc, GrMipMapsStatus mipMapsStatus, in GrMockTexture() argument
61 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus) in GrMockTexture()
160 GrMipMapsStatus mipMapsStatus, const GrMockTextureInfo& texInfo, in GrMockTextureRenderTarget() argument
163 , GrMockTexture(gpu, desc, mipMapsStatus, texInfo) in GrMockTextureRenderTarget()
170 GrMipMapsStatus mipMapsStatus, const GrMockTextureInfo& texInfo, in GrMockTextureRenderTarget() argument
173 , GrMockTexture(gpu, desc, mipMapsStatus, texInfo) in GrMockTextureRenderTarget()
DGrMockGpu.cpp94 GrMipMapsStatus mipMapsStatus = mipLevelCount > 1 ? GrMipMapsStatus::kValid in onCreateTexture() local
103 return sk_sp<GrTexture>(new GrMockTextureRenderTarget(this, budgeted, desc, mipMapsStatus, in onCreateTexture()
106 return sk_sp<GrTexture>(new GrMockTexture(this, budgeted, desc, mipMapsStatus, texInfo)); in onCreateTexture()
120 GrMipMapsStatus mipMapsStatus = tex.hasMipMaps() ? GrMipMapsStatus::kValid in onWrapBackendTexture() local
123 return sk_sp<GrTexture>(new GrMockTexture(this, desc, mipMapsStatus, info, wrapType, ioType)); in onWrapBackendTexture()
139 GrMipMapsStatus mipMapsStatus = in onWrapRenderableBackendTexture() local
148 new GrMockTextureRenderTarget(this, desc, mipMapsStatus, texInfo, rtInfo, cacheable)); in onWrapRenderableBackendTexture()
/external/skqp/src/gpu/
DGrTexture.cpp40 GrMipMapsStatus mipMapsStatus) in GrTexture() argument
41 : INHERITED(gpu, desc), fTextureType(textureType), fMipMapsStatus(mipMapsStatus) { in GrTexture()
/external/skia/src/gpu/
DGrTexture.cpp40 GrMipMapsStatus mipMapsStatus) in GrTexture() argument
41 : INHERITED(gpu, desc), fTextureType(textureType), fMipMapsStatus(mipMapsStatus) { in GrTexture()

12