Home
last modified time | relevance | path

Searched refs:vertexCount (Results 1 – 25 of 58) sorted by relevance

123

/external/skia/src/gpu/
DGrVertices.h19 int vertexCount() const { return fVertexCount; } in vertexCount() function
50 int vertexCount) { in init() argument
52 SkASSERT(vertexCount); in init()
59 fVertexCount = vertexCount; in init()
72 int vertexCount, in initIndexed() argument
77 SkASSERT(vertexCount); in initIndexed()
85 fVertexCount = vertexCount; in initIndexed()
DGrContext.cpp462 int vertexCount = kVertsPerHairlineRect; in generateGeometry() local
464 vertexCount = kVertsPerStrokeRect; in generateGeometry()
470 void* verts = batchTarget->makeVertSpace(vertexStride, vertexCount, in generateGeometry()
497 vertices.init(primType, vertexBuffer, firstVertex, vertexCount); in generateGeometry()
746 const SkPoint* positions, int vertexCount, in Create() argument
751 vertexCount, indices, indexCount, colors, in Create()
813 void* verts = batchTarget->makeVertSpace(vertexStride, this->vertexCount(), in generateGeometry()
862 firstIndex, this->vertexCount(), this->indexCount()); in generateGeometry()
865 vertices.init(this->primitiveType(), vertexBuffer, firstVertex, this->vertexCount()); in generateGeometry()
875 const SkPoint* positions, int vertexCount, in DrawVerticesBatch() argument
[all …]
DGrBatch.cpp59 int vertexCount = verticesPerInstance * instancesToDraw; in init() local
60 void* vertices = batchTarget->makeVertSpace(vertexStride, vertexCount, in init()
DGrBatchTarget.cpp66 void* GrBatchTarget::makeVertSpace(size_t vertexSize, int vertexCount, in makeVertSpace() argument
68 return fVertexPool->makeSpace(vertexSize, vertexCount, buffer, startVertex); in makeVertSpace()
DGrBufferAllocPool.cpp368 int vertexCount, in makeSpace() argument
372 SkASSERT(vertexCount >= 0); in makeSpace()
378 void* ptr = INHERITED::makeSpace(vertexSize * vertexCount, in makeSpace()
DGrBufferAllocPool.h174 int vertexCount,
DGrAAHairLinePathRenderer.cpp874 int vertexCount = kLineSegNumVertices * lineCount; in generateGeometry() local
876 batchTarget->makeVertSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex)); in generateGeometry()
906 int vertexCount = kQuadNumVertices * quadCount + kQuadNumVertices * conicCount; in generateGeometry() local
907 void *vertices = batchTarget->makeVertSpace(vertexStride, vertexCount, in generateGeometry()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/
DIndexBuffer.java57 public static IndexBuffer createIndexBuffer(int vertexCount, int indexCount){ in createIndexBuffer() argument
58 if (vertexCount > 65535){ in createIndexBuffer()
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
DFloatToFixed.java234 int vertexCount = input.capacity() / 3; in convertNormals() local
235 for (int i = 0; i < vertexCount; i++){ in convertNormals()
258 int vertexCount = input.capacity() / 2; in convertTexCoords2D() local
270 for (int i = 0; i < vertexCount; i++){ in convertTexCoords2D()
320 int vertexCount = input.capacity() / 3; in convertPositions() local
321 for (int i = 0; i < vertexCount; i++){ in convertPositions()
/external/skia/src/core/
DSkRecorder.cpp260 int vertexCount, const SkPoint vertices[], in onDrawVertices() argument
266 vertexCount, in onDrawVertices()
267 this->copy(vertices, vertexCount), in onDrawVertices()
268 texs ? this->copy(texs, vertexCount) : NULL, in onDrawVertices()
269 colors ? this->copy(colors, vertexCount) : NULL, in onDrawVertices()
DSkRecords.h318 int vertexCount, in DrawVertices()
327 , vertexCount(vertexCount) in DrawVertices()
337 int vertexCount; member
DSkPictureRecord.cpp712 void SkPictureRecord::onDrawVertices(VertexMode vmode, int vertexCount, in onDrawVertices() argument
735 size_t size = 5 * kUInt32Size + vertexCount * sizeof(SkPoint); in onDrawVertices()
737 size += vertexCount * sizeof(SkPoint); // + uvs in onDrawVertices()
740 size += vertexCount * sizeof(SkColor); // + vert colors in onDrawVertices()
755 this->addInt(vertexCount); in onDrawVertices()
756 this->addPoints(vertices, vertexCount); in onDrawVertices()
758 this->addPoints(texs, vertexCount); in onDrawVertices()
761 fWriter.writeMul4(colors, vertexCount * sizeof(SkColor)); in onDrawVertices()
DSkBitmapDevice.cpp338 int vertexCount, in drawVertices() argument
343 draw.drawVertices(vmode, vertexCount, verts, textures, colors, xmode, in drawVertices()
/external/skia/src/pipe/
DSkGPipeWrite.cpp281 void onDrawVertices(VertexMode vmode, int vertexCount,
1035 void SkGPipeCanvas::onDrawVertices(VertexMode vmode, int vertexCount, in onDrawVertices() argument
1040 if (0 == vertexCount) { in onDrawVertices()
1052 size += vertexCount * sizeof(SkPoint); // vertices in onDrawVertices()
1056 size += vertexCount * sizeof(SkPoint); in onDrawVertices()
1060 size += vertexCount * sizeof(SkColor); in onDrawVertices()
1075 fWriter.write32(vertexCount); in onDrawVertices()
1076 fWriter.write(vertices, vertexCount * sizeof(SkPoint)); in onDrawVertices()
1078 fWriter.write(texs, vertexCount * sizeof(SkPoint)); in onDrawVertices()
1081 fWriter.write(colors, vertexCount * sizeof(SkColor)); in onDrawVertices()
DSkGPipeRead.cpp451 int vertexCount = reader->readU32(); in drawVertices_rp() local
452 const SkPoint* verts = skip<SkPoint>(reader, vertexCount); in drawVertices_rp()
456 texs = skip<SkPoint>(reader, vertexCount); in drawVertices_rp()
461 colors = skip<SkColor>(reader, vertexCount); in drawVertices_rp()
477 canvas->drawVertices(vmode, vertexCount, verts, texs, colors, xfer, in drawVertices_rp()
/external/skia/src/utils/debugger/
DSkDrawCommand.cpp790 SkDrawVerticesCommand::SkDrawVerticesCommand(SkCanvas::VertexMode vmode, int vertexCount, in SkDrawVerticesCommand() argument
798 fVertexCount = vertexCount; in SkDrawVerticesCommand()
800 fVertices = new SkPoint[vertexCount]; in SkDrawVerticesCommand()
801 memcpy(fVertices, vertices, vertexCount * sizeof(SkPoint)); in SkDrawVerticesCommand()
804 fTexs = new SkPoint[vertexCount]; in SkDrawVerticesCommand()
805 memcpy(fTexs, texs, vertexCount * sizeof(SkPoint)); in SkDrawVerticesCommand()
811 fColors = new SkColor[vertexCount]; in SkDrawVerticesCommand()
812 memcpy(fColors, colors, vertexCount * sizeof(SkColor)); in SkDrawVerticesCommand()
/external/skia/experimental/PdfViewer/
DSkTrackDevice.h140 virtual void drawVertices(const SkDraw& dummy1, SkCanvas::VertexMode dummy2, int vertexCount, in drawVertices() argument
146 INHERITED::drawVertices(dummy1, dummy2, vertexCount,verts, texs,colors, xmode, indices, in drawVertices()
/external/skia/src/utils/
DSkPaintFilterCanvas.cpp106 void SkPaintFilterCanvas::onDrawVertices(VertexMode vmode, int vertexCount, in onDrawVertices() argument
112 this->INHERITED::onDrawVertices(vmode, vertexCount, vertices, texs, colors, xmode, indices, in onDrawVertices()
DSkNWayCanvas.cpp283 void SkNWayCanvas::onDrawVertices(VertexMode vmode, int vertexCount, in onDrawVertices() argument
290 iter->drawVertices(vmode, vertexCount, vertices, texs, colors, xmode, in onDrawVertices()
/external/deqp/modules/glshared/
DglsScissorTests.cpp360 const int vertexCount = vertexCountSet[m_primitiveType]; in render() local
364 vector<float> positions (4*vertexCount*m_primitiveCount); in render()
373 for (int vertNdx = 0; vertNdx < vertexCount; vertNdx++) in render()
375 const int ndx = primNdx*4*vertexCount + vertNdx*4; in render()
383 indices[primNdx*indexCount + ndx] = baseIndices[ndx] + primNdx*vertexCount; in render()
/external/skia/src/svg/
DSkSVGDevice.h50 void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCount,
/external/skia/include/utils/
DSkPaintFilterCanvas.h66 void onDrawVertices(VertexMode vmode, int vertexCount,
DSkLuaCanvas.h58 void onDrawVertices(VertexMode vmode, int vertexCount,
/external/skia/src/utils/android/
DSkAndroidSDKCanvas.cpp165 int vertexCount, in onDrawVertices() argument
171 fProxyTarget->drawVertices(vMode, vertexCount, vertices, texs, colors, in onDrawVertices()
/external/deqp/modules/gles3/functional/
Des3fOcclusionQueryTests.cpp125 int vertexCount = verticesPerPrimitive * primitiveCount; in generateVertices() local
126 dst.resize(vertexCount * ELEMENTS_PER_VERTEX); in generateVertices()
128 for (int i = 0; i < vertexCount; i += 3) // First loop gets a random point inside unit square in generateVertices()

123