HomeSort by: relevance | last modified time | path
    Searched refs:vertex (Results 1 - 25 of 194) sorted by relevancy

1 2 3 4 5 6 7 8

  /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
brw_ff_gs_emit.c 49 * 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 data to the URB. If this is the last write for thi
348 unsigned vertex, binding; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/vbo/
vbo_exec_eval.c 74 /* Vertex program maps have priority over conventional attribs */
150 /** Vertex -- EvalCoord1f is a noop if this map not enabled:
155 GLfloat vertex[4]; local
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 ));
200 /** Vertex -- EvalCoord2f is a noop if this map not enabled:
206 GLfloat vertex[4]; local
208 ASSIGN_4V(vertex, 0, 0, 0, 1)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/vbo/
vbo_exec_eval.c 73 /* Vertex program maps have priority over conventional attribs */
148 /** Vertex -- EvalCoord1f is a noop if this map not enabled:
153 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 ));
197 /** Vertex -- EvalCoord2f is a noop if this map not enabled:
203 GLfloat vertex[4]; local
205 ASSIGN_4V(vertex, 0, 0, 0, 1)
    [all...]
  /xsrc/external/mit/MesaLib/dist/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 );
  /xsrc/external/mit/MesaLib.old/dist/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 );
  /xsrc/external/mit/mesa-demos/dist/src/slang/
cltest.c 62 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.count] = 0.0f
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/perf/
fbobind.c 45 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));
genmipmap.c 42 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));
fill.c 38 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));
drawoverhead.c 43 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);
copytex.c 46 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/
tess.c 86 static void GLAPIENTRY vertexCallback(GLvoid *vertex)
90 pointer = (GLdouble *) vertex;
95 /* combineCallback is used to create a new vertex when edges
104 GLdouble *vertex; local
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/
brw_compile_ff_gs.c 48 * Register holding streamed vertex buffer pointers -- see the Sandy
54 struct brw_reg vertex[MAX_GS_VERTS]; member in struct:brw_ff_gs_compile::__anon2373
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 data
377 unsigned vertex, binding; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/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);
74 vbuf.stride = sizeof(struct vertex);
79 num_verts * sizeof(struct vertex),
fs-fragcoord.c 18 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);
fs-frontface.c 16 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);
fs-write-z.c 19 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);
occlusion-query.c 20 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/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);
74 vbuf.stride = sizeof(struct vertex);
79 num_verts * sizeof(struct vertex),
fs-fragcoord.c 18 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);
fs-frontface.c 16 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);
fs-write-z.c 19 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);
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");
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/xa/
xa_renderer.c 133 /* vertex elements state */
146 float *vertex = r->buffer + r->buffer_size; local
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
161 vertex[0] = x;
162 vertex[1] = y;
163 vertex[2] = 0.f; /*z *
178 float *vertex = r->buffer + r->buffer_size; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/xa/
xa_renderer.c 129 /* vertex elements state */
142 float *vertex = r->buffer + r->buffer_size; local
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
157 vertex[0] = x;
158 vertex[1] = y;
159 vertex[2] = 0.f; /*z *
174 float *vertex = r->buffer + r->buffer_size; local
    [all...]

Completed in 31 milliseconds

1 2 3 4 5 6 7 8