/external/angle/src/libANGLE/renderer/metal/ |
D | mtl_render_utils.h | 26 class ContextMtl; variable 201 void ensureRenderPipelineStateCacheInitialized(ContextMtl *ctx, uint32_t numColorAttachments); 233 void ensureRenderPipelineStateCacheInitialized(ContextMtl *ctx, 278 void ensureRenderPipelineStateCacheInitialized(ContextMtl *ctx, 293 ContextMtl *ctx, 316 angle::Result convertIndexBufferGPU(ContextMtl *contextMtl, 318 angle::Result generateTriFanBufferFromArrays(ContextMtl *contextMtl, 321 angle::Result generateTriFanBufferFromElementsArray(ContextMtl *contextMtl, 325 angle::Result generateLineLoopBufferFromArrays(ContextMtl *contextMtl, 327 angle::Result generateLineLoopLastSegment(ContextMtl *contextMtl, [all …]
|
D | mtl_resources.h | 29 class ContextMtl; variable 103 static angle::Result Make2DTexture(ContextMtl *context, 113 static angle::Result MakeMemoryLess2DTexture(ContextMtl *context, 119 static angle::Result MakeCubeTexture(ContextMtl *context, 127 static angle::Result Make2DMSTexture(ContextMtl *context, 136 static angle::Result Make2DArrayTexture(ContextMtl *context, 146 static angle::Result Make3DTexture(ContextMtl *context, 156 static angle::Result MakeIOSurfaceTexture(ContextMtl *context, 174 void replace2DRegion(ContextMtl *context, 181 void replaceRegion(ContextMtl *context, [all …]
|
D | mtl_buffer_pool.h | 20 class ContextMtl; variable 67 angle::Result reset(ContextMtl *contextMtl, 76 angle::Result allocate(ContextMtl *contextMtl, 84 angle::Result commit(ContextMtl *contextMtl, bool flushEntireBuffer = false); 87 void releaseInFlightBuffers(ContextMtl *contextMtl); 90 void destroy(ContextMtl *contextMtl); 112 bool shouldAllocateInSharedMem(ContextMtl *contextMtl) const; 114 angle::Result allocateNewBuffer(ContextMtl *contextMtl); 115 void destroyBufferList(ContextMtl *contextMtl, std::deque<BufferRef> *buffers); 116 angle::Result finalizePendingBuffer(ContextMtl *contextMtl);
|
D | ContextMtl.mm | 6 // ContextMtl.mm: 7 // Implements the class methods for ContextMtl. 10 #include "libANGLE/renderer/metal/ContextMtl.h" 66 angle::Result AllocateTriangleFanBufferFromPool(ContextMtl *context, 87 angle::Result AllocateBufferFromPool(ContextMtl *context, 182 ContextMtl *mContextMtl = nullptr; 188 ContextMtl::ContextMtl(const gl::State &state, gl::ErrorSet *errorSet, DisplayMtl *display) 197 ContextMtl::~ContextMtl() {} 199 angle::Result ContextMtl::initialize() 221 void ContextMtl::onDestroy(const gl::Context *context) [all …]
|
D | BufferMtl.h | 35 ConversionBufferMtl(ContextMtl *context, size_t initialSize, size_t alignment); 50 VertexConversionBufferMtl(ContextMtl *context, 63 IndexConversionBufferMtl(ContextMtl *context, 77 UniformConversionBufferMtl(ContextMtl *context, size_t offsetIn); 140 angle::Result getFirstLastIndices(ContextMtl *contextMtl, 146 const uint8_t *getClientShadowCopyData(ContextMtl *contextMtl); 148 ConversionBufferMtl *getVertexConversionBuffer(ContextMtl *context, 153 IndexConversionBufferMtl *getIndexConversionBuffer(ContextMtl *context, 158 ConversionBufferMtl *getUniformConversionBuffer(ContextMtl *context, size_t offset); 179 bool clientShadowCopyDataNeedSync(ContextMtl *contextMtl); [all …]
|
D | mtl_occlusion_query_pool.h | 22 class ContextMtl; variable 34 void destroy(ContextMtl *contextMtl); 42 angle::Result allocateQueryOffset(ContextMtl *contextMtl, QueryMtl *query, bool clearOldValue); 44 void deallocateQueryOffset(ContextMtl *contextMtl, QueryMtl *query); 50 void resolveVisibilityResults(ContextMtl *contextMtl);
|
D | SyncMtl.h | 29 class ContextMtl; variable 45 angle::Result initialize(ContextMtl *contextMtl); 47 angle::Result set(ContextMtl *contextMtl, GLenum condition, GLbitfield flags); 48 angle::Result clientWait(ContextMtl *contextMtl, 52 void serverWait(ContextMtl *contextMtl); 68 angle::Result initialize(ContextMtl *context) 73 angle::Result set(ContextMtl *contextMtl, GLenum condition, GLbitfield flags) 78 angle::Result clientWait(ContextMtl *context, 86 void serverWait(ContextMtl *contextMtl) { UNREACHABLE(); }
|
D | mtl_resources.mm | 17 #include "libANGLE/renderer/metal/ContextMtl.h" 37 void InvokeCPUMemSync(ContextMtl *context, mtl::BlitCommandEncoder *blitEncoder, T *resource) 50 void EnsureCPUMemWillBeSynced(ContextMtl *context, T *resource) 104 angle::Result Texture::Make2DTexture(ContextMtl *context, 125 angle::Result Texture::MakeMemoryLess2DTexture(ContextMtl *context, 143 angle::Result Texture::MakeCubeTexture(ContextMtl *context, 163 angle::Result Texture::Make2DMSTexture(ContextMtl *context, 187 angle::Result Texture::Make2DArrayTexture(ContextMtl *context, 214 angle::Result Texture::Make3DTexture(ContextMtl *context, 243 angle::Result Texture::MakeIOSurfaceTexture(ContextMtl *context, [all …]
|
D | SyncMtl.mm | 17 #include "libANGLE/renderer/metal/ContextMtl.h" 36 angle::Result Sync::initialize(ContextMtl *contextMtl) 50 angle::Result Sync::set(ContextMtl *contextMtl, GLenum condition, GLbitfield flags) 63 angle::Result Sync::clientWait(ContextMtl *contextMtl, 111 void Sync::serverWait(ContextMtl *contextMtl) 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); [all …]
|
D | ProgramMtl.h | 32 class ContextMtl; variable 36 void reset(ContextMtl *contextMtl); 46 void reset(ContextMtl *contextMtl); 182 angle::Result commitUniforms(ContextMtl *context, mtl::RenderCommandEncoder *cmdEncoder); 187 angle::Result updateUniformBuffers(ContextMtl *context, 190 angle::Result updateXfbBuffers(ContextMtl *context, 193 angle::Result legalizeUniformBufferOffsets(ContextMtl *context, 195 angle::Result bindUniformBuffersToDiscreteSlots(ContextMtl *context, 200 ContextMtl *context, 205 void reset(ContextMtl *context); [all …]
|
D | BufferMtl.mm | 14 #include "libANGLE/renderer/metal/ContextMtl.h" 45 ConversionBufferMtl::ConversionBufferMtl(ContextMtl *contextMtl, 56 IndexConversionBufferMtl::IndexConversionBufferMtl(ContextMtl *context, 77 UniformConversionBufferMtl::UniformConversionBufferMtl(ContextMtl *context, size_t offsetIn) 83 VertexConversionBufferMtl::VertexConversionBufferMtl(ContextMtl *context, 102 ContextMtl *contextMtl = mtl::GetImpl(context); 139 ContextMtl *contextMtl = mtl::GetImpl(context); 181 ContextMtl *contextMtl = mtl::GetImpl(context); 199 ContextMtl *contextMtl = mtl::GetImpl(context); 260 angle::Result BufferMtl::getFirstLastIndices(ContextMtl *contextMtl, [all …]
|
D | mtl_render_utils.mm | 16 #include "libANGLE/renderer/metal/ContextMtl.h" 160 ScopedDisableOcclusionQuery(ContextMtl *contextMtl, 188 ContextMtl *mContextMtl; 235 angle::Result GenTriFanFromClientElements(ContextMtl *contextMtl, 319 angle::Result GenPrimitiveRestartBuffer(ContextMtl *contextMtl, 370 angle::Result GenLineLoopFromClientElements(ContextMtl *contextMtl, 724 void DispatchCompute(ContextMtl *contextMtl, 745 void DispatchCompute(ContextMtl *contextMtl, 1075 angle::Result RenderUtils::convertIndexBufferGPU(ContextMtl *contextMtl, 1081 ContextMtl *contextMtl, [all …]
|
D | QueryMtl.mm | 12 #include "libANGLE/renderer/metal/ContextMtl.h" 22 ContextMtl *contextMtl = mtl::GetImpl(context); 32 ContextMtl *contextMtl = mtl::GetImpl(context); 64 ContextMtl *contextMtl = mtl::GetImpl(context); 91 ContextMtl *contextMtl = mtl::GetImpl(context); 124 ContextMtl *contextMtl = mtl::GetImpl(context); 165 void QueryMtl::resetVisibilityResult(ContextMtl *contextMtl)
|
D | mtl_buffer_pool.mm | 12 #include "libANGLE/renderer/metal/ContextMtl.h" 40 angle::Result BufferPool::reset(ContextMtl *contextMtl, 113 bool BufferPool::shouldAllocateInSharedMem(ContextMtl *contextMtl) const 131 angle::Result BufferPool::allocateNewBuffer(ContextMtl *contextMtl) 172 angle::Result BufferPool::allocate(ContextMtl *contextMtl, 253 angle::Result BufferPool::commit(ContextMtl *contextMtl, bool flushEntireBuffer) 270 angle::Result BufferPool::finalizePendingBuffer(ContextMtl *contextMtl) 288 void BufferPool::releaseInFlightBuffers(ContextMtl *contextMtl) 312 void BufferPool::destroyBufferList(ContextMtl *contextMtl, std::deque<BufferRef> *buffers) 319 void BufferPool::destroy(ContextMtl *contextMtl)
|
D | VertexArrayMtl.h | 22 class ContextMtl; variable 27 VertexArrayMtl(const gl::VertexArrayState &state, ContextMtl *context); 64 void reset(ContextMtl *context); 102 angle::Result convertVertexBufferCPU(ContextMtl *contextMtl,
|
D | SamplerMtl.mm | 14 #include "libANGLE/renderer/metal/ContextMtl.h" 30 const mtl::AutoObjCPtr<id<MTLSamplerState>> &SamplerMtl::getSampler(ContextMtl *contextMtl) 54 ContextMtl *contextMtl = mtl::GetImpl(context);
|
D | SamplerMtl.h | 19 class ContextMtl; variable 29 const mtl::AutoObjCPtr<id<MTLSamplerState>> &getSampler(ContextMtl *contextMtl);
|
D | mtl_occlusion_query_pool.mm | 12 #include "libANGLE/renderer/metal/ContextMtl.h" 25 void OcclusionQueryPool::destroy(ContextMtl *contextMtl) 39 angle::Result OcclusionQueryPool::allocateQueryOffset(ContextMtl *contextMtl, 102 void OcclusionQueryPool::deallocateQueryOffset(ContextMtl *contextMtl, QueryMtl *query) 114 void OcclusionQueryPool::resolveVisibilityResults(ContextMtl *contextMtl)
|
D | TransformFeedbackMtl.h | 18 class ContextMtl; variable 40 angle::Result getBufferOffsets(ContextMtl *contextMtl,
|
D | mtl_utils.h | 27 class ContextMtl; variable 30 void StartFrameCapture(ContextMtl *context); 184 angle::Result TriangleFanBoundCheck(ContextMtl *context, size_t numTris); 186 angle::Result GetTriangleFanIndicesCount(ContextMtl *context,
|
D | VertexArrayMtl.mm | 15 #include "libANGLE/renderer/metal/ContextMtl.h" 28 angle::Result StreamVertexData(ContextMtl *contextMtl, 53 const mtl::VertexFormat &GetVertexConversionFormat(ContextMtl *contextMtl, 78 angle::Result StreamIndexData(ContextMtl *contextMtl, 168 VertexArrayMtl::VertexArrayMtl(const gl::VertexArrayState &state, ContextMtl *context) 187 ContextMtl *contextMtl = mtl::GetImpl(context); 195 void VertexArrayMtl::reset(ContextMtl *context) 358 ContextMtl *contextMtl = mtl::GetImpl(glContext); 488 ContextMtl *contextMtl = mtl::GetImpl(context); 609 ContextMtl *contextMtl = mtl::GetImpl(glContext); [all …]
|
D | SurfaceMtl.mm | 16 #include "libANGLE/renderer/metal/ContextMtl.h" 49 ContextMtl *contextMtl = mtl::GetImpl(context); 149 ContextMtl *contextMtl = mtl::GetImpl(context); 157 ContextMtl *contextMtl = mtl::GetImpl(context); 253 ContextMtl *contextMtl = mtl::GetImpl(context); 312 ContextMtl *contextMtl = mtl::GetImpl(context); 368 ContextMtl *contextMtl = mtl::GetImpl(context); 611 ContextMtl *contextMtl = mtl::GetImpl(context); 660 ContextMtl *contextMtl = mtl::GetImpl(context); 708 ContextMtl *contextMtl = mtl::GetImpl(context); [all …]
|
D | QueryMtl.h | 20 class ContextMtl; variable 100 void resetVisibilityResult(ContextMtl *contextMtl);
|
D | TextureMtl.mm | 20 #include "libANGLE/renderer/metal/ContextMtl.h" 237 ContextMtl *contextMtl, 271 ContextMtl *contextMtl, 310 ContextMtl *contextMtl, 393 ContextMtl *contextMtl = mtl::GetImpl(context); 543 ContextMtl *contextMtl = mtl::GetImpl(context); 563 ContextMtl *contextMtl = mtl::GetImpl(context); 649 ContextMtl *contextMtl = mtl::GetImpl(context); 688 ContextMtl *contextMtl = mtl::GetImpl(context); 947 ContextMtl *contextMtl = mtl::GetImpl(context); [all …]
|
D | ProgramMtl.mm | 22 #include "libANGLE/renderer/metal/ContextMtl.h" 54 angle::Result StreamUniformBufferData(ContextMtl *contextMtl, 223 void ProgramArgumentBufferEncoderMtl::reset(ContextMtl *contextMtl) 230 void ProgramShaderObjVariantMtl::reset(ContextMtl *contextMtl) 270 void ProgramMtl::reset(ContextMtl *context) 367 ContextMtl *contextMtl = mtl::GetImpl(glContext); 415 ContextMtl *contextMtl = mtl::GetImpl(glContext); 464 ContextMtl *contextMtl = mtl::GetImpl(glContext); 483 mtl::BufferPool *ProgramMtl::getBufferPool(ContextMtl *context) 568 ContextMtl *contextMtl = mtl::GetImpl(glContext); [all …]
|