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

123456

/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_ff_gs_emit.c50 * 1 needs to be set aside to hold the streamed vertex buffer indices.
64 /* Streamed vertex buffer indices */
71 c->reg.vertex[j] = brw_vec4_grf(i, 0);
113 * need to be able to update on a per-vertex basis.
143 * 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
180 /* Copy the vertex from vertn into m1..mN+1:
184 /* Send the vertex dat
349 unsigned vertex, binding; local
[all...]
H A Dgen6_gs_visitor.h67 void xfb_program(unsigned vertex, unsigned num_verts);
69 int get_vertex_output_offset_for_varying(int vertex, int varying);
/external/mesa3d/src/mesa/vbo/
H A Dvbo_exec_eval.c153 GLfloat vertex[4]; local
155 ASSIGN_4V(vertex, 0, 0, 0, 1);
157 _math_horner_bezier_curve(map->Points, vertex, uu,
162 CALL_Vertex4fv(GET_DISPATCH(), ( vertex ));
164 CALL_Vertex3fv(GET_DISPATCH(), ( vertex ));
203 GLfloat vertex[4]; local
205 ASSIGN_4V(vertex, 0, 0, 0, 1);
211 _math_de_casteljau_surf(map->Points, vertex, du, dv, uu, vv,
216 du[0] = du[0]*vertex[3] - du[3]*vertex[
[all...]
/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 );
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
273 _tnl_get_attr( ctx, vertex, _TNL_ATTRIB_POS, tmp );
282 _tnl_get_attr( ctx, vertex, _TNL_ATTRIB_TEX0 + i,
286 _tnl_get_attr( ctx, vertex, _TNL_ATTRIB_GENERIC0 + i,
289 _tnl_get_attr( ctx, vertex, _TNL_ATTRIB_COLOR0,
294 _tnl_get_attr( ctx, vertex, _TNL_ATTRIB_COLOR
[all...]
/external/swiftshader/src/Shader/
H A DVertexRoutine.hpp28 VertexRoutinePrototype() : vertex(Arg<0>()), batch(Arg<1>()), task(Arg<2>()), data(Arg<3>()) {}
32 Pointer<Byte> vertex; member in class:sw::VertexRoutinePrototype
66 void writeVertex(const Pointer<Byte> &vertex, Pointer<Byte> &cacheLine);
67 void transformFeedback(const Pointer<Byte> &vertex, const UInt &primitiveNumber, const UInt &indexInPrimitive);
/external/skia/src/gpu/text/
H A DGrAtlasTextBlobVertexRegenerator.cpp38 inline void regen_vertices(char* vertex, const GrGlyph* glyph, size_t vertexStride, argument
104 SkPoint* point = reinterpret_cast<SkPoint*>(vertex);
110 SkColor* vcolor = reinterpret_cast<SkColor*>(vertex + colorOffset);
115 uint16_t* textureCoords = reinterpret_cast<uint16_t*>(vertex + texCoordOffset);
119 SkColor* vcolor = reinterpret_cast<SkColor*>(vertex + colorOffset);
123 vertex += vertexStride;
127 SkPoint* point = reinterpret_cast<SkPoint*>(vertex);
133 SkColor* vcolor = reinterpret_cast<SkColor*>(vertex + colorOffset);
138 uint16_t* textureCoords = reinterpret_cast<uint16_t*>(vertex + texCoordOffset);
142 SkColor* vcolor = reinterpret_cast<SkColor*>(vertex
[all...]
/external/skqp/src/gpu/text/
H A DGrAtlasTextBlobVertexRegenerator.cpp37 inline void regen_vertices(char* vertex, const GrGlyph* glyph, size_t vertexStride, argument
103 SkPoint* point = reinterpret_cast<SkPoint*>(vertex);
109 SkColor* vcolor = reinterpret_cast<SkColor*>(vertex + colorOffset);
114 uint16_t* textureCoords = reinterpret_cast<uint16_t*>(vertex + texCoordOffset);
118 SkColor* vcolor = reinterpret_cast<SkColor*>(vertex + colorOffset);
122 vertex += vertexStride;
126 SkPoint* point = reinterpret_cast<SkPoint*>(vertex);
132 SkColor* vcolor = reinterpret_cast<SkColor*>(vertex + colorOffset);
137 uint16_t* textureCoords = reinterpret_cast<uint16_t*>(vertex + texCoordOffset);
141 SkColor* vcolor = reinterpret_cast<SkColor*>(vertex
[all...]
/external/pdfium/third_party/agg23/
H A Dagg_path_storage.h39 unsigned vertex(float* x, 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, float* x, float* y) const function in class:agg::path_storage
110 unsigned vertex(float* x, float* y);
124 inline unsigned path_storage::vertex(float* x, 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(float*, float*) function in struct:agg::null_markers
70 unsigned vertex(float* x, float* y);
84 unsigned conv_adaptor_vcgen<VertexSource, Generator, Markers>::vertex(float* x, 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/
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);
74 vbuf.stride = sizeof(struct vertex);
79 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);
69 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);
91 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);
95 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);
58 vbuf.stride = 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);
56 vbuf.stride = sizeof(struct vertex);
H A Dtri-large.c17 struct vertex { struct
25 static struct vertex vertices[3] =
50 ve[0].src_offset = Offset(struct vertex, position);
52 ve[1].src_offset = Offset(struct vertex, color);
60 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);
57 vbuf.stride = sizeof( struct vertex );
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_renderer.c128 /* vertex elements state */
141 float *vertex = r->buffer + r->buffer_size; local
143 vertex[0] = x;
144 vertex[1] = y;
145 vertex[2] = 0.f; /*z */
146 vertex[3] = 1.f; /*w */
148 vertex[4] = color[0]; /*r */
149 vertex[5] = color[1]; /*g */
150 vertex[6] = color[2]; /*b */
151 vertex[
159 float *vertex = r->buffer + r->buffer_size; local
178 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])
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineInputAssemblyTests.cpp345 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...]
/external/pdfium/core/fpdfapi/page/
H A Dcpdf_meshstream.cpp227 CPDF_MeshVertex* vertex,
235 vertex->position = pObject2Bitmap.Transform(ReadCoords());
239 std::tie(vertex->r, vertex->g, vertex->b) = ReadColor();
253 CPDF_MeshVertex& vertex = vertices.back(); local
254 vertex.position = pObject2Bitmap.Transform(ReadCoords());
258 std::tie(vertex.r, vertex.g, vertex
226 ReadVertex(const CFX_Matrix& pObject2Bitmap, CPDF_MeshVertex* vertex, uint32_t* flag) argument
[all...]
/external/skia/src/atlastext/
H A DSkInternalAtlasTextContext.cpp77 auto* vertex = reinterpret_cast<SkAtlasTextRenderer::SDFVertex*>(vertexData) + i; local
80 vertex->fTextureCoord.fX /= 2;
81 vertex->fTextureCoord.fY /= 2;
82 matrix.mapHomogeneousPoints(&vertex->fPosition, &vertex->fPosition, 1);
/external/skqp/src/atlastext/
H A DSkInternalAtlasTextContext.cpp75 auto* vertex = reinterpret_cast<SkAtlasTextRenderer::SDFVertex*>(vertexData) + i; local
78 vertex->fTextureCoord.fX /= 2;
79 vertex->fTextureCoord.fY /= 2;
80 matrix.mapHomogeneousPoints(&vertex->fPosition, &vertex->fPosition, 1);

Completed in 2286 milliseconds

123456