/external/skia/src/gpu/batches/ |
D | GrAALinearizingConvexPathRenderer.cpp | 162 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 …]
|
D | GrDrawVerticesBatch.cpp | 36 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 …]
|
D | GrDrawVerticesBatch.h | 35 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,
|
D | GrNonAAStrokeRectBatch.cpp | 128 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()
|
D | GrVertexBatch.cpp | 29 int vertexCount = verticesPerInstance * instancesToDraw; in init() local 30 … void* vertices = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex); in init()
|
D | GrAAHairLinePathRenderer.cpp | 869 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/ |
D | GrVertices.h | 19 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()
|
D | GrBatchFlushState.cpp | 22 void* GrBatchFlushState::makeVertexSpace(size_t vertexSize, int vertexCount, in makeVertexSpace() argument 24 return fVertexPool.makeSpace(vertexSize, vertexCount, buffer, startVertex); in makeVertexSpace()
|
D | GrBatchFlushState.h | 78 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()
|
D | GrBufferAllocPool.cpp | 340 int vertexCount, in makeSpace() argument 344 SkASSERT(vertexCount >= 0); in makeSpace() 350 void* ptr = INHERITED::makeSpace(vertexSize * vertexCount, in makeSpace()
|
D | GrBufferAllocPool.h | 162 int vertexCount,
|
/external/skia/src/core/ |
D | SkRecorder.cpp | 298 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()
|
D | SkPictureRecord.cpp | 641 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()
|
D | SkBitmapDevice.cpp | 361 int vertexCount, in drawVertices() argument 366 draw.drawVertices(vmode, vertexCount, verts, textures, colors, xmode, in drawVertices()
|
/external/skia/src/utils/ |
D | SkPaintFilterCanvas.cpp | 146 void SkPaintFilterCanvas::onDrawVertices(VertexMode vmode, int vertexCount, in onDrawVertices() argument 153 this->INHERITED::onDrawVertices(vmode, vertexCount, vertices, texs, colors, xmode, indices, in onDrawVertices()
|
D | SkNWayCanvas.cpp | 274 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/ |
D | glsScissorTests.cpp | 360 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/ |
D | GrVkCommandBuffer.cpp | 360 uint32_t vertexCount, in draw() argument 367 vertexCount, in draw()
|
/external/skia/src/svg/ |
D | SkSVGDevice.h | 49 void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCount,
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkTypeUtil.inl | 361 inline VkDrawIndirectCommand makeDrawIndirectCommand (deUint32 vertexCount, deUint32 instanceCount,… argument 364 res.vertexCount = vertexCount;
|
/external/skia/include/utils/ |
D | SkLuaCanvas.h | 57 void onDrawVertices(VertexMode vmode, int vertexCount,
|
D | SkPaintFilterCanvas.h | 80 void onDrawVertices(VertexMode vmode, int vertexCount,
|
D | SkNWayCanvas.h | 70 void onDrawVertices(VertexMode vmode, int vertexCount,
|
/external/deqp/modules/gles3/functional/ |
D | es3fOcclusionQueryTests.cpp | 125 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/ |
D | SkAndroidSDKCanvas.cpp | 160 int vertexCount, in onDrawVertices() argument 166 fProxyTarget->drawVertices(vMode, vertexCount, vertices, texs, colors, in onDrawVertices()
|