Searched refs:isInstanced (Results 1 – 6 of 6) sorted by relevance
132 const bool isInstanced = attrib.mDivisor > 0; in prepareVertexData() local133 mStreamingBuffer->addRequiredSpace(attrib.typeSize() * (isInstanced ? 1 : count)); in prepareVertexData()149 const bool isInstanced = attrib.mDivisor > 0; in prepareVertexData() local152 GLint firstVertexIndex = isInstanced ? instanceId / attrib.mDivisor : start; in prepareVertexData()169 translated[i].stride = isInstanced ? 0 : attrib.stride(); in prepareVertexData()173 …unsigned int streamOffset = writeAttributeData(mStreamingBuffer, firstVertexIndex, isInstanced ? 1… in prepareVertexData()182 translated[i].stride = isInstanced ? 0 : attrib.typeSize(); in prepareVertexData()
93 bool isInstanced (void) const { return (m_flags & TEST_FLAG_INSTANCED) != 0; } in isInstanced() function in vkt::Draw::__anonf4eaa00b0111::DrawTest110 DE_ASSERT(!isFirstInstance() || (isIndirect() && isInstanced())); in DrawTest()200 const int numInstances = isInstanced() ? MAX_INSTANCE_COUNT : 1; in drawReferenceImage()238 const deUint32 numInstances = isInstanced() ? MAX_INSTANCE_COUNT : 1; in iterate()
33 bool isInstanced() const { return SkToBool(fInstanceBuffer.get()); } in isInstanced() function206 if (this->isInstanced()) { in sendToGpu()
44 SkASSERT(primProc.hasInstanceAttributes() == meshes[i].isInstanced()); in draw()
77 GrOpsRenderPass* bindPipeline(GrPrimitiveType, bool isInstanced, bool hasVertexBuffer);550 GrOpsRenderPass* DrawMeshHelper::bindPipeline(GrPrimitiveType primitiveType, bool isInstanced, argument568 GrGeometryProcessor* mtp = GrMeshTestProcessor::Make(fState->allocator(), isInstanced,
391 GrMeshTestProcessor mtp(mesh.isInstanced(), mesh.hasVertexData()); in drawMesh()