/cts/tests/openglperf2/jni/graphics/ |
Mesh.cpp | 17 const int numVertices) 21 mNumVertices(numVertices) {
|
Mesh.h | 24 const int numVertices);
|
GLUtils.cpp | 99 int numVertices = readInt(buffer + index); 101 float* vertices = new float[numVertices * 3]; 102 float* normals = new float[numVertices * 3]; 103 float* texCoords = new float[numVertices * 2]; 104 for (int i = 0; i < numVertices; i++) { 127 return new Mesh(vertices, normals, texCoords, numVertices);
|
/external/deqp/framework/referencerenderer/ |
rrPrimitiveAssembler.hpp | 80 static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention) 84 for (size_t ndx = 0; ndx + 2 < numVertices; ndx += 3) 97 static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention) 99 if (numVertices < 3) 111 if (ndx >= numVertices) 121 if (ndx >= numVertices) 142 static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention) 144 if (numVertices == 0) 152 for (size_t ndx = 1; ndx + 1 < numVertices; ++ndx) 205 static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention [all...] |
rrPrimitivePacket.cpp | 31 GeometryEmitter::GeometryEmitter (VertexPacketAllocator& vpalloc, size_t numVertices) 34 , m_maxVertices (numVertices)
|
rrPrimitivePacket.hpp | 56 GeometryEmitter (VertexPacketAllocator& vpalloc, size_t numVertices);
|
/external/deqp/framework/randomshaders/ |
rsgProgramExecutor.cpp | 47 VaryingStorage (const VariableType& type, int numVertices); 57 VaryingStorage::VaryingStorage (const VariableType& type, int numVertices) 58 : m_value(type.getScalarSize()*numVertices) 75 VaryingStore (int numVertices); 85 VaryingStore::VaryingStore (int numVertices) 86 : m_numVertices(numVertices) 215 int numVertices = gridVtxWidth*gridVtxHeight; 217 VaryingStore varyingStore(numVertices); 222 int numPackets = numVertices + ((numVertices%EXEC_VEC_WIDTH) ? 1 : 0) [all...] |
/external/deqp/modules/gles3/functional/ |
es3fRasterizerDiscardTests.cpp | 129 int numVertices; 133 case GL_POINTS: numVertices = numPrimitives; break; 134 case GL_LINES: numVertices = 2*numPrimitives; break; 135 case GL_LINE_STRIP: numVertices = numPrimitives+1; break; 136 case GL_LINE_LOOP: numVertices = numPrimitives+2; break; 137 case GL_TRIANGLES: numVertices = 3*numPrimitives; break; 138 case GL_TRIANGLE_STRIP: numVertices = numPrimitives+2; break; 139 case GL_TRIANGLE_FAN: numVertices = numPrimitives+2; break; 142 numVertices = 0; 145 dst.resize(numVertices * 4) [all...] |
es3fPrimitiveRestartTests.cpp | 309 int numVertices = row*numCols + col + 1; 311 for (int i = 0; i < numVertices; i++) 313 float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numVertices) / (float)numCols; 314 float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numVertices) / (float)numRows; 340 int numVertices = stripNdx + 1; 342 for (int i = 0; i < numVertices; i++) 412 int numVertices = rowNdx + 1; 414 for (int i = 0; i < numVertices; i++)
|
es3fSyncTests.cpp | 111 int numVertices = 3*numPrimitives; 112 dst.resize(numVertices * 4); 114 for (int i = 0; i < numVertices; i++)
|
es3fShaderPrecisionTests.cpp | 339 const int numVertices = 4; 356 vertexArrays.push_back(glu::va::Float("a_position", 4, numVertices, 0, &position[0])); 357 vertexArrays.push_back(glu::va::Float("a_in0", 1, numVertices, 0, &in0Arr[0])); 358 vertexArrays.push_back(glu::va::Float("a_in1", 1, numVertices, 0, &in1Arr[0])); 553 const int numVertices = 4; 572 vertexArrays.push_back(glu::va::Float("a_position", 4, numVertices, 0, &position[0])); 573 vertexArrays.push_back(glu::va::Int32("a_in0", 1, numVertices, 0, &in0Arr[0])); 574 vertexArrays.push_back(glu::va::Int32("a_in1", 1, numVertices, 0, &in1Arr[0])); 747 const int numVertices = 4; 766 vertexArrays.push_back(glu::va::Float("a_position", 4, numVertices, 0, &position[0])) [all...] |
es3fShaderBuiltinVarTests.cpp | 708 void renderReference (const tcu::PixelBufferAccess& dst, const int numVertices, const deUint16* const indices, const tcu::Vec4* const positions, const tcu::Vec4* const colors); 751 const int numVertices = MAX_VERTICES; 753 const int numQuads = numVertices/6 + (numVertices%6 != 0 ? 1 : 0); 795 m_colors.resize(numVertices); 822 m_positions.resize(numVertices); 823 DE_ASSERT(numVertices%3 == 0); 824 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx += 3) 932 void VertexIDCase::renderReference (const tcu::PixelBufferAccess& dst, const int numVertices, const deUint16* const indices, const tcu::Vec4* const positions, const tcu::Vec4* const colors) 959 rr::PrimitiveList(rr::PRIMITIVETYPE_TRIANGLES, numVertices, rr::DrawIndices(indices)))) [all...] |
/external/deqp/modules/glshared/ |
glsRandomShaderCase.hpp | 47 VertexArray (const rsg::ShaderInput* input, int numVertices);
|
glsShaderPerformanceMeasurer.cpp | 306 deInt64 numVertices = (deInt64)getNumVertices(m_gridSizeX, m_gridSizeY) * numQuadGrids; 308 double mvertPerSecond = (double)numVertices / (double)totalTime; 326 deInt64 numVertices = (deInt64)getNumVertices(m_gridSizeX, m_gridSizeY) * numQuadGrids; 328 double mvertPerSecond = (double)numVertices / (double)totalTime; 334 << TestLog::Float("FragmentsPerVertices", "Vertex-fragment ratio", "Fragments/Vertices", QP_KEY_TAG_NONE, (float)numPixels / (float)numVertices)
|
glsFragOpInteractionCase.cpp | 79 static void computeVertexLayout (const vector<rsg::ShaderInput*>& attributes, int numVertices, vector<glu::VertexArrayBinding>* layout, int* stride) 94 layout->push_back(glu::va::Float(var->getName(), numComps, numVertices, 0 /* computed later */, (const float*)(deUintptr)curOffset)); 108 VertexDataStorage (const vector<rsg::ShaderInput*>& attributes, int numVertices); 124 VertexDataStorage::VertexDataStorage (const vector<rsg::ShaderInput*>& attributes, int numVertices) 127 computeVertexLayout(attributes, numVertices, &m_layout, &stride); 128 m_data.resize(stride * numVertices); 516 const int numVertices = 4; 517 VertexDataStorage vertexData (m_vertexShader.getInputs(), numVertices);
|
glsLongStressCase.cpp | [all...] |
glsRandomShaderCase.cpp | 78 VertexArray::VertexArray (const rsg::ShaderInput* input, int numVertices) 80 , m_vertices (input->getVariable()->getType().getNumElements() * numVertices) 155 int numVertices = (m_gridWidth+1)*(m_gridHeight+1); 162 VertexArray vtxArray(input, numVertices); 167 for (int vtxNdx = 0; vtxNdx < numVertices; vtxNdx++)
|
/external/deqp/modules/gles3/stress/ |
es3sSyncTests.cpp | 99 int numVertices = 3*numPrimitives; 100 dst.resize(numVertices * 4); 102 for (int i = 0; i < numVertices; i++)
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationCommonEdgeTests.cpp | 124 const int numVertices = (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? 3 : 4); 131 << "layout(vertices = " << numVertices << ") out;\n" 260 const int numVertices = (gridWidth+1)*(gridHeight+1); 263 const int totalNumPosComps = numPosCompsPerVertex*numVertices; 266 gridTessParams.reserve(numVertices); 275 gridTessParams.push_back((float)(i*(gridWidth+1) + j) / (float)(numVertices-1)); 322 DE_ASSERT(static_cast<int>(gridTessParams.size()) == numVertices);
|
/external/swiftshader/src/D3D9/ |
Direct3DDevice9Ex.cpp | 229 long Direct3DDevice9Ex::DrawIndexedPrimitive(D3DPRIMITIVETYPE type, int baseVertexIndex, unsigned int minIndex, unsigned int numVertices, unsigned int startIndex, unsigned int primitiveCount) 231 TRACE("D3DPRIMITIVETYPE type = %d, int baseVertexIndex = %d, unsigned int minIndex = %d, unsigned int numVertices = %d, unsigned int startIndex = %d, unsigned int primitiveCount = %d", type, baseVertexIndex, minIndex, numVertices, startIndex, primitiveCount); 233 return Direct3DDevice9::DrawIndexedPrimitive(type, baseVertexIndex, minIndex, numVertices, startIndex, primitiveCount); 236 long Direct3DDevice9Ex::DrawIndexedPrimitiveUP(D3DPRIMITIVETYPE type, unsigned int minIndex, unsigned int numVertices, unsigned int primitiveCount, const void *indexData, D3DFORMAT indexDataFormat, const void *vertexStreamZeroData, unsigned int vertexStreamZeroStride) 238 TRACE("D3DPRIMITIVETYPE type = %d, unsigned int minIndex = %d, unsigned int numVertices = %d, unsigned int primitiveCount = %d, const void *indexData = 0x%0.8p, D3DFORMAT indexDataFormat = %d, const void *vertexStreamZeroData = 0x%0.8p, unsigned int vertexStreamZeroStride = %d", type, minIndex, numVertices, primitiveCount, indexData, indexDataFormat, vertexStreamZeroData, vertexStreamZeroStride); 240 return Direct3DDevice9::DrawIndexedPrimitiveUP(type, minIndex, numVertices, primitiveCount, indexData, indexDataFormat, vertexStreamZeroData, vertexStreamZeroStride); [all...] |
/external/deqp/modules/gles3/performance/ |
es3pBufferDataUploadTests.cpp | 219 int numVertices; [all...] |
es3pShaderControlStatementTests.cpp | 309 int numVertices = (getGridWidth() + 1) * (getGridHeight() + 1); 312 m_comparisonValueArray.resize(numVertices * numComponents); 589 int numVertices = (getGridWidth() + 1) * (getGridHeight() + 1); 592 m_boundArray.resize(numVertices * numComponents);
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRender.hpp | 271 typedef void (*AttributeSetupFunc) (ShaderRenderCaseInstance& instance, deUint32 numVertices); 488 void render (deUint32 numVertices, 493 void render (deUint32 numVertices,
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
vktSynchronizationSmokeTests.cpp | 562 deUint32 numVertices; 592 , numVertices (0) 693 bufferParameters.size = testContext.numVertices * sizeof(tcu::Vec4); [all...] |
/external/deqp/modules/gles2/performance/ |
es2pShaderControlStatementTests.cpp | 305 int numVertices = (getGridWidth() + 1) * (getGridHeight() + 1); 308 m_comparisonValueArray.resize(numVertices * numComponents); 581 int numVertices = (getGridWidth() + 1) * (getGridHeight() + 1); 584 m_boundArray.resize(numVertices * numComponents);
|