/external/ceres-solver/internal/ceres/ |
H A D | graph.h | 46 // 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 D | graph_algorithms.h | 124 // 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 D | 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 a 361 unsigned vertex, binding; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | 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 a 361 unsigned vertex, binding; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
H A D | vbo_exec_eval.c | 123 * 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 D | vbo_exec_eval.c | 123 * 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 D | 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/ |
H A D | 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/ |
H A D | 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),
|
H A D | 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);
|
H A D | 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);
|
H A D | 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);
|
H A D | occlusion-query.c | 19 struct vertex { struct 27 static struct vertex obj1_vertices[4] = 50 static struct vertex obj2_vertices[4] = 78 set_vertices(struct vertex *vertices, unsigned bytes) 86 ve[0].src_offset = Offset(struct vertex, position); 88 ve[1].src_offset = Offset(struct vertex, color); 95 vbuf.stride = sizeof(struct vertex); 123 debug_printf("Failed to parse vertex shader\n");
|
/external/mesa3d/src/gallium/tests/graw/ |
H A D | 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),
|
H A D | 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);
|
H A D | 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);
|
H A D | 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);
|
H A D | occlusion-query.c | 19 struct vertex { struct 27 static struct vertex obj1_vertices[4] = 50 static struct vertex obj2_vertices[4] = 78 set_vertices(struct vertex *vertices, unsigned bytes) 86 ve[0].src_offset = Offset(struct vertex, position); 88 ve[1].src_offset = Offset(struct vertex, color); 95 vbuf.stride = sizeof(struct vertex); 123 debug_printf("Failed to parse vertex shader\n");
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
H A D | 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[ 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 D | 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[ 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 D | 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[ 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 D | 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[ 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 D | 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])
|
/external/chromium_org/third_party/angle/samples/gles2_book/Common/ |
H A D | esShapes.c | 43 /// \brief Generates geometry for a sphere. Allocates memory for the vertex data and stores 80 int vertex = ( i * (numSlices + 1) + j ) * 3; local 84 (*vertices)[vertex + 0] = radius * sinf ( angleStep * (float)i ) * 86 (*vertices)[vertex + 1] = radius * cosf ( angleStep * (float)i ); 87 (*vertices)[vertex + 2] = radius * sinf ( angleStep * (float)i ) * 93 (*normals)[vertex + 0] = (*vertices)[vertex + 0] / radius; 94 (*normals)[vertex + 1] = (*vertices)[vertex + 1] / radius; 95 (*normals)[vertex [all...] |
/external/dexmaker/src/dx/java/com/android/dx/ssa/ |
H A D | Dominators.java | 56 private final ArrayList<SsaBasicBlock> vertex; field in class:Dominators 75 this.vertex = new ArrayList<SsaBasicBlock>(); 175 vertex.add(root); 188 int dfsMax = vertex.size() - 1; 192 SsaBasicBlock w = vertex.get(i); 213 info[vertex.get(wInfo.semidom).getIndex()].bucket.add(w); 222 // Implicity define idom for each vertex. 239 // Now explicitly define the immediate dominator of each vertex 241 SsaBasicBlock w = vertex.get(i); 243 != vertex [all...] |