Home
last modified time | relevance | path

Searched refs:mtlTexture (Results 1 – 25 of 35) sorted by relevance

12

/third_party/skia/src/gpu/mtl/
DGrMtlTexture.mm28 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 …]
DGrMtlGpu.mm313 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 …]
DGrMtlUtil.mm40 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 …]
DGrMtlUtil.h29 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);
DGrMtlTexture.h35 id<MTLTexture> mtlTexture() const { return fTexture->mtlTexture(); } in mtlTexture() function
DGrMtlRenderTarget.h39 id<MTLTexture> colorMTLTexture() const { return fColorAttachment->mtlTexture(); } in colorMTLTexture()
41 id<MTLTexture> resolveMTLTexture() const { return fResolveAttachment->mtlTexture(); } in resolveMTLTexture()
DGrMtlAttachment.h52 id<MTLTexture> mtlTexture() const { return fTexture; } in mtlTexture() function
DGrMtlOpsRenderPass.mm263 colorAttachment.texture = color->mtlTexture();
273 mtlStencil.texture = stencil->mtlTexture();
302 colorAttachment.resolveTexture = resolve->mtlTexture();
DGrMtlRenderTarget.mm101 info.fTexture.reset(GrRetainPtrFromId(fColorAttachment->mtlTexture()));
DGrMtlTextureRenderTarget.mm84 textureAttachment->mtlTexture().usage);
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlGpu.mm215 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 …]
DGrMtlUtil.mm122 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 …]
DGrMtlUtil.h46 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);
DGrMtlTexture.h29 id<MTLTexture> mtlTexture() const { return fTexture; } in mtlTexture() function
DGrMtlGpuCommandBuffer.mm119 GrMtlTexture* mtlTexture = static_cast<GrMtlTexture*>(texture);
121 GrMtlRenderTarget* texRT = static_cast<GrMtlRenderTarget*>(mtlTexture->asRenderTarget());
/third_party/skia/experimental/graphite/src/
DBackendTexture.cpp13 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/
DTextureMTL.mm324 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
DTextureMTL.h35 Texture(Device* device, const TextureDescriptor* descriptor, id<MTLTexture> mtlTexture);
/third_party/vulkan-headers/include/vulkan/
Dvulkan_metal.h144 MTLTexture_id mtlTexture; member
151 MTLTexture_id mtlTexture; member
/third_party/mesa3d/include/vulkan/
Dvulkan_metal.h144 MTLTexture_id mtlTexture; member
151 MTLTexture_id mtlTexture; member
/third_party/skia/experimental/graphite/src/mtl/
DMtlCommandBuffer.mm95 colorAttachment.texture = colorTexture->mtlTexture();
273 id<MTLTexture> mtlTexture = static_cast<const Texture*>(texture)->mtlTexture();
281 blitCmdEncoder->copyFromTexture(mtlTexture, srcRect, mtlBuffer, bufferOffset, bufferRowBytes);
DMtlTexture.h27 id<MTLTexture> mtlTexture() const { return fTexture.get(); } in mtlTexture() function
/third_party/skia/experimental/graphite/include/
DBackendTexture.h24 BackendTexture(SkISize dimensions, sk_cfp<mtl::Handle> mtlTexture);
/third_party/skia/experimental/graphite/include/mtl/
DMtlTypes.h51 TextureInfo(Handle mtlTexture);
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/
DVK_EXT_metal_objects.adoc99 MTLTexture_id mtlTexture;
173 MTLTexture_id mtlTexture;

12