Home
last modified time | relevance | path

Searched refs:maxVertices (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/gpu/batches/
DGrDefaultPathRenderer.cpp277 int maxVertices = 0; in onPrepareDraws() local
285 maxVertices += GrPathUtils::worstCasePointCount(args.fPath, &contourCount, in onPrepareDraws()
291 if (maxVertices == 0 || maxVertices > ((int)SK_MaxU16 + 1)) { in onPrepareDraws()
301 maxIndices = 2 * maxVertices; in onPrepareDraws()
308 maxIndices = 3 * maxVertices; in onPrepareDraws()
319 void* verts = target->makeVertexSpace(vertexStride, maxVertices, in onPrepareDraws()
362 SkASSERT(vertexOffset <= maxVertices && indexOffset <= maxIndices); in onPrepareDraws()
376 target->putBackVertices((size_t)(maxVertices - vertexOffset), (size_t)vertexStride); in onPrepareDraws()
DGrAALinearizingConvexPathRenderer.cpp216 int maxVertices = DEFAULT_BUFFER_SIZE; in onPrepareDraws() local
218 uint8_t* vertices = (uint8_t*) sk_malloc_throw(maxVertices * vertexStride); in onPrepareDraws()
239 if (vertexCount + currentVertices > maxVertices) { in onPrepareDraws()
240 maxVertices = SkTMax(vertexCount + currentVertices, maxVertices * 2); in onPrepareDraws()
241 vertices = (uint8_t*) sk_realloc_throw(vertices, maxVertices * vertexStride); in onPrepareDraws()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_driver.h150 unsigned maxVertices; member
Dnv50_ir.cpp1077 info->prop.gp.maxVertices = 1; in nv50_ir_init_prog_info()
Dnv50_ir_from_sm4.cpp959 info.prop.gp.maxVertices = dcl.num; in inspectDeclaration()
Dnv50_ir_from_tgsi.cpp731 info->prop.gp.maxVertices = prop->u[0].Data; in scanProperty()
/external/deqp/modules/gles31/functional/
Des31fGeometryShaderTests.cpp1592 const int maxVertices = (int)getNumVertices(numInvocations, testCase); in genGeometrySource() local
1598 "layout(triangle_strip, max_vertices = " << maxVertices << ") out;\n" in genGeometrySource()
2491 glw::GLint maxVertices = 0; in init() local
2498 …ntext.getRenderContext().getFunctions().getIntegerv(GL_MAX_GEOMETRY_OUTPUT_VERTICES, &maxVertices); in init()
2501 …() << tcu::TestLog::Message << "GL_MAX_GEOMETRY_OUTPUT_VERTICES = " << maxVertices << tcu::TestLog… in init()
2509 m_spec.pattern[0] = de::min(maxVertices, maxComponents / componentsPerVertex); in init()
2520 if (testVertices > maxVertices) in init()
3084 …const int maxVertices = (m_test == TEST_DIFFERENT_LAYERS) ? ((2 + m_numLayers-1) * m_numLayers)… in genGeometrySource() local
3099 buf << "layout(triangle_strip, max_vertices = " << maxVertices << ") out;\n" in genGeometrySource()
3755 glw::GLint maxVertices = 0; in init() local
[all …]
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_program.c415 gp->hdr[4] = info->prop.gp.maxVertices & 0x1ff; in nvc0_gp_gen_header()