Home
last modified time | relevance | path

Searched refs:numPrimitives (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/
DQuery11.cpp24 …StreamOutPrimitivesWritten(ID3D11DeviceContext *context, ID3D11Query *query, UINT64 *numPrimitives) in checkStreamOutPrimitivesWritten() argument
28 *numPrimitives = soStats.NumPrimitivesWritten; in checkStreamOutPrimitivesWritten()
121 UINT64 numPrimitives = 0; in testQuery() local
122 queryFinished = checkStreamOutPrimitivesWritten(context, mQuery, &numPrimitives); in testQuery()
125 mResult = static_cast<GLuint>(numPrimitives); in testQuery()
/external/deqp/modules/gles3/functional/
Des3fRasterizerDiscardTests.cpp80 …ase (Context& context, const char* name, const char* description, int numPrimitives, CaseType case…
107 …ase (Context& context, const char* name, const char* description, int numPrimitives, CaseType case… in RasterizerDiscardCase() argument
109 , m_numPrimitives (numPrimitives) in RasterizerDiscardCase()
127 static void generateVertices (std::vector<float>& dst, int numPrimitives, de::Random& rnd, deUint32… in generateVertices() argument
133 case GL_POINTS: numVertices = numPrimitives; break; in generateVertices()
134 case GL_LINES: numVertices = 2*numPrimitives; break; in generateVertices()
135 case GL_LINE_STRIP: numVertices = numPrimitives+1; break; in generateVertices()
136 case GL_LINE_LOOP: numVertices = numPrimitives+2; break; in generateVertices()
137 case GL_TRIANGLES: numVertices = 3*numPrimitives; break; in generateVertices()
138 case GL_TRIANGLE_STRIP: numVertices = numPrimitives+2; break; in generateVertices()
[all …]
Des3fSyncTests.cpp66 …se (Context& context, const char* name, const char* description, int numPrimitives, deUint32 wait…
89 …ase (Context& context, const char* name, const char* description, int numPrimitives, deUint32 wait… in FenceSyncCase() argument
92 , m_numPrimitives (numPrimitives) in FenceSyncCase()
109 static void generateVertices (std::vector<float>& dst, int numPrimitives, de::Random& rnd) in generateVertices() argument
111 int numVertices = 3*numPrimitives; in generateVertices()
Des3fTransformFeedbackTests.cpp1240 deUint32 numPrimitives = 0; in runTest() local
1243 gl.getQueryObjectuiv(*primitiveQuery, GL_QUERY_RESULT, &numPrimitives); in runTest()
1252 …log << TestLog::Message << "GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = " << numPrimitives << TestL… in runTest()
1254 if ((int)numPrimitives != expectedCount) in runTest()
/external/deqp/modules/gles31/stress/
Des31sTessellationGeometryInteractionTests.cpp85 std::string getGeometryShaderSource (int numPrimitives, int numInstances);
487 std::string GridRenderCase::getGeometryShaderSource (int numPrimitives, int numInstances) in getGeometryShaderSource() argument
494 "layout(triangle_strip, max_vertices=" << (numPrimitives + 2) << ") out;\n" in getGeometryShaderSource()
534 " for (int ndx = 0; ndx < " << ((numPrimitives+2)/2) << "; ++ndx)\n" in getGeometryShaderSource()
539 …" float xpos = mix(outputSliceArea.x, outputSliceArea.z, float(ndx) / float(" << (numPrimitives/2… in getGeometryShaderSource()
/external/deqp/modules/gles3/stress/
Des3sSyncTests.cpp60 …se (Context& context, const char* name, const char* description, int numPrimitives, deUint32 wait…
97 static void generateVertices (std::vector<float>& dst, int numPrimitives, de::Random& rnd) in generateVertices() argument
99 int numVertices = 3*numPrimitives; in generateVertices()
/external/deqp/modules/gles31/functional/
Des31fShaderHelperInvocationTests.cpp101 static void genVertices (PrimitiveType primType, int numPrimitives, de::Random* rnd, vector<Vec2>* … in genVertices() argument
106 const int numVert = getNumVerticesPerPrimitive(primType)*numPrimitives; in genVertices()
133 …nderContext& renderCtx, deUint32 program, PrimitiveType primType, int numPrimitives, de::Random* r… in drawRandomPrimitives() argument
143 genVertices(primType, numPrimitives, rnd, &vertices); in drawRandomPrimitives()
Des31fTessellationGeometryInteractionTests.cpp2108 std::string getGeometryShaderSource (int numPrimitives, int numInstances, int tessLevel);
2600 std::string GridRenderCase::getGeometryShaderSource (int numPrimitives, int numInstances, int tessL… in getGeometryShaderSource() argument
2607 …s=" << ((m_flags & FLAG_GEOMETRY_SEPARATE_PRIMITIVES) ? (4 * numPrimitives) : (numPrimitives + 2))… in getGeometryShaderSource()
2640 " for (int ndx = 0; ndx < " << numPrimitives << "; ++ndx)\n" in getGeometryShaderSource()
2642 …" ivec2 dstGridSize = ivec2(" << tessLevel << " * " << numPrimitives << ", 2 * " << tessLevel << … in getGeometryShaderSource()
2679 " for (int ndx = 0; ndx < " << numPrimitives << "; ++ndx)\n" in getGeometryShaderSource()
2681 …" ivec2 dstGridSize = ivec2(" << tessLevel << " * " << numPrimitives << ", " << tessLevel << ");\… in getGeometryShaderSource()
2682 …" ivec2 dstGridNdx = ivec2((gridPosition.x * " << numPrimitives << " * 7 + ndx)*13, (gridPosition… in getGeometryShaderSource()
2749 " for (int ndx = 0; ndx < " << ((numPrimitives+2)/2) << "; ++ndx)\n" in getGeometryShaderSource()
2754 …os = mix(outputSliceArea.x, outputSliceArea.z, float(ndx) / float(" << (numPrimitives/2) << "));\n" in getGeometryShaderSource()
Des31fTessellationTests.cpp295 int numPrimitives; member
298 Result (void) : numPrimitives(-1) {} in Result()
299 Result (int n, const vector<VaryingT>& v) : numPrimitives(n), varying(v) {} in Result()
2053 if (tfResult.numPrimitives != (int)tessCoordsRef.size()) in iterate()
2056 << tfResult.numPrimitives << ", reference value is " << tessCoordsRef.size() in iterate()
2061 …reported GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN to be " << tfResult.numPrimitives << TestLog::En… in iterate()
3219 …const int numPrimitives = m_caseType == CASETYPE_PRIMITIVE_ID_TCS || m_caseType == CASETYPE_PRIMIT… in iterate() local
3222 attributeData.reserve(numPrimitives*INPUT_PATCH_SIZE); in iterate()
3224 for (int i = 0; i < numPrimitives; i++) in iterate()
3226 attributeData.push_back((float)i / (float)numPrimitives); in iterate()
[all …]