Searched refs:vertex (Results 1 - 25 of 174) sorted by relevance

1234567

/external/chromium_org/third_party/skia/experimental/AndroidPathRenderer/
H A DVertex.h15 * Simple structure to describe a vertex with a position and a texture.
20 static inline void set(Vertex* vertex, float x, float y) { argument
21 vertex[0].position[0] = x;
22 vertex[0].position[1] = y;
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;
35 vertex[0].position[1] = y;
36 vertex[0].texture[0] = u;
37 vertex[
52 set(AlphaVertex* vertex, float x, float y, float alpha) argument
57 setColor(AlphaVertex* vertex, float alpha) argument
[all...]
/external/skia/experimental/AndroidPathRenderer/
H A DVertex.h15 * Simple structure to describe a vertex with a position and a texture.
20 static inline void set(Vertex* vertex, float x, float y) { argument
21 vertex[0].position[0] = x;
22 vertex[0].position[1] = y;
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;
35 vertex[0].position[1] = y;
36 vertex[0].texture[0] = u;
37 vertex[
52 set(AlphaVertex* vertex, float x, float y, float alpha) argument
57 setColor(AlphaVertex* vertex, float alpha) argument
[all...]
/external/ceres-solver/internal/ceres/
H A Dgraph.h46 // A weighted undirected graph templated over the vertex ids. Vertex
53 // Add a weighted vertex. If the vertex already exists in the graph,
55 void AddVertex(const Vertex& vertex, double weight) { argument
56 if (vertices_.find(vertex) == vertices_.end()) {
57 vertices_.insert(vertex);
58 edges_[vertex] = HashSet<Vertex>();
60 vertex_weights_[vertex] = weight;
63 // Uses weight = 1.0. If vertex already exists, its weight is set to
65 void AddVertex(const Vertex& vertex) { argument
69 RemoveVertex(const Vertex& vertex) argument
[all...]
H A Dgraph_algorithms.h124 // Iterate over vertex_queue. Pick the first white vertex, add it
127 const Vertex& vertex = vertex_queue[i]; local
128 if (vertex_color[vertex] != kWhite) {
132 ordering->push_back(vertex);
133 vertex_color[vertex] = kBlack;
134 const HashSet<Vertex>& neighbors = graph.Neighbors(vertex);
150 const Vertex vertex = *it; local
151 DCHECK(vertex_color[vertex] != kWhite);
152 if (vertex_color[vertex] != kBlack) {
153 ordering->push_back(vertex);
202 const Vertex& vertex = vertex_queue[i]; local
225 const Vertex vertex = *it; local
243 FindConnectedComponent(const Vertex& vertex, HashMap<Vertex, Vertex>* union_find) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_gs_emit.c51 * 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 a
361 unsigned vertex, binding; local
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_gs_emit.c51 * 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 a
361 unsigned vertex, binding; local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/
H A Dvbo_exec_eval.c123 * They alias and override the conventional vertex attributs.
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 ));
218 GLfloat vertex[4]; local
220 ASSIGN_4V(vertex, 0, 0, 0, 1);
226 _math_de_casteljau_surf(map->Points, vertex, du, dv, uu, vv,
231 du[0] = du[0]*vertex[
[all...]
/external/mesa3d/src/mesa/vbo/
H A Dvbo_exec_eval.c123 * They alias and override the conventional vertex attributs.
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 ));
218 GLfloat vertex[4]; local
220 ASSIGN_4V(vertex, 0, 0, 0, 1);
226 _math_de_casteljau_surf(map->Points, vertex, du, dv, uu, vv,
231 du[0] = du[0]*vertex[
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/swrast_setup/
H A Dswrast_setup.h55 /* 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/
H A Dswrast_setup.h55 /* 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/pdfium/core/src/fxge/agg/agg23/
H A Dagg_path_storage.h39 unsigned vertex(FX_FLOAT* x, FX_FLOAT* y) function in class:agg::path_storage::vertex_source
42 m_path->vertex(m_vertex_idx++, x, y) :
66 while(!is_stop(cmd = vs.vertex(&x, &y))) {
93 unsigned vertex(unsigned idx, FX_FLOAT* x, FX_FLOAT* y) const function in class:agg::path_storage
110 unsigned vertex(FX_FLOAT* x, FX_FLOAT* y);
124 inline unsigned path_storage::vertex(FX_FLOAT* x, FX_FLOAT* y) function in class:agg::path_storage
129 return vertex(m_iterator++, x, y);
134 return vertex(m_total_vertices - 2, x, y);
141 return vertex(m_total_vertices - 1, x, y);
H A Dagg_conv_adaptor_vcgen.h26 unsigned vertex(FX_FLOAT*, FX_FLOAT*) function in struct:agg::null_markers
70 unsigned vertex(FX_FLOAT* x, FX_FLOAT* y);
84 unsigned conv_adaptor_vcgen<VertexSource, Generator, Markers>::vertex(FX_FLOAT* x, FX_FLOAT* y) function in class:agg::conv_adaptor_vcgen
92 m_last_cmd = m_source->vertex(&m_start_x, &m_start_y);
102 cmd = m_source->vertex(x, y);
126 cmd = m_generator.vertex(x, y);
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
H A Dtex-srgb.c16 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),
H A Dfs-fragcoord.c16 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);
H A Dfs-frontface.c14 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);
H A Dfs-write-z.c17 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/
H A Dtex-srgb.c16 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),
H A Dfs-fragcoord.c16 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);
H A Dfs-frontface.c14 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);
/external/pdfium/core/src/fpdfapi/fpdf_page/
H A Dfpdf_page_pattern.cpp214 FX_DWORD CPDF_MeshStream::GetVertex(CPDF_MeshVertex& vertex, CFX_AffineMatrix* pObject2Bitmap) argument
217 GetCoords(vertex.x, vertex.y);
218 pObject2Bitmap->Transform(vertex.x, vertex.y);
219 GetColor(vertex.r, vertex.g, vertex.b);
223 FX_BOOL CPDF_MeshStream::GetVertexRow(CPDF_MeshVertex* vertex, int count, CFX_AffineMatrix* pObject2Bitmap) argument
229 GetCoords(vertex[
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
H A Dxa_renderer.c115 /* 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[
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/
H A Dxorg_renderer.c88 /* 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[
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/
H A Dxa_renderer.c115 /* 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[
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/
H A Dxorg_renderer.c88 /* 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[
123 float *vertex = r->buffer + r->buffer_size; local
188 float *vertex = r->buffer + r->buffer_size; local
[all...]
/external/clang/utils/analyzer/
H A Dubiviz30 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 2752 milliseconds

1234567