Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
Ddraw_call_perf_utils.cpp84 void Generate2DTriangleData(size_t numTris, std::vector<float> *floatData) in Generate2DTriangleData() argument
86 for (size_t triIndex = 0; triIndex < numTris; ++triIndex) in Generate2DTriangleData()
176 GLuint Create2DTriangleBuffer(size_t numTris, GLenum usage) in Create2DTriangleBuffer() argument
183 Generate2DTriangleData(numTris, &floatData); in Create2DTriangleBuffer()
Ddraw_call_perf_utils.h39 GLuint Create2DTriangleBuffer(size_t numTris, GLenum usage);
/third_party/skia/third_party/externals/angle2/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.cpp140 int mNumTris = GetParam().numTris;
/third_party/skia/third_party/externals/angle2/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 …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_utils.h186 angle::Result TriangleFanBoundCheck(ContextMtl *context, size_t numTris);
Dmtl_utils.mm1498 angle::Result TriangleFanBoundCheck(ContextMtl *context, size_t numTris)
1501 (numTris > std::numeric_limits<unsigned int>::max() / (sizeof(unsigned int) * 3));
1513 size_t numTris = vetexCount - 2;
1514 ANGLE_TRY(TriangleFanBoundCheck(context, numTris));
1515 size_t numIndices = numTris * 3;