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

12

/external/skia/src/gpu/
H A DGrBatchFlushState.cpp22 void* GrBatchFlushState::makeVertexSpace(size_t vertexSize, int vertexCount, argument
24 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 DGrBatchFlushState.h78 void* makeVertexSpace(size_t vertexSize, int vertexCount,
174 void* makeVertexSpace(size_t vertexSize, int vertexCount, argument
176 return this->state()->makeVertexSpace(vertexSize, vertexCount, buffer, startVertex);
H A DGrBufferAllocPool.cpp340 int vertexCount,
344 SkASSERT(vertexCount >= 0);
350 void* ptr = INHERITED::makeSpace(vertexSize * vertexCount,
339 makeSpace(size_t vertexSize, int vertexCount, const GrVertexBuffer** buffer, int* startVertex) argument
H A DGrDrawContext.cpp406 int vertexCount,
423 if (!bounds.setBoundsCheck(positions, vertexCount)) {
441 positions, vertexCount, indices,
402 drawVertices(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
/external/skia/src/gpu/batches/
H A DGrVertexBatch.cpp29 int vertexCount = verticesPerInstance * instancesToDraw; local
30 void* vertices = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex);
H A DGrDrawVerticesBatch.h35 const SkPoint* positions, int vertexCount,
39 return new GrDrawVerticesBatch(geometry, primitiveType, viewMatrix, positions, vertexCount,
57 const SkPoint* positions, int vertexCount,
33 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
H A DGrAALinearizingConvexPathRenderer.cpp162 void draw(GrVertexBatch::Target* target, const GrPipeline* pipeline, int vertexCount, argument
164 if (vertexCount == 0 || indexCount == 0) {
170 void* verts = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer,
176 memcpy(verts, vertices, vertexCount * vertexStride);
187 firstIndex, vertexCount, indexCount);
214 int vertexCount = 0; variable
233 this->draw(target, this->pipeline(), vertexCount, vertexStride, vertices,
235 vertexCount = 0;
239 if (vertexCount + currentVertices > maxVertices) {
240 maxVertices = SkTMax(vertexCount
[all...]
H A DGrDrawVerticesBatch.cpp36 const SkPoint* positions, int vertexCount,
46 installedGeo.fPositions.append(vertexCount, positions);
53 installedGeo.fColors.append(vertexCount, colors);
59 installedGeo.fLocalCoords.append(vertexCount, localCoords);
61 fVertexCount = vertexCount;
289 uint32_t vertexCount = seed_vertices(type) + (primitiveCount - 1) * primitive_vertices(type); local
293 randomize_params(seed_vertices(type), vertexCount, kMinVertExtent, kMaxVertExtent, local
301 randomize_params(primitive_vertices(type), vertexCount, kMinVertExtent, kMaxVertExtent, local
311 SkDEBUGCODE(bool result = ) bounds.setBoundsCheck(positions.begin(), vertexCount);
319 positions.begin(), vertexCount,
34 GrDrawVerticesBatch(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
[all...]
H A DGrNonAAStrokeRectBatch.cpp128 int vertexCount = kVertsPerHairlineRect; variable
130 vertexCount = kVertsPerStrokeRect;
136 void* verts = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer,
161 vertices.init(primType, vertexBuffer, firstVertex, vertexCount);
H A DGrAAConvexPathRenderer.cpp889 int vertexCount; variable
898 if (!get_segments(*pathPtr, *viewMatrix, &segments, &fanPt, &vertexCount,
908 vertexStride, vertexCount, &vertexBuffer, &firstVertex));
/external/skia/src/gpu/vk/
H A DGrVkCommandBuffer.cpp360 uint32_t vertexCount,
367 vertexCount,
359 draw(const GrVkGpu* gpu, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) const argument
/external/skia/src/utils/
H A DSkPaintFilterCanvas.cpp146 void SkPaintFilterCanvas::onDrawVertices(VertexMode vmode, int vertexCount, argument
153 this->INHERITED::onDrawVertices(vmode, vertexCount, vertices, texs, colors, xmode, indices,
H A DSkLuaCanvas.cpp292 void SkLuaCanvas::onDrawVertices(VertexMode vmode, int vertexCount, argument
H A DSkNWayCanvas.cpp274 void SkNWayCanvas::onDrawVertices(VertexMode vmode, int vertexCount, argument
281 iter->drawVertices(vmode, vertexCount, vertices, texs, colors, xmode,
H A DSkDumpCanvas.cpp455 void SkDumpCanvas::onDrawVertices(VertexMode vmode, int vertexCount, argument
461 toString(vmode), vertexCount, SkScalarToFloat(vertices[0].fX),
/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/core/
H A DSkBitmapDevice.cpp361 int vertexCount,
366 draw.drawVertices(vmode, vertexCount, verts, textures, colors, xmode,
360 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.cpp298 int vertexCount, const SkPoint vertices[],
304 vertexCount,
305 this->copy(vertices, vertexCount),
306 texs ? this->copy(texs, vertexCount) : nullptr,
307 colors ? this->copy(colors, vertexCount) : nullptr,
297 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.cpp641 void SkPictureRecord::onDrawVertices(VertexMode vmode, int vertexCount, argument
664 size_t size = 5 * kUInt32Size + vertexCount * sizeof(SkPoint);
666 size += vertexCount * sizeof(SkPoint); // + uvs
669 size += vertexCount * sizeof(SkColor); // + vert colors
683 this->addInt(vertexCount);
684 this->addPoints(vertices, vertexCount);
686 this->addPoints(texs, vertexCount);
689 fWriter.writeMul4(colors, vertexCount * sizeof(SkColor));
/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] = (deUint16)(baseIndices[ndx] + primNdx*vertexCount);
/external/skia/tools/android/
H A DSkAndroidSDKCanvas.cpp160 int vertexCount,
166 fProxyTarget->drawVertices(vMode, vertexCount, vertices, texs, colors,
159 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/tools/debugger/
H A DSkDebugCanvas.cpp495 void SkDebugCanvas::onDrawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], argument
499 this->addDrawCommand(new SkDrawVerticesCommand(vmode, vertexCount, vertices,
/external/skia/tools/json/
H A DSkJSONCanvas.cpp629 void SkJSONCanvas::onDrawVertices(SkCanvas::VertexMode, int vertexCount, const SkPoint vertices[], argument
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineVertexInputTests.cpp1139 const deUint32 vertexCount = (bindingDescription.inputRate == VK_VERTEX_INPUT_RATE_VERTEX) ? (4 * 2) : 2; local
1142 for (deUint32 vertexNdx = 0; vertexNdx < vertexCount; vertexNdx++)

Completed in 1138 milliseconds

12