Home | History | Annotate | Download | only in mtl

Lines Matching refs:texture

17                            id<MTLTexture> texture,
21 , fTexture(texture) {
22 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == texture.mipmapLevelCount));
29 id<MTLTexture> texture,
35 , fTexture(texture) {
36 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == texture.mipmapLevelCount));
45 id<MTLTexture> texture,
49 , fTexture(texture) {
50 SkASSERT((GrMipMapsStatus::kNotAllocated == mipMapsStatus) == (1 == texture.mipmapLevelCount));
61 id<MTLTexture> texture = [gpu->device() newTextureWithDescriptor:texDesc];
62 SkASSERT(nil != texture);
63 SkASSERT(MTLTextureUsageShaderRead & texture.usage);
64 return sk_sp<GrMtlTexture>(new GrMtlTexture(gpu, budgeted, desc, texture, mipMapsStatus));
69 id<MTLTexture> texture,
76 SkASSERT(nil != texture);
77 SkASSERT(MTLTextureUsageShaderRead & texture.usage);
78 GrMipMapsStatus mipMapsStatus = texture.mipmapLevelCount > 1 ? GrMipMapsStatus::kValid
80 return sk_sp<GrMtlTexture>(new GrMtlTexture(gpu, kWrapped, desc, texture, mipMapsStatus,