Searched refs:vertices (Results 1 - 25 of 177) sorted by relevance

12345678

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_prim.h222 * primitives for a set of vertices.
225 u_decomposed_prims_for_vertices(enum pipe_prim_type primitive, int vertices) argument
229 return vertices;
231 return vertices / 2;
233 return (vertices >= 2) ? vertices : 0;
235 return (vertices >= 2) ? vertices - 1 : 0;
237 return vertices / 3;
239 return (vertices >
272 u_reduced_prims_for_vertices(enum pipe_prim_type primitive,int vertices) argument
[all...]
H A Du_blit.c70 struct pipe_resource *vbuf; /**< quad vertices */
73 float vertices[4][2][4]; /**< vertex/texcoords for quad */ member in struct:blit_state
124 ctx->vertices[i][0][3] = 1.0f; /* w */
125 ctx->vertices[i][1][3] = 1.0f; /* q */
231 * Get offset of next free slot in vertex buffer for quad vertices.
236 const unsigned max_slots = 4096 / sizeof ctx->vertices;
247 max_slots * sizeof ctx->vertices);
250 return ctx->vbuf_slot++ * sizeof ctx->vertices;
273 ctx->vertices[0][0][0] = x0;
274 ctx->vertices[
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_prim.h227 * primitives for a set of vertices.
230 u_decomposed_prims_for_vertices(enum pipe_prim_type primitive, int vertices) argument
234 return vertices;
236 return vertices / 2;
238 return (vertices >= 2) ? vertices : 0;
240 return (vertices >= 2) ? vertices - 1 : 0;
242 return vertices / 3;
244 return (vertices >
277 u_reduced_prims_for_vertices(enum pipe_prim_type primitive,int vertices) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_pt_decompose.h2 char *verts = (char *) vertices; \
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_pt_decompose.h2 char *verts = (char *) vertices; \
/xsrc/external/mit/glu/dist/src/libnurbs/nurbtess/
H A DprimitiveStream.cc78 temp[i] = vertices[i];
80 free(vertices);
81 vertices = temp;
85 vertices[index_vertices++] = u;
86 vertices[index_vertices++] = v;
138 printf("(%f,%f) ", vertices[k], vertices[k+1]);
152 vertices = (Real*) malloc(sizeof(Real) * sizeVertices);
153 assert(vertices);
167 free(vertices);
[all...]
H A DgridWrap.h105 Real2* vertices; /*one grid point at each grid V-line, cached for efficiency*/ member in class:gridBoundaryChain
114 free(vertices);
121 Real get_u_value(Int i) {return vertices[i][0];}
122 Real get_v_value(Int i) {return vertices[i][1];}
127 Real* get_vertex(Int i) {return vertices[i];}
132 Int lookfor(Real v, Int i1, Int i2); //find i in [i1,i2] so that vertices[i][1]>= v > vertices[i+1][1]
/xsrc/external/mit/xorg-server/dist/glamor/
H A Dglamor_utils.h429 vertices, stride) \
431 /* vertices may be write-only, so we use following \
434 (vertices)[0] = _t0_ = t_from_x_coord_x(xscale, tx1); \
435 (vertices)[1 * stride] = _t2_ = t_from_x_coord_x(xscale, tx2); \
436 (vertices)[2 * stride] = _t2_; \
437 (vertices)[3 * stride] = _t0_; \
438 (vertices)[1] = _t1_ = t_from_x_coord_y(yscale, ty1); \
439 (vertices)[2 * stride + 1] = _t5_ = t_from_x_coord_y(yscale, ty2); \
440 (vertices)[1 * stride + 1] = _t1_; \
441 (vertices)[
[all...]
/xsrc/external/mit/mesa-demos/dist/src/perf/
H A Ddrawoverhead.c48 static const struct vertex vertices[4] = { variable in typeref:typename:const struct vertex[4]
64 sizeof(vertices), vertices, GL_STATIC_DRAW_ARB);
H A Dfbobind.c50 static const struct vertex vertices[1] = { variable in typeref:typename:const struct vertex[1]
73 glBufferDataARB(GL_ARRAY_BUFFER_ARB, sizeof(vertices),
74 vertices, GL_STATIC_DRAW_ARB);
H A Dgenmipmap.c47 static const struct vertex vertices[1] = { variable in typeref:typename:const struct vertex[1]
66 sizeof(vertices), vertices, GL_STATIC_DRAW_ARB);
H A Dswapbuffers.c43 static const struct vertex vertices[4] = { variable in typeref:typename:const struct vertex[4]
59 sizeof(vertices), vertices, GL_STATIC_DRAW_ARB);
/xsrc/external/mit/xf86-video-intel/dist/src/sna/
H A Dgen8_vertex.c118 sna->render.vertices = sna->render.vertex_data;
126 sna->render.vertices = NULL;
136 sna->render.vertices = kgem_bo_map(&sna->kgem, sna->render.vbo);
137 if (sna->render.vertices == NULL) {
142 sna->render.vertices = sna->render.vertex_data;
154 memcpy(sna->render.vertices,
190 sna->render.vertices = sna->render.vertex_data;
193 } else if (!sna->kgem.has_llc && sna->render.vertices == MAP(bo->map__cpu)) {
195 sna->render.vertices =
197 if (sna->render.vertices
[all...]
H A Dgen4_common.h38 sna->render.vertices = sna->render.vertex_data;
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
H A Dgen8_vertex.c118 sna->render.vertices = sna->render.vertex_data;
126 sna->render.vertices = NULL;
136 sna->render.vertices = kgem_bo_map(&sna->kgem, sna->render.vbo);
137 if (sna->render.vertices == NULL) {
142 sna->render.vertices = sna->render.vertex_data;
154 memcpy(sna->render.vertices,
190 sna->render.vertices = sna->render.vertex_data;
193 } else if (!sna->kgem.has_llc && sna->render.vertices == MAP(bo->map__cpu)) {
195 sna->render.vertices =
197 if (sna->render.vertices
[all...]
H A Dgen4_common.h38 sna->render.vertices = sna->render.vertex_data;
/xsrc/external/mit/xorg-server.old/dist/mi/
H A Dmiwideline.c363 PolyVertexPtr vertices,
385 maxy = miny = vertices[0].y;
389 if (vertices[i].y < miny)
392 miny = vertices[i].y;
394 if (vertices[i].y >= maxy)
397 maxy = vertices[i].y;
422 y = miPolyBuildEdge (vertices[i].x, vertices[i].y,
453 y = miPolyBuildEdge (vertices[i].x, vertices[
362 miPolyBuildPoly(PolyVertexPtr vertices,PolySlopePtr slopes,int count,int xi,int yi,PolyEdgePtr left,PolyEdgePtr right,int * pnleft,int * pnright,int * h) argument
520 PolyVertexRec vertices[4]; local in function:miLineJoin
1679 PolyVertexRec vertices[4]; local in function:miWideDashSegment
[all...]
/xsrc/external/mit/mesa-demos/dist/src/objviewer/
H A Dglmdraw.c24 * GLM_NONE - render with only vertices
40 assert(model->vertices);
112 glVertex3fv(&model->vertices[3 * T(group->triangles[i]).vindices[0]]);
115 model->vertices[3 * T(group->triangles[i]).vindices[0] + X],
116 model->vertices[3 * T(group->triangles[i]).vindices[0] + Y],
117 model->vertices[3 * T(group->triangles[i]).vindices[0] + Z]);
124 glVertex3fv(&model->vertices[3 * T(group->triangles[i]).vindices[1]]);
127 model->vertices[3 * T(group->triangles[i]).vindices[1] + X],
128 model->vertices[3 * T(group->triangles[i]).vindices[1] + Y],
129 model->vertices[
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/graw/
H A Dfs-fragcoord.c26 static struct vertex vertices[] = variable in typeref:struct:vertex[]
49 #define NUM_VERTS ARRAY_SIZE(vertices)
76 sizeof(vertices),
77 vertices);
H A Dfs-frontface.c25 static struct vertex vertices[] = variable in typeref:struct:vertex[]
70 #define NUM_VERTS ARRAY_SIZE(vertices)
98 sizeof(vertices),
99 vertices);
H A Dfs-write-z.c29 static struct vertex vertices[] = variable in typeref:struct:vertex[]
74 #define NUM_VERTS ARRAY_SIZE(vertices)
102 sizeof(vertices),
103 vertices);
/xsrc/external/mit/MesaLib/dist/src/gallium/tests/graw/
H A Dfs-fragcoord.c26 static struct vertex vertices[] = variable in typeref:struct:vertex[]
49 #define NUM_VERTS ARRAY_SIZE(vertices)
76 sizeof(vertices),
77 vertices);
H A Dfs-frontface.c25 static struct vertex vertices[] = variable in typeref:struct:vertex[]
70 #define NUM_VERTS ARRAY_SIZE(vertices)
98 sizeof(vertices),
99 vertices);
H A Dfs-write-z.c29 static struct vertex vertices[] = variable in typeref:struct:vertex[]
74 #define NUM_VERTS ARRAY_SIZE(vertices)
102 sizeof(vertices),
103 vertices);
/xsrc/external/mit/mesa-demos/dist/src/redbook/
H A Dmvarray.c58 static GLint vertices[] = {25, 25, local in function:setupPointer
72 glVertexPointer (2, GL_INT, 0, vertices);

Completed in 14 milliseconds

12345678