Searched refs:vert (Results 1 - 25 of 100) sorted by relevance

1234

/xsrc/external/mit/glu/dist/src/libnurbs/internals/
H A Dcoveandtiler.cc228 TrimVertex *vert = right.next(); local in function:CoveAndTiler::coveUR
229 if( vert == NULL ) return;
231 assert( vert->param[0] >= uarray.uarray[gv.gparam[0]] );
234 for( ; vert; vert = right.next() ) {
235 output( vert );
239 if( vert->param[0] < uarray.uarray[gv.gparam[0]] ) {
240 output( vert );
242 vert = right.next();
243 if( vert
290 TrimVertex *vert = left.next(); local in function:CoveAndTiler::coveUL
351 TrimVertex *vert = left.prev(); local in function:CoveAndTiler::coveLL
412 TrimVertex *vert = right.prev(); local in function:CoveAndTiler::coveLR
[all...]
H A Dmonotonizer.cc127 TrimVertex *vert; local in function:Subdivider::monotonize
128 for( vert = firstvert; vert != lastvert; vert++ ) {
134 REAL sdiff = vert[1].param[0] - vert[0].param[0];
155 REAL tdiff = vert[1].param[1] - vert[0].param[1];
178 jarc->pwlArc->npts = vert - firstvert + 1;
183 firstvert = jarc->pwlArc->pts = vert;
217 TrimVertex *vert = firstvert; local in function:Subdivider::isMonotone
[all...]
H A Darctess.cc361 TrimVertex *vert = trimvertexpool.get( nsteps+1 ); local in function:ArcTessellator::tessellateNonlinear
366 arc->pwlArc->pts = vert;
376 vert->param[0] = b[0]/b[2];
377 vert->param[1] = b[1]/b[2];
385 for( step=1, ++vert; step<nsteps; step++, vert++ ) {
395 vert->param[0] = u/w;
396 vert->param[1] = v/w;
398 REAL ds = glu_abs(vert[0].param[0] - vert[
[all...]
/xsrc/external/mit/mesa-demos/dist/src/slang/
H A Dsotest.c77 static GLhandleARB vert = 0; variable in typeref:typename:GLhandleARB
86 if (handle != vert && handle != frag && handle != prog)
162 vert = glCreateShaderObjectARB (GL_VERTEX_SHADER_ARB);
163 endtest1 (vert);
168 endtest1 (vert != frag && frag != prog && prog != vert);
203 glAttachObjectARB (vert, frag);
205 glAttachObjectARB (vert, prog);
214 glDetachObjectARB (prog, vert);
223 glAttachObjectARB (prog, vert);
[all...]
H A Dcltest.c18 static GLhandleARB vert = 0; variable in typeref:typename:GLhandleARB
159 vert = glCreateShaderObjectARB (GL_VERTEX_SHADER_ARB);
160 glAttachObjectARB (prog, vert);
161 glDeleteObjectARB (vert);
177 glShaderSourceARB (vert, 1, (const GLcharARB **) (&code), NULL);
178 glCompileShaderARB (vert);
179 CheckObjectStatus (vert);
193 glGetObjectParameterivARB (vert, GL_OBJECT_INFO_LOG_LENGTH_ARB, &info_length);
216 glGetInfoLogARB (vert, sizeof (output), &length, output);
H A Dvstest.c19 static GLhandleARB vert = 0; variable in typeref:typename:GLhandleARB
239 glShaderSourceARB (vert, 1, (const GLcharARB **) (&code), &size);
240 glCompileShaderARB (vert);
241 if (!CheckObjectStatus (vert))
252 vert = glCreateShaderObjectARB (GL_VERTEX_SHADER_ARB);
253 glAttachObjectARB (prog, vert);
254 glDeleteObjectARB (vert);
275 glGetObjectParameterivARB (vert, GL_OBJECT_INFO_LOG_LENGTH_ARB, &info_length);
308 glGetInfoLogARB (vert, sizeof (output), &length, output);
/xsrc/external/mit/ctwm/dist/
H A Dr_structs.h48 RAreaList *vert; ///< List of all unique vertical regions member in struct:RLayout
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/core/core/
H A Dpa.h457 uint32_t vert[MAX_NUM_VERTS_PER_PRIM]; member in struct:PA_STATE_CUT
460 int32_t adjExtraVert{0}; // extra vert uses for tristrip w/ adj
462 typedef void (PA_STATE_CUT::*PFN_PA_FUNC)(uint32_t vert, bool finish);
463 PFN_PA_FUNC pfnPa{nullptr}; // per-topology function that processes a single vert
914 this->vert[this->curIndex] = index;
919 this->indices[0][this->numPrimsAssembled] = this->vert[0];
922 this->indices[1][this->numPrimsAssembled] = this->vert[2];
923 this->indices[2][this->numPrimsAssembled] = this->vert[1];
927 this->indices[1][this->numPrimsAssembled] = this->vert[1];
928 this->indices[2][this->numPrimsAssembled] = this->vert[
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_points.c54 get_size(const struct gl_context *ctx, const SWvertex *vert, GLboolean smoothed) argument
60 size = vert->pointSize;
82 sprite_point(struct gl_context *ctx, const SWvertex *vert) argument
91 CULL_INVALID(vert);
95 span.z = FloatToFixed(vert->attrib[VARYING_SLOT_POS][2] + 0.5F);
97 span.z = (GLuint) (vert->attrib[VARYING_SLOT_POS][2] + 0.5F);
100 size = get_size(ctx, vert, GL_FALSE);
108 span.red = ChanToFixed(vert->color[0]);
109 span.green = ChanToFixed(vert->color[1]);
110 span.blue = ChanToFixed(vert
242 smooth_point(struct gl_context * ctx,const SWvertex * vert) argument
362 large_point(struct gl_context * ctx,const SWvertex * vert) argument
451 pixel_point(struct gl_context * ctx,const SWvertex * vert) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_points.c54 get_size(const struct gl_context *ctx, const SWvertex *vert, GLboolean smoothed) argument
60 size = vert->pointSize;
82 sprite_point(struct gl_context *ctx, const SWvertex *vert) argument
91 CULL_INVALID(vert);
95 span.z = FloatToFixed(vert->attrib[VARYING_SLOT_POS][2] + 0.5F);
97 span.z = (GLuint) (vert->attrib[VARYING_SLOT_POS][2] + 0.5F);
100 size = get_size(ctx, vert, GL_FALSE);
108 span.red = ChanToFixed(vert->color[0]);
109 span.green = ChanToFixed(vert->color[1]);
110 span.blue = ChanToFixed(vert
235 smooth_point(struct gl_context * ctx,const SWvertex * vert) argument
355 large_point(struct gl_context * ctx,const SWvertex * vert) argument
444 pixel_point(struct gl_context * ctx,const SWvertex * vert) argument
[all...]
/xsrc/external/mit/mesa-demos/dist/src/glsl/
H A DMakefile.am75 vert-or-frag-only \
76 vert-tex \
123 CH06-brick.vert \
125 CH11-bumpmap.vert \
127 CH11-toyball.vert \
129 CH18-mandel.vert \
132 convolution.vert \
137 multitex.vert \
138 reflect.vert \
140 simple.vert \
[all...]
/xsrc/external/mit/glu/dist/src/libnurbs/nurbtess/
H A DpartitionY.cc75 Real* vert = v->head(); local in function:isBelow
76 if( compVertInY(e->head(), vert) != 1
77 && compVertInY(e->tail(), vert) != 1
91 Real* vert = v->head(); local in function:isAbove
92 if( compVertInY(e->head(), vert) != -1
93 && compVertInY(e->tail(), vert) != -1
341 directedLine* vert =sortedVertices[i]; local in function:findDiagonals
342 directedLine* thisEdge = vert;
343 directedLine* prevEdge = vert->getPrev();
347 vert
732 directedLine* vert = sortedVertices[i]; local in function:sweepY
[all...]
H A DmonoChain.cc465 monoChain* vert = sortedVertices[i]; local in function:MC_sweepY
466 keyY = vert->getHead()->head()[1]; //the sweep line
467 directedLine *dline = vert->getHead();
474 vert->isKey = 1;
475 vert->keyY = keyY;
476 treeNode* thisNode = TreeNodeFind(searchTree, vert, (Int (*) (void *, void *))compChains);
477 vert->isKey = 0;
479 vert->getPrev()->isKey = 1;
480 vert->getPrev()->keyY = keyY;
481 treeNode* prevNode = TreeNodeFind(searchTree, vert
579 directedLine* vert = sortedVertices[i]->getHead(); local in function:MC_findDiagonals
[all...]
H A DdirectedLine.cc809 Real vert[2][2] = { { 0 } }; local in function:readAllPolygons
812 result = fscanf(fp, "%f", &(vert[0][0]));
814 result = fscanf(fp, "%f", &(vert[0][1]));
816 result = fscanf(fp, "%f", &(vert[1][0]));
818 result = fscanf(fp, "%f", &(vert[1][1]));
820 VV[1][0] = vert[0][0];
821 VV[1][1] = vert[0][1];
822 sampledLine *sLine = new sampledLine(2, vert);
829 vert[0][0]=vert[
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/indices/
H A Du_indices_gen.py114 def vert( intype, outtype, v0 ): function
121 print(' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';')
124 print(' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';')
125 print(' (' + ptr + ')[1] = ' + vert( intype, outtype, v1 ) + ';')
128 print(' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';')
129 print(' (' + ptr + ')[1] = ' + vert( intype, outtype, v1 ) + ';')
130 print(' (' + ptr + ')[2] = ' + vert( intype, outtype, v2 ) + ';')
133 print(' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';')
134 print(' (' + ptr + ')[1] = ' + vert( intype, outtype, v1 ) + ';')
135 print(' (' + ptr + ')[2] = ' + vert( intyp
[all...]
/xsrc/external/mit/mesa-demos/dist/src/gs/
H A Dgs-tri.c173 union vert { union
181 static void make_midpoint( union vert *out,
182 const union vert *v0,
183 const union vert *v1)
190 static void subdiv( union vert *v0,
191 union vert *v1,
192 union vert *v2,
204 union vert m[3];
236 union vert v[3];
/xsrc/external/mit/mesa-demos/dist/src/vp/
H A Dvp-tris.c159 union vert { union
167 static void make_midpoint( union vert *out,
168 const union vert *v0,
169 const union vert *v1)
176 static void subdiv( union vert *v0,
177 union vert *v1,
178 union vert *v2,
190 union vert m[3];
232 union vert v[3];
/xsrc/external/mit/mesa-demos/dist/src/vpglsl/
H A Dvp-tris.c192 union vert { union
200 static void make_midpoint( union vert *out,
201 const union vert *v0,
202 const union vert *v1)
209 static void subdiv( union vert *v0,
210 union vert *v1,
211 union vert *v2,
223 union vert m[3];
266 union vert v[3];
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_compile_sf.c48 struct brw_reg vert[3]; member in struct:brw_sf_compile
97 struct brw_reg vert,
103 return brw_vec4_grf(vert.nr + off, sub * 4);
110 struct brw_reg vert,
115 return get_vue_slot(c, vert, vue_slot);
128 struct brw_reg vert )
137 get_varying(c, vert, VARYING_SLOT_COL0+i),
138 get_varying(c, vert, VARYING_SLOT_BFC0+i));
170 case 3: copy_bfc(c, c->vert[2]);
171 case 2: copy_bfc(c, c->vert[
96 get_vue_slot(struct brw_sf_compile * c,struct brw_reg vert,int vue_slot) argument
109 get_varying(struct brw_sf_compile * c,struct brw_reg vert,GLuint varying) argument
127 copy_bfc(struct brw_sf_compile * c,struct brw_reg vert) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_compile_sf.c48 struct brw_reg vert[3]; member in struct:brw_sf_compile
97 struct brw_reg vert,
103 return brw_vec4_grf(vert.nr + off, sub * 4);
110 struct brw_reg vert,
115 return get_vue_slot(c, vert, vue_slot);
128 struct brw_reg vert )
137 get_varying(c, vert, VARYING_SLOT_COL0+i),
138 get_varying(c, vert, VARYING_SLOT_BFC0+i));
170 case 3: copy_bfc(c, c->vert[2]); FALLTHROUGH;
171 case 2: copy_bfc(c, c->vert[
96 get_vue_slot(struct brw_sf_compile * c,struct brw_reg vert,int vue_slot) argument
109 get_varying(struct brw_sf_compile * c,struct brw_reg vert,GLuint varying) argument
127 copy_bfc(struct brw_sf_compile * c,struct brw_reg vert) argument
[all...]
/xsrc/external/mit/mesa-demos/dist/src/trivial/
H A Dtri-edgeflag-array.c79 static GLfloat vert[3][3] = { local in function:Draw
89 glVertexPointer(3, GL_FLOAT, 0, vert);
/xsrc/external/mit/glu/dist/src/libnurbs/interface/
H A Dglcurveval.h115 void inMap1f(int which, //0: vert, 1: norm, 2: color, 3: tex
130 void (GLAPIENTRY *vertexCallBackN) (const GLfloat *vert);
137 void (GLAPIENTRY *vertexCallBackData) (const GLfloat *vert, void* data);
145 void vertexCallBack(const GLfloat *vert, void *data);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/indices/
H A Du_indices_gen.py112 def vert( intype, outtype, v0 ): function
119 print(' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';')
122 print(' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';')
123 print(' (' + ptr + ')[1] = ' + vert( intype, outtype, v1 ) + ';')
126 print(' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';')
127 print(' (' + ptr + ')[1] = ' + vert( intype, outtype, v1 ) + ';')
128 print(' (' + ptr + ')[2] = ' + vert( intype, outtype, v2 ) + ';')
131 print(' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';')
132 print(' (' + ptr + ')[1] = ' + vert( intype, outtype, v1 ) + ';')
133 print(' (' + ptr + ')[2] = ' + vert( intyp
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_pipe.h63 struct vertex_header **tmp; /**< temp vert storage, such as for clipping */
114 * \param vert the vertex to copy (source)
120 const struct vertex_header *vert,
126 memcpy(tmp, vert, vsize);
119 dup_vert(struct draw_stage * stage,const struct vertex_header * vert,unsigned idx) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_pipe.h63 struct vertex_header **tmp; /**< temp vert storage, such as for clipping */
115 * \param vert the vertex to copy (source)
121 const struct vertex_header *vert,
127 memcpy(tmp, vert, vsize);
120 dup_vert(struct draw_stage * stage,const struct vertex_header * vert,unsigned idx) argument

Completed in 34 milliseconds

1234