/external/angle/src/libANGLE/renderer/metal/ |
D | RenderTargetMtl.h | 35 void set(const mtl::TextureRef &texture, 36 const mtl::MipmapNativeLevel &level, 38 const mtl::Format &format); 39 void setWithImplicitMSTexture(const mtl::TextureRef &texture, 40 const mtl::TextureRef &implicitMSTexture, 41 const mtl::MipmapNativeLevel &level, 43 const mtl::Format &format); 44 void setTexture(const mtl::TextureRef &texture); 45 void setImplicitMSTexture(const mtl::TextureRef &implicitMSTexture); 49 mtl::TextureRef getTexture() const { return mTexture.lock(); } in getTexture() [all …]
|
D | ProgramMtl.h | 38 mtl::AutoObjCPtr<id<MTLArgumentEncoder>> metalArgBufferEncoder; 39 mtl::BufferPool bufferPool; 48 mtl::AutoObjCPtr<id<MTLFunction>> metalShader; 55 const mtl::TranslatedShaderInfo *translatedSrcInfo; 58 class ProgramMtl : public ProgramImpl, public mtl::RenderPipelineCacheSpecializeShaderFactory 133 angle::Result getSpecializedShader(mtl::Context *context, 135 const mtl::RenderPipelineDesc &renderPipelineDesc, 138 const mtl::RenderPipelineDesc &renderPipelineDesc) override; 141 mtl::Context *context, 144 mtl::TranslatedShaderInfo *translatedMslInfo, [all …]
|
D | RenderTargetMtl.mm | 28 void RenderTargetMtl::set(const mtl::TextureRef &texture, 29 const mtl::MipmapNativeLevel &level, 31 const mtl::Format &format) 36 void RenderTargetMtl::setWithImplicitMSTexture(const mtl::TextureRef &texture, 37 const mtl::TextureRef &implicitMSTexture, 38 const mtl::MipmapNativeLevel &level, 40 const mtl::Format &format) 49 void RenderTargetMtl::setTexture(const mtl::TextureRef &texture) 54 void RenderTargetMtl::setImplicitMSTexture(const mtl::TextureRef &implicitMSTexture) 69 mLevelIndex = mtl::kZeroNativeMipLevel; [all …]
|
D | VertexArrayMtl.h | 50 mtl::RenderCommandEncoder *cmdEncoder, 52 mtl::VertexDesc *vertexDescOut); 59 mtl::BufferRef *idxBufferOut, 79 mtl::BufferRef *idxBufferOut, 86 mtl::BufferRef *idxBufferOut, 100 const mtl::VertexFormat &vertexFormat); 106 const mtl::VertexFormat &convertedFormat, 114 const mtl::VertexFormat &convertedFormat, 138 gl::AttribArray<const mtl::VertexFormat *> mCurrentArrayBufferFormats; 140 const mtl::VertexFormat &mDefaultFloatVertexFormat; [all …]
|
D | RenderBufferMtl.mm | 41 ContextMtl *contextMtl = mtl::GetImpl(context); 79 ANGLE_TRY(mtl::Texture::Make2DTexture( 92 ANGLE_TRY(mtl::Texture::Make2DMSTexture( 101 ANGLE_TRY(mtl::Texture::Make2DMSTexture( 109 mtl::kZeroNativeMipLevel, 0, mFormat); 113 bool emulatedChannels = mtl::IsFormatEmulated(mFormat); 127 ANGLE_TRY(mtl::InitializeTextureContents(context, mTexture, mFormat, 128 mtl::ImageNativeIndex(index, 0))); 131 ANGLE_TRY(mtl::InitializeTextureContents( 133 mtl::ImageNativeIndex(gl::ImageIndex::Make2DMultisample(), 0))); [all …]
|
D | FrameBufferMtl.h | 21 namespace mtl 105 mtl::RenderCommandEncoder *ensureRenderPassStarted(const gl::Context *context); 133 const mtl::BlitParams &baseParams); 136 mtl::ClearRectParams *clearOpts); 140 const mtl::ClearRectParams &clearOpts); 144 const mtl::ClearRectParams &clearOpts); 148 const mtl::ClearRectParams &clearOpts, 149 mtl::RenderCommandEncoder *encoder); 153 const mtl::ClearRectParams &clearOpts); 157 void setLoadStoreActionOnRenderPassFirstStart(mtl::RenderPassAttachmentDesc *attachmentOut, [all …]
|
D | ContextMtl.h | 35 class ContextMtl : public ContextImpl, public mtl::Context 301 void queueEventSignal(const mtl::SharedEventRef &event, uint64_t value); 302 void serverWaitEvent(const mtl::SharedEventRef &event, uint64_t value); 304 const mtl::ClearColorValue &getClearColorValue() const; 305 const mtl::WriteMaskArray &getWriteMaskArray() const; 312 const mtl::Format &getPixelFormat(angle::FormatID angleFormatId) const; 313 const mtl::FormatCaps &getNativeFormatCaps(MTLPixelFormat mtlFormat) const; 315 const mtl::VertexFormat &getVertexFormat(angle::FormatID angleFormatId, 324 void endRenderEncoding(mtl::RenderCommandEncoder *encoder); 334 bool hasStartedRenderPass(const mtl::RenderPassDesc &desc); [all …]
|
D | DisplayMtl.h | 133 mtl::CommandQueue &cmdQueue() { return mCmdQueue; } in cmdQueue() 134 const mtl::FormatTable &getFormatTable() const { return mFormatTable; } in getFormatTable() 135 mtl::RenderUtils &getUtils() { return mUtils; } in getUtils() 136 mtl::StateCache &getStateCache() { return mStateCache; } in getStateCache() 140 id<MTLDepthStencilState> getDepthStencilState(const mtl::DepthStencilDesc &desc) in getDepthStencilState() 144 id<MTLSamplerState> getSamplerState(const mtl::SamplerDesc &desc) in getSamplerState() 149 const mtl::Format &getPixelFormat(angle::FormatID angleFormatId) const in getPixelFormat() 153 const mtl::FormatCaps &getNativeFormatCaps(MTLPixelFormat mtlFormat) const in getNativeFormatCaps() 159 const mtl::VertexFormat &getVertexFormat(angle::FormatID angleFormatId, in getVertexFormat() 165 mtl::AutoObjCObj<MTLSharedEventListener> getOrCreateSharedEventListener(); [all …]
|
D | TextureMtl.h | 27 mtl::TextureRef image; 36 TextureMtl(const TextureMtl &mtl, GLenum format); 165 mtl::RenderCommandEncoder *cmdEncoder, 171 const mtl::Format &getFormat() const { return mFormat; } in getFormat() 172 const mtl::TextureRef &getNativeTexture() const { return mNativeTexture; } in getNativeTexture() 187 mtl::TextureRef createImageViewFromNativeTexture(GLuint cubeFaceOrZero, 188 const mtl::MipmapNativeLevel &nativeLevel); 191 const mtl::Format &mtlFormat, 192 const mtl::TextureRef &texture); 193 mtl::MipmapNativeLevel getNativeLevel(const gl::ImageIndex &imageIndex) const; [all …]
|
D | FrameBufferMtl.mm | 30 void OverrideMTLClearColor(const mtl::TextureRef &texture, 31 const mtl::ClearColorValue &clearColor, 35 mtl::EmulatedAlphaClearColor(clearColor.toMTLClearColor(), texture->getColorWritableMask()); 97 return invalidateImpl(mtl::GetImpl(context), count, attachments); 107 return invalidateImpl(mtl::GetImpl(context), count, attachments); 114 ContextMtl *contextMtl = mtl::GetImpl(context); 116 mtl::ClearRectParams clearOpts; 145 mtl::ClearRectParams clearOpts; 155 clearOpts.clearColor = mtl::ClearColorValue(values[0], values[1], values[2], values[3]); 168 mtl::ClearRectParams clearOpts; [all …]
|
D | TextureMtl.mm | 37 gl::ImageIndex GetZeroLevelIndex(const mtl::TextureRef &image) 60 gl::ImageIndex GetCubeOrArraySliceMipIndex(const mtl::TextureRef &image, 89 gl::ImageIndex GetLayerMipIndex(const mtl::TextureRef &image, uint32_t layer, uint32_t level) 247 mtl::BufferRef *bufferOut) 252 mtl::BufferRef stagingBuffer; 253 ANGLE_TRY(mtl::Buffer::MakeBuffer(contextMtl, stagingBufferSize, nullptr, &stagingBuffer)); 274 const mtl::MipmapNativeLevel &mipmapLevel, 279 const mtl::TextureRef &texture) 293 mtl::BufferRef stagingBuffer; 300 mtl::BlitCommandEncoder *encoder = contextMtl->getBlitCommandEncoder(); [all …]
|
D | VertexArrayMtl.mm | 29 mtl::BufferPool *dynamicBuffer, 41 mtl::BufferRef newBuffer; 53 const mtl::VertexFormat &GetVertexConversionFormat(ContextMtl *contextMtl, 58 const mtl::VertexFormat &packedFormat = contextMtl->getVertexFormat(originalFormat, true); 79 mtl::BufferPool *dynamicBuffer, 85 mtl::BufferRef *bufferOut, 158 inline void SetDefaultVertexBufferLayout(mtl::VertexBufferLayoutDesc *layout) 160 layout->stepFunction = mtl::kVertexStepFunctionInvalid; 177 mDynamicVertexData.initialize(context, 0, mtl::kVertexAttribBufferStrideAlignment, 178 /** maxBuffers */ 10 * mtl::kMaxVertexAttribs); [all …]
|
D | ProgramMtl.mm | 55 mtl::BufferPool *dynamicBuffer, 59 mtl::BufferRef *bufferOut, 171 void InitArgumentBufferEncoder(mtl::Context *context, 180 mtl::kArgumentBufferOffsetAlignment, 0); 184 angle::Result CreateMslShader(mtl::Context *context, 187 mtl::AutoObjCPtr<id<MTLFunction>> *shaderOut) 250 mMetalXfbRenderPipelineCache = new mtl::RenderPipelineCache(this); 260 auto contextMtl = mtl::GetImpl(context); 293 if (mAuxBufferPool->reset(context, mtl::kDefaultUniformsMaxSize * 2, 294 mtl::kUniformBufferSettingOffsetMinAlignment, [all …]
|
D | ImageMtl.h | 41 const mtl::TextureRef &getTexture() const { return mNativeTexture; } in getTexture() 42 const mtl::Format &getFormatMtl() const { return mFormat; } in getFormatMtl() 49 mtl::Format mFormat; 54 mtl::TextureRef mNativeTexture; 68 const mtl::TextureRef &getTexture() const { return mNativeTexture; } in getTexture() 78 mtl::TextureRef mNativeTexture;
|
D | ContextMtl.mm | 68 mtl::BufferPool *pool, 69 mtl::BufferRef *bufferOut, 74 ANGLE_TRY(mtl::GetTriangleFanIndicesCount(context, vertexCount, &numIndices)); 89 mtl::BufferPool *pool, 90 mtl::BufferRef *bufferOut, 142 mtl::RenderCommandEncoder *encoder = mContextMtl->getRenderCommandEncoder(); 148 mtl::BufferPool *indexBufferPool, 154 mContextMtl = mtl::GetImpl(context); 183 mtl::BufferRef mLineLoopIndexBuffer; 190 mtl::Context(display), [all …]
|
D | SurfaceMtl.h | 79 const mtl::TextureRef &getColorTexture() { return mColorTexture; } in getColorTexture() 80 const mtl::Format &getColorFormat() const { return mColorFormat; } in getColorFormat() 98 mtl::TextureRef mColorTexture; 99 mtl::TextureRef mDepthTexture; 100 mtl::TextureRef mStencilTexture; 103 mtl::TextureRef mMSColorTexture; 111 mtl::Format mColorFormat; 112 mtl::Format mDepthFormat; 113 mtl::Format mStencilFormat; 174 mtl::AutoObjCObj<CAMetalLayer> mMetalLayer = nil; [all …]
|
D | BufferMtl.h | 42 mtl::BufferPool data; 44 mtl::BufferRef convertedBuffer; 93 mtl::BufferRef getCurrentBuffer() { return mIsWeak ? mBufferWeakRef.lock() : mBuffer; } in getCurrentBuffer() 96 mtl::BufferRef mBuffer; 97 mtl::BufferWeakRef mBufferWeakRef; 186 return getClientShadowCopyData(mtl::GetImpl(context)); in getClientShadowCopyData() 192 mtl::BufferPool mBufferPool; 207 void set(const mtl::BufferRef &buffer) { mBufferWeakRef = buffer; } in set()
|
D | SurfaceMtl.mm | 42 const mtl::Format &format, 47 mtl::TextureRef *textureOut) 49 ContextMtl *contextMtl = mtl::GetImpl(context); 57 ANGLE_TRY(mtl::Texture::Make2DMSTexture(contextMtl, format, width, height, samples, 64 ANGLE_TRY(mtl::Texture::Make2DTexture(contextMtl, format, width, height, 1, 149 ContextMtl *contextMtl = mtl::GetImpl(context); 157 ContextMtl *contextMtl = mtl::GetImpl(context); 253 ContextMtl *contextMtl = mtl::GetImpl(context); 256 mtl::RenderPassDesc rpDesc; 264 mtl::EmulatedAlphaClearColor(black, mColorTexture->getColorWritableMask()); [all …]
|
D | QueryMtl.mm | 22 ContextMtl *contextMtl = mtl::GetImpl(context); 32 ContextMtl *contextMtl = mtl::GetImpl(context); 40 ANGLE_TRY(mtl::Buffer::MakeBuffer(contextMtl, mtl::kOcclusionQueryResultSize, 64 ContextMtl *contextMtl = mtl::GetImpl(context); 91 ContextMtl *contextMtl = mtl::GetImpl(context); 124 ContextMtl *contextMtl = mtl::GetImpl(context); 172 blitEncoder->fillBuffer(mVisibilityResultBuffer, NSMakeRange(0, mtl::kOcclusionQueryResultSize),
|
D | SyncMtl.mm | 22 namespace mtl 121 } // namespace mtl 136 ContextMtl *contextMtl = mtl::GetImpl(context); 151 ContextMtl *contextMtl = mtl::GetImpl(context); 180 ContextMtl *contextMtl = mtl::GetImpl(context); 189 ContextMtl *contextMtl = mtl::GetImpl(context); 203 ContextMtl *contextMtl = mtl::GetImpl(context); 237 ContextMtl *contextMtl = mtl::GetImpl(context); 256 ContextMtl *contextMtl = mtl::GetImpl(context); 292 ContextMtl *contextMtl = mtl::GetImpl(context);
|
/external/eigen/bench/ |
D | BenchSparseUtil.h | 86 typedef mtl::compressed2D<Scalar, mtl::matrix::parameters<mtl::tag::col_major> > MtlSparse; 87 typedef mtl::compressed2D<Scalar, mtl::matrix::parameters<mtl::tag::row_major> > MtlSparseRowMajor; 90 mtl::matrix::inserter<MtlSparse> ins(dst); in eiToMtl()
|
/external/skqp/gn/ |
D | gpu.gni | 677 "$_include/gpu/mtl/GrMtlTypes.h", 678 "$_src/gpu/mtl/GrMtlBuffer.h", 679 "$_src/gpu/mtl/GrMtlBuffer.mm", 680 "$_src/gpu/mtl/GrMtlCaps.h", 681 "$_src/gpu/mtl/GrMtlCaps.mm", 682 "$_src/gpu/mtl/GrMtlCopyManager.h", 683 "$_src/gpu/mtl/GrMtlCopyManager.mm", 684 "$_src/gpu/mtl/GrMtlCppUtil.h", 685 "$_src/gpu/mtl/GrMtlCopyPipelineState.h", 686 "$_src/gpu/mtl/GrMtlCopyPipelineState.mm", [all …]
|
/external/eigen/bench/btl/libs/mtl4/ |
D | mtl4_interface.hh | 26 using namespace mtl; 38 typedef mtl::dense2D<real, mtl::matrix::parameters<mtl::tag::col_major> > gene_matrix; 39 typedef mtl::dense_vector<real> gene_vector;
|
/external/skia/gn/ |
D | gpu.gni | 806 "$_include/gpu/mtl/GrMtlBackendContext.h", 807 "$_include/gpu/mtl/GrMtlTypes.h", 808 "$_src/gpu/mtl/GrMtlAttachment.h", 809 "$_src/gpu/mtl/GrMtlAttachment.mm", 810 "$_src/gpu/mtl/GrMtlBuffer.h", 811 "$_src/gpu/mtl/GrMtlBuffer.mm", 812 "$_src/gpu/mtl/GrMtlCaps.h", 813 "$_src/gpu/mtl/GrMtlCaps.mm", 814 "$_src/gpu/mtl/GrMtlCommandBuffer.h", 815 "$_src/gpu/mtl/GrMtlCommandBuffer.mm", [all …]
|
/external/toybox/toys/lsb/ |
D | mount.c | 293 struct mtab_list *mtl, *mtl2 = 0, *mm, *remount; in mount_main() local 327 mm = dlist_terminate(mtl = mtl2 = xgetmountlist(0)); in mount_main() 334 if (!remount) dlist_terminate(mtl = xgetmountlist("/etc/fstab")); in mount_main() 336 for (mm = remount ? remount : mtl; mm; mm = (remount ? mm->prev : mm->next)) in mount_main() 381 llist_traverse(mtl, free); in mount_main() 390 for (mtl = xgetmountlist(0); mtl && (mm = dlist_pop(&mtl)); free(mm)) { in mount_main()
|