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

1 2 3 4 5 6

  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
u_prim.h 222 * primitives for a set of vertices.
225 u_decomposed_prims_for_vertices(enum pipe_prim_type primitive, int vertices)
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 >= 3) ? vertices - 2 : 0
    [all...]
u_blit.c 70 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[0][0][1] = y0
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
u_prim.h 227 * primitives for a set of vertices.
230 u_decomposed_prims_for_vertices(enum pipe_prim_type primitive, int vertices)
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 >= 3) ? vertices - 2 : 0
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
draw_pt_decompose.h 2 char *verts = (char *) vertices; \
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
draw_pt_decompose.h 2 char *verts = (char *) vertices; \
  /xsrc/external/mit/glu/dist/src/libnurbs/nurbtess/
primitiveStream.cc 78 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...]
gridWrap.h 105 Real2* vertices; /*one grid point at each grid V-line, cached for efficiency*/
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]
primitiveStream.h 45 Int *lengths; /*length[i]=number of vertices of ith primitive*/
47 Real *vertices; /*the size >= 2 * num_vertices, each vertex (u,v)*/ member in class:primStream
56 *count the number of vertices which have been inserted so far in
77 Real* get_vertices() {return vertices;}
  /xsrc/external/mit/xorg-server/dist/glamor/
glamor_utils.h 429 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)[3 * stride + 1] = _t5_;
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/perf/
drawoverhead.c 48 static const struct vertex vertices[4] = { variable in typeref:struct:vertex
64 sizeof(vertices), vertices, GL_STATIC_DRAW_ARB);
fbobind.c 50 static const struct vertex vertices[1] = { variable in typeref:struct:vertex
73 glBufferDataARB(GL_ARRAY_BUFFER_ARB, sizeof(vertices),
74 vertices, GL_STATIC_DRAW_ARB);
genmipmap.c 47 static const struct vertex vertices[1] = { variable in typeref:struct:vertex
66 sizeof(vertices), vertices, GL_STATIC_DRAW_ARB);
swapbuffers.c 43 static const struct vertex vertices[4] = { variable in typeref:struct:vertex
59 sizeof(vertices), vertices, GL_STATIC_DRAW_ARB);
  /xsrc/external/mit/xf86-video-intel/dist/src/sna/
gen8_vertex.c 118 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 == NULL)
    [all...]
gen4_common.h 38 sna->render.vertices = sna->render.vertex_data;
  /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
gen8_vertex.c 118 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 == NULL)
    [all...]
gen4_common.h 38 sna->render.vertices = sna->render.vertex_data;
  /xsrc/external/mit/xorg-server.old/dist/mi/
miwideline.c 363 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[i].y
520 PolyVertexRec vertices[4]; local
1679 PolyVertexRec vertices[4]; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/tests/graw/
fs-fragcoord.c 26 static struct vertex vertices[] = variable in typeref:struct:vertex
49 #define NUM_VERTS ARRAY_SIZE(vertices)
76 sizeof(vertices),
77 vertices);
fs-frontface.c 25 static struct vertex vertices[] = variable in typeref:struct:vertex
70 #define NUM_VERTS ARRAY_SIZE(vertices)
98 sizeof(vertices),
99 vertices);
fs-write-z.c 29 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.old/dist/src/gallium/tests/graw/
fs-fragcoord.c 26 static struct vertex vertices[] = variable in typeref:struct:vertex
49 #define NUM_VERTS ARRAY_SIZE(vertices)
76 sizeof(vertices),
77 vertices);
fs-frontface.c 25 static struct vertex vertices[] = variable in typeref:struct:vertex
70 #define NUM_VERTS ARRAY_SIZE(vertices)
98 sizeof(vertices),
99 vertices);
fs-write-z.c 29 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/objviewer/
glmdraw.c 24 * 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[3 * T(group->triangles[i]).vindices[1] + Z])
    [all...]

Completed in 22 milliseconds

1 2 3 4 5 6