HomeSort by: relevance | last modified time | path
    Searched defs:normal (Results 1 - 25 of 33) sorted by relevancy

1 2

  /xsrc/external/mit/MesaLib/dist/src/mesa/tnl/
t_vb_normals.c 42 GLvector4f normal; member in struct:normal_stage_data
58 /* We can only use the display list's saved normal lengths if we've
70 &store->normal ); /* resulting normals */
73 store->normal.stride = 4 * sizeof(GLfloat);
76 store->normal.stride = 0;
79 VB->AttribPtr[_TNL_ATTRIB_NORMAL] = &store->normal;
88 * to point to the appropriate normal transformation routine.
127 * transform normal vectors (just leave them in object coordinates)
158 _mesa_vector4f_alloc( &store->normal, 0, tnl->vb.Size, 32 );
171 _mesa_vector4f_free( &store->normal );
    [all...]
t_vb_lighttmp.h 59 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; local
88 for (j = 0; j < nr; j++,STRIDE_F(vertex,vstride),STRIDE_F(normal,nstride)) {
162 /* Compute dot product or normal and vector from V to light pos */
163 n_dot_VP = DOT3( normal, VP );
207 n_dot_h = correction * DOT3(normal, h);
246 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; local
270 for (j = 0; j < nr; j++,STRIDE_F(vertex,vstride),STRIDE_F(normal,nstride)) {
342 /* Compute dot product or normal and vector from V to light pos */
343 n_dot_VP = DOT3( normal, VP );
388 n_dot_h = correction * DOT3(normal, h)
423 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; local
529 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; local
    [all...]
t_vb_texgen.c 100 const GLvector4f *normal,
106 const GLfloat *norm = normal->start;
109 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) {
127 const GLvector4f *normal,
134 GLfloat *norm = normal->start;
137 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) {
157 const GLvector4f *normal,
176 const GLvector4f *normal,
183 GLfloat *norm = normal->start;
196 STRIDE_F(norm, normal->stride)
279 GLvector4f *normal = VB->AttribPtr[_TNL_ATTRIB_NORMAL]; local
345 const GLvector4f *normal = VB->AttribPtr[_TNL_ATTRIB_NORMAL]; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/
t_vb_normals.c 42 GLvector4f normal; member in struct:normal_stage_data
58 /* We can only use the display list's saved normal lengths if we've
70 &store->normal ); /* resulting normals */
73 store->normal.stride = 4 * sizeof(GLfloat);
76 store->normal.stride = 0;
79 VB->AttribPtr[_TNL_ATTRIB_NORMAL] = &store->normal;
88 * to point to the appropriate normal transformation routine.
127 * transform normal vectors (just leave them in object coordinates)
158 _mesa_vector4f_alloc( &store->normal, 0, tnl->vb.Size, 32 );
171 _mesa_vector4f_free( &store->normal );
    [all...]
t_vb_lighttmp.h 59 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; local
88 for (j = 0; j < nr; j++,STRIDE_F(vertex,vstride),STRIDE_F(normal,nstride)) {
161 /* Compute dot product or normal and vector from V to light pos */
162 n_dot_VP = DOT3( normal, VP );
206 n_dot_h = correction * DOT3(normal, h);
245 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; local
269 for (j = 0; j < nr; j++,STRIDE_F(vertex,vstride),STRIDE_F(normal,nstride)) {
340 /* Compute dot product or normal and vector from V to light pos */
341 n_dot_VP = DOT3( normal, VP );
386 n_dot_h = correction * DOT3(normal, h)
421 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; local
527 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; local
    [all...]
t_vb_texgen.c 100 const GLvector4f *normal,
106 const GLfloat *norm = normal->start;
109 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) {
127 const GLvector4f *normal,
134 GLfloat *norm = normal->start;
137 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) {
157 const GLvector4f *normal,
176 const GLvector4f *normal,
183 GLfloat *norm = normal->start;
196 STRIDE_F(norm, normal->stride)
279 GLvector4f *normal = VB->AttribPtr[_TNL_ATTRIB_NORMAL]; local
345 const GLvector4f *normal = VB->AttribPtr[_TNL_ATTRIB_NORMAL]; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/vbo/
vbo_exec_eval.c 211 fi_type normal[4]; local
229 CROSS3(&normal[0].f, du, dv);
230 NORMALIZE_3FV(&normal[0].f);
231 normal[3] = FLOAT_AS_UNION(1.0);
235 normal );
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/vbo/
vbo_exec_eval.c 208 fi_type normal[4]; local
226 CROSS3(&normal[0].f, du, dv);
227 NORMALIZE_3FV(&normal[0].f);
228 normal[3] = FLOAT_AS_UNION(1.0);
232 normal );
  /xsrc/external/mit/MesaLib/dist/src/amd/common/
ac_shader_util.c 331 unsigned normal = 0; /* most optimal, may not support blending or export alpha */ local
353 alpha = blend = blend_alpha = normal = V_028714_SPI_SHADER_UINT16_ABGR;
355 alpha = blend = blend_alpha = normal = V_028714_SPI_SHADER_SINT16_ABGR;
357 alpha = blend = blend_alpha = normal = V_028714_SPI_SHADER_FP16_ABGR;
365 blend = normal = V_028714_SPI_SHADER_32_R;
375 normal = alpha = V_028714_SPI_SHADER_UNORM16_ABGR;
377 normal = alpha = V_028714_SPI_SHADER_SNORM16_ABGR;
399 alpha = blend = blend_alpha = normal = V_028714_SPI_SHADER_UINT16_ABGR;
401 alpha = blend = blend_alpha = normal = V_028714_SPI_SHADER_SINT16_ABGR;
403 alpha = blend = blend_alpha = normal = V_028714_SPI_SHADER_FP16_ABGR
    [all...]
ac_shader_util.h 59 unsigned normal : 8; member in struct:ac_spi_color_formats
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
lp_bld_format_float.c 60 * Small numbers may get converted to denorms, depending on normal
81 LLVMValueRef i32_floatexpmask, i32_smallexpmask, magic, normal; local
133 normal = lp_build_mul(&f32_bld, rescale_src, magic);
140 normal = lp_build_min(&f32_bld, normal, small_max);
141 normal = LLVMBuildBitCast(builder, normal, i32_bld.vec_type, "");
194 res = lp_build_select(&i32_bld, is_nan_or_inf, nan_or_inf, normal);
262 * bits than a normal float32 to a float32. The mantissa of
354 LLVMValueRef exp_one, isdenorm, denorm, normal, exp_adj local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/main/
eval.c 33 * compute surface normal vectors properly. Bernd and Volker applied
917 static GLfloat normal[3] = { 0.0, 0.0, 1.0 }; local
926 init_1d_map( &ctx->EvalMap.Map1Normal, 3, normal );
936 init_2d_map( &ctx->EvalMap.Map2Normal, 3, normal );
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
lp_bld_format_float.c 60 * Small numbers may get converted to denorms, depending on normal
81 LLVMValueRef i32_floatexpmask, i32_smallexpmask, magic, normal; local
133 normal = lp_build_mul(&f32_bld, rescale_src, magic);
140 normal = lp_build_min(&f32_bld, normal, small_max);
141 normal = LLVMBuildBitCast(builder, normal, i32_bld.vec_type, "");
194 res = lp_build_select(&i32_bld, is_nan_or_inf, nan_or_inf, normal);
262 * bits than a normal float32 to a float32. The mantissa of
354 LLVMValueRef exp_one, isdenorm, denorm, normal, exp_adj local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
eval.c 33 * compute surface normal vectors properly. Bernd and Volker applied
914 static GLfloat normal[3] = { 0.0, 0.0, 1.0 }; local
923 init_1d_map( &ctx->EvalMap.Map1Normal, 3, normal );
933 init_2d_map( &ctx->EvalMap.Map2Normal, 3, normal );
  /xsrc/external/mit/freetype/dist/src/pshinter/
pshglob.c 390 /* However, for normal Type 1 fonts, EM_Size is 1000! */
477 PSH_Blue_Table normal, family; local
483 normal = &blues->normal_top;
488 normal = &blues->normal_bottom;
492 zone1 = normal->zones;
493 count1 = normal->count;
  /xsrc/external/mit/glu/dist/src/libtess/
tess.h 73 GLdouble normal[3]; /* user-specified normal (if provided) */ member in struct:GLUtesselator
  /xsrc/external/mit/mesa-demos/dist/src/egl/opengles1/
gears.c 79 gear->stride = sizeof(GLfloat) * 6; /* XYZ + normal */
97 verts[count * 6 + 3] = normal[0]; \
98 verts[count * 6 + 4] = normal[1]; \
99 verts[count * 6 + 5] = normal[2]; \
105 GLfloat normal[3]; local
109 normal[0] = 0.0;
110 normal[1] = 0.0;
111 normal[2] = 0.0;
125 normal[0] = vx[0];
126 normal[1] = vy[0]
    [all...]
  /xsrc/external/mit/ctwm/dist/
menus.h 55 ColorPair normal; /* unhiglight colors */ member in struct:MenuItem
  /xsrc/external/mit/editres/dist/
utils.c 571 names[i] = resources->normal[i].name;
603 WidgetResourceInfo * normal; local
609 * Allocate enough space for both the normal and constraint resources,
610 * then add the normal resources from the top, and the constraint resources
615 resources->normal = (WidgetResourceInfo *)
618 normal = resources->normal;
619 resources->constraint = resources->normal + info->num_resources - 1;
627 AddResource(info->res_info + i, normal++);
648 qsort(resources->normal, resources->num_normal
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/samples/
wave.c 62 float normal[3]; member in struct:facet
66 float normal[3]; member in struct:coord
140 glNormal3fv(facet->normal);
168 glNormal3fv(coord->normal);
174 glNormal3fv(coord->normal);
181 glNormal3fv(coord->normal);
187 glNormal3fv(coord->normal);
291 coord->normal[0] = -(height / d) * x * ((1 - d) * 2 * PI *
293 coord->normal[1] = -(height / d) * y * ((1 - d) * 2 * PI *
295 coord->normal[2] = -1
    [all...]
  /xsrc/external/mit/xorg-server/dist/hw/xquartz/
quartzKeyboard.c 128 KeySym normal, keypad; member in struct:__anon10130
160 /* Table mapping normal keysyms to their dead equivalents.
164 KeySym normal, dead; member in struct:__anon10131
741 if (dead_keys[i].normal == in) return dead_keys[i].dead;
852 if (k[0] == known_numeric_keys[i].normal)
  /xsrc/external/mit/xorg-server.old/dist/hw/xquartz/
quartzKeyboard.c 130 KeySym normal, keypad; member in struct:__anon10731
162 /* Table mapping normal keysyms to their dead equivalents.
166 KeySym normal, dead; member in struct:__anon10732
661 if (dead_keys[i].normal == in) return dead_keys[i].dead;
827 if (k[0] == known_numeric_keys[i].normal)
  /xsrc/external/mit/mesa-demos/dist/src/egl/opengles2/
es2gears.c 110 * @param n pointer to the normal table
147 GLfloat normal[3]; local
182 normal[0] = (x); normal[1] = (y); normal[2] = (z); \
185 #define GEAR_VERT(v, point, sign) vert((v), p[(point)].x, p[(point)].y, (sign) * width * 0.5, normal)
611 "attribute vec3 normal;\n"
622 " // Transform the normal to eye coordinates\n"
623 " vec3 N = normalize(vec3(NormalMatrix * vec4(normal, 1.0)));\n"
677 glBindAttribLocation(program, 1, "normal");
    [all...]
  /xsrc/external/mit/xorg-server/dist/hw/kdrive/src/
kdrive.c 645 int normal; member in struct:__anon9882
671 reflects[i].normal == subpixel_order) {
  /xsrc/external/mit/xorg-server.old/dist/hw/kdrive/src/
kdrive.c 870 int normal; member in struct:__anon10473
897 reflects[i].normal == subpixel_order)

Completed in 17 milliseconds

1 2