Lines Matching refs:fActiveRenderCommandEncoder
53 SkASSERT(!fActiveRenderCommandEncoder);
68 SkASSERT(!fActiveRenderCommandEncoder);
107 fActiveRenderCommandEncoder = RenderCommandEncoder::Make(fCommandBuffer.get(),
110 this->trackResource(fActiveRenderCommandEncoder);
114 SkASSERT(fActiveRenderCommandEncoder);
115 fActiveRenderCommandEncoder->endEncoding();
116 fActiveRenderCommandEncoder.reset();
144 SkASSERT(fActiveRenderCommandEncoder);
148 fActiveRenderCommandEncoder->setRenderPipelineState(pipelineState);
155 SkASSERT(fActiveRenderCommandEncoder);
164 fActiveRenderCommandEncoder->setVertexBuffer(mtlBuffer, uniformOffset,
166 fActiveRenderCommandEncoder->setFragmentBuffer(mtlBuffer, uniformOffset,
174 SkASSERT(fActiveRenderCommandEncoder);
179 fActiveRenderCommandEncoder->setVertexBuffer(mtlBuffer, vertexOffset,
185 fActiveRenderCommandEncoder->setVertexBuffer(mtlBuffer, instanceOffset,
215 SkASSERT(fActiveRenderCommandEncoder);
219 fActiveRenderCommandEncoder->drawPrimitives(mtlPrimitiveType, baseVertex, vertexCount);
224 SkASSERT(fActiveRenderCommandEncoder);
228 fActiveRenderCommandEncoder->setVertexBufferOffset(baseVertex * fCurrentVertexStride,
231 fActiveRenderCommandEncoder->drawIndexedPrimitives(mtlPrimitiveType, indexCount,
239 SkASSERT(fActiveRenderCommandEncoder);
244 fActiveRenderCommandEncoder->drawPrimitives(mtlPrimitiveType, baseVertex, vertexCount,
251 SkASSERT(fActiveRenderCommandEncoder);
255 fActiveRenderCommandEncoder->setVertexBufferOffset(baseVertex * fCurrentVertexStride,
257 fActiveRenderCommandEncoder->setVertexBufferOffset(baseInstance * fCurrentInstanceStride,
260 fActiveRenderCommandEncoder->drawIndexedPrimitives(mtlPrimitiveType, indexCount,
271 SkASSERT(!fActiveRenderCommandEncoder);