/external/skqp/src/gpu/ops/ |
D | GrDrawVerticesOp.cpp | 48 Mesh& mesh = fMeshes.push_back(); in GrDrawVerticesOp() local 49 mesh.fColor = color; in GrDrawVerticesOp() 50 mesh.fViewMatrix = viewMatrix; in GrDrawVerticesOp() 51 mesh.fVertices = std::move(vertices); in GrDrawVerticesOp() 52 mesh.fIgnoreTexCoords = false; in GrDrawVerticesOp() 53 mesh.fIgnoreColors = false; in GrDrawVerticesOp() 54 mesh.fIgnoreBones = false; in GrDrawVerticesOp() 56 if (mesh.fVertices->hasBones() && bones) { in GrDrawVerticesOp() 58 mesh.fVertices = mesh.fVertices->applyBones(bones, boneCount); in GrDrawVerticesOp() 70 if (mesh.hasPerVertexColors()) { in GrDrawVerticesOp() [all …]
|
D | GrAAHairLinePathRenderer.cpp | 993 GrMesh* mesh = target->allocMesh(GrPrimitiveType::kTriangles); in onPrepareDraws() local 994 mesh->setIndexedPatterned(std::move(linesIndexBuffer), kIdxsPerLineSeg, kLineSegNumVertices, in onPrepareDraws() 996 mesh->setVertexData(std::move(vertexBuffer), firstVertex); in onPrepareDraws() 997 target->draw(std::move(lineGP), pipe.fPipeline, pipe.fFixedDynamicState, mesh); in onPrepareDraws() 1048 GrMesh* mesh = target->allocMesh(GrPrimitiveType::kTriangles); in onPrepareDraws() local 1049 mesh->setIndexedPatterned(quadsIndexBuffer, kIdxsPerQuad, kQuadNumVertices, quadCount, in onPrepareDraws() 1051 mesh->setVertexData(vertexBuffer, firstVertex); in onPrepareDraws() 1052 target->draw(std::move(quadGP), pipe.fPipeline, pipe.fFixedDynamicState, mesh); in onPrepareDraws() 1057 GrMesh* mesh = target->allocMesh(GrPrimitiveType::kTriangles); in onPrepareDraws() local 1058 mesh->setIndexedPatterned(std::move(quadsIndexBuffer), kIdxsPerQuad, kQuadNumVertices, in onPrepareDraws() [all …]
|
/external/skia/src/gpu/ |
D | GrOpFlushState.cpp | 219 void GrOpFlushState::drawMesh(const GrSimpleMesh& mesh) { in drawMesh() argument 220 SkASSERT(mesh.fIsInitialized); in drawMesh() 221 if (!mesh.fIndexBuffer) { in drawMesh() 222 this->bindBuffers(nullptr, nullptr, mesh.fVertexBuffer); in drawMesh() 223 this->draw(mesh.fVertexCount, mesh.fBaseVertex); in drawMesh() 225 this->bindBuffers(mesh.fIndexBuffer, nullptr, mesh.fVertexBuffer, mesh.fPrimitiveRestart); in drawMesh() 226 if (0 == mesh.fPatternRepeatCount) { in drawMesh() 227 this->drawIndexed(mesh.fIndexCount, mesh.fBaseIndex, mesh.fMinIndexValue, in drawMesh() 228 mesh.fMaxIndexValue, mesh.fBaseVertex); in drawMesh() 230 this->drawIndexPattern(mesh.fIndexCount, mesh.fPatternRepeatCount, in drawMesh() [all …]
|
D | GrAATriangulator.h | 36 void apply(VertexList* mesh, const Comparator&, EventList* events, const GrAATriangulator*); 68 Poly* tessellate(const VertexList& mesh, const Comparator&) const override; 75 void connectPartners(VertexList* mesh, const Comparator&) const; 76 void removeNonBoundaryEdges(const VertexList& mesh) const; 78 bool collapseOverlapRegions(VertexList* mesh, const Comparator&, EventComparator comp) const;
|
D | GrTriangulator.cpp | 865 void GrTriangulator::mergeVertices(Vertex* src, Vertex* dst, VertexList* mesh, in mergeVertices() argument 879 mesh->remove(src); in mergeVertices() 883 Vertex* GrTriangulator::makeSortedVertex(const SkPoint& p, uint8_t alpha, VertexList* mesh, in makeSortedVertex() argument 889 Vertex* nextV = prevV ? prevV->fNext : mesh->fHead; in makeSortedVertex() 903 v->fID = mesh->fHead->fID - 1.0f; in makeSortedVertex() 905 v->fID = mesh->fTail->fID + 1.0f; in makeSortedVertex() 910 mesh->insert(v, prevV, nextV); in makeSortedVertex() 955 Vertex** current, VertexList* mesh, in checkForIntersection() argument 991 v = this->makeSortedVertex(p, alpha, mesh, top, c); in checkForIntersection() 1042 bool GrTriangulator::mergeCoincidentVertices(VertexList* mesh, const Comparator& c) const { in mergeCoincidentVertices() argument [all …]
|
D | GrTriangulator.h | 64 void contoursToMesh(VertexList* contours, int contourCnt, VertexList* mesh, 78 SimplifyResult simplify(VertexList* mesh, const Comparator&) const; 151 void mergeVertices(Vertex* src, Vertex* dst, VertexList* mesh, const Comparator&) const; 159 Vertex* makeSortedVertex(const SkPoint&, uint8_t alpha, VertexList* mesh, Vertex* reference, 163 VertexList* mesh, const Comparator&) const; 165 bool mergeCoincidentVertices(VertexList* mesh, const Comparator&) const; 166 void buildEdges(VertexList* contours, int contourCnt, VertexList* mesh,
|
D | GrAATriangulator.cpp | 109 void GrAATriangulator::connectPartners(VertexList* mesh, const Comparator& c) const { in connectPartners() argument 110 for (Vertex* outer = mesh->fHead; outer; outer = outer->fNext) { in connectPartners() 142 void GrAATriangulator::removeNonBoundaryEdges(const VertexList& mesh) const { in removeNonBoundaryEdges() 145 for (Vertex* v = mesh.fHead; v != nullptr; v = v->fNext) { in removeNonBoundaryEdges() 245 void GrAATriangulator::Event::apply(VertexList* mesh, const Comparator& c, EventList* events, in apply() argument 257 Vertex* dest = triangulator->makeSortedVertex(fPoint, fAlpha, mesh, prev, c); in apply() 308 bool GrAATriangulator::collapseOverlapRegions(VertexList* mesh, const Comparator& c, in collapseOverlapRegions() argument 315 for (Vertex* v = mesh->fHead; v != nullptr; v = v->fNext) { in collapseOverlapRegions() 386 event->apply(mesh, c, &events, this); in collapseOverlapRegions() 619 Poly* GrAATriangulator::tessellate(const VertexList& mesh, const Comparator& c) const { in tessellate() argument [all …]
|
/external/skqp/tests/ |
D | GrMeshTest.cpp | 59 void drawMesh(const GrMesh& mesh); 159 GrMesh mesh(GrPrimitiveType::kTriangles); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 160 mesh.setNonIndexedNonInstanced(kBoxCountX * 6); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 161 mesh.setVertexData(vbuff, y * kBoxCountX * 6); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 162 helper->drawMesh(mesh); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 179 GrMesh mesh(GrPrimitiveType::kTriangles); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 180 mesh.setIndexed(ibuff, repetitionCount * 6, baseRepetition * 6, baseRepetition * 4, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 182 mesh.setVertexData(vbuff, (i - baseRepetition) * 4); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 183 helper->drawMesh(mesh); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 199 GrMesh mesh(GrPrimitiveType::kTriangles); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local [all …]
|
D | GrPipelineDynamicStateTest.cpp | 142 GrMesh& mesh = meshes.emplace_back(GrPrimitiveType::kTriangleStrip); in onExecute() local 143 mesh.setNonIndexedNonInstanced(4); in onExecute() 144 mesh.setVertexData(fVertexBuffer, 4 * i); in onExecute()
|
/external/libvpx/libvpx/tools/3D-Reconstruction/sketch_3D_reconstruction/ |
D | Scene.pde | 3 ArrayList<Triangle> mesh; 13 mesh = new ArrayList<Triangle>(); 24 mesh.add(new Triangle(p1, p2, p3, c1, c2, c3)); 25 mesh.add(new Triangle(p3, p4, p1, c3, c4, c1)); 27 bvh = new BVH(mesh); 41 // build mesh 44 for (int i = 0; i < mesh.size(); i++) { 45 Triangle t = mesh.get(i);
|
D | BVH.pde | 100 ArrayList<Triangle> mesh; 101 BVH(ArrayList<Triangle> mesh) { 102 this.mesh = mesh; 106 int mesh_size = this.mesh.size(); 115 Triangle t = this.mesh.get(i); 128 // Build left node and right node by partitioning the mesh based on triangle 133 Triangle t = this.mesh.get(i); 149 if (mesh.size() == 0) { 152 if (mesh.size() == 1) { 153 Triangle t = mesh.get(0);
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | spv.meshShaderPerView_Errors.mesh.out | 1 spv.meshShaderPerView_Errors.mesh 3 ERROR: 0:20: '[]' : mesh view output array size must be gl_MaxMeshViewCountNV or implicitly sized 6 ERROR: 0:26: '[]' : mesh view output array size must be gl_MaxMeshViewCountNV or implicitly sized
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/ |
D | spv.meshShaderPerView_Errors.mesh.out | 1 spv.meshShaderPerView_Errors.mesh 3 ERROR: 0:20: '[]' : mesh view output array size must be gl_MaxMeshViewCountNV or implicitly sized 6 ERROR: 0:26: '[]' : mesh view output array size must be gl_MaxMeshViewCountNV or implicitly sized
|
/external/skia/src/gpu/ops/ |
D | GrDrawVerticesOp.cpp | 331 Mesh& mesh = fMeshes.push_back(); in DrawVerticesOp() local 332 mesh.fColor = color; in DrawVerticesOp() 333 mesh.fViewMatrix = matrixProvider.localToDevice(); in DrawVerticesOp() 334 mesh.fVertices = std::move(vertices); in DrawVerticesOp() 335 mesh.fIgnoreColors = false; in DrawVerticesOp() 344 this->setTransformedBounds(mesh.fVertices->bounds(), in DrawVerticesOp() 345 mesh.fViewMatrix, in DrawVerticesOp() 435 for (const auto& mesh : fMeshes) { in onPrepareDraws() local 436 SkVerticesPriv info(mesh.fVertices->priv()); in onPrepareDraws() 453 GrColor meshColor = mesh.fColor.toBytes_RGBA(); in onPrepareDraws() [all …]
|
/external/skqp/gm/ |
D | fwidth_squircle.cpp | 150 GrMesh mesh(GrPrimitiveType::kTriangleStrip); in onExecute() local 151 mesh.setNonIndexedNonInstanced(4); in onExecute() 152 mesh.setVertexData(std::move(vertexBuffer)); in onExecute() 154 nullptr, nullptr, &mesh, 1, SkRect::MakeIWH(100, 100)); in onExecute()
|
D | clockwise.cpp | 125 GrMesh mesh(GrPrimitiveType::kTriangleStrip); in onExecute() local 126 mesh.setNonIndexedNonInstanced(4); in onExecute() 127 mesh.setVertexData(std::move(vertexBuffer)); in onExecute() 129 nullptr, nullptr, &mesh, 1, SkRect::MakeIWH(100, 100)); in onExecute()
|
/external/rust/crates/plotters/src/chart/ |
D | mod.rs | 19 mod mesh; module 26 pub use mesh::{MeshStyle, SecondaryMeshStyle};
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCPathProcessor.cpp | 130 GrMesh mesh(primitiveType); in drawPaths() local 133 mesh.setIndexedInstanced(resources.refIndexBuffer(), numIndicesPerInstance, in drawPaths() 136 mesh.setVertexData(resources.refVertexBuffer()); in drawPaths() 138 flushState->rtCommandBuffer()->draw(*this, pipeline, fixedDynamicState, nullptr, &mesh, 1, in drawPaths()
|
/external/skqp/src/gpu/ |
D | GrTessellator.cpp | 479 void apply(VertexList* mesh, Comparator& c, SkArenaAlloc& alloc); 1152 void merge_vertices(Vertex* src, Vertex* dst, VertexList* mesh, Comparator& c, in merge_vertices() argument 1166 mesh->remove(src); in merge_vertices() 1169 Vertex* create_sorted_vertex(const SkPoint& p, uint8_t alpha, VertexList* mesh, in create_sorted_vertex() argument 1175 Vertex* nextV = prevV ? prevV->fNext : mesh->fHead; in create_sorted_vertex() 1189 v->fID = mesh->fHead->fID - 1.0f; in create_sorted_vertex() 1191 v->fID = mesh->fTail->fID + 1.0f; in create_sorted_vertex() 1196 mesh->insert(v, prevV, nextV); in create_sorted_vertex() 1221 VertexList* mesh, Comparator& c, SkArenaAlloc& alloc) { in check_for_intersection() argument 1251 v = create_sorted_vertex(p, alpha, mesh, top, c, alloc); in check_for_intersection() [all …]
|
/external/oss-fuzz/projects/alembic/ |
D | alembic_dump_info_fuzzer.cc | 93 const IPolyMesh mesh(node.getParent(), header.getName()); in dumpPolyMesh() local 94 const IPolyMeshSchema &schema = mesh.getSchema(); in dumpPolyMesh() 102 const ISubD mesh(node.getParent(), header.getName()); in dumpSubD() local 103 const ISubDSchema &schema = mesh.getSchema(); in dumpSubD()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/spherical/ |
D | Projection.java | 169 public Projection(Mesh mesh, int stereoMode) { in Projection() argument 170 this(mesh, mesh, stereoMode); in Projection()
|
/external/tensorflow/tensorflow/core/protobuf/tpu/ |
D | topology.proto | 7 // Describes the geometry of a TPU mesh. 24 // in the TPU mesh topology. Each entry [task, device, axis] gives the
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpuCommandBuffer.h | 85 const GrMesh mesh[], in onDraw() argument 89 dynamicStateArrays, mesh, meshCount); in onDraw()
|
/external/skqp/samplecode/ |
D | SampleCCPRGeometry.cpp | 342 SkSTArray<1, GrMesh> mesh; in onExecute() local 351 proc.appendMesh(std::move(instBuff), fView->fQuadPointInstances.count(), 0, &mesh); in onExecute() 359 proc.appendMesh(std::move(instBuff), fView->fTriPointInstances.count(), 0, &mesh); in onExecute() 363 if (!mesh.empty()) { in onExecute() 364 SkASSERT(1 == mesh.count()); in onExecute() 365 proc.draw(state, pipeline, nullptr, mesh.begin(), 1, this->bounds()); in onExecute()
|
/external/skqp/bench/ |
D | VertexColorSpaceBench.cpp | 222 GrMesh* mesh = target->allocMesh(GrPrimitiveType::kTriangleStrip); in onPrepareDraws() local 223 mesh->setNonIndexedNonInstanced(kVertexCount); in onPrepareDraws() 224 mesh->setVertexData(std::move(vertexBuffer), firstVertex); in onPrepareDraws() 227 target->draw(gp, pipe.fPipeline, pipe.fFixedDynamicState, mesh); in onPrepareDraws()
|