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

1 2 3

  /external/clang/test/CodeGenCXX/
debug-info-template-array.cpp 9 struct Vertex {};
13 unique_ptr<Vertex<2>[]> v = unique_ptr<Vertex<2>[]>();
  /cts/tests/tests/opengl/src/android/opengl/cts/
Vertex.java 18 public class Vertex {
RendererElevenShaderTest.java 25 private String fragmentShaderCode = Vertex.successfulcompile_vertex;
  /external/ceres-solver/internal/ceres/
graph.h 46 // A weighted undirected graph templated over the vertex ids. Vertex
48 template <typename Vertex>
53 // Add a weighted vertex. If the vertex already exists in the graph,
55 void AddVertex(const Vertex& vertex, double weight) {
56 if (vertices_.find(vertex) == vertices_.end()) {
57 vertices_.insert(vertex);
58 edges_[vertex] = HashSet<Vertex>()
    [all...]
graph_algorithms.h 48 template <typename Vertex>
51 explicit VertexTotalOrdering(const Graph<Vertex>& graph)
54 bool operator()(const Vertex& lhs, const Vertex& rhs) const {
62 const Graph<Vertex>& graph_;
65 template <typename Vertex>
68 explicit VertexDegreeLessThan(const Graph<Vertex>& graph)
71 bool operator()(const Vertex& lhs, const Vertex& rhs) const {
76 const Graph<Vertex>& graph_
127 const Vertex& vertex = vertex_queue[i]; local
150 const Vertex vertex = *it; local
202 const Vertex& vertex = vertex_queue[i]; local
225 const Vertex vertex = *it; local
    [all...]
  /external/chromium_org/third_party/skia/experimental/AndroidPathRenderer/
Vertex.h 15 * Simple structure to describe a vertex with a position and a texture.
17 struct Vertex {
20 static inline void set(Vertex* vertex, float x, float y) {
21 vertex[0].position[0] = x;
22 vertex[0].position[1] = y;
24 }; // struct Vertex
27 * Simple structure to describe a vertex with a position and a texture.
33 static inline void set(TextureVertex* vertex, float x, float y, float u, float v) {
34 vertex[0].position[0] = x
    [all...]
AndroidPathRenderer.h 13 #include "Vertex.h"
65 float sqrInvScaleX, float sqrInvScaleY, SkTArray<Vertex, true>* outputVertices);
76 SkTArray<Vertex, true>* outputVertices);
88 SkTArray<Vertex, true>* outputVertices);
AndroidPathRenderer.cpp 33 #include "Vertex.h"
65 inline void copyVertex(Vertex* destPtr, const Vertex* srcPtr) {
66 Vertex::set(destPtr, srcPtr->position[0], srcPtr->position[1]);
74 * Produces a pseudo-normal for a vertex, given the normals of the two incoming lines. If the offset
75 * from each vertex in a perimeter is calculated, the resultant lines connecting the offset vertices
100 static void getFillVerticesFromPerimeter(const SkTArray<Vertex, true>& perimeter, VertexBuffer* vertexBuffer) {
101 Vertex* buffer = vertexBuffer->alloc<Vertex>(perimeter.count());
117 static void getStrokeVerticesFromPerimeter(const SkTArray<Vertex, true>& perimeter, float halfStrokeWidth
    [all...]
  /external/skia/experimental/AndroidPathRenderer/
Vertex.h 15 * Simple structure to describe a vertex with a position and a texture.
17 struct Vertex {
20 static inline void set(Vertex* vertex, float x, float y) {
21 vertex[0].position[0] = x;
22 vertex[0].position[1] = y;
24 }; // struct Vertex
27 * Simple structure to describe a vertex with a position and a texture.
33 static inline void set(TextureVertex* vertex, float x, float y, float u, float v) {
34 vertex[0].position[0] = x
    [all...]
AndroidPathRenderer.h 13 #include "Vertex.h"
65 float sqrInvScaleX, float sqrInvScaleY, SkTArray<Vertex, true>* outputVertices);
76 SkTArray<Vertex, true>* outputVertices);
88 SkTArray<Vertex, true>* outputVertices);
AndroidPathRenderer.cpp 33 #include "Vertex.h"
65 inline void copyVertex(Vertex* destPtr, const Vertex* srcPtr) {
66 Vertex::set(destPtr, srcPtr->position[0], srcPtr->position[1]);
74 * Produces a pseudo-normal for a vertex, given the normals of the two incoming lines. If the offset
75 * from each vertex in a perimeter is calculated, the resultant lines connecting the offset vertices
100 static void getFillVerticesFromPerimeter(const SkTArray<Vertex, true>& perimeter, VertexBuffer* vertexBuffer) {
101 Vertex* buffer = vertexBuffer->alloc<Vertex>(perimeter.count());
117 static void getStrokeVerticesFromPerimeter(const SkTArray<Vertex, true>& perimeter, float halfStrokeWidth
    [all...]
  /frameworks/base/libs/hwui/
Vertex.h 26 * Simple structure to describe a vertex with a position and a texture.
28 struct Vertex {
41 static inline void set(Vertex* vertex, float x, float y) {
42 vertex[0].x = x;
43 vertex[0].y = y;
46 static inline void set(Vertex* vertex, Vector2 val) {
47 set(vertex, val.x, val.y);
50 static inline void copyWithOffset(Vertex* vertex, const Vertex& src, float x, float y)
    [all...]
PathTessellator.h 24 #include "Vertex.h"
50 * vertex approximation, and correct AA ramp offsetting.
64 * vertex approximation, and correct AA ramp offsetting
78 * vertex approximation, and correct AA ramp offsetting
92 Vector<Vertex> &outputVertices);
97 Vector<Vertex> &outputVertices);
108 Vector<Vertex> &outputVertices, int depth = 0);
120 Vector<Vertex> &outputVertices, int depth = 0);
PathTessellator.cpp 51 #include "Vertex.h"
81 * Produces a pseudo-normal for a vertex, given the normals of the two incoming lines. If the offset
82 * from each vertex in a perimeter is calculated, the resultant lines connecting the offset vertices
173 bounds->outset(fabs(inverseScaleX) * (0.5f + Vertex::GeometryFudgeFactor()),
174 fabs(inverseScaleY) * (0.5f + Vertex::GeometryFudgeFactor()));
177 bounds->outset(halfStrokeWidth + fabs(inverseScaleX) * Vertex::GeometryFudgeFactor(),
178 halfStrokeWidth + fabs(inverseScaleY) * Vertex::GeometryFudgeFactor());
183 void getFillVerticesFromPerimeter(const Vector<Vertex>& perimeter, VertexBuffer& vertexBuffer) {
184 Vertex* buffer = vertexBuffer.alloc<Vertex>(perimeter.size())
    [all...]
Rect.h 25 #include "Vertex.h"
214 left = floorf(left + Vertex::GeometryFudgeFactor());
215 top = floorf(top + Vertex::GeometryFudgeFactor());
216 right = ceilf(right - Vertex::GeometryFudgeFactor());
217 bottom = ceilf(bottom - Vertex::GeometryFudgeFactor());
223 left = floorf(left + 0.5f - Vertex::GeometryFudgeFactor());
224 top = floorf(top + 0.5f - Vertex::GeometryFudgeFactor());
225 right = floorf(right + 0.5f + Vertex::GeometryFudgeFactor());
226 bottom = floorf(bottom + 0.5f + Vertex::GeometryFudgeFactor());
  /external/chromium_org/cc/output/
geometry_binding.cc 17 struct Vertex {
20 // Index of the vertex, divide by 4 to have the matrix for this quad.
24 Vertex v0, v1, v2, v3;
39 Vertex v0 = {{quad_vertex_rect.x(), quad_vertex_rect.bottom(), 0.0f, },
41 Vertex v1 = {{quad_vertex_rect.x(), quad_vertex_rect.y(), 0.0f, },
43 Vertex v2 = {{quad_vertex_rect.right(), quad_vertex_rect.y(), 0.0f, },
45 Vertex v3 = {{quad_vertex_rect.right(), quad_vertex_rect.bottom(), 0.0f, },
  /development/ndk/platforms/android-18/samples/gles3jni/jni/
gles3jni.h 60 struct Vertex {
64 extern const Vertex QUAD[4];
RendererES2.cpp 132 glVertexAttribPointer(mPosAttrib, 4, GL_FLOAT, GL_FALSE, sizeof(Vertex), (const GLvoid*)offsetof(Vertex, pos));
133 glVertexAttribPointer(mColorAttrib, 4, GL_UNSIGNED_BYTE, GL_TRUE, sizeof(Vertex), (const GLvoid*)offsetof(Vertex, rgba));
RendererES3.cpp 106 glVertexAttribPointer(POS_ATTRIB, 4, GL_FLOAT, GL_FALSE, sizeof(Vertex), (const GLvoid*)offsetof(Vertex, pos));
107 glVertexAttribPointer(COLOR_ATTRIB, 4, GL_UNSIGNED_BYTE, GL_TRUE, sizeof(Vertex), (const GLvoid*)offsetof(Vertex, rgba));
  /external/llvm/include/llvm/Support/
GenericDomTreeConstruction.h 44 Vertex.push_back(V); // Vertex[n] = V;
71 DT.Vertex.push_back(BB); // Vertex[n] = V;
125 typename GraphT::NodeType* VAncestor = DT.Vertex[VInfo.Parent];
163 DT.Vertex.push_back(nullptr); // Vertex[n] = V;
177 // bucket for each vertex. However, this is unnecessary, because each vertex
179 // vertex's bucket is processed before it is added to any bucket itself
    [all...]
  /external/chromium_org/native_client_sdk/src/examples/api/graphics_3d/
graphics_3d.cc 171 struct Vertex {
177 const Vertex kCubeVerts[24] = {
437 //define the attributes of the vertex
443 sizeof(Vertex),
444 reinterpret_cast<void*>(offsetof(Vertex, loc)));
450 sizeof(Vertex),
451 reinterpret_cast<void*>(offsetof(Vertex, color)));
457 sizeof(Vertex),
458 reinterpret_cast<void*>(offsetof(Vertex, tex)));
  /external/chromium_org/native_client_sdk/src/gonacl_appengine/src/cube/
cube.cc 172 struct Vertex {
178 const Vertex kCubeVerts[24] = {
444 //define the attributes of the vertex
450 sizeof(Vertex),
451 reinterpret_cast<void*>(offsetof(Vertex, loc)));
457 sizeof(Vertex),
458 reinterpret_cast<void*>(offsetof(Vertex, color)));
464 sizeof(Vertex),
465 reinterpret_cast<void*>(offsetof(Vertex, tex)));
  /external/opencv/cvaux/src/
enmin.cpp 73 // struct Vertex is used for storing vertices of graph
75 struct Vertex
84 // srcVtx - coordinate of source vertex on the real image line
85 // destVtx - coordinate of destination vertex on the real image line
197 getSizeForGraph( Vertex ),
211 ( ( Vertex* )newVtxPtr ) -> coord = i;
216 ( ( Vertex* )newVtxPtr ) -> coord = -2; /* adding alpha vertex */
219 ( ( Vertex* )newVtxPtr ) -> coord = -1; /* adding beta vertex */
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/tnl_dd/
t_dd_vertex.h 77 } TAG(Vertex), *TAG(VertexPtr);
  /external/mesa3d/src/mesa/tnl_dd/
t_dd_vertex.h 77 } TAG(Vertex), *TAG(VertexPtr);

Completed in 613 milliseconds

1 2 3