| /xsrc/external/mit/glu/dist/src/libnurbs/interface/ |
| H A D | bezierPatch.cc | 49 * uorder*vorder*dimension 52 bezierPatch* bezierPatchMake(float umin, float vmin, float umax, float vmax, int uorder, int vorder, int dimension) argument 61 ret->vorder = vorder; 63 ret->ctlpoints = (float*) malloc(sizeof(float) * dimension * uorder * vorder); 71 bezierPatch* bezierPatchMake2(float umin, float vmin, float umax, float vmax, int uorder, int vorder, int dimension, int ustride, int vstride, float* ctlpoints) argument 80 ret->vorder = vorder; 82 ret->ctlpoints = (float*) malloc(sizeof(float) * dimension * uorder * vorder); 86 int the_ustride = vorder * dimensio [all...] |
| H A D | bezierEval.h | 41 void bezierSurfEvalDerGen(int uder, int vder, float u0, float u1, int uorder, float v0, float v1, int vorder, int dimension, float *ctlpoints, int ustride, int vstride, float u, float v, float ret[]); 43 void bezierSurfEval(float u0, float u1, int uorder, float v0, float v1, int vorder, int dimension, float *ctlpoints, int ustride, int vstride, float u, float v, float ret[]); 45 void bezierSurfEvalNormal(float u0, float u1, int uorder, float v0, float v1, int vorder, int dimension, float *ctlpoints, int ustride, int vstride, float u, float v, float retNormal[]);
|
| H A D | bezierPatch.h | 39 int vorder; member in struct:bezierPatch 52 * P[0,0], P[0,1], ..., P[0,vorder-1], 53 * P[1,0], P[1,1], ..., P[1,vorder-1], 55 * P[uorder-1,0], P[uorder-1,1], ..., P[uorder-1,vorder-1]. 71 bezierPatch* bezierPatchMake(float umin, float vmin, float umax, float vmax, int urder, int vorder, int dimension); 73 bezierPatch* bezierPatchMake2(float umin, float vmin, float umax, float vmax, int urder, int vorder, int dimension, int ustride, int vstride, float *ctlpoints);
|
| H A D | bezierPatchMesh.cc | 100 bezierPatchMesh *bezierPatchMeshMake(int maptype, float umin, float umax, int ustride, int uorder, float vmin, float vmax, int vstride, int vorder, float *ctlpoints, int size_UVarray, int size_length_array) argument 120 ret->bpatch = bezierPatchMake(umin, vmin, umax, vmax, uorder, vorder, dimension); 123 the_ustride = vorder * dimension; 126 for(j=0; j<vorder; j++) 183 void bezierPatchMeshPutPatch(bezierPatchMesh *bpm, int maptype, float umin, float umax, int ustride, int uorder, float vmin, float vmax, int vstride, int vorder, float *ctlpoints) argument 187 bpm->bpatch = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 3, ustride, vstride, ctlpoints); 190 bpm->bpatch = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 4,ustride, vstride, ctlpoints ); 193 bpm->bpatch_normal = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 3, ustride, vstride, ctlpoints); 196 bpm->bpatch_color = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 1, ustride, vstride, ctlpoints); 199 bpm->bpatch_color = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 488 int vorder = bpm->bpatch->vorder; local in function:bezierPatchMeshEval [all...] |
| H A D | bezierEval.cc | 173 * sum[i:0,uorder-1][j:0,vorder-1] { ctlpoints[i*ustride+j*vstride] * B(i)*B(j) 176 void bezierSurfEvalDerGen(int uder, int vder, float u0, float u1, int uorder, float v0, float v1, int vorder, int dimension, float *ctlpoints, int ustride, int vstride, float u, float v, float ret[]) argument 183 bezierCurveEvalDerGen(vder, v0, v1, vorder, ctlpoints+ustride*i, vstride, dimension, v, newPoints[i]); 192 void bezierSurfEval(float u0, float u1, int uorder, float v0, float v1, int vorder, int dimension, float *ctlpoints, int ustride, int vstride, float u, float v, float ret[]) argument 194 bezierSurfEvalDerGen(0, 0, u0, u1, uorder, v0, v1, vorder, dimension, ctlpoints, ustride, vstride, u, v, ret); 202 void bezierSurfEvalNormal(float u0, float u1, int uorder, float v0, float v1, int vorder, int dimension, float *ctlpoints, int ustride, int vstride, float u, float v, float retNormal[]) argument 207 bezierSurfEvalDerGen(1,0, u0, u1, uorder, v0, v1, vorder, dimension, ctlpoints, ustride, vstride, u, v, partialU); 208 bezierSurfEvalDerGen(0,1, u0, u1, uorder, v0, v1, vorder, dimension, ctlpoints, ustride, vstride, u, v, partialV); 222 bezierSurfEvalDerGen(0,0, u0, u1, uorder, v0, v1, vorder, dimension, ctlpoints, ustride, vstride, u, v, val);
|
| H A D | bezierPatchMesh.h | 74 bezierPatchMesh *bezierPatchMeshMake(int maptype, float umin, float umax, int ustride, int uorder, float vmin, float vmax, int vstride, int vorder, float *ctlpoints, int size_UVarray, int size_length_array); 79 void bezierPatchMeshPutPatch(bezierPatchMesh *bpm, int maptype, float umin, float umax, int ustride, int uorder, float vmin, float vmax, int vstride, int vorder, float *ctlpoints);
|
| H A D | insurfeval.cc | 252 int ustride = bpm->bpatch->dimension * bpm->bpatch->vorder; 263 bpm->bpatch->vorder, 452 int vorder, 475 global_ev_vorder = vorder; 479 for (j=0; j<vorder; j++) { 486 ctlPoints += ustride - vstride * vorder; 809 void OpenGLSurfaceEvaluator::inPreEvaluateBV(int k, int uorder, int vorder, REAL vprime, REAL *baseData) argument 815 if(global_vprime != vprime || global_vorder != vorder) { 816 inPreEvaluateWithDeriv(vorder, vprime, global_vcoeff, global_vcoeffDeriv); 818 global_vorder = vorder; 444 inMap2f(int k,REAL ulower,REAL uupper,int ustride,int uorder,REAL vlower,REAL vupper,int vstride,int vorder,REAL * ctlPoints) argument 838 inPreEvaluateBU(int k,int uorder,int vorder,REAL uprime,REAL * baseData) argument 868 inDoDomain2WithDerivsBU(int k,REAL u,REAL v,REAL u1,REAL u2,int uorder,REAL v1,REAL v2,int vorder,REAL * baseData,REAL * retPoint,REAL * retdu,REAL * retdv) argument 903 inDoDomain2WithDerivsBV(int k,REAL u,REAL v,REAL u1,REAL u2,int uorder,REAL v1,REAL v2,int vorder,REAL * baseData,REAL * retPoint,REAL * retdu,REAL * retdv) argument 949 inDoDomain2WithDerivs(int k,REAL u,REAL v,REAL u1,REAL u2,int uorder,REAL v1,REAL v2,int vorder,REAL * baseData,REAL * retPoint,REAL * retdu,REAL * retdv) argument 1540 inMap2fEM(int which,int k,REAL ulower,REAL uupper,int ustride,int uorder,REAL vlower,REAL vupper,int vstride,int vorder,REAL * ctlPoints) argument [all...] |
| H A D | glsurfeval.h | 74 int vorder; member in struct:surfEvalMachine 232 int global_vorder; /*store the vorder in the previous evaluation*/ 238 int global_vorder_BV; /*store the vorder in the previous evaluation*/ 240 int global_vorder_BU; /*store the vorder in the previous evaluation*/ 274 REAL v1, REAL v2, int vorder, 293 int vorder, 314 void inPreEvaluateBV(int k, int uorder, int vorder, REAL vprime, REAL *baseData); 315 void inPreEvaluateBU(int k, int uorder, int vorder, REAL uprime, REAL *baseData); 328 REAL v1, REAL v2, int vorder, 334 REAL v1, REAL v2, int vorder, [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/math/ |
| H A D | m_eval.h | 74 * for max(uorder,vorder) points is needed in the 80 GLuint dim, GLuint uorder, GLuint vorder); 90 * must be multiplied with the (u2-u1)/uorder-1 and (v2-v1)/vorder-1. 93 * De Casteljau needs additional storage for uorder*vorder 100 GLuint uorder, GLuint vorder);
|
| H A D | m_eval.c | 113 * for max(uorder,vorder) points is needed in the 119 GLuint dim, GLuint uorder, GLuint vorder) 121 GLfloat *cp = cn + uorder * vorder * dim; 122 GLuint i, uinc = vorder * dim; 124 if (vorder > uorder) { 130 for (j = 0; j < vorder; j++) { 153 _math_horner_bezier_curve(cp, out, v, dim, vorder); 156 _math_horner_bezier_curve(cn, out, v, dim, vorder); 158 else { /* vorder <= uorder */ 160 if (vorder > 118 _math_horner_bezier_surf(GLfloat * cn,GLfloat * out,GLfloat u,GLfloat v,GLuint dim,GLuint uorder,GLuint vorder) argument 195 _math_de_casteljau_surf(GLfloat * cn,GLfloat * out,GLfloat * du,GLfloat * dv,GLfloat u,GLfloat v,GLuint dim,GLuint uorder,GLuint vorder) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/math/ |
| H A D | m_eval.h | 74 * for max(uorder,vorder) points is needed in the 80 GLuint dim, GLuint uorder, GLuint vorder); 90 * must be multiplied with the (u2-u1)/uorder-1 and (v2-v1)/vorder-1. 93 * De Casteljau needs additional storage for uorder*vorder 100 GLuint uorder, GLuint vorder);
|
| H A D | m_eval.c | 113 * for max(uorder,vorder) points is needed in the 119 GLuint dim, GLuint uorder, GLuint vorder) 121 GLfloat *cp = cn + uorder * vorder * dim; 122 GLuint i, uinc = vorder * dim; 124 if (vorder > uorder) { 130 for (j = 0; j < vorder; j++) { 153 _math_horner_bezier_curve(cp, out, v, dim, vorder); 156 _math_horner_bezier_curve(cn, out, v, dim, vorder); 158 else { /* vorder <= uorder */ 160 if (vorder > 118 _math_horner_bezier_surf(GLfloat * cn,GLfloat * out,GLfloat u,GLfloat v,GLuint dim,GLuint uorder,GLuint vorder) argument 195 _math_de_casteljau_surf(GLfloat * cn,GLfloat * out,GLfloat * du,GLfloat * dv,GLfloat u,GLfloat v,GLuint dim,GLuint uorder,GLuint vorder) argument [all...] |
| /xsrc/external/mit/xorg-server.old/dist/glx/ |
| H A D | render2.c | 63 GLint uorder, vorder, ustride, vstride, k; local in function:__glXDisp_Map2f 69 vorder = *(GLint *)(pc + 24); 77 ustride = vorder * k; 80 CALL_Map2f( GET_DISPATCH(), (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) ); 128 GLint uorder, vorder, ustride, vstride, k; local in function:__glXDisp_Map2d 136 vorder = *(GLint *)(pc + 40); 140 if (vorder < 0 || uorder < 0 || k < 0) { 143 compsize = uorder * vorder * k; 153 ustride = vorder * k; 170 CALL_Map2d( GET_DISPATCH(), (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, point [all...] |
| H A D | render2swap.c | 79 GLint uorder, vorder, ustride, vstride, k; local in function:__glXDispSwap_Map2f 96 vorder = *(GLint *)(pc + 24); 104 ustride = vorder * k; 107 if (vorder <= 0 || uorder <= 0 || k < 0) { 111 compsize = uorder * vorder * k; 115 CALL_Map2f( GET_DISPATCH(), (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) ); 165 GLint uorder, vorder, ustride, vstride, k, compsize; local in function:__glXDispSwap_Map2d 180 vorder = *(GLint *)(pc + 40); 182 if (vorder <= 0 || uorder <= 0 || k < 0) { 186 compsize = uorder * vorder * [all...] |
| H A D | rensize.c | 88 GLint uorder, vorder; local in function:__glXMap2dReqSize 92 vorder = *(GLint *)(pc + 40); 96 vorder = SWAPL( vorder ); 98 return safe_mul(8, Map2Size(__glMap2d_size(target), uorder, vorder)); 104 GLint uorder, vorder; local in function:__glXMap2fReqSize 108 vorder = *(GLint *)(pc + 24); 112 vorder = SWAPL( vorder ); 114 return safe_mul(4, Map2Size(__glMap2f_size(target), uorder, vorder)); [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/dmx/glxProxy/ |
| H A D | render2swap.c | 98 GLint uorder, vorder, ustride, vstride, k; local in function:__glXDispSwap_Map2f 115 vorder = *(GLint *)(pc + 24); 123 ustride = vorder * k; 126 if (vorder <= 0 || uorder <= 0 || k < 0) { 130 compsize = uorder * vorder * k; 182 GLint uorder, vorder, ustride, vstride, k, compsize; local in function:__glXDispSwap_Map2d 197 vorder = *(GLint *)(pc + 40); 199 if (vorder <= 0 || uorder <= 0 || k < 0) { 203 compsize = uorder * vorder * k; 211 ustride = vorder * [all...] |
| /xsrc/external/mit/xorg-server/dist/glx/ |
| H A D | render2.c | 60 GLint uorder, vorder, ustride, vstride, k; local in function:__glXDisp_Map2f 66 vorder = *(GLint *) (pc + 24); 74 ustride = vorder * k; 77 glMap2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); 130 GLint uorder, vorder, ustride, vstride, k; local in function:__glXDisp_Map2d 139 vorder = *(GLint *) (pc + 40); 143 if (vorder < 0 || uorder < 0 || k < 0) { 147 compsize = uorder * vorder * k; 157 ustride = vorder * k; 175 glMap2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, point [all...] |
| H A D | render2swap.c | 78 GLint uorder, vorder, ustride, vstride, k; local in function:__glXDispSwap_Map2f 96 vorder = *(GLint *) (pc + 24); 104 ustride = vorder * k; 107 if (vorder <= 0 || uorder <= 0 || k < 0) { 112 compsize = uorder * vorder * k; 116 glMap2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); 171 GLint uorder, vorder, ustride, vstride, k, compsize; local in function:__glXDispSwap_Map2d 187 vorder = *(GLint *) (pc + 40); 189 if (vorder <= 0 || uorder <= 0 || k < 0) { 194 compsize = uorder * vorder * [all...] |
| H A D | rensize.c | 92 GLint uorder, vorder; local in function:__glXMap2dReqSize 96 vorder = *(GLint *) (pc + 40); 100 vorder = SWAPL(vorder); 102 return safe_mul(8, Map2Size(__glMap2d_size(target), uorder, vorder)); 109 GLint uorder, vorder; local in function:__glXMap2fReqSize 113 vorder = *(GLint *) (pc + 24); 117 vorder = SWAPL(vorder); 119 return safe_mul(4, Map2Size(__glMap2f_size(target), uorder, vorder)); [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | eval.c | 213 GLint vstride, GLint vorder, 226 /* max(uorder, vorder) additional points are used in */ 227 /* horner evaluation and uorder*vorder additional */ 229 dsize = (uorder == 2 && vorder == 2)? 0 : uorder*vorder; 230 hsize = (uorder > vorder ? uorder : vorder)*size; 233 buffer = malloc((uorder*vorder*size+hsize)*sizeof(GLfloat)); 235 buffer = malloc((uorder*vorder*size+dsize)*sizeof(GLfloat)); 238 uinc = ustride - vorder*vstrid 211 _mesa_copy_map_points2f(GLenum target,GLint ustride,GLint uorder,GLint vstride,GLint vorder,const GLfloat * points) argument 254 _mesa_copy_map_points2d(GLenum target,GLint ustride,GLint uorder,GLint vstride,GLint vorder,const GLdouble * points) argument 385 map2(GLenum target,GLfloat u1,GLfloat u2,GLint ustride,GLint uorder,GLfloat v1,GLfloat v2,GLint vstride,GLint vorder,const GLvoid * points,GLenum type) argument 467 _mesa_Map2f(GLenum target,GLfloat u1,GLfloat u2,GLint ustride,GLint uorder,GLfloat v1,GLfloat v2,GLint vstride,GLint vorder,const GLfloat * points) argument 478 _mesa_Map2d(GLenum target,GLdouble u1,GLdouble u2,GLint ustride,GLint uorder,GLdouble v1,GLdouble v2,GLint vstride,GLint vorder,const GLdouble * points) argument [all...] |
| H A D | eval.h | 57 GLint vstride, GLint vorder, 62 GLint vstride, GLint vorder, 81 GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, 86 GLdouble v1, GLdouble v2, GLint vstride, GLint vorder,
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | eval.c | 212 GLint vstride, GLint vorder, 225 /* max(uorder, vorder) additional points are used in */ 226 /* horner evaluation and uorder*vorder additional */ 228 dsize = (uorder == 2 && vorder == 2)? 0 : uorder*vorder; 229 hsize = (uorder > vorder ? uorder : vorder)*size; 232 buffer = malloc((uorder*vorder*size+hsize)*sizeof(GLfloat)); 234 buffer = malloc((uorder*vorder*size+dsize)*sizeof(GLfloat)); 237 uinc = ustride - vorder*vstrid 210 _mesa_copy_map_points2f(GLenum target,GLint ustride,GLint uorder,GLint vstride,GLint vorder,const GLfloat * points) argument 253 _mesa_copy_map_points2d(GLenum target,GLint ustride,GLint uorder,GLint vstride,GLint vorder,const GLdouble * points) argument 385 map2(GLenum target,GLfloat u1,GLfloat u2,GLint ustride,GLint uorder,GLfloat v1,GLfloat v2,GLint vstride,GLint vorder,const GLvoid * points,GLenum type) argument 468 _mesa_Map2f(GLenum target,GLfloat u1,GLfloat u2,GLint ustride,GLint uorder,GLfloat v1,GLfloat v2,GLint vstride,GLint vorder,const GLfloat * points) argument 479 _mesa_Map2d(GLenum target,GLdouble u1,GLdouble u2,GLint ustride,GLint uorder,GLdouble v1,GLdouble v2,GLint vstride,GLint vorder,const GLdouble * points) argument [all...] |
| H A D | eval.h | 57 GLint vstride, GLint vorder, 62 GLint vstride, GLint vorder, 81 GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, 86 GLdouble v1, GLdouble v2, GLint vstride, GLint vorder,
|
| /xsrc/external/mit/glu/dist/src/libnurbs/internals/ |
| H A D | mapdesc.cc | 356 REAL *pts, int uorder, int ustride, int vorder, int vstride ) 359 assert( vorder > 0 ); 367 for( REAL *qend = q + vorder * vstride; q != qend; q += vstride ) { 393 Mapdesc::cullCheck( REAL *pts, int uorder, int ustride, int vorder, int vstride ) argument 401 for( REAL *qend = q + vorder * vstride; q != qend; q += vstride ) { 486 int vorder, int vstride, 489 xformMat( cmat, pts, uorder, ustride, vorder, vstride, cp, outustride, outvstride ); 501 int vorder, int vstride, 504 xformMat( smat, pts, uorder, ustride, vorder, vstride, sp, outustride, outvstride ); 510 int vorder, in 355 xformAndCullCheck(REAL * pts,int uorder,int ustride,int vorder,int vstride) argument 484 xformCulling(REAL * pts,int uorder,int ustride,int vorder,int vstride,REAL * cp,int outustride,int outvstride) argument 499 xformSampling(REAL * pts,int uorder,int ustride,int vorder,int vstride,REAL * sp,int outustride,int outvstride) argument 508 xformBounding(REAL * pts,int uorder,int ustride,int vorder,int vstride,REAL * sp,int outustride,int outvstride) argument 541 xformMat(Maxmatrix mat,REAL * pts,int uorder,int ustride,int vorder,int vstride,REAL * cp,int outustride,int outvstride) argument [all...] |
| H A D | backend.cc | 111 int vorder, /* v parametric order */ 117 surfaceEvaluator.map2f( type,ulo,uhi,ustride,uorder,vlo,vhi,vstride,vorder,pts ); 105 surfpts(long type,REAL * pts,long ustride,long vstride,int uorder,int vorder,REAL ulo,REAL uhi,REAL vlo,REAL vhi) argument
|