Searched defs:vertex (Results 1 - 25 of 68) sorted by relevance

123

/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/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...]
H A Dvbo_save_draw.c47 * last vertex to the saved state
54 GLfloat vertex[VBO_ATTRIB_MAX * 4]; local
65 data = vertex;
77 data += node->attrsz[0]; /* skip vertex position */
131 * Treat the vertex storage as a VBO, define vertex arrays pointing
166 /* The aliasing of attributes for NV vertex programs has already
167 * occurred. NV vertex programs cannot access material values,
265 /* The vertex store is currently mapped but we're about to replay
268 * We never want to have mapped vertex buffer
[all...]
/external/pdfium/core/src/fxge/agg/agg23/
H A Dfx_agg_vcgen_dash.cpp104 unsigned vcgen_dash::vertex(FX_FLOAT* x, FX_FLOAT* y) function in class:agg::vcgen_dash
H A Dfx_agg_vcgen_stroke.cpp90 unsigned vcgen_stroke::vertex(FX_FLOAT* x, FX_FLOAT* y) function in class:agg::vcgen_stroke
/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/deqp/modules/gles2/functional/
H A Des2fRandomShaderTests.cpp38 gls::RandomShaderCase* createRandomShaderCase (Context& context, const char* description, const rsg::ProgramParameters& baseParams, deUint32 seed, bool vertex, bool fragment) argument
43 params.vertexParameters.randomize = vertex;
61 tcu::TestCaseGroup* vertexGroup = new tcu::TestCaseGroup(m_testCtx, "vertex", "Vertex-only tests");
72 vertexGroup->addChild(createRandomShaderCase(m_context, "Random expressions in vertex shader", params, seed, true, false));
74 combinedGroup->addChild(createRandomShaderCase(m_context, "Random expressions in vertex and fragment shaders", params, seed, true, true));
92 tcu::TestCaseGroup* vertexGroup = new tcu::TestCaseGroup(m_testCtx, "vertex", "Vertex-only tests");
103 vertexGroup->addChild(createRandomShaderCase(m_context, "Scalar conversions in vertex shader", params, seed, true, false));
105 combinedGroup->addChild(createRandomShaderCase(m_context, "Scalar conversions in vertex and fragment shaders", params, seed, true, true));
124 tcu::TestCaseGroup* vertexGroup = new tcu::TestCaseGroup(m_testCtx, "vertex", "Vertex-only tests");
132 vertexGroup->addChild(createRandomShaderCase(m_context, "Vector swizzles in vertex shade
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fRandomShaderTests.cpp39 gls::RandomShaderCase* createRandomShaderCase (Context& context, const char* description, const rsg::ProgramParameters& baseParams, deUint32 seed, bool vertex, bool fragment) argument
45 params.vertexParameters.randomize = vertex;
63 tcu::TestCaseGroup* vertexGroup = new tcu::TestCaseGroup(m_testCtx, "vertex", "Vertex-only tests");
74 vertexGroup->addChild(createRandomShaderCase(m_context, "Random expressions in vertex shader", params, seed, true, false));
76 combinedGroup->addChild(createRandomShaderCase(m_context, "Random expressions in vertex and fragment shaders", params, seed, true, true));
94 tcu::TestCaseGroup* vertexGroup = new tcu::TestCaseGroup(m_testCtx, "vertex", "Vertex-only tests");
105 vertexGroup->addChild(createRandomShaderCase(m_context, "Scalar conversions in vertex shader", params, seed, true, false));
107 combinedGroup->addChild(createRandomShaderCase(m_context, "Scalar conversions in vertex and fragment shaders", params, seed, true, true));
126 tcu::TestCaseGroup* vertexGroup = new tcu::TestCaseGroup(m_testCtx, "vertex", "Vertex-only tests");
134 vertexGroup->addChild(createRandomShaderCase(m_context, "Vector swizzles in vertex shade
[all...]
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_prim_emit.c42 * Primitive emit to hardware. No support for vertex buffers or any
70 const struct vertex_header *vertex)
80 const float *attrib = vertex->data[j];
69 emit_hw_vertex( struct i915_context *i915, const struct vertex_header *vertex) argument
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d10tri/
H A Dd3d10tri.cpp31 struct vertex { struct
36 static struct vertex vertices[3] =
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tri/
H A Dd3d11tri.cpp31 struct vertex { struct
36 static struct vertex vertices[3] =
66 // inverse order to make sure the implementation can properly parse the vertex shader signature
/external/mesa3d/src/gallium/tests/graw/
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);
H A Dtri.c14 struct vertex { struct
22 static struct vertex vertices[3] =
47 ve[0].src_offset = Offset(struct vertex, position);
49 ve[1].src_offset = Offset(struct vertex, color);
56 vbuf.stride = sizeof( struct vertex );
H A Docclusion-query.c19 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");
H A Dquad-tex.c17 struct vertex { struct
22 static struct vertex vertices[] =
48 ve[0].src_offset = Offset(struct vertex, position);
50 ve[1].src_offset = Offset(struct vertex, color);
57 vbuf.stride = sizeof( struct vertex );
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 Dtex-swizzle.c17 struct vertex { struct
22 static struct vertex vertices[] =
46 ve[0].src_offset = Offset(struct vertex, position);
48 ve[1].src_offset = Offset(struct vertex, color);
55 vbuf.stride = sizeof(struct vertex);
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_gs.h84 * Register holding streamed vertex buffer pointers -- see the Sandy
90 struct brw_reg vertex[MAX_GS_VERTS]; member in struct:brw_gs_compile::__anon12609
101 /* Number of registers used to store vertex data */
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/dexmaker/src/dx/java/com/android/dx/ssa/
H A DDominators.java56 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...]
/external/mesa3d/src/gallium/auxiliary/rbug/
H A Drbug_context.h88 rbug_shader_t vertex; member in struct:rbug_proto_context_draw_rule
113 rbug_shader_t vertex; member in struct:rbug_proto_context_info_reply
155 rbug_shader_t vertex,
174 rbug_shader_t vertex,
/external/mesa3d/src/mesa/swrast_setup/
H A Dss_context.c40 /* Need to check lighting state and vertex program state to know
179 * Prepare to render a vertex buffer.
213 * It's called when we finish rendering a vertex buffer.
263 * Populate a swrast SWvertex from an attrib-style vertex.
266 _swsetup_Translate( struct gl_context *ctx, const void *vertex, SWvertex *dest ) argument
272 _tnl_get_attr( ctx, vertex, _TNL_ATTRIB_POS, tmp );
281 _tnl_get_attr( ctx, vertex, _TNL_ATTRIB_TEX0 + i,
285 _tnl_get_attr( ctx, vertex, _TNL_ATTRIB_GENERIC0 + i,
288 _tnl_get_attr( ctx, vertex, _TNL_ATTRIB_COLOR0,
292 _tnl_get_attr( ctx, vertex, _TNL_ATTRIB_COLOR
[all...]

Completed in 472 milliseconds

123