Searched refs:numTris (Results 1 – 10 of 10) sorted by relevance
/external/angle/src/tests/test_utils/ |
D | draw_call_perf_utils.cpp | 66 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()
|
D | draw_call_perf_utils.h | 36 GLuint Create2DTriangleBuffer(size_t numTris, GLenum usage);
|
/external/angle/src/tests/perf_tests/ |
D | DrawElementsPerf.cpp | 35 numTris = 2; in DrawElementsPerfParams() 84 int mCount = 3 * GetParam().numTris; 122 mBuffer = Create2DTriangleBuffer(params.numTris, GL_STATIC_DRAW); in initializeBenchmark()
|
D | IndexConversionPerf.cpp | 89 size_t numTris = std::numeric_limits<GLushort>::max() / 3 + 1; in initializeBenchmark() local 90 mVertexBuffer = Create2DTriangleBuffer(numTris, GL_STATIC_DRAW); in initializeBenchmark()
|
D | DrawCallPerfParams.cpp | 28 numTris = 1; in DrawCallPerfParams()
|
D | DrawCallPerfParams.h | 27 int numTris; member
|
D | DrawCallPerf.cpp | 135 int mNumTris = GetParam().numTris;
|
/external/angle/src/libANGLE/renderer/metal/ |
D | mtl_utils.h | 184 angle::Result TriangleFanBoundCheck(ContextMtl *context, size_t numTris);
|
D | mtl_utils.mm | 1420 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/ |
D | Renderer11.cpp | 144 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 …]
|