Home
last modified time | relevance | path

Searched refs:isInstanced (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/src/OpenGL/libGLESv2/
DVertexDataManager.cpp132 const bool isInstanced = attrib.mDivisor > 0; in prepareVertexData() local
133 mStreamingBuffer->addRequiredSpace(attrib.typeSize() * (isInstanced ? 1 : count)); in prepareVertexData()
149 const bool isInstanced = attrib.mDivisor > 0; in prepareVertexData() local
152 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()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawShaderDrawParametersTests.cpp93 bool isInstanced (void) const { return (m_flags & TEST_FLAG_INSTANCED) != 0; } in isInstanced() function in vkt::Draw::__anon21b3aed20111::DrawTest
110 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()
/external/skqp/src/gpu/
DGrMesh.h33 bool isInstanced() const { return SkToBool(fInstanceBuffer.get()); } in isInstanced() function
206 if (this->isInstanced()) { in sendToGpu()
DGrGpuCommandBuffer.cpp44 SkASSERT(primProc.hasInstanceAttributes() == meshes[i].isInstanced()); in draw()
/external/skia/tests/
DGrMeshTest.cpp77 GrOpsRenderPass* bindPipeline(GrPrimitiveType, bool isInstanced, bool hasVertexBuffer);
550 GrOpsRenderPass* DrawMeshHelper::bindPipeline(GrPrimitiveType primitiveType, bool isInstanced, argument
568 GrGeometryProcessor* mtp = GrMeshTestProcessor::Make(fState->allocator(), isInstanced,
/external/skqp/tests/
DGrMeshTest.cpp391 GrMeshTestProcessor mtp(mesh.isInstanced(), mesh.hasVertexData()); in drawMesh()