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

1 2 3 4 5 6 7 8 910

  /cts/tests/openglperf2/jni/graphics/
Mesh.cpp 16 Mesh::Mesh(const float* vertices, const float* normals, const float* texCoords,
18 : mVertices(vertices),
Mesh.h 23 Mesh(const float* vertices, const float* normals, const float* texCoords,
  /external/deqp/framework/referencerenderer/
rrPrimitiveAssembler.hpp 80 static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention)
85 *(outputIterator++) = Triangle(vertices[ndx], vertices[ndx+1], vertices[ndx+2], provokingOffset);
88 static size_t getPrimitiveCount (size_t vertices)
90 return vertices / 3;
97 static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention)
104 VertexPacket* vert0 = vertices[0];
105 VertexPacket* vert1 = vertices[1];
114 *(outputIterator++) = Triangle(vert0, vert1, vertices[ndx], (provokingConvention == rr::PROVOKINGVERTEX_FIRST) ? (0) : (2))
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_prim.h 171 u_gs_prims_for_vertices(int primitive, int vertices)
175 return vertices;
177 return vertices / 2;
179 return vertices;
181 return vertices - 1;
183 return vertices / 3;
185 return vertices - 2;
187 return vertices - 2;
189 return vertices / 2;
191 return vertices - 1
    [all...]
  /external/eigen/demos/opengl/
gpuhelper.cpp 100 static float vertices[][3] = { local
111 glNormal3f(0,0,-1); glVertex3fv(vertices[0]); glVertex3fv(vertices[2]); glVertex3fv(vertices[3]); glVertex3fv(vertices[1]);
112 glNormal3f(0,0, 1); glVertex3fv(vertices[4]); glVertex3fv(vertices[5]); glVertex3fv(vertices[7]); glVertex3fv(vertices[6]);
113 glNormal3f(0,-1,0); glVertex3fv(vertices[0]); glVertex3fv(vertices[1]); glVertex3fv(vertices[5]); glVertex3fv(vertices[4])
    [all...]
icosphere.h 20 const std::vector<Eigen::Vector3f>& vertices() const { return mVertices; } function in class:IcoSphere
  /external/mesa3d/src/gallium/auxiliary/draw/
draw_pt_decompose.h 2 char *verts = (char *) vertices; \
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/include/isl/
vertices.h 27 isl_ctx *isl_vertices_get_ctx(__isl_keep isl_vertices *vertices);
28 int isl_vertices_get_n_vertices(__isl_keep isl_vertices *vertices);
29 int isl_vertices_foreach_vertex(__isl_keep isl_vertices *vertices,
31 void isl_vertices_free(__isl_take isl_vertices *vertices);
39 int isl_vertices_foreach_cell(__isl_keep isl_vertices *vertices,
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/include/isl/
vertices.h 27 isl_ctx *isl_vertices_get_ctx(__isl_keep isl_vertices *vertices);
28 int isl_vertices_get_n_vertices(__isl_keep isl_vertices *vertices);
29 int isl_vertices_foreach_vertex(__isl_keep isl_vertices *vertices,
31 void isl_vertices_free(__isl_take isl_vertices *vertices);
39 int isl_vertices_foreach_cell(__isl_keep isl_vertices *vertices,
  /external/deqp/external/vulkancts/modules/vulkan/clipping/
vktClippingTests.cpp 80 const std::vector<Vec4>& vertices,
120 const std::vector<Vec4>& vertices,
134 , m_numVertices (static_cast<deUint32>(vertices.size()))
188 const VkDeviceSize bufferSize = vertices.size() * sizeof(vertices[0]);
193 deMemcpy(alloc.getHostPtr(), &vertices[0], (size_t)bufferSize);
574 std::vector<Vec4> vertices; local
576 // We're setting adjacent vertices to zero where needed, as we don't use them in meaningful way.
581 vertices.push_back(offset + Vec4(0.0f, 0.0f, slope/2.0f + z, w));
582 vertices.push_back(offset + Vec4( -hp, -hp, z, w))
848 const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, 0.0f), 0.0f); local
886 const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, 0.0f), 0.0f); local
966 const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, 0.0f), 1.0f); local
990 std::vector<Vec4> vertices; local
1031 std::vector<Vec4> vertices; local
1373 std::vector<Vec4> vertices; local
1473 std::vector<Vec4> vertices; local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d10tri/
d3d10tri.cpp 36 static struct vertex vertices[3] = variable in typeref:struct:vertex
72 bufferd.ByteWidth = sizeof(vertices);
79 buffersd.pSysMem = vertices;
80 buffersd.SysMemPitch = sizeof(vertices);
81 buffersd.SysMemSlicePitch = sizeof(vertices);
  /external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tri/
d3d11tri.cpp 36 static struct vertex vertices[3] = variable in typeref:struct:vertex
73 bufferd.ByteWidth = sizeof(vertices);
81 buffersd.pSysMem = vertices;
82 buffersd.SysMemPitch = sizeof(vertices);
83 buffersd.SysMemSlicePitch = sizeof(vertices);
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineVertexUtil.cpp 691 std::vector<Vertex4RGBA> vertices;
738 vertices.push_back(lowerLeftVertex);
739 vertices.push_back(lowerRightVertex);
740 vertices.push_back(upperLeftVertex);
743 vertices.push_back(lowerRightVertex);
744 vertices.push_back(upperLeftVertex);
745 vertices.push_back(upperRightVertex);
748 return vertices;
776 const Vertex4Tex4 vertices[6] = local
787 return std::vector<Vertex4Tex4>(vertices, vertices + DE_LENGTH_OF_ARRAY(vertices))
797 std::vector<Vertex4Tex4> vertices; local
870 std::vector<Vertex4Tex4> vertices = createQuadMosaic(2, 3); local
887 std::vector<Vertex4Tex4> vertices = createQuadMosaicCube(); local
904 std::vector<Vertex4Tex4> vertices; local
    [all...]
  /external/deqp/modules/gles3/stress/
es3sOcclusionQueryTests.cpp 151 std::vector<float> vertices; local
172 vertices.resize(4*NUM_GENERATED_VERTICES);
176 vertices[4*i ] = m_rnd.getFloat(-1.0f, 1.0f);
177 vertices[4*i + 1] = m_rnd.getFloat(-1.0f, 1.0f);
178 vertices[4*i + 2] = m_rnd.getFloat(0.0f, 1.0f);
179 vertices[4*i + 3] = 1.0f;
189 occluderVertices[4*i ] = vertices[4*vtxNdx];
190 occluderVertices[4*i + 1] = vertices[4*vtxNdx + 1];
191 occluderVertices[4*i + 2] = vertices[4*vtxNdx + 2];
192 occluderVertices[4*i + 3] = vertices[4*vtxNdx + 3]
    [all...]
  /frameworks/base/libs/hwui/tests/unit/
GlopBuilderTests.cpp 66 EXPECT_EQ(expectedMesh.vertices.attribFlags, builtMesh.vertices.attribFlags);
67 EXPECT_EQ(expectedMesh.vertices.bufferObject, builtMesh.vertices.bufferObject);
68 EXPECT_EQ(expectedMesh.vertices.color, builtMesh.vertices.color);
69 EXPECT_EQ(expectedMesh.vertices.position, builtMesh.vertices.position);
70 EXPECT_EQ(expectedMesh.vertices.stride, builtMesh.vertices.stride)
    [all...]
  /external/deqp/modules/gles3/functional/
es3fNegativeVertexArrayApiTests.cpp 350 GLfloat vertices[1];
353 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices);
358 glDrawElements(GL_POINTS, 1, -1, vertices);
360 glDrawElements(GL_POINTS, 1, GL_FLOAT, vertices);
365 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices);
373 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices);
397 glDrawElements (GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices);
401 glDrawElements (GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices);
417 GLfloat vertices[1];
420 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices);
    [all...]
  /external/deqp/modules/gles31/functional/
es31fNegativeVertexArrayApiTests.cpp 482 GLfloat vertices[1]; local
491 ctx.glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices);
496 ctx.glDrawElements(GL_POINTS, 1, -1, vertices);
498 ctx.glDrawElements(GL_POINTS, 1, GL_FLOAT, vertices);
503 ctx.glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices);
511 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices);
535 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices);
539 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices);
556 GLfloat vertices[1]; local
559 ctx.glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices);
592 GLfloat vertices[1]; local
667 GLfloat vertices[1]; local
807 GLfloat vertices[1]; local
884 GLfloat vertices[1]; local
924 GLfloat vertices[1]; local
1003 GLfloat vertices[1]; local
1050 GLfloat vertices[1]; local
1129 GLfloat vertices[1]; local
1170 GLfloat vertices[1]; local
1251 GLfloat vertices[1]; local
    [all...]
  /frameworks/base/libs/hwui/renderstate/
MeshState.cpp 68 ALOGD("MeshState vertices: vertex data %p, stride %d",
117 // Vertices
120 void MeshState::bindPositionVertexPointer(const GLvoid* vertices, GLsizei stride) {
121 // update pos coords if !current vbo, since vertices may point into mutable memory (e.g. stack)
123 || vertices != mCurrentPositionPointer
125 glVertexAttribPointer(Program::kBindingPosition, 2, GL_FLOAT, GL_FALSE, stride, vertices);
126 mCurrentPositionPointer = vertices;
131 void MeshState::bindTexCoordsVertexPointer(const GLvoid* vertices, GLsizei stride) {
132 // update tex coords if !current vbo, since vertices may point into mutable memory (e.g. stack)
134 || vertices != mCurrentTexCoordsPointe
    [all...]
RenderState.cpp 262 const Glop::Mesh::Vertices& vertices = mesh.vertices; local
316 // vertices
317 meshState().bindMeshBuffer(vertices.bufferObject);
318 meshState().bindPositionVertexPointer(vertices.position, vertices.stride);
344 if (vertices.attribFlags & VertexAttribFlags::TextureCoord) {
346 meshState().bindTexCoordsVertexPointer(vertices.texCoord, vertices.stride)
    [all...]
  /external/autotest/client/deps/glbench/src/
attributefetchtest.cc 97 GLfloat *vertices = NULL; local
99 CreateLattice(&vertices, &vertex_buffer_size, 1.f / g_width, 1.f / g_height,
102 vertex_buffer_size, vertices);
142 delete[] vertices;
trianglesetuptest.cc 47 GLfloat *vertices = NULL; local
49 CreateLattice(&vertices, &vertex_buffer_size, 1.f / g_width, 1.f / g_height,
52 vertex_buffer_size, vertices);
101 delete[] vertices;
  /external/deqp/modules/gles2/functional/
es2fNegativeVertexArrayApiTests.cpp 211 GLfloat vertices[1] = { 0.0f };
214 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices);
219 glDrawElements(GL_POINTS, 1, -1, vertices);
224 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices);
233 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices);
244 GLfloat vertices[1] = { 0.0f };
247 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices);
252 glDrawElements(GL_POINTS, 1, -1, vertices);
257 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices);
266 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices);
    [all...]
  /external/mesa3d/src/gallium/tests/graw/
fs-fragcoord.c 24 static struct vertex vertices[] = variable in typeref:struct:vertex
47 #define NUM_VERTS (sizeof(vertices) / sizeof(vertices[0]))
73 sizeof(vertices),
74 vertices);
fs-frontface.c 23 static struct vertex vertices[] = variable in typeref:struct:vertex
68 #define NUM_VERTS (sizeof(vertices) / sizeof(vertices[0]))
95 sizeof(vertices),
96 vertices);
fs-write-z.c 27 static struct vertex vertices[] = variable in typeref:struct:vertex
72 #define NUM_VERTS (sizeof(vertices) / sizeof(vertices[0]))
99 sizeof(vertices),
100 vertices);

Completed in 1191 milliseconds

1 2 3 4 5 6 7 8 910