Home
last modified time | relevance | path

Searched refs:GrMipMapsStatus (Results 1 – 23 of 23) sorted by relevance

/external/skqp/src/gpu/mtl/
DGrMtlTexture.mm18 GrMipMapsStatus mipMapsStatus)
22 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == texture.mipmapLevelCount));
30 GrMipMapsStatus mipMapsStatus,
36 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == texture.mipmapLevelCount));
46 GrMipMapsStatus mipMapsStatus)
50 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == texture.mipmapLevelCount));
56 GrMipMapsStatus mipMapsStatus) {
78 GrMipMapsStatus mipMapsStatus = texture.mipmapLevelCount > 1 ? GrMipMapsStatus::kValid
79 : GrMipMapsStatus::kNotAllocated;
DGrMtlTextureRenderTarget.mm16 GrMipMapsStatus mipMapsStatus)
26 GrMipMapsStatus mipMapsStatus,
39 GrMipMapsStatus mipMapsStatus) {
56 GrMipMapsStatus mipMapsStatus = renderTexture.mipmapLevelCount > 1
57 ? GrMipMapsStatus::kDirty
58 : GrMipMapsStatus::kNotAllocated;
DGrMtlTextureRenderTarget.h20 GrMipMapsStatus);
47 GrMipMapsStatus);
53 GrMipMapsStatus);
59 GrMipMapsStatus);
64 GrMipMapsStatus,
DGrMtlTexture.h22 GrMipMapsStatus);
53 GrMtlTexture(GrMtlGpu*, const GrSurfaceDesc&, id<MTLTexture>, GrMipMapsStatus);
88 GrMipMapsStatus);
90 GrMtlTexture(GrMtlGpu*, Wrapped, const GrSurfaceDesc&, id<MTLTexture>, GrMipMapsStatus,
DGrMtlGpu.mm275 GrMipMapsStatus mipMapsStatus = GrMipMapsStatus::kNotAllocated;
277 mipMapsStatus = texels[0].fPixels ? GrMipMapsStatus::kValid : GrMipMapsStatus::kDirty;
280 if (mipMapsStatus == GrMipMapsStatus::kValid) {
678 GrMipMapsStatus::kNotAllocated);
/external/skqp/src/gpu/vk/
DGrVkTexture.cpp27 GrMipMapsStatus mipMapsStatus) in GrVkTexture()
32 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == info.fLevelCount)); in GrVkTexture()
41 GrMipMapsStatus mipMapsStatus, GrBackendObjectOwnership ownership, in GrVkTexture()
47 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == info.fLevelCount)); in GrVkTexture()
60 GrMipMapsStatus mipMapsStatus, in GrVkTexture()
66 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == info.fLevelCount)); in GrVkTexture()
72 GrMipMapsStatus mipMapsStatus) { in MakeNewTexture()
108 GrMipMapsStatus mipMapsStatus = info.fLevelCount > 1 ? GrMipMapsStatus::kValid in MakeWrappedTexture()
109 : GrMipMapsStatus::kNotAllocated; in MakeWrappedTexture()
DGrVkTextureRenderTarget.h32 GrMipMapsStatus);
68 GrMipMapsStatus);
78 GrMipMapsStatus);
90 GrMipMapsStatus,
101 GrMipMapsStatus,
DGrVkTexture.h25 GrMipMapsStatus);
53 const GrVkImageView*, GrMipMapsStatus, GrBackendObjectOwnership);
67 GrMipMapsStatus);
69 const GrVkImageView*, GrMipMapsStatus, GrBackendObjectOwnership, GrWrapCacheable,
DGrVkTextureRenderTarget.cpp31 GrMipMapsStatus mipMapsStatus) in GrVkTextureRenderTarget()
49 GrMipMapsStatus mipMapsStatus) in GrVkTextureRenderTarget()
68 GrMipMapsStatus mipMapsStatus, in GrVkTextureRenderTarget()
85 GrMipMapsStatus mipMapsStatus, in GrVkTextureRenderTarget()
176 GrMipMapsStatus mipMapsStatus) { in MakeNewTextureRenderTarget()
213 GrMipMapsStatus mipMapsStatus = info.fLevelCount > 1 ? GrMipMapsStatus::kDirty in MakeWrappedTextureRenderTarget()
214 : GrMipMapsStatus::kNotAllocated; in MakeWrappedTextureRenderTarget()
DGrVkGpu.cpp711 GrMipMapsStatus::kNotAllocated); in uploadTexDataOptimal()
957 GrMipMapsStatus mipMapsStatus = GrMipMapsStatus::kNotAllocated; in onCreateTexture()
959 mipMapsStatus = GrMipMapsStatus::kValid; in onCreateTexture()
962 mipMapsStatus = GrMipMapsStatus::kDirty; in onCreateTexture()
2109 this, SkBudgeted::kYes, surfDesc, imageDesc, GrMipMapsStatus::kNotAllocated); in onReadPixels()
/external/skqp/src/gpu/
DGrTexture.cpp23 if (GrMipMapsStatus::kValid == fMipMapsStatus) { in markMipMapsDirty()
24 fMipMapsStatus = GrMipMapsStatus::kDirty; in markMipMapsDirty()
29 SkASSERT(GrMipMapsStatus::kNotAllocated != fMipMapsStatus); in markMipMapsClean()
30 fMipMapsStatus = GrMipMapsStatus::kValid; in markMipMapsClean()
40 GrMipMapsStatus mipMapsStatus) in GrTexture()
42 if (GrMipMapsStatus::kNotAllocated == fMipMapsStatus) { in GrTexture()
DGrTexturePriv.h29 return GrMipMapsStatus::kValid != fTexture->fMipMapsStatus; in mipMapsAreDirty()
33 if (GrMipMapsStatus::kNotAllocated != fTexture->fMipMapsStatus) { in mipMapped()
/external/skqp/src/gpu/mock/
DGrMockGpu.cpp94 GrMipMapsStatus mipMapsStatus = mipLevelCount > 1 ? GrMipMapsStatus::kValid in onCreateTexture()
95 : GrMipMapsStatus::kNotAllocated; in onCreateTexture()
120 GrMipMapsStatus mipMapsStatus = tex.hasMipMaps() ? GrMipMapsStatus::kValid in onWrapBackendTexture()
121 : GrMipMapsStatus::kNotAllocated; in onWrapBackendTexture()
139 GrMipMapsStatus mipMapsStatus = in onWrapRenderableBackendTexture()
140 tex.hasMipMaps() ? GrMipMapsStatus::kValid : GrMipMapsStatus::kNotAllocated; in onWrapRenderableBackendTexture()
DGrMockTexture.h20 GrMipMapsStatus mipMapsStatus, const GrMockTextureInfo& info) in GrMockTexture()
25 GrMockTexture(GrMockGpu* gpu, const GrSurfaceDesc& desc, GrMipMapsStatus mipMapsStatus, in GrMockTexture()
58 GrMockTexture(GrMockGpu* gpu, const GrSurfaceDesc& desc, GrMipMapsStatus mipMapsStatus, in GrMockTexture()
160 GrMipMapsStatus mipMapsStatus, const GrMockTextureInfo& texInfo, in GrMockTextureRenderTarget()
170 GrMipMapsStatus mipMapsStatus, const GrMockTextureInfo& texInfo, in GrMockTextureRenderTarget()
/external/skqp/src/gpu/gl/
DGrGLTextureRenderTarget.h32 GrMipMapsStatus);
41 GrWrapCacheable cacheble, GrMipMapsStatus);
66 GrMipMapsStatus);
DGrGLTexture.h65 GrGLTexture(GrGLGpu*, SkBudgeted, const GrSurfaceDesc&, const IDDesc&, GrMipMapsStatus);
113 static sk_sp<GrGLTexture> MakeWrapped(GrGLGpu*, const GrSurfaceDesc&, GrMipMapsStatus,
120 GrGLTexture(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&, GrMipMapsStatus);
123 GrGLTexture(GrGLGpu*, const GrSurfaceDesc&, GrMipMapsStatus, const IDDesc&, GrWrapCacheable,
DGrGLTextureRenderTarget.cpp20 GrMipMapsStatus mipMapsStatus) in GrGLTextureRenderTarget()
32 GrMipMapsStatus mipMapsStatus) in GrGLTextureRenderTarget()
62 GrMipMapsStatus mipMapsStatus) { in MakeWrapped()
DGrGLTexture.cpp46 const IDDesc& idDesc, GrMipMapsStatus mipMapsStatus) in GrGLTexture()
56 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, GrMipMapsStatus mipMapsStatus, in GrGLTexture()
68 GrMipMapsStatus mipMapsStatus) in GrGLTexture()
118 GrMipMapsStatus mipMapsStatus, const IDDesc& idDesc, in MakeWrapped()
DGrGLGpu.h213 int mipLevelCount, GrMipMapsStatus* mipMapsStatus);
385 GrMipMapsStatus* mipMapsStatus = nullptr);
392 GrMipMapsStatus* mipMapsStatus = nullptr);
DGrGLGpu.cpp662 GrMipMapsStatus mipMapsStatus = backendTex.hasMipMaps() ? GrMipMapsStatus::kValid in onWrapBackendTexture()
663 : GrMipMapsStatus::kNotAllocated; in onWrapBackendTexture()
710 GrMipMapsStatus mipMapsStatus = backendTex.hasMipMaps() ? GrMipMapsStatus::kDirty in onWrapRenderableBackendTexture()
711 : GrMipMapsStatus::kNotAllocated; in onWrapRenderableBackendTexture()
1166 GrMipMapsStatus* mipMapsStatus) { in uploadTexData()
1226 *mipMapsStatus = GrMipMapsStatus::kValid; in uploadTexData()
1256 *mipMapsStatus = GrMipMapsStatus::kDirty; in uploadTexData()
1262 *mipMapsStatus = GrMipMapsStatus::kNotAllocated; in uploadTexData()
1353 GrMipMapsStatus* mipMapsStatus) { in uploadCompressedTexData()
1366 *mipMapsStatus = GrMipMapsStatus::kNotAllocated; in uploadCompressedTexData()
[all …]
/external/skqp/include/gpu/
DGrTexture.h80 GrTexture(GrGpu*, const GrSurfaceDesc&, GrTextureType, GrMipMapsStatus);
91 GrMipMapsStatus fMipMapsStatus;
/external/skqp/tests/
DTraceMemoryDumpTest.cpp105 GrMipMapsStatus::kNotAllocated); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
130 auto texture = GrGLTexture::MakeWrapped(gpu, desc, GrMipMapsStatus::kNotAllocated, idDesc, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skqp/include/private/
DGrTypesPriv.h940 enum class GrMipMapsStatus { enum