Home
last modified time | relevance | path

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

1234

/external/skia/src/gpu/batches/
DGrAALinearizingConvexPathRenderer.cpp162 void draw(GrVertexBatch::Target* target, const GrPipeline* pipeline, int vertexCount, in draw() argument
164 if (vertexCount == 0 || indexCount == 0) { in draw()
170 void* verts = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, in draw()
176 memcpy(verts, vertices, vertexCount * vertexStride); in draw()
187 firstIndex, vertexCount, indexCount); in draw()
214 int vertexCount = 0; in onPrepareDraws() local
233 this->draw(target, this->pipeline(), vertexCount, vertexStride, vertices, in onPrepareDraws()
235 vertexCount = 0; in onPrepareDraws()
239 if (vertexCount + currentVertices > maxVertices) { in onPrepareDraws()
240 maxVertices = SkTMax(vertexCount + currentVertices, maxVertices * 2); in onPrepareDraws()
[all …]
DGrDrawVerticesBatch.cpp36 const SkPoint* positions, int vertexCount, in GrDrawVerticesBatch() argument
46 installedGeo.fPositions.append(vertexCount, positions); in GrDrawVerticesBatch()
53 installedGeo.fColors.append(vertexCount, colors); in GrDrawVerticesBatch()
59 installedGeo.fLocalCoords.append(vertexCount, localCoords); in GrDrawVerticesBatch()
61 fVertexCount = vertexCount; in GrDrawVerticesBatch()
289 uint32_t vertexCount = seed_vertices(type) + (primitiveCount - 1) * primitive_vertices(type); in DRAW_BATCH_TEST_DEFINE() local
293 randomize_params(seed_vertices(type), vertexCount, kMinVertExtent, kMaxVertExtent, in DRAW_BATCH_TEST_DEFINE()
301 randomize_params(primitive_vertices(type), vertexCount, kMinVertExtent, kMaxVertExtent, in DRAW_BATCH_TEST_DEFINE()
311 SkDEBUGCODE(bool result = ) bounds.setBoundsCheck(positions.begin(), vertexCount); in DRAW_BATCH_TEST_DEFINE()
319 positions.begin(), vertexCount, in DRAW_BATCH_TEST_DEFINE()
[all …]
DGrDrawVerticesBatch.h35 const SkPoint* positions, int vertexCount, in Create() argument
39 return new GrDrawVerticesBatch(geometry, primitiveType, viewMatrix, positions, vertexCount, in Create()
57 const SkPoint* positions, int vertexCount,
DGrNonAAStrokeRectBatch.cpp128 int vertexCount = kVertsPerHairlineRect; in onPrepareDraws() local
130 vertexCount = kVertsPerStrokeRect; in onPrepareDraws()
136 void* verts = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, in onPrepareDraws()
161 vertices.init(primType, vertexBuffer, firstVertex, vertexCount); in onPrepareDraws()
DGrVertexBatch.cpp29 int vertexCount = verticesPerInstance * instancesToDraw; in init() local
30 … void* vertices = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex); in init()
DGrAAHairLinePathRenderer.cpp869 int vertexCount = kLineSegNumVertices * lineCount; in onPrepareDraws() local
871 target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex)); in onPrepareDraws()
901 int vertexCount = kQuadNumVertices * quadCount + kQuadNumVertices * conicCount; in onPrepareDraws() local
902 void *vertices = target->makeVertexSpace(vertexStride, vertexCount, in onPrepareDraws()
/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()
DGrBatchFlushState.cpp22 void* GrBatchFlushState::makeVertexSpace(size_t vertexSize, int vertexCount, in makeVertexSpace() argument
24 return fVertexPool.makeSpace(vertexSize, vertexCount, buffer, startVertex); in makeVertexSpace()
DGrBatchFlushState.h78 void* makeVertexSpace(size_t vertexSize, int vertexCount,
174 void* makeVertexSpace(size_t vertexSize, int vertexCount, in makeVertexSpace() argument
176 return this->state()->makeVertexSpace(vertexSize, vertexCount, buffer, startVertex); in makeVertexSpace()
DGrBufferAllocPool.cpp340 int vertexCount, in makeSpace() argument
344 SkASSERT(vertexCount >= 0); in makeSpace()
350 void* ptr = INHERITED::makeSpace(vertexSize * vertexCount, in makeSpace()
DGrBufferAllocPool.h162 int vertexCount,
/external/skia/src/core/
DSkRecorder.cpp298 int vertexCount, const SkPoint vertices[], in onDrawVertices() argument
304 vertexCount, in onDrawVertices()
305 this->copy(vertices, vertexCount), in onDrawVertices()
306 texs ? this->copy(texs, vertexCount) : nullptr, in onDrawVertices()
307 colors ? this->copy(colors, vertexCount) : nullptr, in onDrawVertices()
DSkPictureRecord.cpp641 void SkPictureRecord::onDrawVertices(VertexMode vmode, int vertexCount, in onDrawVertices() argument
664 size_t size = 5 * kUInt32Size + vertexCount * sizeof(SkPoint); in onDrawVertices()
666 size += vertexCount * sizeof(SkPoint); // + uvs in onDrawVertices()
669 size += vertexCount * sizeof(SkColor); // + vert colors in onDrawVertices()
683 this->addInt(vertexCount); in onDrawVertices()
684 this->addPoints(vertices, vertexCount); in onDrawVertices()
686 this->addPoints(texs, vertexCount); in onDrawVertices()
689 fWriter.writeMul4(colors, vertexCount * sizeof(SkColor)); in onDrawVertices()
DSkBitmapDevice.cpp361 int vertexCount, in drawVertices() argument
366 draw.drawVertices(vmode, vertexCount, verts, textures, colors, xmode, in drawVertices()
/external/skia/src/utils/
DSkPaintFilterCanvas.cpp146 void SkPaintFilterCanvas::onDrawVertices(VertexMode vmode, int vertexCount, in onDrawVertices() argument
153 this->INHERITED::onDrawVertices(vmode, vertexCount, vertices, texs, colors, xmode, indices, in onDrawVertices()
DSkNWayCanvas.cpp274 void SkNWayCanvas::onDrawVertices(VertexMode vmode, int vertexCount, in onDrawVertices() argument
281 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] = (deUint16)(baseIndices[ndx] + primNdx*vertexCount); in render()
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp360 uint32_t vertexCount, in draw() argument
367 vertexCount, in draw()
/external/skia/src/svg/
DSkSVGDevice.h49 void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCount,
/external/deqp/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl361 inline VkDrawIndirectCommand makeDrawIndirectCommand (deUint32 vertexCount, deUint32 instanceCount,… argument
364 res.vertexCount = vertexCount;
/external/skia/include/utils/
DSkLuaCanvas.h57 void onDrawVertices(VertexMode vmode, int vertexCount,
DSkPaintFilterCanvas.h80 void onDrawVertices(VertexMode vmode, int vertexCount,
DSkNWayCanvas.h70 void onDrawVertices(VertexMode vmode, int vertexCount,
/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()
/external/skia/tools/android/
DSkAndroidSDKCanvas.cpp160 int vertexCount, in onDrawVertices() argument
166 fProxyTarget->drawVertices(vMode, vertexCount, vertices, texs, colors, in onDrawVertices()

1234