Searched defs:vertices (Results 1 - 25 of 155) sorted by relevance

1234567

/external/ceres-solver/internal/ceres/
H A Dgraph_test.cc42 EXPECT_EQ(graph.vertices().size(), 0);
51 const HashSet<int>& vertices = graph.vertices(); local
52 EXPECT_EQ(vertices.size(), 2);
67 const HashSet<int>& vertices = graph.vertices(); local
69 EXPECT_EQ(vertices.size(), 2);
73 EXPECT_EQ(vertices.size(), 2);
H A Dgraph_algorithms_test.cc113 const HashSet<int>& vertices = forest->vertices(); local
114 EXPECT_EQ(vertices.size(), 2);
135 const HashSet<int>& vertices = forest->vertices(); local
136 EXPECT_EQ(vertices.size(), 5);
H A Dsingle_linkage_clustering.cc52 const HashSet<int>& vertices = graph.vertices(); local
53 for (HashSet<int>::const_iterator it = vertices.begin();
54 it != vertices.end();
59 for (HashSet<int>::const_iterator it1 = vertices.begin();
60 it1 != vertices.end();
H A Dgraph.h92 // AddEdge on a pair of vertices which do not exist in the graph yet
96 // vertices.
123 // Calling EdgeWeight on a pair of vertices where either one of the
124 // vertices is not present in the graph will result in undefined
141 const HashSet<Vertex>& vertices() const { function in class:ceres::internal::Graph
H A Dparameter_block_ordering.cc51 const HashSet<ParameterBlock*>& vertices = graph->vertices(); local
53 if (vertices.count(parameter_blocks[i]) > 0) {
H A Dparameter_block_ordering_test.cc88 const VertexSet& vertices = graph->vertices(); local
89 EXPECT_EQ(vertices.size(), 4);
92 EXPECT_TRUE(vertices.find(parameter_blocks[i]) != vertices.end());
132 EXPECT_EQ(graph->vertices().size(), 0);
142 const VertexSet& vertices = graph->vertices(); local
144 EXPECT_EQ(vertices.size(), 3);
145 EXPECT_TRUE(vertices
[all...]
/external/eigen/demos/opengl/
H A Dicosphere.h20 const std::vector<Eigen::Vector3f>& vertices() const { return mVertices; } function in class:IcoSphere
/external/chromium_org/cc/base/
H A Dmath_util_unittest.cc54 gfx::PointF vertices[3]; local
57 vertices[0] = gfx::PointF(-10, -100);
58 vertices[1] = gfx::PointF(-100, -10);
59 vertices[2] = gfx::PointF(-30, -30);
66 MathUtil::ComputeEnclosingRectOfVertices(vertices, num_vertices);
/external/deqp/framework/referencerenderer/
H A DrrPrimitivePacket.hpp45 const VertexPacket* vertices[6]; member in struct:rr::PrimitivePacket
51 * Geometry emitter handles outputting of new vertices from geometry shader
/external/chromium_org/third_party/angle/samples/angle/hello_triangle/
H A DHelloTriangle.cpp65 GLfloat vertices[] = local
82 glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, vertices);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_prim.h171 u_gs_prims_for_vertices(int primitive, int vertices) argument
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
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_prim.h171 u_gs_prims_for_vertices(int primitive, int vertices) argument
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
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DPolygonShape.h63 PolygonShape(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule) argument
65 , m_polygon(vertices, fillRule)
/external/chromium_org/third_party/angle/samples/angle/mip_map_2d/
H A DMipMap2D.cpp90 const GLfloat vertices[] = local
113 glVertexAttribPointer(mPositionLoc, 4, GL_FLOAT, GL_FALSE, 6 * sizeof(GLfloat), vertices);
115 glVertexAttribPointer(mTexCoordLoc, 2, GL_FLOAT, GL_FALSE, 6 * sizeof(GLfloat), vertices + 4);
/external/chromium_org/third_party/angle/samples/angle/simple_texture_2d/
H A DSimpleTexture2D.cpp82 GLfloat vertices[] = local
105 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, GL_FALSE, 5 * sizeof(GLfloat), vertices);
107 glVertexAttribPointer(mTexCoordLoc, 2, GL_FLOAT, GL_FALSE, 5 * sizeof(GLfloat), vertices + 3);
/external/chromium_org/third_party/angle/samples/angle/stencil_operations/
H A DStencilOperations.cpp83 GLfloat vertices[] = local
144 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, GL_FALSE, 0, vertices);
/external/chromium_org/third_party/angle/samples/angle/texture_wrap/
H A DTextureWrap.cpp86 GLfloat vertices[] = local
109 glVertexAttribPointer(mPositionLoc, 4, GL_FLOAT, GL_FALSE, 6 * sizeof(GLfloat), vertices);
113 glVertexAttribPointer(mTexCoordLoc, 2, GL_FLOAT, GL_FALSE, 6 * sizeof(GLfloat), vertices + 4);
/external/chromium_org/third_party/skia/src/gpu/
H A DGrPathUtils.h68 * path renderer will have a small fixed number of vertices that it
71 * N is the number of vertices.
74 * vertices is a pointer to the first vertex.
77 void apply(const void* vertices) { argument
78 intptr_t xyPtr = reinterpret_cast<intptr_t>(vertices);
79 intptr_t uvPtr = reinterpret_cast<intptr_t>(vertices) + UV_OFFSET;
/external/skia/src/gpu/
H A DGrPathUtils.h68 * path renderer will have a small fixed number of vertices that it
71 * N is the number of vertices.
74 * vertices is a pointer to the first vertex.
77 void apply(const void* vertices) { argument
78 intptr_t xyPtr = reinterpret_cast<intptr_t>(vertices);
79 intptr_t uvPtr = reinterpret_cast<intptr_t>(vertices) + UV_OFFSET;
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DFloatPolygon.cpp82 FloatPolygon::FloatPolygon(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule) argument
83 : m_vertices(vertices)
/external/chromium_org/third_party/angle/samples/angle/multi_texture/
H A DMultiTexture.cpp105 GLfloat vertices[] = local
128 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, GL_FALSE, 5 * sizeof(GLfloat), vertices);
130 glVertexAttribPointer(mTexCoordLoc, 2, GL_FLOAT, GL_FALSE, 5 * sizeof(GLfloat), vertices + 3);
/external/chromium_org/third_party/angle/samples/angle/multiple_draw_buffers/
H A DMultipleDrawBuffers.cpp110 GLfloat vertices[] = local
146 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, GL_FALSE, 5 * sizeof(GLfloat), vertices);
150 glVertexAttribPointer(mTexCoordLoc, 2, GL_FLOAT, GL_FALSE, 5 * sizeof(GLfloat), vertices + 3);
/external/chromium_org/third_party/angle/tests/angle_tests/
H A DIndexedPointsTest.cpp61 std::array<GLfloat, mPointCount * 2> vertices = local
70 glBufferData(GL_ARRAY_BUFFER, vertices.size() * sizeof(GLfloat), vertices.data(), GL_STATIC_DRAW);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d10tri/
H A Dd3d10tri.cpp36 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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11tri/
H A Dd3d11tri.cpp36 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);

Completed in 3335 milliseconds

1234567