Home
last modified time | relevance | path

Searched refs:isInstanced (Results 1 – 5 of 5) 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.cpp92 bool isInstanced (void) const { return (m_flags & TEST_FLAG_INSTANCED) != 0; } in isInstanced() function in vkt::Draw::__anonab6314ea0111::DrawTest
109 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()
/external/skia/src/gpu/
DGrMesh.h32 bool isInstanced() const { return SkToBool(fInstanceBuffer.get()); } in isInstanced() function
203 if (this->isInstanced()) { in sendToGpu()
DGrGpuCommandBuffer.cpp51 SkASSERT(primProc.hasInstanceAttribs() == meshes[i].isInstanced()); in draw()
/external/skia/tests/
DGrMeshTest.cpp372 GrMeshTestProcessor mtp(mesh.isInstanced(), mesh.hasVertexData()); in drawMesh()