Searched defs:vertexCount (Results 1 - 25 of 31) sorted by relevance

12

/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/
H A DIndexBuffer.java52 * @param vertexCount The amount of vertices to contain
57 public static IndexBuffer createIndexBuffer(int vertexCount, int indexCount){ argument
58 if (vertexCount > 65535){
/external/skia/src/gpu/
H A DGrBatch.cpp59 int vertexCount = verticesPerInstance * instancesToDraw; local
60 void* vertices = batchTarget->makeVertSpace(vertexStride, vertexCount,
H A DGrBatchTarget.cpp66 void* GrBatchTarget::makeVertSpace(size_t vertexSize, int vertexCount, argument
68 return fVertexPool->makeSpace(vertexSize, vertexCount, buffer, startVertex);
H A DGrVertices.h19 int vertexCount() const { return fVertexCount; } function in class:GrNonInstancedVertices
50 int vertexCount) {
52 SkASSERT(vertexCount);
59 fVertexCount = vertexCount;
72 int vertexCount,
77 SkASSERT(vertexCount);
85 fVertexCount = vertexCount;
49 init(GrPrimitiveType primType, const GrVertexBuffer* vertexBuffer, int startVertex, int vertexCount) argument
67 initIndexed(GrPrimitiveType primType, const GrVertexBuffer* vertexBuffer, const GrIndexBuffer* indexBuffer, int startVertex, int startIndex, int vertexCount, int indexCount) argument
H A DGrBufferAllocPool.cpp368 int vertexCount,
372 SkASSERT(vertexCount >= 0);
378 void* ptr = INHERITED::makeSpace(vertexSize * vertexCount,
367 makeSpace(size_t vertexSize, int vertexCount, const GrVertexBuffer** buffer, int* startVertex) argument
H A DGrAAConvexPathRenderer.cpp899 int vertexCount; variable
908 if (!get_segments(args.fPath, *viewMatrix, &segments, &fanPt, &vertexCount,
918 vertexStride, vertexCount, &vertexBuffer, &firstVertex));
H A DGrAAHairLinePathRenderer.cpp874 int vertexCount = kLineSegNumVertices * lineCount; local
876 batchTarget->makeVertSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex));
906 int vertexCount = kQuadNumVertices * quadCount + kQuadNumVertices * conicCount; local
907 void *vertices = batchTarget->makeVertSpace(vertexStride, vertexCount,
H A DGrContext.cpp462 int vertexCount = kVertsPerHairlineRect; variable
464 vertexCount = kVertsPerStrokeRect;
470 void* verts = batchTarget->makeVertSpace(vertexStride, vertexCount,
497 vertices.init(primType, vertexBuffer, firstVertex, vertexCount);
746 const SkPoint* positions, int vertexCount,
751 vertexCount, indices, indexCount, colors,
813 void* verts = batchTarget->makeVertSpace(vertexStride, this->vertexCount(),
862 firstIndex, this->vertexCount(), this->indexCount());
865 vertices.init(this->primitiveType(), vertexBuffer, firstVertex, this->vertexCount());
875 const SkPoint* positions, int vertexCount,
744 Create(const Geometry& geometry, GrPrimitiveType primitiveType, const SkMatrix& viewMatrix, const SkPoint* positions, int vertexCount, const uint16_t* indices, int indexCount, const GrColor* colors, const SkPoint* localCoords, const SkRect& bounds) argument
873 DrawVerticesBatch(const Geometry& geometry, GrPrimitiveType primitiveType, const SkMatrix& viewMatrix, const SkPoint* positions, int vertexCount, const uint16_t* indices, int indexCount, const GrColor* colors, const SkPoint* localCoords, const SkRect& bounds) argument
925 int vertexCount() const { return fBatch.fVertexCount; } function in class:DrawVerticesBatch
987 drawVertices(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, GrPrimitiveType primitiveType, int vertexCount, const SkPoint positions[], const SkPoint texCoords[], const GrColor colors[], const uint16_t indices[], int indexCount) argument
1972 uint32_t vertexCount = seed_vertices(type) + (primitiveCount - 1) * primitive_vertices(type); local
1976 randomize_params(seed_vertices(type), vertexCount, kMinVertExtent, kMaxVertExtent, local
1984 randomize_params(primitive_vertices(type), vertexCount, kMinVertExtent, kMaxVertExtent, local
[all...]
/external/skia/experimental/PdfViewer/
H A DSkTrackDevice.h140 virtual void drawVertices(const SkDraw& dummy1, SkCanvas::VertexMode dummy2, int vertexCount, argument
146 INHERITED::drawVertices(dummy1, dummy2, vertexCount,verts, texs,colors, xmode, indices,
/external/skia/src/core/
H A DSkRecords.h318 int vertexCount,
327 , vertexCount(vertexCount)
337 int vertexCount; member in struct:SkRecords::DrawVertices
316 DrawVertices(const SkPaint& paint, SkCanvas::VertexMode vmode, int vertexCount, SkPoint* vertices, SkPoint* texs, SkColor* colors, SkXfermode* xmode, uint16_t* indices, int indexCount) argument
H A DSkBitmapDevice.cpp338 int vertexCount,
343 draw.drawVertices(vmode, vertexCount, verts, textures, colors, xmode,
337 drawVertices(const SkDraw& draw, SkCanvas::VertexMode vmode, int vertexCount, const SkPoint verts[], const SkPoint textures[], const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
H A DSkRecorder.cpp260 int vertexCount, const SkPoint vertices[],
266 vertexCount,
267 this->copy(vertices, vertexCount),
268 texs ? this->copy(texs, vertexCount) : NULL,
269 colors ? this->copy(colors, vertexCount) : NULL,
259 onDrawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
H A DSkPictureRecord.cpp712 void SkPictureRecord::onDrawVertices(VertexMode vmode, int vertexCount, argument
735 size_t size = 5 * kUInt32Size + vertexCount * sizeof(SkPoint);
737 size += vertexCount * sizeof(SkPoint); // + uvs
740 size += vertexCount * sizeof(SkColor); // + vert colors
755 this->addInt(vertexCount);
756 this->addPoints(vertices, vertexCount);
758 this->addPoints(texs, vertexCount);
761 fWriter.writeMul4(colors, vertexCount * sizeof(SkColor));
/external/skia/src/utils/
H A DSkPaintFilterCanvas.cpp106 void SkPaintFilterCanvas::onDrawVertices(VertexMode vmode, int vertexCount, argument
112 this->INHERITED::onDrawVertices(vmode, vertexCount, vertices, texs, colors, xmode, indices,
H A DSkLuaCanvas.cpp300 void SkLuaCanvas::onDrawVertices(VertexMode vmode, int vertexCount, argument
H A DSkNWayCanvas.cpp283 void SkNWayCanvas::onDrawVertices(VertexMode vmode, int vertexCount, argument
290 iter->drawVertices(vmode, vertexCount, vertices, texs, colors, xmode,
H A DSkDumpCanvas.cpp463 void SkDumpCanvas::onDrawVertices(VertexMode vmode, int vertexCount, argument
469 toString(vmode), vertexCount, SkScalarToFloat(vertices[0].fX),
H A DSkDeferredCanvas.cpp242 int vertexCount, const SkPoint verts[],
965 void SkDeferredCanvas::onDrawVertices(VertexMode vmode, int vertexCount, argument
972 this->drawingCanvas()->drawVertices(vmode, vertexCount, vertices, texs, colors, xmode,
/external/deqp/modules/gles3/functional/
H A Des3fOcclusionQueryTests.cpp125 int vertexCount = verticesPerPrimitive * primitiveCount; local
126 dst.resize(vertexCount * ELEMENTS_PER_VERTEX);
128 for (int i = 0; i < vertexCount; i += 3) // First loop gets a random point inside unit square
/external/skia/src/utils/android/
H A DSkAndroidSDKCanvas.cpp165 int vertexCount,
171 fProxyTarget->drawVertices(vMode, vertexCount, vertices, texs, colors,
164 onDrawVertices(VertexMode vMode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode* xMode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
/external/skia/src/utils/debugger/
H A DSkDrawCommand.cpp790 SkDrawVerticesCommand::SkDrawVerticesCommand(SkCanvas::VertexMode vmode, int vertexCount, argument
798 fVertexCount = vertexCount;
800 fVertices = new SkPoint[vertexCount];
801 memcpy(fVertices, vertices, vertexCount * sizeof(SkPoint));
804 fTexs = new SkPoint[vertexCount];
805 memcpy(fTexs, texs, vertexCount * sizeof(SkPoint));
811 fColors = new SkColor[vertexCount];
812 memcpy(fColors, colors, vertexCount * sizeof(SkColor));
H A DSkDebugCanvas.cpp523 void SkDebugCanvas::onDrawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], argument
527 this->addDrawCommand(new SkDrawVerticesCommand(vmode, vertexCount, vertices,
/external/deqp/modules/glshared/
H A DglsScissorTests.cpp360 const int vertexCount = vertexCountSet[m_primitiveType]; local
364 vector<float> positions (4*vertexCount*m_primitiveCount);
373 for (int vertNdx = 0; vertNdx < vertexCount; vertNdx++)
375 const int ndx = primNdx*4*vertexCount + vertNdx*4;
383 indices[primNdx*indexCount + ndx] = baseIndices[ndx] + primNdx*vertexCount;
H A DglsVertexArrayTests.cpp1148 void ContextArrayPack::render (Array::Primitive primitive, int firstVertex, int vertexCount, bool useVao, float coordScale, float colorScale) argument
1189 m_ctx.drawArrays(ContextArray::primitiveToGL(primitive), firstVertex, vertexCount - firstVertex);
/external/skia/src/pipe/
H A DSkGPipeWrite.cpp281 void onDrawVertices(VertexMode vmode, int vertexCount,
1035 void SkGPipeCanvas::onDrawVertices(VertexMode vmode, int vertexCount, argument
1040 if (0 == vertexCount) {
1052 size += vertexCount * sizeof(SkPoint); // vertices
1056 size += vertexCount * sizeof(SkPoint);
1060 size += vertexCount * sizeof(SkColor);
1075 fWriter.write32(vertexCount);
1076 fWriter.write(vertices, vertexCount * sizeof(SkPoint));
1078 fWriter.write(texs, vertexCount * sizeof(SkPoint));
1081 fWriter.write(colors, vertexCount * sizeo
[all...]

Completed in 8014 milliseconds

12