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

1 2 3 4 5 6 7 8

  /frameworks/base/libs/hwui/
Vertex.h 26 * Simple structure to describe a vertex with a position and a texture.
28 struct Vertex {
40 static inline void set(Vertex* vertex, float x, float y) {
41 vertex[0].position[0] = x;
42 vertex[0].position[1] = y;
45 static inline void set(Vertex* vertex, vec2 val) {
46 set(vertex, val.x, val.y);
49 static inline void copyWithOffset(Vertex* vertex, const Vertex& src, float x, float y)
    [all...]
  /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...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
GLShape.java 60 GLVertex vertex = iter.next(); local
61 if (vertex.x == x && vertex.y == y && vertex.z == z) {
62 return vertex;
66 // doesn't exist, so create new vertex
67 GLVertex vertex = mWorld.addVertex(x, y, z); local
68 mVertexList.add(vertex);
69 return vertex;
80 GLVertex vertex = iter.next() local
    [all...]
GLWorld.java 50 GLVertex vertex = iter2.next(); local
51 vertex.put(mVertexBuffer, mColorBuffer);
62 GLVertex vertex = new GLVertex(x, y, z, mVertexList.size()); local
63 mVertexList.add(vertex);
64 return vertex;
67 public void transformVertex(GLVertex vertex, M4 transform) {
68 vertex.update(mVertexBuffer, transform);
GLFace.java 55 GLVertex vertex = mVertexList.get(last); local
59 while (vertex.color != null) {
60 mVertexList.add(0, vertex);
62 vertex = mVertexList.get(last);
66 vertex.color = c;
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
brw_gs_emit.c 51 * 1 needs to be set aside to hold the streamed vertex buffer indices.
65 /* Streamed vertex buffer indices */
72 c->reg.vertex[j] = brw_vec4_grf(i, 0);
114 * need to be able to update on a per-vertex basis.
144 * for each vertex.
155 * Emit a vertex using the URB_WRITE message. Use the contents of
157 * for the vertex data.
159 * If \c last is true, then this is the last vertex, so no further URB space
173 /* Copy the vertex from vertn into m1..mN+1:
177 /* Send each vertex as a seperate write to the urb. This i
361 unsigned vertex, binding; local
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_gs_emit.c 51 * 1 needs to be set aside to hold the streamed vertex buffer indices.
65 /* Streamed vertex buffer indices */
72 c->reg.vertex[j] = brw_vec4_grf(i, 0);
114 * need to be able to update on a per-vertex basis.
144 * for each vertex.
155 * Emit a vertex using the URB_WRITE message. Use the contents of
157 * for the vertex data.
159 * If \c last is true, then this is the last vertex, so no further URB space
173 /* Copy the vertex from vertn into m1..mN+1:
177 /* Send each vertex as a seperate write to the urb. This i
361 unsigned vertex, binding; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/vbo/
vbo_exec_eval.c 73 /* Vertex program maps have priority over conventional attribs */
123 * They alias and override the conventional vertex attributs.
164 /** Vertex -- EvalCoord1f is a noop if this map not enabled:
169 GLfloat vertex[4]; local
171 ASSIGN_4V(vertex, 0, 0, 0, 1);
173 _math_horner_bezier_curve(map->Points, vertex, uu,
178 CALL_Vertex4fv(GET_DISPATCH(), ( vertex ));
180 CALL_Vertex3fv(GET_DISPATCH(), ( vertex ));
212 /** Vertex -- EvalCoord2f is a noop if this map not enabled:
218 GLfloat vertex[4] local
    [all...]
  /external/mesa3d/src/mesa/vbo/
vbo_exec_eval.c 73 /* Vertex program maps have priority over conventional attribs */
123 * They alias and override the conventional vertex attributs.
164 /** Vertex -- EvalCoord1f is a noop if this map not enabled:
169 GLfloat vertex[4]; local
171 ASSIGN_4V(vertex, 0, 0, 0, 1);
173 _math_horner_bezier_curve(map->Points, vertex, uu,
178 CALL_Vertex4fv(GET_DISPATCH(), ( vertex ));
180 CALL_Vertex3fv(GET_DISPATCH(), ( vertex ));
212 /** Vertex -- EvalCoord2f is a noop if this map not enabled:
218 GLfloat vertex[4] local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast_setup/
swrast_setup.h 55 /* Helper function to translate a hardware vertex (as understood by
56 * the tnl/t_vertex.c code) to a swrast vertex.
59 _swsetup_Translate( struct gl_context *ctx, const void *vertex, SWvertex *dest );
  /external/mesa3d/src/mesa/swrast_setup/
swrast_setup.h 55 /* Helper function to translate a hardware vertex (as understood by
56 * the tnl/t_vertex.c code) to a swrast vertex.
59 _swsetup_Translate( struct gl_context *ctx, const void *vertex, SWvertex *dest );
  /external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
tex-srgb.c 16 struct vertex { struct
21 static struct vertex vertices1[] =
37 static struct vertex vertices2[] =
56 set_vertices(struct vertex *verts, unsigned num_verts)
64 ve[0].src_offset = Offset(struct vertex, position);
66 ve[1].src_offset = Offset(struct vertex, color);
73 vbuf.stride = sizeof(struct vertex);
78 num_verts * sizeof(struct vertex),
fs-fragcoord.c 16 struct vertex { struct
21 /* Note: the upper-left vertex is pushed to the left a bit to
24 static struct vertex vertices[] =
59 ve[0].src_offset = Offset(struct vertex, position);
61 ve[1].src_offset = Offset(struct vertex, color);
68 vbuf.stride = sizeof(struct vertex);
fs-frontface.c 14 struct vertex { struct
23 static struct vertex vertices[] =
81 ve[0].src_offset = Offset(struct vertex, position);
83 ve[1].src_offset = Offset(struct vertex, color);
90 vbuf.stride = sizeof(struct vertex);
fs-write-z.c 17 struct vertex { struct
27 static struct vertex vertices[] =
85 ve[0].src_offset = Offset(struct vertex, position);
87 ve[1].src_offset = Offset(struct vertex, color);
94 vbuf.stride = sizeof(struct vertex);
  /external/mesa3d/src/gallium/tests/graw/
tex-srgb.c 16 struct vertex { struct
21 static struct vertex vertices1[] =
37 static struct vertex vertices2[] =
56 set_vertices(struct vertex *verts, unsigned num_verts)
64 ve[0].src_offset = Offset(struct vertex, position);
66 ve[1].src_offset = Offset(struct vertex, color);
73 vbuf.stride = sizeof(struct vertex);
78 num_verts * sizeof(struct vertex),
fs-fragcoord.c 16 struct vertex { struct
21 /* Note: the upper-left vertex is pushed to the left a bit to
24 static struct vertex vertices[] =
59 ve[0].src_offset = Offset(struct vertex, position);
61 ve[1].src_offset = Offset(struct vertex, color);
68 vbuf.stride = sizeof(struct vertex);
fs-frontface.c 14 struct vertex { struct
23 static struct vertex vertices[] =
81 ve[0].src_offset = Offset(struct vertex, position);
83 ve[1].src_offset = Offset(struct vertex, color);
90 vbuf.stride = sizeof(struct vertex);
fs-write-z.c 17 struct vertex { struct
27 static struct vertex vertices[] =
85 ve[0].src_offset = Offset(struct vertex, position);
87 ve[1].src_offset = Offset(struct vertex, color);
94 vbuf.stride = sizeof(struct vertex);
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
xa_renderer.c 115 /* vertex elements state */
128 float *vertex = r->buffer + r->buffer_size; local
130 vertex[0] = x;
131 vertex[1] = y;
132 vertex[2] = 0.f; /*z */
133 vertex[3] = 1.f; /*w */
135 vertex[4] = color[0]; /*r */
136 vertex[5] = color[1]; /*g */
137 vertex[6] = color[2]; /*b */
138 vertex[7] = color[3]; /*a *
146 float *vertex = r->buffer + r->buffer_size; local
165 float *vertex = r->buffer + r->buffer_size; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
xorg_renderer.c 88 /* vertex elements state */
104 float *vertex = r->buffer + r->buffer_size; local
106 vertex[0] = x;
107 vertex[1] = y;
108 vertex[2] = 0.f; /*z*/
109 vertex[3] = 1.f; /*w*/
111 vertex[4] = color[0]; /*r*/
112 vertex[5] = color[1]; /*g*/
113 vertex[6] = color[2]; /*b*/
114 vertex[7] = color[3]; /*a*
123 float *vertex = r->buffer + r->buffer_size; local
188 float *vertex = r->buffer + r->buffer_size; local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/xa/
xa_renderer.c 115 /* vertex elements state */
128 float *vertex = r->buffer + r->buffer_size; local
130 vertex[0] = x;
131 vertex[1] = y;
132 vertex[2] = 0.f; /*z */
133 vertex[3] = 1.f; /*w */
135 vertex[4] = color[0]; /*r */
136 vertex[5] = color[1]; /*g */
137 vertex[6] = color[2]; /*b */
138 vertex[7] = color[3]; /*a *
146 float *vertex = r->buffer + r->buffer_size; local
165 float *vertex = r->buffer + r->buffer_size; local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/xorg/
xorg_renderer.c 88 /* vertex elements state */
104 float *vertex = r->buffer + r->buffer_size; local
106 vertex[0] = x;
107 vertex[1] = y;
108 vertex[2] = 0.f; /*z*/
109 vertex[3] = 1.f; /*w*/
111 vertex[4] = color[0]; /*r*/
112 vertex[5] = color[1]; /*g*/
113 vertex[6] = color[2]; /*b*/
114 vertex[7] = color[3]; /*a*
123 float *vertex = r->buffer + r->buffer_size; local
188 float *vertex = r->buffer + r->buffer_size; local
    [all...]
  /external/clang/utils/analyzer/
ubiviz 30 if action == 'vertex':
31 vertex = data[1]
32 G.new_vertex_w_id(vertex)
34 G.set_vertex_attribute(vertex, attribute[0], attribute[1])

Completed in 513 milliseconds

1 2 3 4 5 6 7 8