Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/tessellate/
DGrPathParser.cpp87 int maxVertices = max_wedge_vertex_count(path.countVerbs()); in EmitCenterWedgePatches() local
88 auto* vertexData = vertexAlloc->lock<SkPoint>(maxVertices); in EmitCenterWedgePatches()
222 int maxVertices = max_inner_poly_vertex_count(path.countVerbs()); in EmitInnerPolygonTriangles() local
223 InnerPolygonContourParser parser(path, maxVertices); in EmitInnerPolygonTriangles()
224 auto* vertexData = vertexAlloc->lock<SkPoint>(maxVertices); in EmitInnerPolygonTriangles()
/external/skqp/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp245 int64_t maxVertices = DEFAULT_BUFFER_SIZE; in onPrepareDraws() local
247 uint8_t* vertices = (uint8_t*) sk_malloc_throw(maxVertices * vertexStride); in onPrepareDraws()
267 if (vertexCount + currentVertices > maxVertices) { in onPrepareDraws()
268 maxVertices = SkTMax(vertexCount + currentVertices, maxVertices * 2); in onPrepareDraws()
269 if (maxVertices * vertexStride > SK_MaxS32) { in onPrepareDraws()
274 vertices = (uint8_t*) sk_realloc_throw(vertices, maxVertices * vertexStride); in onPrepareDraws()
/external/skia/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp251 int64_t maxVertices = DEFAULT_BUFFER_SIZE; in onPrepareDraws() local
253 uint8_t* vertices = (uint8_t*) sk_malloc_throw(maxVertices * vertexStride); in onPrepareDraws()
273 if (vertexCount + currentVertices > maxVertices) { in onPrepareDraws()
274 maxVertices = std::max(vertexCount + currentVertices, maxVertices * 2); in onPrepareDraws()
275 if (maxVertices * vertexStride > SK_MaxS32) { in onPrepareDraws()
280 vertices = (uint8_t*) sk_realloc_throw(vertices, maxVertices * vertexStride); in onPrepareDraws()
/external/angle/src/compiler/translator/
DQualifierTypes.cpp731 if (rightQualifier.maxVertices != -1) in JoinLayoutQualifiers()
733 if (joinedQualifier.maxVertices != -1 && in JoinLayoutQualifiers()
734 joinedQualifier.maxVertices != rightQualifier.maxVertices) in JoinLayoutQualifiers()
740 joinedQualifier.maxVertices = rightQualifier.maxVertices; in JoinLayoutQualifiers()
DBaseTypes.h1133 invocations == 0 && maxVertices == -1 && index == -1; in isEmpty()
1141 (primitiveType != EptUndefined) || (invocations != 0) || (maxVertices != -1); in isCombinationValid()
1186 int maxVertices; member
1206 maxVertices(-1), in TLayoutQualifier()
DShaderLang.cpp696 int maxVertices = compiler->getGeometryShaderMaxVertices(); in GetGeometryShaderMaxVertices() local
697 ASSERT(maxVertices >= 0); in GetGeometryShaderMaxVertices()
698 return maxVertices; in GetGeometryShaderMaxVertices()
DOutputGLSLBase.cpp1385 int maxVertices) in WriteGeometryShaderLayoutQualifiers() argument
1408 if (outputPrimitive != EptUndefined || maxVertices != -1) in WriteGeometryShaderLayoutQualifiers()
1417 if (maxVertices != -1) in WriteGeometryShaderLayoutQualifiers()
1423 out << "max_vertices = " << maxVertices; in WriteGeometryShaderLayoutQualifiers()
DOutputGLSLBase.h130 int maxVertices);
DParseContext.cpp2988 if (layoutQualifier.maxVertices != -1) in parseGeometryShaderInputLayoutQualifier()
3072 if (layoutQualifier.maxVertices > -1) in parseGeometryShaderOutputLayoutQualifier()
3076 mGeometryShaderMaxVertices = layoutQualifier.maxVertices; in parseGeometryShaderOutputLayoutQualifier()
3078 else if (mGeometryShaderMaxVertices != layoutQualifier.maxVertices) in parseGeometryShaderOutputLayoutQualifier()
4612 int *maxVertices) in parseMaxVertices() argument
4625 *maxVertices = intValue; in parseMaxVertices()
4730 parseMaxVertices(intValue, intValueLine, intValueString, &qualifier.maxVertices); in parseLayoutQualifier()
/external/skia/src/gpu/glsl/
DGrGLSLVertexGeoBuilder.cpp66 void GrGLSLGeometryBuilder::configure(InputType inputType, OutputType outputType, int maxVertices, in configure() argument
74 this->addLayoutQualifier(SkStringPrintf("max_vertices = %i", maxVertices).c_str(), in configure()
DGrGLSLVertexGeoBuilder.h64 void configure(InputType, OutputType, int maxVertices, int numInvocations = 1);
/external/skqp/src/gpu/glsl/
DGrGLSLVertexGeoBuilder.cpp70 void GrGLSLGeometryBuilder::configure(InputType inputType, OutputType outputType, int maxVertices, in configure() argument
78 this->addLayoutQualifier(SkStringPrintf("max_vertices = %i", maxVertices).c_str(), in configure()
DGrGLSLVertexGeoBuilder.h66 void configure(InputType, OutputType, int maxVertices, int numInvocations = 1);
/external/angle/src/tests/compiler_tests/
DGeometryShader_test.cpp55 int maxVertices) in GetGeometryShaderLayout() argument
68 if (maxVertices >= 0) in GetGeometryShaderLayout()
70 sstream << ", max_vertices = " << maxVertices; in GetGeometryShaderLayout()
606 constexpr int maxVertices = 1; in TEST_F() local
608 GetGeometryShaderLayout("out", outPrimitives[i], -1, maxVertices); in TEST_F()
/external/skia/src/sksl/ir/
DSkSLLayout.h191 int inputAttachmentIndex, Format format, Primitive primitive, int maxVertices, in Layout()
203 , fMaxVertices(maxVertices) in Layout()
/external/skqp/src/sksl/ir/
DSkSLLayout.h179 int inputAttachmentIndex, Format format, Primitive primitive, int maxVertices, in Layout()
191 , fMaxVertices(maxVertices) in Layout()
/external/angle/src/tests/gl_tests/
DGeometryShaderTest.cpp23 int maxVertices) in CreateEmptyGeometryShader() argument
40 if (maxVertices >= 0) in CreateEmptyGeometryShader()
42 ostream << "layout (max_vertices = " << maxVertices << ") out;\n"; in CreateEmptyGeometryShader()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_driver.h174 unsigned maxVertices; member
Dnv50_ir_print.cpp981 INFO(" \"maxVertices\":\"%d\"\n", info_out->prop.gp.maxVertices); in nv50_ir_prog_info_out_print()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsSampled.cpp171 const deInt32 maxVertices = 3u * numLayers; in initPrograms() local
178 << "layout(triangle_strip, max_vertices = " << static_cast<deInt32>(maxVertices) << ") out;\n" in initPrograms()
/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/skqp/src/sksl/
DSkSLParser.cpp760 int maxVertices = -1; in layout() local
768 inputAttachmentIndex, format, primitive, maxVertices, invocations, when, in layout()
880 maxVertices = this->layoutInt(); in layout()
912 format, primitive, maxVertices, invocations, when, key, ctype); in layout()
/external/skia/src/sksl/
DSkSLParser.cpp770 int maxVertices = -1; in layout() local
778 inputAttachmentIndex, format, primitive, maxVertices, invocations, when, in layout()
890 maxVertices = this->layoutInt(); in layout()
922 format, primitive, maxVertices, invocations, when, key, ctype); in layout()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_program.c435 prog->gp.vert_count = CLAMP(info_out.prop.gp.maxVertices, 1, 1024); in nv50_program_translate()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp871 …const int maxVertices = (params.testType == TEST_TYPE_DIFFERENT_CONTENT) ? (numLayers + 1) * nu… in initPrograms() local
892 src << "layout(triangle_strip, max_vertices = " << maxVertices << ") out;\n" in initPrograms()

12