Home
last modified time | relevance | path

Searched refs:numTris (Results 1 – 10 of 10) sorted by relevance

/external/angle/src/tests/test_utils/
Ddraw_call_perf_utils.cpp66 void Generate2DTriangleData(size_t numTris, std::vector<float> *floatData) in Generate2DTriangleData() argument
68 for (size_t triIndex = 0; triIndex < numTris; ++triIndex) in Generate2DTriangleData()
144 GLuint Create2DTriangleBuffer(size_t numTris, GLenum usage) in Create2DTriangleBuffer() argument
151 Generate2DTriangleData(numTris, &floatData); in Create2DTriangleBuffer()
Ddraw_call_perf_utils.h36 GLuint Create2DTriangleBuffer(size_t numTris, GLenum usage);
/external/angle/src/tests/perf_tests/
DDrawElementsPerf.cpp35 numTris = 2; in DrawElementsPerfParams()
84 int mCount = 3 * GetParam().numTris;
122 mBuffer = Create2DTriangleBuffer(params.numTris, GL_STATIC_DRAW); in initializeBenchmark()
DIndexConversionPerf.cpp89 size_t numTris = std::numeric_limits<GLushort>::max() / 3 + 1; in initializeBenchmark() local
90 mVertexBuffer = Create2DTriangleBuffer(numTris, GL_STATIC_DRAW); in initializeBenchmark()
DDrawCallPerfParams.cpp28 numTris = 1; in DrawCallPerfParams()
DDrawCallPerfParams.h27 int numTris; member
DDrawCallPerf.cpp135 int mNumTris = GetParam().numTris;
/external/angle/src/libANGLE/renderer/metal/
Dmtl_utils.h184 angle::Result TriangleFanBoundCheck(ContextMtl *context, size_t numTris);
Dmtl_utils.mm1420 angle::Result TriangleFanBoundCheck(ContextMtl *context, size_t numTris)
1423 (numTris > std::numeric_limits<unsigned int>::max() / (sizeof(unsigned int) * 3));
1435 size_t numTris = vetexCount - 2;
1436 ANGLE_TRY(TriangleFanBoundCheck(context, numTris));
1437 size_t numIndices = numTris * 3;
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.cpp144 void SetTriangleFanIndices(GLuint *destPtr, size_t numTris) in SetTriangleFanIndices() argument
146 for (size_t i = 0; i < numTris; i++) in SetTriangleFanIndices()
214 void CopyTriangleFanIndices(const void *indices, GLuint *destPtr, size_t numTris) in CopyTriangleFanIndices() argument
218 for (size_t i = 0; i < numTris; i++) in CopyTriangleFanIndices()
298 GLuint numTris = count - 2; in GetTriFanIndices() local
299 bufferOut->resize(numTris * 3); in GetTriFanIndices()
305 SetTriangleFanIndices(&(*bufferOut)[0], numTris); in GetTriFanIndices()
308 CopyTriangleFanIndices<GLubyte>(indices, &(*bufferOut)[0], numTris); in GetTriFanIndices()
311 CopyTriangleFanIndices<GLushort>(indices, &(*bufferOut)[0], numTris); in GetTriFanIndices()
314 CopyTriangleFanIndices<GLuint>(indices, &(*bufferOut)[0], numTris); in GetTriFanIndices()
[all …]