/third_party/skia/src/gpu/mtl/ |
D | GrMtlTexture.mm | 28 SkDEBUGCODE(id<MTLTexture> mtlTexture = fTexture->mtlTexture();) 29 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == mtlTexture.mipmapLevelCount)); 31 SkASSERT(SkToBool(mtlTexture.usage & MTLTextureUsageShaderRead)); 33 SkASSERT(!mtlTexture.framebufferOnly); 50 SkDEBUGCODE(id<MTLTexture> mtlTexture = fTexture->mtlTexture();) 51 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == mtlTexture.mipmapLevelCount)); 53 SkASSERT(SkToBool(mtlTexture.usage & MTLTextureUsageShaderRead)); 55 SkASSERT(!mtlTexture.framebufferOnly); 69 SkDEBUGCODE(id<MTLTexture> mtlTexture = fTexture->mtlTexture();) 70 SkASSERT((GrMipmapStatus::kNotAllocated == mipmapStatus) == (1 == mtlTexture.mipmapLevelCount)); [all …]
|
D | GrMtlGpu.mm | 313 SkASSERT(this->mtlCaps().isFormatTexturable(tex->mtlTexture().pixelFormat)); 331 id<MTLTexture> GR_NORETAIN mtlTexture = tex->mtlTexture(); 332 SkASSERT(mtlTexture); 334 SkASSERT(1 == mipLevelCount || mipLevelCount == (int)mtlTexture.mipmapLevelCount); 396 toTexture: mtlTexture 414 if (mipLevelCount < (int) tex->mtlTexture().mipmapLevelCount) { 422 SkASSERT(this->mtlCaps().isFormatTexturable(tex->mtlTexture().pixelFormat)); 428 id<MTLTexture> GR_NORETAIN mtlTexture = tex->mtlTexture(); 429 SkASSERT(mtlTexture); 431 int mipLevelCount = (int)mtlTexture.mipmapLevelCount; [all …]
|
D | GrMtlUtil.mm | 40 MTLTextureDescriptor* GrGetMTLTextureDescriptor(id<MTLTexture> mtlTexture) { 42 texDesc.textureType = mtlTexture.textureType; 43 texDesc.pixelFormat = mtlTexture.pixelFormat; 44 texDesc.width = mtlTexture.width; 45 texDesc.height = mtlTexture.height; 46 texDesc.depth = mtlTexture.depth; 47 texDesc.mipmapLevelCount = mtlTexture.mipmapLevelCount; 48 texDesc.arrayLength = mtlTexture.arrayLength; 49 texDesc.sampleCount = mtlTexture.sampleCount; 51 texDesc.usage = mtlTexture.usage; [all …]
|
D | GrMtlUtil.h | 29 SK_ALWAYS_INLINE id<MTLTexture> GrGetMTLTexture(const void* mtlTexture) { in GrGetMTLTexture() argument 31 return (__bridge id<MTLTexture>)mtlTexture; in GrGetMTLTexture() 33 return (id<MTLTexture>)mtlTexture; in GrGetMTLTexture() 66 MTLTextureDescriptor* GrGetMTLTextureDescriptor(id<MTLTexture> mtlTexture);
|
D | GrMtlTexture.h | 35 id<MTLTexture> mtlTexture() const { return fTexture->mtlTexture(); } in mtlTexture() function
|
D | GrMtlRenderTarget.h | 39 id<MTLTexture> colorMTLTexture() const { return fColorAttachment->mtlTexture(); } in colorMTLTexture() 41 id<MTLTexture> resolveMTLTexture() const { return fResolveAttachment->mtlTexture(); } in resolveMTLTexture()
|
D | GrMtlAttachment.h | 52 id<MTLTexture> mtlTexture() const { return fTexture; } in mtlTexture() function
|
D | GrMtlOpsRenderPass.mm | 263 colorAttachment.texture = color->mtlTexture(); 273 mtlStencil.texture = stencil->mtlTexture(); 302 colorAttachment.resolveTexture = resolve->mtlTexture();
|
D | GrMtlRenderTarget.mm | 101 info.fTexture.reset(GrRetainPtrFromId(fColorAttachment->mtlTexture()));
|
D | GrMtlTextureRenderTarget.mm | 84 textureAttachment->mtlTexture().usage);
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 215 id<MTLTexture> mtlTexture = tex->mtlTexture(); 216 SkASSERT(mtlTexture); 218 SkASSERT(1 == mipLevelCount || mipLevelCount == (int)mtlTexture.mipmapLevelCount); 270 toTexture: mtlTexture 283 if (mipLevelCount < (int) tex->mtlTexture().mipmapLevelCount) { 297 id<MTLTexture> mtlTexture = tex->mtlTexture(); 298 SkASSERT(mtlTexture); 300 int mipLevelCount = (int)mtlTexture.mipmapLevelCount; 360 toTexture: mtlTexture 369 if (mipLevelCount < (int) tex->mtlTexture().mipmapLevelCount) { [all …]
|
D | GrMtlUtil.mm | 122 MTLTextureDescriptor* GrGetMTLTextureDescriptor(id<MTLTexture> mtlTexture) { 124 texDesc.textureType = mtlTexture.textureType; 125 texDesc.pixelFormat = mtlTexture.pixelFormat; 126 texDesc.width = mtlTexture.width; 127 texDesc.height = mtlTexture.height; 128 texDesc.depth = mtlTexture.depth; 129 texDesc.mipmapLevelCount = mtlTexture.mipmapLevelCount; 130 texDesc.arrayLength = mtlTexture.arrayLength; 131 texDesc.sampleCount = mtlTexture.sampleCount; 132 texDesc.usage = mtlTexture.usage; [all …]
|
D | GrMtlUtil.h | 46 SK_ALWAYS_INLINE id<MTLTexture> GrGetMTLTexture(const void* mtlTexture) { in GrGetMTLTexture() argument 47 return (__bridge id<MTLTexture>)mtlTexture; in GrGetMTLTexture() 70 MTLTextureDescriptor* GrGetMTLTextureDescriptor(id<MTLTexture> mtlTexture);
|
D | GrMtlTexture.h | 29 id<MTLTexture> mtlTexture() const { return fTexture; } in mtlTexture() function
|
D | GrMtlGpuCommandBuffer.mm | 119 GrMtlTexture* mtlTexture = static_cast<GrMtlTexture*>(texture); 121 GrMtlRenderTarget* texRT = static_cast<GrMtlRenderTarget*>(mtlTexture->asRenderTarget());
|
/third_party/skia/experimental/graphite/src/ |
D | BackendTexture.cpp | 13 BackendTexture::BackendTexture(SkISize dimensions, sk_cfp<mtl::Handle> mtlTexture) in BackendTexture() argument 15 , fInfo(mtl::TextureInfo(mtlTexture.get())) in BackendTexture() 16 , fMtlTexture(std::move(mtlTexture)) {} in BackendTexture()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | TextureMTL.mm | 324 Texture::Texture(Device* device, const TextureDescriptor* descriptor, id<MTLTexture> mtlTexture) 325 : TextureBase(device, descriptor, TextureState::OwnedInternal), mMtlTexture(mtlTexture) { 357 id<MTLTexture> mtlTexture = ToBackend(texture)->GetMTLTexture(); 362 mMtlTextureView = [mtlTexture retain]; 371 mMtlTextureView = [mtlTexture newTextureViewWithPixelFormat:format
|
D | TextureMTL.h | 35 Texture(Device* device, const TextureDescriptor* descriptor, id<MTLTexture> mtlTexture);
|
/third_party/vulkan-headers/include/vulkan/ |
D | vulkan_metal.h | 144 MTLTexture_id mtlTexture; member 151 MTLTexture_id mtlTexture; member
|
/third_party/mesa3d/include/vulkan/ |
D | vulkan_metal.h | 144 MTLTexture_id mtlTexture; member 151 MTLTexture_id mtlTexture; member
|
/third_party/skia/experimental/graphite/src/mtl/ |
D | MtlCommandBuffer.mm | 95 colorAttachment.texture = colorTexture->mtlTexture(); 273 id<MTLTexture> mtlTexture = static_cast<const Texture*>(texture)->mtlTexture(); 281 blitCmdEncoder->copyFromTexture(mtlTexture, srcRect, mtlBuffer, bufferOffset, bufferRowBytes);
|
D | MtlTexture.h | 27 id<MTLTexture> mtlTexture() const { return fTexture.get(); } in mtlTexture() function
|
/third_party/skia/experimental/graphite/include/ |
D | BackendTexture.h | 24 BackendTexture(SkISize dimensions, sk_cfp<mtl::Handle> mtlTexture);
|
/third_party/skia/experimental/graphite/include/mtl/ |
D | MtlTypes.h | 51 TextureInfo(Handle mtlTexture);
|
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/ |
D | VK_EXT_metal_objects.adoc | 99 MTLTexture_id mtlTexture; 173 MTLTexture_id mtlTexture;
|