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

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_ff_gs_emit.c49 * 1 needs to be set aside to hold the streamed vertex buffer indices.
63 /* Streamed vertex buffer indices */
70 c->reg.vertex[j] = brw_vec4_grf(i, 0);
112 * need to be able to update on a per-vertex basis.
142 * for each vertex.
154 * Emit a vertex using the URB_WRITE message. Use the contents of
156 * for the vertex data.
158 * If \c last is true, then this is the last vertex, so no further URB space
179 /* Copy the vertex from vertn into m1..mN+1:
183 /* Send the vertex dat
348 unsigned vertex, binding; local in function:gen6_sol_program
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/vbo/
H A Dvbo_exec_eval.c153 GLfloat vertex[4]; local in function:vbo_exec_do_EvalCoord1f
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 in function:vbo_exec_do_EvalCoord2f
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...]
/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/
H A Dvbo_exec_eval.c155 GLfloat vertex[4]; local in function:vbo_exec_do_EvalCoord1f
157 ASSIGN_4V(vertex, 0, 0, 0, 1);
159 _math_horner_bezier_curve(map->Points, vertex, uu,
164 CALL_Vertex4fv(ctx->CurrentServerDispatch, ( vertex ));
166 CALL_Vertex3fv(ctx->CurrentServerDispatch, ( vertex ));
206 GLfloat vertex[4]; local in function:vbo_exec_do_EvalCoord2f
208 ASSIGN_4V(vertex, 0, 0, 0, 1);
214 _math_de_casteljau_surf(map->Points, vertex, du, dv, uu, vv,
219 du[0] = du[0]*vertex[3] - du[3]*vertex[
[all...]
/xsrc/external/mit/mesa-demos/dist/src/slang/
H A Dcltest.c62 struct SHADER vertex; member in struct:PROGRAM
97 (**currprog).vertex.code[0] = '\0';
98 (**currprog).vertex.count = 0;
109 else if (strcmp (line + 1, "vertex") == 0) {
131 strcat ((**currprog).vertex.code, line);
132 strcat ((**currprog).vertex.code, "\n");
136 (**currprog).vertex.output[(**currprog).vertex.count] = 1.0f;
138 (**currprog).vertex.output[(**currprog).vertex
[all...]
/xsrc/external/mit/MesaLib.old/dist/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 );
/xsrc/external/mit/MesaLib/dist/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 );
/xsrc/external/mit/mesa-demos/dist/src/perf/
H A Dfbobind.c45 struct vertex struct
50 static const struct vertex vertices[1] = {
54 #define VOFFSET(F) ((void *) offsetof(struct vertex, F))
76 glVertexPointer(2, GL_FLOAT, sizeof(struct vertex), VOFFSET(x));
77 glTexCoordPointer(2, GL_FLOAT, sizeof(struct vertex), VOFFSET(s));
H A Dgenmipmap.c42 struct vertex struct
47 static const struct vertex vertices[1] = {
51 #define VOFFSET(F) ((void *) offsetof(struct vertex, F))
62 /* setup VBO w/ vertex data */
67 glVertexPointer(2, GL_FLOAT, sizeof(struct vertex), VOFFSET(x));
68 glTexCoordPointer(2, GL_FLOAT, sizeof(struct vertex), VOFFSET(s));
H A Dfill.c38 struct vertex struct
43 #define VOFFSET(F) ((void *) offsetof(struct vertex, F))
45 static const struct vertex vertices[4] = {
127 /* setup VBO w/ vertex data */
132 glVertexPointer(2, GL_FLOAT, sizeof(struct vertex), VOFFSET(x));
133 glTexCoordPointer(2, GL_FLOAT, sizeof(struct vertex), VOFFSET(s));
134 glColorPointer(4, GL_FLOAT, sizeof(struct vertex), VOFFSET(r));
H A Ddrawoverhead.c43 struct vertex struct
48 static const struct vertex vertices[4] = {
60 /* setup VBO w/ vertex data */
65 glVertexPointer(2, GL_FLOAT, sizeof(struct vertex), (void *) 0);
H A Dcopytex.c46 struct vertex struct
51 static const struct vertex vertices[1] = {
55 #define VOFFSET(F) ((void *) offsetof(struct vertex, F))
76 glVertexPointer(2, GL_FLOAT, sizeof(struct vertex), VOFFSET(x));
77 glTexCoordPointer(2, GL_FLOAT, sizeof(struct vertex), VOFFSET(s));
/xsrc/external/mit/mesa-demos/dist/src/redbook/
H A Dtess.c86 static void GLAPIENTRY vertexCallback(GLvoid *vertex) argument
90 pointer = (GLdouble *) vertex;
95 /* combineCallback is used to create a new vertex when edges
104 GLdouble *vertex; local in function:combineCallback
107 vertex = (GLdouble *) malloc(6 * sizeof(GLdouble));
109 vertex[0] = coords[0];
110 vertex[1] = coords[1];
111 vertex[2] = coords[2];
113 vertex[i] = weight[0] * vertex_data[0][i]
117 *dataOut = vertex;
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_compile_ff_gs.c48 * Register holding streamed vertex buffer pointers -- see the Sandy
54 struct brw_reg vertex[MAX_GS_VERTS]; member in struct:brw_ff_gs_compile::__anonb70bbc590108
65 /* Number of registers used to store vertex data */
77 * 1 needs to be set aside to hold the streamed vertex buffer indices.
91 /* Streamed vertex buffer indices */
98 c->reg.vertex[j] = brw_vec4_grf(i, 0);
140 * need to be able to update on a per-vertex basis.
170 * for each vertex.
182 * Emit a vertex using the URB_WRITE message. Use the contents of
184 * for the vertex dat
377 unsigned vertex, binding; local in function:gfx6_sol_program
[all...]
/xsrc/external/mit/MesaLib.old/dist/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.c18 struct vertex { struct
23 /* Note: the upper-left vertex is pushed to the left a bit to
26 static struct vertex vertices[] =
61 ve[0].src_offset = Offset(struct vertex, position);
63 ve[1].src_offset = Offset(struct vertex, color);
71 vbuf.stride = sizeof(struct vertex);
H A Dfs-frontface.c16 struct vertex { struct
25 static struct vertex vertices[] =
83 ve[0].src_offset = Offset(struct vertex, position);
85 ve[1].src_offset = Offset(struct vertex, color);
93 vbuf.stride = sizeof(struct vertex);
H A Dfs-write-z.c19 struct vertex { struct
29 static struct vertex vertices[] =
87 ve[0].src_offset = Offset(struct vertex, position);
89 ve[1].src_offset = Offset(struct vertex, color);
97 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");
/xsrc/external/mit/MesaLib/dist/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.c18 struct vertex { struct
23 /* Note: the upper-left vertex is pushed to the left a bit to
26 static struct vertex vertices[] =
61 ve[0].src_offset = Offset(struct vertex, position);
63 ve[1].src_offset = Offset(struct vertex, color);
71 vbuf.stride = sizeof(struct vertex);
H A Dfs-frontface.c16 struct vertex { struct
25 static struct vertex vertices[] =
83 ve[0].src_offset = Offset(struct vertex, position);
85 ve[1].src_offset = Offset(struct vertex, color);
93 vbuf.stride = sizeof(struct vertex);
H A Dfs-write-z.c19 struct vertex { struct
29 static struct vertex vertices[] =
87 ve[0].src_offset = Offset(struct vertex, position);
89 ve[1].src_offset = Offset(struct vertex, color);
97 vbuf.stride = sizeof(struct vertex);
H A Docclusion-query.c20 struct vertex { struct
28 static struct vertex obj1_vertices[4] =
51 static struct vertex obj2_vertices[4] =
79 set_vertices(struct vertex *vertices, unsigned bytes)
87 ve[0].src_offset = Offset(struct vertex, position);
89 ve[1].src_offset = Offset(struct vertex, color);
96 vbuf.stride = sizeof(struct vertex);
124 debug_printf("Failed to parse vertex shader\n");
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/xa/
H A Dxa_renderer.c129 /* vertex elements state */
142 float *vertex = r->buffer + r->buffer_size; local in function:add_vertex_none
144 vertex[0] = x;
145 vertex[1] = y;
146 vertex[2] = 0.f; /*z */
147 vertex[3] = 1.f; /*w */
155 float *vertex = r->buffer + r->buffer_size; local in function:add_vertex_1tex
157 vertex[0] = x;
158 vertex[1] = y;
159 vertex[
174 float *vertex = r->buffer + r->buffer_size; local in function:add_vertex_2tex
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/xa/
H A Dxa_renderer.c133 /* vertex elements state */
146 float *vertex = r->buffer + r->buffer_size; local in function:add_vertex_none
148 vertex[0] = x;
149 vertex[1] = y;
150 vertex[2] = 0.f; /*z */
151 vertex[3] = 1.f; /*w */
159 float *vertex = r->buffer + r->buffer_size; local in function:add_vertex_1tex
161 vertex[0] = x;
162 vertex[1] = y;
163 vertex[
178 float *vertex = r->buffer + r->buffer_size; local in function:add_vertex_2tex
[all...]

Completed in 28 milliseconds

1234567891011>>