/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
H A D | PVRTFixedPoint.cpp | 29 @Input mesh The mesh to create the fixed point version from 30 @Returns A fixed point version of mesh 33 HeaderStruct_Fixed_Mesh *CreateFixedObjectMesh(HeaderStruct_Mesh *mesh) argument 37 new_mesh->fCenter[0] = PVRTF2X(mesh->fCenter[0]); 38 new_mesh->fCenter[1] = PVRTF2X(mesh->fCenter[1]); 39 new_mesh->fCenter[2] = PVRTF2X(mesh->fCenter[2]); 42 new_mesh->nNumVertex = mesh->nNumVertex; 43 new_mesh->nNumFaces = mesh->nNumFaces; 44 new_mesh->nNumStrips = mesh 129 FreeFixedObjectMesh(HeaderStruct_Fixed_Mesh* mesh) argument [all...] |
H A D | PVRTModelPOD.cpp | 186 bool bFromMemory; /*!< Was the mesh data loaded from memory? */ 800 @Input mesh 804 static bool WriteInterleaved(FILE * const pFile, SPODMesh &mesh) argument 806 if(!mesh.pInterleaved) 811 CPODData **pCPODData = new CPODData*[7 + mesh.nNumUVW]; 813 if(mesh.sVertex.n) pCPODData[ui32CPODDataSize++] = &mesh.sVertex; 814 if(mesh.sNormals.n) pCPODData[ui32CPODDataSize++] = &mesh.sNormals; 815 if(mesh [all...] |
H A D | PVRTModelPOD.h | 129 PVRTuint8 *pData; /*!< Actual data (array of values); if mesh is interleaved, this is an OFFSET from pInterleaved */ 161 @brief Struct for storing POD mesh data 164 PVRTuint32 nNumVertex; /*!< Number of vertices in the mesh */ 165 PVRTuint32 nNumFaces; /*!< Number of triangles in the mesh */ 168 PVRTuint32 *pnStripLength; /*!< If mesh is stripped: number of tris per strip. */ 169 PVRTuint32 nNumStrips; /*!< If mesh is stripped: number of strips, length of pnStripLength array. */ 183 EPODPrimitiveType ePrimitiveType; /*!< Primitive type used by this mesh */ 193 PVRTint32 nIdx; /*!< Index into mesh, light or camera array, depending on which object list contains this Node */ 195 PVRTint32 nIdxMaterial; /*!< Index of material used on this mesh */ 280 SPODMesh *pMesh; /*!< Mesh array. Meshes may be instanced several times in a scene; i.e. multiple Nodes may reference any given mesh [all...] |
/external/skia/src/gpu/ |
H A D | GrMesh.h | 134 const GrNonInstancedMesh* init(const GrMesh& mesh) { argument 135 fMesh = &mesh; 136 if (mesh.fInstanceCount <= mesh.fMaxInstancesPerDraw) { 139 return &mesh; 141 SkASSERT(mesh.isInstanced()); 142 fInstanceBatch.fIndexBuffer.reset(mesh.fIndexBuffer.get()); 143 fInstanceBatch.fVertexBuffer.reset(mesh.fVertexBuffer.get()); 144 fInstanceBatch.fIndexCount = mesh.fMaxInstancesPerDraw * 145 mesh [all...] |
H A D | GrGpuCommandBuffer.cpp | 39 const GrMesh* mesh, 47 this->onDraw(pipeline, primProc, mesh, meshCount, bounds); 37 draw(const GrPipeline& pipeline, const GrPrimitiveProcessor& primProc, const GrMesh* mesh, int meshCount, const SkRect& bounds) argument
|
H A D | GrTessellator.cpp | 23 * 2) Build a mesh of edges connecting the vertices (build_edges()). 25 * 4) Simplify the mesh by inserting new vertices at intersecting edges (simplify()). 26 * 5) Tessellate the simplified mesh into monotone polygons (tessellate()). 36 * antialiased mesh from those vertices (stroke_boundary()). 37 * Run steps 3-6 above on the new mesh, and produce antialiased triangles. 51 * not exact and may violate the mesh topology or active edge list ordering. We 52 * accommodate this by adjusting the topology of the mesh and AEL to match the intersection 139 * an individual Vertex from the path mesh may belong to multiple 324 * output may be incorrect, and adjusting the mesh topology to match (see comment at the top of 1040 void merge_vertices(Vertex* src, Vertex* dst, VertexList* mesh, Comparato argument 1151 merge_coincident_vertices(VertexList* mesh, Comparator& c, SkArenaAlloc& alloc) argument 1167 build_edges(VertexList* contours, int contourCnt, VertexList* mesh, Comparator& c, SkArenaAlloc& alloc) argument 1459 remove_non_boundary_edges(const VertexList& mesh, SkPath::FillType fillType, SkArenaAlloc& alloc) argument 1668 contours_to_mesh(VertexList* contours, int contourCnt, bool antialias, VertexList* mesh, Comparator& c, SkArenaAlloc& alloc) argument 1708 VertexList mesh; local [all...] |
/external/skia/src/gpu/ops/ |
H A D | GrDrawVerticesOp.cpp | 54 Mesh& mesh = fMeshes.push_back(); local 55 mesh.fColor = color; 56 mesh.fViewMatrix = viewMatrix; 57 mesh.fVertices = std::move(vertices); 58 mesh.fFlags = flags; 61 if (mesh.hasPerVertexColors()) { 64 if (mesh.hasExplicitLocalCoords()) { 74 this->setTransformedBounds(mesh.fVertices->bounds(), viewMatrix, HasAABloat::kNo, zeroArea); 175 const Mesh& mesh = fMeshes[i]; local 177 int indexCount = mesh 237 GrMesh mesh; local [all...] |
H A D | GrMeshDrawOp.cpp | 92 void GrMeshDrawOp::Target::draw(const GrGeometryProcessor* gp, const GrMesh& mesh) { argument 94 op->fMeshes.push_back(mesh); 97 // add this mesh to it.
|
H A D | GrAtlasTextOp.cpp | 149 GrMesh mesh; local 152 mesh.initInstanced(kTriangles_GrPrimitiveType, flushInfo->fVertexBuffer.get(), 155 target->draw(flushInfo->fGeometryProcessor.get(), mesh);
|
H A D | GrNonAAStrokeRectOp.cpp | 159 GrMesh mesh; variable 160 mesh.init(primType, vertexBuffer, firstVertex, vertexCount); 161 target->draw(gp.get(), mesh);
|
H A D | GrAAHairLinePathRenderer.cpp | 863 GrMesh mesh; local 864 mesh.initInstanced(kTriangles_GrPrimitiveType, vertexBuffer, linesIndexBuffer.get(), 867 target->draw(lineGP.get(), mesh); 920 GrMesh mesh; local 921 mesh.initInstanced(kTriangles_GrPrimitiveType, vertexBuffer, quadsIndexBuffer.get(), 924 target->draw(quadGP.get(), mesh); 929 GrMesh mesh; local 930 mesh.initInstanced(kTriangles_GrPrimitiveType, vertexBuffer, quadsIndexBuffer.get(), 933 target->draw(conicGP.get(), mesh);
|
H A D | GrAALinearizingConvexPathRenderer.cpp | 193 GrMesh mesh; local 211 mesh.initIndexed(kTriangles_GrPrimitiveType, vertexBuffer, indexBuffer, firstVertex, 213 target->draw(gp, mesh);
|
H A D | GrTessellatingPathRenderer.cpp | 315 GrMesh mesh; local 316 mesh.init(primitiveType, vb, firstVertex, count); 317 target->draw(gp, mesh);
|
/external/vulkan-validation-layers/demos/smoke/ |
H A D | Meshes.cpp | 165 BuildPyramid(Mesh &mesh) argument 185 mesh.build(vertices, faces); 191 BuildIcosphere(Mesh &mesh) : mesh_(mesh), radius_(1.0f) argument 328 BuildTeapot(Mesh &mesh) argument 340 mesh.positions_.emplace_back(Mesh::Position{ 346 mesh.normals_.emplace_back(Mesh::Normal{ 354 mesh.faces_.emplace_back(Mesh::Face{ 435 for (const auto &mesh : meshes) { 437 draw.indexCount = mesh [all...] |
H A D | Simulation.h | 82 Meshes::Type mesh; member in struct:Simulation::Object
|
H A D | Simulation.cpp | 285 MeshPicker mesh; local 290 Meshes::Type type = mesh.pick(); 291 float scale = mesh.scale(type);
|
/external/skia/src/gpu/gl/ |
H A D | GrGLGpuCommandBuffer.h | 52 const GrMesh* mesh, 60 fGpu->draw(pipeline, primProc, mesh, meshCount);
|
/external/iw/ |
H A D | Android.mk | 8 mesh.c mpath.c mpp.c scan.c reg.c \
|
H A D | mesh.c | 14 SECTION(mesh); variable 26 /* describes a mesh parameter */ 196 /* The current mesh parameters */ 274 printf("Possible mesh parameters are:\n"); 284 /* Find out what mesh parameter we want to change. */ 368 "Set mesh parameter (run command without any to see available ones)."); 386 /* unpack the mesh parameters */ 403 /* print out the mesh parameter */ 433 "Retrieve mesh parameter (run command without any to see available ones)."); 605 COMMAND(mesh, joi [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/ |
H A D | d3d11gears.cpp | 47 struct mesh* mesh; member in struct:gear 86 static mesh* build_gear(ID3D11Device* dev, int triangle_budget, float inner_radius, float outer_radius, float width, int teeth, float tooth_depth) 230 return new mesh(dev, D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST, 297 gears[i].mesh->bind_and_draw(ctx); 516 gears[0].mesh = build_gear(dev, triangles / 2, 1.0f, 4.0f, 1.0f, 20, 0.7f); 517 gears[1].mesh = build_gear(dev, triangles / 4, 0.5f, 2.0f, 2.0f, 10, 0.7f); 518 gears[2].mesh = build_gear(dev, triangles / 4, 1.3f, 2.0f, 0.5f, 10, 0.7f);
|
/external/skia/src/gpu/vk/ |
H A D | GrVkGpuCommandBuffer.cpp | 428 const GrNonInstancedMesh& mesh) { 434 SkASSERT(!mesh.vertexBuffer()->isCPUBacked()); 436 vbuf = (GrVkVertexBuffer*)mesh.vertexBuffer(); 442 if (mesh.isIndexed()) { 443 SkASSERT(!mesh.indexBuffer()->isCPUBacked()); 444 GrVkIndexBuffer* ibuf = (GrVkIndexBuffer*)mesh.indexBuffer(); 548 const GrMesh& mesh = meshes[i]; local 550 const GrNonInstancedMesh* nonIdxMesh = iter.init(mesh); 427 bindGeometry(const GrPrimitiveProcessor& primProc, const GrNonInstancedMesh& mesh) argument
|
H A D | GrVkGpuCommandBuffer.h | 57 const GrMesh* mesh,
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
H A D | d3d11u.h | 80 struct mesh struct 90 mesh(ID3D11Device* dev, D3D11_PRIMITIVE_TOPOLOGY topology, function in struct:mesh 126 ~mesh() 157 mesh* create_tex_quad(ID3D11Device* dev, const BYTE* vs, unsigned vs_size) 172 return new mesh(dev, D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP, 181 mesh* quad;
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tex/ |
H A D | d3d11tex.cpp | 38 mesh* quad;
|
/external/skia/tests/ |
H A D | BlitRowTest.cpp | 221 // cons up a mesh to draw the bitmap with 224 Mesh mesh(srcBM, &paint); 236 mesh.draw(&canvas1, &paint);
|