/frameworks/base/libs/hwui/ |
Vertex.h | 28 * Simple structure to describe a vertex with a position and a texture. 30 struct Vertex { 42 static inline void set(Vertex* vertex, float x, float y) { 43 vertex->x = x; 44 vertex->y = y; 47 static inline void set(Vertex* vertex, Vector2 val) { 48 set(vertex, val.x, val.y); 51 static inline void copyWithOffset(Vertex* vertex, const Vertex& src, float x, float y) [all...] |
Patch.h | 61 void generateRow(const int32_t* xDivs, uint32_t xCount, TextureVertex*& vertex, 64 void generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2,
|
/system/update_engine/payload_generator/ |
tarjan.cc | 31 const vector<Vertex>::size_type kInvalidIndex = -1; 34 void TarjanAlgorithm::Execute(Vertex::Index vertex, 36 vector<Vertex::Index>* out) { 42 required_vertex_ = vertex; 44 Tarjan(vertex, graph); 49 void TarjanAlgorithm::Tarjan(Vertex::Index vertex, Graph* graph) { 50 CHECK_EQ((*graph)[vertex].index, kInvalidIndex); 51 (*graph)[vertex].index = index_ [all...] |
tarjan.h | 25 // component containing the vertex passed in. 38 void Execute(Vertex::Index vertex, 40 std::vector<Vertex::Index>* out); 42 void Tarjan(Vertex::Index vertex, Graph* graph); 44 Vertex::Index index_; 45 Vertex::Index required_vertex_; 46 std::vector<Vertex::Index> stack_; 47 std::vector<std::vector<Vertex::Index>> components_ [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...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
BuildStep.java | 32 * <code>Vertex</code> state description, a certificate, a possible throwable, 37 * @see sun.security.provider.certpath.Vertex 41 private Vertex vertex; field in class:BuildStep 80 * @param vtx description of the vertex at this step 84 public BuildStep(Vertex vtx, int res) { 85 vertex = vtx; 86 if (vertex != null) { 87 cert = vertex.getCertificate(); 88 throwable = vertex.getThrowable() [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;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/include/isl/ |
vertices.h | 19 isl_ctx *isl_vertex_get_ctx(__isl_keep isl_vertex *vertex); 20 int isl_vertex_get_id(__isl_keep isl_vertex *vertex); 21 __isl_give isl_basic_set *isl_vertex_get_domain(__isl_keep isl_vertex *vertex); 22 __isl_give isl_basic_set *isl_vertex_get_expr(__isl_keep isl_vertex *vertex); 23 void isl_vertex_free(__isl_take isl_vertex *vertex); 30 int (*fn)(__isl_take isl_vertex *vertex, void *user), void *user); 36 int (*fn)(__isl_take isl_vertex *vertex, void *user), void *user);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/include/isl/ |
vertices.h | 19 isl_ctx *isl_vertex_get_ctx(__isl_keep isl_vertex *vertex); 20 int isl_vertex_get_id(__isl_keep isl_vertex *vertex); 21 __isl_give isl_basic_set *isl_vertex_get_domain(__isl_keep isl_vertex *vertex); 22 __isl_give isl_basic_set *isl_vertex_get_expr(__isl_keep isl_vertex *vertex); 23 void isl_vertex_free(__isl_take isl_vertex *vertex); 30 int (*fn)(__isl_take isl_vertex *vertex, void *user), void *user); 36 int (*fn)(__isl_take isl_vertex *vertex, void *user), void *user);
|
/system/core/libmemunreachable/ |
Tarjan.h | 71 void Tarjan(Node<T>* vertex, Graph<T>& graph); 97 void TarjanAlgorithm<T>::Tarjan(Node<T>* vertex, Graph<T>& graph) { 98 assert(vertex->index == UNDEFINED_INDEX); 99 vertex->index = index_; 100 vertex->lowlink = index_; 102 stack_.push_back(vertex); 103 for (auto& it: vertex->references_out) { 107 vertex->lowlink = std::min(vertex->lowlink, vertex_next->lowlink); 109 vertex->lowlink = std::min(vertex->lowlink, vertex_next->index) [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/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/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/pdfium/third_party/agg23/ |
agg_path_storage.h | 39 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);
|
agg_conv_adaptor_vcgen.h | 26 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/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),
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
fpdf_page_pattern.cpp | 236 FX_DWORD CPDF_MeshStream::GetVertex(CPDF_MeshVertex& vertex, 239 GetCoords(vertex.x, vertex.y); 240 pObject2Bitmap->Transform(vertex.x, vertex.y); 241 GetColor(vertex.r, vertex.g, vertex.b); 245 FX_BOOL CPDF_MeshStream::GetVertexRow(CPDF_MeshVertex* vertex, 252 GetCoords(vertex[i].x, vertex[i].y) [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])
|
/external/opencv3/modules/stitching/include/opencv2/stitching/detail/ |
util_inl.hpp | 79 int vertex = vertices.front(); local 82 std::list<GraphEdge>::const_iterator edge = edges_[vertex].begin(); 83 for (; edge != edges_[vertex].end(); ++edge)
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineInputAssemblyTests.cpp | 345 const Vertex4RGBA vertex = local 351 vertices.push_back(vertex); 361 const Vertex4RGBA vertex = local 367 vertices.push_back(vertex); 378 Vertex4RGBA vertex = local 384 vertices.push_back(vertex); 387 vertex.position = tcu::Vec4(originX, originY + primitiveSizeY, 0.0f, 1.0f); 388 vertices.push_back(vertex); 393 const Vertex4RGBA vertex = local 399 vertices.push_back(vertex); 410 const Vertex4RGBA vertex = local 429 const Vertex4RGBA vertex = local 441 const Vertex4RGBA vertex = local 461 Vertex4RGBA vertex = local 480 const Vertex4RGBA vertex = local 502 const Vertex4RGBA vertex = local 525 Vertex4RGBA vertex = local 540 const Vertex4RGBA vertex = local 561 const Vertex4RGBA vertex = local 583 const Vertex4RGBA vertex = local 596 const Vertex4RGBA vertex = local 695 const Vertex4RGBA vertex = local 707 const Vertex4RGBA vertex = local 734 const Vertex4RGBA vertex = local 746 const Vertex4RGBA vertex = local 774 Vertex4RGBA vertex = local 790 const Vertex4RGBA vertex = local 820 const Vertex4RGBA vertex = local 832 const Vertex4RGBA vertex = local 862 const Vertex4RGBA vertex = local 876 const Vertex4RGBA vertex = local [all...] |