Searched refs:isInstanced (Results 1 – 5 of 5) 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()
92 bool isInstanced (void) const { return (m_flags & TEST_FLAG_INSTANCED) != 0; } in isInstanced() function in vkt::Draw::__anonab6314ea0111::DrawTest109 DE_ASSERT(!isFirstInstance() || (isIndirect() && isInstanced())); in DrawTest()211 const int numInstances = isInstanced() ? MAX_INSTANCE_COUNT : 1; in drawReferenceImage()249 const deUint32 numInstances = isInstanced() ? MAX_INSTANCE_COUNT : 1; in iterate()
32 bool isInstanced() const { return SkToBool(fInstanceBuffer.get()); } in isInstanced() function203 if (this->isInstanced()) { in sendToGpu()
51 SkASSERT(primProc.hasInstanceAttribs() == meshes[i].isInstanced()); in draw()
372 GrMeshTestProcessor mtp(mesh.isInstanced(), mesh.hasVertexData()); in drawMesh()