Lines Matching refs:fActiveRenderCmdEncoder
69 SkASSERT(nil == fActiveRenderCmdEncoder);
73 SkASSERT(nil == fActiveRenderCmdEncoder);
95 SkASSERT(nil == fActiveRenderCmdEncoder);
148 SkASSERT(nil == fActiveRenderCmdEncoder);
149 fActiveRenderCmdEncoder = [fGpu->commandBuffer()
151 SkASSERT(fActiveRenderCmdEncoder);
153 [fActiveRenderCmdEncoder setFrontFacingWinding:MTLWindingCounterClockwise];
155 [fActiveRenderCmdEncoder setRenderPipelineState:pipelineState->mtlPipelineState()];
156 pipelineState->bind(fActiveRenderCmdEncoder);
157 pipelineState->setBlendConstants(fActiveRenderCmdEncoder, fRenderTarget->config(),
159 pipelineState->setDepthStencilState(fActiveRenderCmdEncoder);
163 SkASSERT(nil != fActiveRenderCmdEncoder);
173 [fActiveRenderCmdEncoder setRenderPipelineState:pipelineState->mtlPipelineState()];
174 pipelineState->bind(fActiveRenderCmdEncoder);
175 pipelineState->setBlendConstants(fActiveRenderCmdEncoder, fRenderTarget->config(),
177 pipelineState->setDepthStencilState(fActiveRenderCmdEncoder);
183 [fActiveRenderCmdEncoder endEncoding];
184 fActiveRenderCmdEncoder = nil;
283 [fActiveRenderCmdEncoder setVertexBuffer:mtlVertexBuffer
293 [fActiveRenderCmdEncoder setVertexBuffer:mtlInstanceBuffer
309 [fActiveRenderCmdEncoder drawPrimitives:gr_to_mtl_primitive(primitiveType)
339 [fActiveRenderCmdEncoder drawIndexedPrimitives:gr_to_mtl_primitive(primitiveType)