Home
last modified time | relevance | path

Searched refs:RenderCommandEncoder (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_command_buffer.h44 class RenderCommandEncoder; variable
316 class RenderCommandEncoder final : public CommandEncoder
319 RenderCommandEncoder(CommandBuffer *cmdBuffer, const OcclusionQueryPool &queryPool);
320 ~RenderCommandEncoder() override;
329 RenderCommandEncoder &restart(const RenderPassDesc &desc);
331 RenderCommandEncoder &setRenderPipelineState(id<MTLRenderPipelineState> state);
332 RenderCommandEncoder &setTriangleFillMode(MTLTriangleFillMode mode);
333 RenderCommandEncoder &setFrontFacingWinding(MTLWinding winding);
334 RenderCommandEncoder &setCullMode(MTLCullMode mode);
336 RenderCommandEncoder &setDepthStencilState(id<MTLDepthStencilState> state);
[all …]
Dmtl_command_buffer.mm1012 // RenderCommandEncoder implemtation
1013 RenderCommandEncoder::RenderCommandEncoder(CommandBuffer *cmdBuffer,
1049 RenderCommandEncoder::~RenderCommandEncoder() {}
1051 void RenderCommandEncoder::reset()
1059 void RenderCommandEncoder::finalizeLoadStoreAction(
1096 void RenderCommandEncoder::endEncoding()
1101 void RenderCommandEncoder::endEncodingImpl(bool considerDiscardSimulation)
1153 inline void RenderCommandEncoder::initAttachmentWriteDependencyAndScissorRect(
1170 inline void RenderCommandEncoder::initWriteDependency(const TextureRef &texture)
1178 void RenderCommandEncoder::simulateDiscardFramebuffer()
[all …]
Dmtl_render_utils.h204 RenderCommandEncoder *cmdEncoder,
211 RenderCommandEncoder *cmdEncoder,
216 RenderCommandEncoder *cmdEncoder,
236 RenderCommandEncoder *cmdEncoder,
247 RenderCommandEncoder *cmdEncoder,
251 RenderCommandEncoder *cmdEncoder,
273 RenderCommandEncoder *cmdEncoder,
291 RenderCommandEncoder *cmdEncoder,
296 RenderCommandEncoder *cmdEncoder,
523 RenderCommandEncoder *renderEncoder,
[all …]
DProgramMtl.h149 mtl::RenderCommandEncoder *cmdEncoder,
186 angle::Result commitUniforms(ContextMtl *context, mtl::RenderCommandEncoder *cmdEncoder);
188 mtl::RenderCommandEncoder *cmdEncoder,
192 mtl::RenderCommandEncoder *cmdEncoder,
195 mtl::RenderCommandEncoder *cmdEncoder,
200 mtl::RenderCommandEncoder *cmdEncoder,
205 mtl::RenderCommandEncoder *cmdEncoder,
DFrameBufferMtl.h23 class RenderCommandEncoder; variable
105 mtl::RenderCommandEncoder *ensureRenderPassStarted(const gl::Context *context);
149 mtl::RenderCommandEncoder *encoder);
165 mtl::RenderCommandEncoder *ensureRenderPassStarted(const gl::Context *context,
DContextMtl.h329 void endRenderEncoding(mtl::RenderCommandEncoder *encoder);
342 mtl::RenderCommandEncoder *getRenderCommandEncoder();
348 mtl::RenderCommandEncoder *getRenderPassCommandEncoder(const mtl::RenderPassDesc &desc);
352 mtl::RenderCommandEncoder *getTextureRenderCommandEncoder(const mtl::TextureRef &textureTarget,
355 mtl::RenderCommandEncoder *getRenderTargetCommandEncoderWithClear(
359 mtl::RenderCommandEncoder *getRenderTargetCommandEncoder(const RenderTargetMtl &renderTarget);
536 mtl::RenderCommandEncoder mRenderEncoder;
Dmtl_render_utils.mm161 RenderCommandEncoder *encoder,
189 RenderCommandEncoder *mEncoder;
650 RenderPipelineDesc GetComputingVertexShaderOnlyRenderPipelineDesc(RenderCommandEncoder *cmdEncoder)
743 void SetupFullscreenQuadDrawCommonStates(RenderCommandEncoder *cmdEncoder)
750 void SetupBlitWithDrawUniformData(RenderCommandEncoder *cmdEncoder,
790 RenderCommandEncoder *cmdEncoder,
815 ANGLE_INLINE void SetComputeOrVertexBuffer(RenderCommandEncoder *encoder,
822 ANGLE_INLINE void SetComputeOrVertexBufferForWrite(RenderCommandEncoder *encoder,
845 ANGLE_INLINE void SetComputeOrVertexData(RenderCommandEncoder *encoder,
859 ANGLE_INLINE void SetPipelineState(RenderCommandEncoder *encoder,
[all …]
DFrameBufferMtl.mm467 mtl::RenderCommandEncoder *renderEncoder = nullptr;
754 mtl::RenderCommandEncoder *FramebufferMtl::ensureRenderPassStarted(const gl::Context *context)
759 mtl::RenderCommandEncoder *FramebufferMtl::ensureRenderPassStarted(const gl::Context *context,
786 mtl::RenderCommandEncoder *encoder = contextMtl->getRenderPassCommandEncoder(desc);
879 mtl::RenderCommandEncoder *encoder = contextMtl->getRenderCommandEncoder();
1094 mtl::RenderCommandEncoder *encoder = nullptr;
1163 mtl::RenderCommandEncoder *encoder)
1208 mtl::RenderCommandEncoder *encoder = ensureRenderPassStarted(context, mRenderPassDesc);
1222 mtl::RenderCommandEncoder *encoder = contextMtl->getRenderPassCommandEncoder(dsOnlyDesc);
1252 mtl::RenderCommandEncoder *encoder =
[all …]
DVertexArrayMtl.h50 mtl::RenderCommandEncoder *cmdEncoder,
DProgramMtl.mm1193 mtl::RenderCommandEncoder *cmdEncoder,
1241 angle::Result ProgramMtl::commitUniforms(ContextMtl *context, mtl::RenderCommandEncoder *cmdEncoder)
1273 mtl::RenderCommandEncoder *cmdEncoder,
1344 mtl::RenderCommandEncoder *cmdEncoder,
1470 mtl::RenderCommandEncoder *cmdEncoder,
1503 mtl::RenderCommandEncoder *cmdEncoder,
1567 mtl::RenderCommandEncoder *cmdEncoder,
DContextMtl.mm143 mtl::RenderCommandEncoder *encoder = mContextMtl->getRenderCommandEncoder();
1453 void ContextMtl::endRenderEncoding(mtl::RenderCommandEncoder *encoder)
1532 mtl::RenderCommandEncoder *ContextMtl::getRenderCommandEncoder()
1542 mtl::RenderCommandEncoder *ContextMtl::getRenderPassCommandEncoder(const mtl::RenderPassDesc &desc)
1583 mtl::RenderCommandEncoder *ContextMtl::getTextureRenderCommandEncoder(
1601 mtl::RenderCommandEncoder *ContextMtl::getRenderTargetCommandEncoderWithClear(
1624 mtl::RenderCommandEncoder *ContextMtl::getRenderTargetCommandEncoder(
1841 // Need to re-apply state to RenderCommandEncoder
2189 mtl::RenderCommandEncoder *encoder = getTextureRenderCommandEncoder(
DSurfaceMtl.mm275 mtl::RenderCommandEncoder *encoder = contextMtl->getRenderPassCommandEncoder(rpDesc);
372 mtl::RenderCommandEncoder *encoder =
DTextureMtl.h166 mtl::RenderCommandEncoder *cmdEncoder,
DVertexArrayMtl.mm369 mtl::RenderCommandEncoder *cmdEncoder,
1097 mtl::RenderCommandEncoder *renderEncoder = contextMtl->getRenderCommandEncoder();
Dmtl_utils.mm477 RenderCommandEncoder *encoder;
556 RenderCommandEncoder *encoder = contextMtl->getRenderPassCommandEncoder(rpDesc);
DTextureMtl.mm1483 mtl::RenderCommandEncoder *cmdEncoder,
2135 mtl::RenderCommandEncoder *cmdEncoder = contextMtl->getRenderTargetCommandEncoder(imageRtt);
2282 mtl::RenderCommandEncoder *cmdEncoder = contextMtl->getTextureRenderCommandEncoder(
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/doc/
DOcclusionQueries.md13 - Metal back-end object `RenderCommandEncoder`'s method restart() will create an instance of Metal
15 - Afterwards, calling `RenderCommandEncoder`'s functions such as draw(), setBuffer(), setTexture(),
17 - The render pass's encoding ends when `RenderCommandEncoder.endEncoding()` is called.
23 - Invoking `RenderCommandEncoder`'s methods such as draw(), setVisibilityResultMode(), setBuffer(),
30 - Calling `RenderCommandEncoder.endEncoding()` will:
34 - Immediately after `RenderCommandEncoder.endEncoding()`:
/third_party/skia/experimental/graphite/src/mtl/
DMtlRenderCommandEncoder.h21 class RenderCommandEncoder : public SkRefCnt {
23 static sk_sp<RenderCommandEncoder> Make(id<MTLCommandBuffer> commandBuffer, in Make()
28 return sk_sp<RenderCommandEncoder>(new RenderCommandEncoder(std::move(encoder))); in Make()
247 RenderCommandEncoder(sk_cfp<id<MTLRenderCommandEncoder>> encoder) in RenderCommandEncoder() function
DMtlCommandBuffer.h24 class RenderCommandEncoder; variable
82 sk_sp<RenderCommandEncoder> fActiveRenderCommandEncoder;
DMtlCommandBuffer.mm107 fActiveRenderCommandEncoder = RenderCommandEncoder::Make(fCommandBuffer.get(),
/third_party/skia/src/gpu/mtl/
DGrMtlCommandBuffer.mm96 // we could reset the active RenderCommandEncoder's store action to DontCare
105 // RenderCommandEncoder's store action to Store, but it's not clear if it's worth it.
124 // the active RenderCommandEncoder's store action to StoreAndMultisampleResolve,