Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/
DGrTextureProxy.h38 (GrMipmapStatus::kNotAllocated == fMipmapStatus)); in mipmapsAreDirty()
39 return GrMipmapped::kYes == fMipmapped && GrMipmapStatus::kValid != fMipmapStatus; in mipmapsAreDirty()
43 fMipmapStatus = GrMipmapStatus::kDirty; in markMipmapsDirty()
47 fMipmapStatus = GrMipmapStatus::kValid; in markMipmapsClean()
114 GrMipmapStatus,
136 GrMipmapStatus,
170 GrMipmapStatus fMipmapStatus;
177 SkDEBUGCODE(const GrMipmapStatus fInitialMipmapStatus;)
DGrTexture.h51 return GrMipmapped(fMipmapStatus != GrMipmapStatus::kNotAllocated); in mipmapped()
53 bool mipmapsAreDirty() const { return fMipmapStatus != GrMipmapStatus::kValid; } in mipmapsAreDirty()
54 GrMipmapStatus mipmapStatus() const { return fMipmapStatus; } in mipmapStatus()
67 GrTexture(GrGpu*, const SkISize&, GrProtected, GrTextureType, GrMipmapStatus);
77 GrMipmapStatus fMipmapStatus;
DGrTexture.cpp24 if (GrMipmapStatus::kValid == fMipmapStatus) { in markMipmapsDirty()
25 fMipmapStatus = GrMipmapStatus::kDirty; in markMipmapsDirty()
30 SkASSERT(GrMipmapStatus::kNotAllocated != fMipmapStatus); in markMipmapsClean()
31 fMipmapStatus = GrMipmapStatus::kValid; in markMipmapsClean()
44 GrMipmapStatus mipmapStatus) in GrTexture()
48 if (fMipmapStatus == GrMipmapStatus::kNotAllocated) { in GrTexture()
DGrProxyProvider.cpp333 format, dims, GrMipmapped::kNo, GrMipmapStatus::kNotAllocated, in createNonMippedProxyFromBitmap()
381 format, dims, GrMipmapped::kYes, GrMipmapStatus::kValid, GrInternalSurfaceFlags::kNone, in createMippedProxyFromBitmap()
427 GrMipmapStatus mipmapStatus = (GrMipmapped::kYes == mipMapped) in createProxy()
428 ? GrMipmapStatus::kDirty in createProxy()
429 : GrMipmapStatus::kNotAllocated; in createProxy()
461 GrMipmapStatus mipmapStatus = (GrMipmapped::kYes == mipMapped) ? GrMipmapStatus::kValid in createCompressedTextureProxy()
462 : GrMipmapStatus::kNotAllocated; in createCompressedTextureProxy()
687 GrMipmapStatus mipmapStatus = (GrMipmapped::kYes == mipMapped) ? GrMipmapStatus::kValid in CreatePromiseProxy()
688 : GrMipmapStatus::kNotAllocated; in CreatePromiseProxy()
711 GrMipmapStatus mipmapStatus, in createLazyProxy()
[all …]
DGrTextureRenderTargetProxy.h36 GrMipmapStatus,
51 GrMipmapStatus,
/external/skia/src/gpu/mtl/
DGrMtlTexture.mm24 GrMipmapStatus mipmapStatus)
28 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == texture.mipmapLevelCount));
43 GrMipmapStatus mipmapStatus,
49 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == texture.mipmapLevelCount));
63 GrMipmapStatus mipmapStatus)
67 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == texture.mipmapLevelCount));
78 GrMipmapStatus mipmapStatus) {
98 GrMipmapStatus mipmapStatus = texture.mipmapLevelCount > 1 ? GrMipmapStatus::kValid
99 : GrMipmapStatus::kNotAllocated;
DGrMtlTextureRenderTarget.h21 GrMipmapStatus);
50 GrMipmapStatus);
56 GrMipmapStatus);
63 GrMipmapStatus,
69 GrMipmapStatus,
DGrMtlTextureRenderTarget.mm24 GrMipmapStatus mipmapStatus)
35 GrMipmapStatus mipmapStatus)
47 GrMipmapStatus mipmapStatus,
58 GrMipmapStatus mipmapStatus,
94 GrMipmapStatus mipmapStatus) {
130 GrMipmapStatus mipmapStatus = texture.mipmapLevelCount > 1
131 ? GrMipmapStatus::kDirty
132 : GrMipmapStatus::kNotAllocated;
DGrMtlTexture.h23 GrMipmapStatus);
44 GrMtlTexture(GrMtlGpu*, SkISize, id<MTLTexture>, GrMipmapStatus);
64 GrMtlTexture(GrMtlGpu*, SkBudgeted, SkISize, id<MTLTexture>, GrMipmapStatus);
70 GrMipmapStatus,
/external/skia/src/gpu/d3d/
DGrD3DTexture.cpp23 GrMipmapStatus mipmapStatus) in GrD3DTexture()
28 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == info.fLevelCount)); in GrD3DTexture()
38 GrMipmapStatus mipmapStatus, GrWrapCacheable cacheable, in GrD3DTexture()
44 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == info.fLevelCount)); in GrD3DTexture()
57 GrMipmapStatus mipmapStatus) in GrD3DTexture()
62 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == info.fLevelCount)); in GrD3DTexture()
69 GrMipmapStatus mipmapStatus) { in MakeNewTexture()
100 GrMipmapStatus mipmapStatus = info.fLevelCount > 1 ? GrMipmapStatus::kValid in MakeWrappedTexture()
101 : GrMipmapStatus::kNotAllocated; in MakeWrappedTexture()
DGrD3DTextureRenderTarget.h33 GrMipmapStatus);
66 GrMipmapStatus);
76 GrMipmapStatus);
88 GrMipmapStatus,
98 GrMipmapStatus,
DGrD3DTextureRenderTarget.cpp24 GrMipmapStatus mipmapStatus) in GrD3DTextureRenderTarget()
48 GrMipmapStatus mipmapStatus) in GrD3DTextureRenderTarget()
66 GrMipmapStatus mipmapStatus, in GrD3DTextureRenderTarget()
90 GrMipmapStatus mipmapStatus, in GrD3DTextureRenderTarget()
106 GrMipmapStatus mipmapStatus) { in MakeNewTextureRenderTarget()
167 GrMipmapStatus mipmapStatus = info.fLevelCount > 1 ? GrMipmapStatus::kDirty in MakeWrappedTextureRenderTarget()
168 : GrMipmapStatus::kNotAllocated; in MakeWrappedTextureRenderTarget()
DGrD3DTexture.h24 GrMipmapStatus);
52 GrMipmapStatus);
67 GrMipmapStatus);
71 GrMipmapStatus, GrWrapCacheable, GrIOType);
/external/skia/src/gpu/vk/
DGrVkTexture.cpp26 GrMipmapStatus mipmapStatus) in GrVkTexture()
34 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == fTexture->mipLevels())); in GrVkTexture()
46 sk_sp<GrVkAttachment> texture, GrMipmapStatus mipmapStatus, in GrVkTexture()
53 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == fTexture->mipLevels())); in GrVkTexture()
65 GrMipmapStatus mipmapStatus) in GrVkTexture()
71 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == fTexture->mipLevels())); in GrVkTexture()
82 GrMipmapStatus mipmapStatus) { in MakeNewTexture()
110 GrMipmapStatus mipmapStatus = info.fLevelCount > 1 ? GrMipmapStatus::kValid in MakeWrappedTexture()
111 : GrMipmapStatus::kNotAllocated; in MakeWrappedTexture()
DGrVkTexture.h30 GrMipmapStatus);
64 GrMipmapStatus);
83 GrVkTexture(GrVkGpu*, SkBudgeted, SkISize, sk_sp<GrVkAttachment> texture, GrMipmapStatus);
84 GrVkTexture(GrVkGpu*, SkISize, sk_sp<GrVkAttachment> texture, GrMipmapStatus,
DGrVkTextureRenderTarget.cpp31 GrMipmapStatus mipmapStatus) in GrVkTextureRenderTarget()
45 GrMipmapStatus mipmapStatus, in GrVkTextureRenderTarget()
81 GrMipmapStatus mipmapStatus, in MakeNewTextureRenderTarget()
136 GrMipmapStatus mipmapStatus = in MakeWrappedTextureRenderTarget()
137 info.fLevelCount > 1 ? GrMipmapStatus::kDirty : GrMipmapStatus::kNotAllocated; in MakeWrappedTextureRenderTarget()
DGrVkTextureRenderTarget.h36 GrMipmapStatus mipmapStatus,
70 GrMipmapStatus);
77 GrMipmapStatus,
/external/skia/src/gpu/mock/
DGrMockGpu.cpp112 GrMipmapStatus mipmapStatus = in onCreateTexture()
113 mipLevelCount > 1 ? GrMipmapStatus::kDirty : GrMipmapStatus::kNotAllocated; in onCreateTexture()
142 GrMipmapStatus mipmapStatus = (mipMapped == GrMipmapped::kYes) in onCreateCompressedTexture()
143 ? GrMipmapStatus::kValid in onCreateCompressedTexture()
144 : GrMipmapStatus::kNotAllocated; in onCreateCompressedTexture()
165 GrMipmapStatus mipmapStatus = tex.hasMipmaps() ? GrMipmapStatus::kValid in onWrapBackendTexture()
166 : GrMipmapStatus::kNotAllocated; in onWrapBackendTexture()
186 GrMipmapStatus mipmapStatus = in onWrapRenderableBackendTexture()
187 tex.hasMipmaps() ? GrMipmapStatus::kValid : GrMipmapStatus::kNotAllocated; in onWrapRenderableBackendTexture()
DGrMockTexture.h22 GrMipmapStatus mipmapStatus, in GrMockTexture()
31 GrMipmapStatus mipmapStatus, in GrMockTexture()
57 GrMipmapStatus mipmapStatus, const GrMockTextureInfo& info) in GrMockTexture()
160 GrMipmapStatus mipmapStatus, in GrMockTextureRenderTarget()
174 GrMipmapStatus mipmapStatus, in GrMockTextureRenderTarget()
/external/skia/src/gpu/gl/
DGrGLTexture.h31 GrGLTexture(GrGLGpu*, SkBudgeted, const Desc&, GrMipmapStatus);
54 GrMipmapStatus,
63 GrGLTexture(GrGLGpu*, const Desc&, sk_sp<GrGLTextureParameters>, GrMipmapStatus);
68 GrMipmapStatus,
DGrGLTextureRenderTarget.h32 GrMipmapStatus);
44 GrMipmapStatus);
70 GrMipmapStatus);
DGrGLTextureRenderTarget.cpp21 GrMipmapStatus mipmapStatus) in GrGLTextureRenderTarget()
34 GrMipmapStatus mipmapStatus) in GrGLTextureRenderTarget()
70 GrMipmapStatus mipmapStatus) { in MakeWrapped()
DGrGLTexture.cpp47 GrMipmapStatus mipmapStatus) in GrGLTexture()
59 GrGLTexture::GrGLTexture(GrGLGpu* gpu, const Desc& desc, GrMipmapStatus mipmapStatus, in GrGLTexture()
75 GrMipmapStatus mipmapStatus) in GrGLTexture()
126 GrMipmapStatus mipmapStatus, in MakeWrapped()
/external/skia/src/gpu/dawn/
DGrDawnTexture.cpp17 GrMipmapStatus mipmapStatus) in GrDawnTexture()
26 GrMipmapStatus status) { in Make()
80 GrMipmapStatus status = info.fLevelCount > 1 ? GrMipmapStatus::kValid in MakeWrapped()
81 : GrMipmapStatus::kNotAllocated; in MakeWrapped()
DGrDawnTexture.h20 SkBudgeted, int mipLevels, GrMipmapStatus);
36 GrDawnTexture(GrDawnGpu*, SkISize dimensions, const GrDawnTextureInfo&, GrMipmapStatus);

12