Home
last modified time | relevance | path

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

12

/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.cpp267 int64_t maxVertices = DEFAULT_BUFFER_SIZE; in onPrepareDraws() local
269 uint8_t* vertices = (uint8_t*) sk_malloc_throw(maxVertices * vertexStride); in onPrepareDraws()
288 if (vertexCount + currentVertices > maxVertices) { in onPrepareDraws()
289 maxVertices = std::max(vertexCount + currentVertices, maxVertices * 2); in onPrepareDraws()
290 if (maxVertices * vertexStride > SK_MaxS32) { in onPrepareDraws()
295 vertices = (uint8_t*) sk_realloc_throw(vertices, maxVertices * vertexStride); in onPrepareDraws()
/external/skia/src/gpu/glsl/
DGrGLSLVertexGeoBuilder.cpp63 void GrGLSLGeometryBuilder::configure(InputType inputType, OutputType outputType, int maxVertices, in configure() argument
71 this->addLayoutQualifier(SkStringPrintf("max_vertices = %i", maxVertices).c_str(), in configure()
DGrGLSLVertexGeoBuilder.h73 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/compiler/translator/
DQualifierTypes.cpp788 if (rightQualifier.maxVertices != -1) in JoinLayoutQualifiers()
790 if (joinedQualifier.maxVertices != -1 && in JoinLayoutQualifiers()
791 joinedQualifier.maxVertices != rightQualifier.maxVertices) in JoinLayoutQualifiers()
797 joinedQualifier.maxVertices = rightQualifier.maxVertices; in JoinLayoutQualifiers()
DBaseTypes.h1296 invocations == 0 && maxVertices == -1 && vertices == 0 && in isEmpty()
1307 (primitiveType != EptUndefined) || (invocations != 0) || (maxVertices != -1); in isCombinationValid()
1354 int maxVertices; member
1385 maxVertices(-1), in TLayoutQualifier()
DShaderLang.cpp845 int maxVertices = compiler->getGeometryShaderMaxVertices(); in GetGeometryShaderMaxVertices() local
846 ASSERT(maxVertices >= 0); in GetGeometryShaderMaxVertices()
847 return maxVertices; in GetGeometryShaderMaxVertices()
DOutputGLSLBase.cpp1268 int maxVertices) in WriteGeometryShaderLayoutQualifiers() argument
1291 if (outputPrimitive != EptUndefined || maxVertices != -1) in WriteGeometryShaderLayoutQualifiers()
1300 if (maxVertices != -1) in WriteGeometryShaderLayoutQualifiers()
1306 out << "max_vertices = " << maxVertices; in WriteGeometryShaderLayoutQualifiers()
DOutputGLSLBase.h129 int maxVertices);
DTranslatorVulkan.cpp1220 int maxVertices = getGeometryShaderMaxVertices(); in translateImpl() local
1223 maxVertices = std::max(1, maxVertices); in translateImpl()
1227 getGeometryShaderOutputPrimitiveType(), maxVertices); in translateImpl()
DParseContext.cpp3342 if (layoutQualifier.maxVertices != -1) in parseGeometryShaderInputLayoutQualifier()
3426 if (layoutQualifier.maxVertices > -1) in parseGeometryShaderOutputLayoutQualifier()
3430 mGeometryShaderMaxVertices = layoutQualifier.maxVertices; in parseGeometryShaderOutputLayoutQualifier()
3432 else if (mGeometryShaderMaxVertices != layoutQualifier.maxVertices) in parseGeometryShaderOutputLayoutQualifier()
5258 int *maxVertices) in parseMaxVertices() argument
5271 *maxVertices = intValue; in parseMaxVertices()
5401 parseMaxVertices(intValue, intValueLine, intValueString, &qualifier.maxVertices); in parseLayoutQualifier()
/external/skia/include/private/
DSkSLLayout.h114 int inputAttachmentIndex, Primitive primitive, int maxVertices, int invocations, in Layout()
125 , fMaxVertices(maxVertices) in Layout()
/external/angle/src/tests/compiler_tests/
DGeometryShader_test.cpp54 int maxVertices) in GetGeometryShaderLayout() argument
67 if (maxVertices >= 0) in GetGeometryShaderLayout()
69 sstream << ", max_vertices = " << maxVertices; in GetGeometryShaderLayout()
605 constexpr int maxVertices = 1; in TEST_F() local
607 GetGeometryShaderLayout("out", outPrimitives[i], -1, maxVertices); in TEST_F()
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2Loop.java210 int maxVertices = numVertices(); in compareTo() local
213 for (int i = 0; i < maxVertices; ++i, ++iThis, ++iOther) { in compareTo()
558 int maxVertices = numVertices(); in boundaryApproxEquals() local
561 for (int i = 0; i < maxVertices; ++i, ++iThis, ++iOther) { in boundaryApproxEquals()
/external/skqp/src/sksl/ir/
DSkSLLayout.h179 int inputAttachmentIndex, Format format, Primitive primitive, int maxVertices, in Layout()
191 , fMaxVertices(maxVertices) in Layout()
/external/skia/src/gpu/tessellate/
DGrPathTessellator.cpp287 int maxVertices = (path.countVerbs() + 1) * 5; in prepare() local
290 auto* vertexData = vertexAlloc.lock<SkPoint>(maxVertices); in prepare()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_driver.h174 unsigned maxVertices; member
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsSampled.cpp174 const deInt32 maxVertices = 3u * numLayers; in initPrograms() local
181 << "layout(triangle_strip, max_vertices = " << static_cast<deInt32>(maxVertices) << ") out;\n" in initPrograms()
/external/angle/src/tests/gl_tests/
DGeometryShaderTest.cpp35 int maxVertices) in CreateEmptyGeometryShader() argument
52 if (maxVertices >= 0) in CreateEmptyGeometryShader()
54 ostream << "layout (max_vertices = " << maxVertices << ") out;\n"; in CreateEmptyGeometryShader()
/external/skia/src/sksl/
DSkSLRehydrator.cpp112 int maxVertices = this->readS8(); in layout() local
117 inputAttachmentIndex, (Layout::Primitive)primitive, maxVertices, in layout()
DSkSLParser.cpp887 int maxVertices = -1; in layout() local
894 inputAttachmentIndex, primitive, maxVertices, invocations, when, ctype); in layout()
988 maxVertices = this->layoutInt(); in layout()
1018 primitive, maxVertices, invocations, when, ctype); in layout()
/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()

12