HomeSort by relevance Sort by last modified time
    Searched refs:mesh (Results 1 - 25 of 81) sorted by null

1 2 3 4

  /cts/tests/openglperf2/jni/graphics/
MeshNode.cpp 16 MeshNode::MeshNode(const Mesh* mesh) :
17 mMesh(mesh) {
MeshNode.h 18 #include "Mesh.h"
24 explicit MeshNode(const Mesh* mesh);
29 const Mesh* mMesh;
PerspectiveMeshNode.h 19 #include "Mesh.h"
25 PerspectiveMeshNode(const Mesh* mesh, const GLuint textureId);
TexturedMeshNode.h 19 #include "Mesh.h"
25 TexturedMeshNode(const Mesh* mesh, const GLuint textureId);
TexturedMeshNode.cpp 17 TexturedMeshNode::TexturedMeshNode(const Mesh* mesh, const GLuint textureId) :
18 MeshNode(mesh), mTextureId(textureId) {
PerspectiveMeshNode.cpp 19 PerspectiveMeshNode::PerspectiveMeshNode(const Mesh* mesh, const GLuint textureId) :
20 TexturedMeshNode(mesh, textureId) {
  /external/swiftshader/third_party/PowerVR_SDK/Tools/
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)
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->nNumStrips
    [all...]
PVRTModelPOD.cpp 186 bool bFromMemory; /*!< Was the mesh data loaded from memory? */
800 @Input mesh
804 static bool WriteInterleaved(FILE * const pFile, SPODMesh &mesh)
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.sTangents.n) pCPODData[ui32CPODDataSize++] = &mesh.sTangents
    [all...]
  /frameworks/rs/driver/runtime/
rs_mesh.c 8 * Mesh
12 Mesh_t *mesh = (Mesh_t *)m.p; local
13 if (mesh == NULL) {
16 return mesh->mHal.state.vertexBuffersCount;
21 Mesh_t *mesh = (Mesh_t *)m.p; local
22 if (mesh == NULL) {
25 return mesh->mHal.state.primitivesCount;
30 Mesh_t *mesh = (Mesh_t *)m.p; local
31 if (mesh == NULL || index >= mesh->mHal.state.vertexBuffersCount)
43 Mesh_t *mesh = (Mesh_t *)m.p; local
56 Mesh_t *mesh = (Mesh_t *)m.p; local
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
d3dx9shape.h 30 float depth, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency);
32 float length, UINT slices, UINT stacks, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency);
33 HRESULT WINAPI D3DXCreatePolygon(struct IDirect3DDevice9 *device, float length, UINT sides, struct ID3DXMesh **mesh,
36 UINT stacks, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency);
38 struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency);
40 float extrusion, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency, GLYPHMETRICSFLOAT *glyphmetrics);
42 FLOAT extrusion, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency, GLYPHMETRICSFLOAT *glyphmetrics);
44 float innerradius, float outerradius, UINT sides, UINT rings, struct ID3DXMesh **mesh, ID3DXBuffer **adjacency);
  /cts/tests/openglperf2/
cob_exporter.py 34 mesh = context.active_object
35 if mesh.type != 'MESH':
36 print("Active object is not a mesh")
38 if mesh.mode != 'OBJECT':
40 print("Writing "+mesh.name+" to "+self.filepath)
41 uvtex = mesh.data.uv_textures.active # points to active texture
47 for vertex_index, vertex_itself in enumerate(mesh.data.faces[uv_index].vertices):
49 vertex = mesh.data.vertices[vertex_itself]
  /external/skia/src/gpu/ops/
GrDrawVerticesOp.cpp 47 Mesh& mesh = fMeshes.push_back(); local
48 mesh.fColor = color;
49 mesh.fViewMatrix = viewMatrix;
50 mesh.fVertices = std::move(vertices);
51 mesh.fIgnoreTexCoords = false;
52 mesh.fIgnoreColors = false;
55 if (mesh.hasPerVertexColors()) {
58 if (mesh.hasExplicitLocalCoords()) {
68 this->setTransformedBounds(mesh.fVertices->bounds(), viewMatrix, HasAABloat::kNo, zeroArea)
180 const Mesh& mesh = fMeshes[i]; local
    [all...]
  /frameworks/base/libs/hwui/
GlopBuilder.cpp 73 // Mesh
79 mOutGlop->mesh.primitiveMode = GL_TRIANGLES;
80 mOutGlop->mesh.indices = { mRenderState.meshState().getQuadListIBO(), nullptr };
81 mOutGlop->mesh.vertices = {
86 mOutGlop->mesh.elementCount = elementCount;
93 mOutGlop->mesh.primitiveMode = GL_TRIANGLE_STRIP;
94 mOutGlop->mesh.indices = { 0, nullptr };
95 mOutGlop->mesh.vertices = {
100 mOutGlop->mesh.elementCount = 4;
112 mOutGlop->mesh.primitiveMode = GL_TRIANGLE_STRIP
661 const Glop::Mesh& mesh = glop.mesh; local
    [all...]
  /external/skia/tests/
GrMeshTest.cpp 58 void drawMesh(const GrMesh& mesh);
151 GrMesh mesh(GrPrimitiveType::kTriangles);
152 mesh.setNonIndexedNonInstanced(kBoxCountX * 6);
153 mesh.setVertexData(vbuff.get(), y * kBoxCountX * 6);
154 helper->drawMesh(mesh);
171 GrMesh mesh(GrPrimitiveType::kTriangles);
172 mesh.setIndexed(ibuff.get(), repetitionCount * 6, baseRepetition * 6,
174 mesh.setVertexData(vbuff.get(), (i - baseRepetition) * 4);
175 helper->drawMesh(mesh);
191 GrMesh mesh(GrPrimitiveType::kTriangles)
    [all...]
  /frameworks/native/services/surfaceflinger/
LayerDim.cpp 51 Mesh mesh(Mesh::TRIANGLE_FAN, 4, 2);
52 computeGeometry(hw, mesh, useIdentityTransform);
55 engine.drawMesh(mesh);
  /frameworks/base/libs/hwui/font/
CacheTexture.h 145 TextureVertex* mesh() const { function in class:android::uirenderer::CacheTexture
165 TextureVertex* mesh = mMesh + mCurrentQuad * 4; local
166 TextureVertex::set(mesh++, x2, y2, u2, v2);
167 TextureVertex::set(mesh++, x3, y3, u3, v3);
168 TextureVertex::set(mesh++, x1, y1, u1, v1);
169 TextureVertex::set(mesh++, x4, y4, u4, v4);
  /cts/tests/openglperf2/jni/reference/scene/flocking/
WaterMeshNode.h 19 #include <graphics/Mesh.h>
25 WaterMeshNode(const Mesh* mesh, int time, GLuint textureId1, GLuint textureId2);
WaterMeshNode.cpp 19 WaterMeshNode::WaterMeshNode(const Mesh* mesh, int time, GLuint textureId1, GLuint textureId2) :
20 MeshNode(mesh), mTime(time), mTextureId1(textureId1), mTextureId2(textureId2) {
  /cts/tests/openglperf2/jni/reference/scene/glowing/
BlurMeshNode.h 19 #include <graphics/Mesh.h>
25 BlurMeshNode(const Mesh* mesh, GLuint fboTexId, GLuint tmpTexId1, GLuint tmpTexId2, float width, float height);
BlurMeshNode.cpp 17 BlurMeshNode::BlurMeshNode(const Mesh* mesh, GLuint fboTexId, GLuint tmpTexId1, GLuint tmpTexId2,
19 MeshNode(mesh), mFboTexId(fboTexId), mTmpTexId1(tmpTexId1), mTmpTexId2(tmpTexId2),
  /frameworks/native/services/surfaceflinger/RenderEngine/
GLES20RenderEngine.cpp 40 #include "Mesh.h"
366 void GLES20RenderEngine::drawMesh(const Mesh& mesh) {
368 if (mesh.getTexCoordsSize()) {
371 mesh.getTexCoordsSize(),
373 mesh.getByteStride(),
374 mesh.getTexCoords());
378 mesh.getVertexSize(),
380 mesh.getByteStride(),
381 mesh.getPositions())
    [all...]
  /frameworks/base/libs/hwui/renderstate/
RenderState.cpp 267 const Glop::Mesh& mesh = glop.mesh; local
268 const Glop::Mesh::Vertices& vertices = mesh.vertices;
269 const Glop::Mesh::Indices& indices = mesh.indices;
326 // ---------- Mesh setup ----------
435 GLsizei elementsCount = mesh.elementCount;
447 glDrawRangeElements(mesh.primitiveMode, 0, vertexCount-1, drawCount, GL_UNSIGNED_SHORT, nullptr)
    [all...]
  /frameworks/rs/
rsMesh.cpp 24 Mesh::Mesh(Context *rsc) : ObjectBase(rsc) {
38 Mesh::Mesh(Context *rsc,
62 Mesh::~Mesh() {
64 mRSC->mHal.funcs.mesh.destroy(mRSC, this);
75 void Mesh::init() {
77 mRSC->mHal.funcs.mesh.init(mRSC, this);
81 void Mesh::serialize(Context *rsc, OStream *stream) const
147 Mesh *mesh = new Mesh(rsc, vertexBuffersCount, primitivesCount); local
    [all...]
  /external/vulkan-validation-layers/demos/smoke/
Meshes.cpp 28 class Mesh {
165 BuildPyramid(Mesh &mesh)
185 mesh.build(vertices, faces);
191 BuildIcosphere(Mesh &mesh) : mesh_(mesh), radius_(1.0f)
259 std::vector<Mesh::Face> faces;
277 faces.emplace_back(Mesh::Face{ v0, v01, v20 });
278 faces.emplace_back(Mesh::Face{ v1, v12, v01 })
    [all...]
  /frameworks/base/libs/hwui/tests/unit/
GlopBuilderTests.cpp 61 static void expectMeshEq(Glop::Mesh& expectedMesh, Glop::Mesh& builtMesh) {
94 expectMeshEq(expectedGlop.mesh, builtGlop.mesh);
101 glop->mesh.elementCount = 4;
102 glop->mesh.primitiveMode = GL_TRIANGLE_STRIP;
103 glop->mesh.indices.indices = nullptr;
104 glop->mesh.indices.bufferObject = GL_ZERO;
105 glop->mesh.vertices = {

Completed in 390 milliseconds

1 2 3 4