| /xsrc/external/mit/glu/dist/src/libtess/ |
| H A D | normal.c | 76 static void ComputeNormal( GLUtesselator *tess, GLdouble norm[3] ) argument 104 norm[0] = 0; norm[1] = 0; norm[2] = 1; 127 norm[0] = tNorm[0]; 128 norm[1] = tNorm[1]; 129 norm[2] = tNorm[2]; 135 norm[0] = norm[1] = norm[ 201 GLdouble norm[3]; local in function:__gl_projectPolygon [all...] |
| H A D | render.c | 362 static int ComputeNormal( GLUtesselator *tess, GLdouble norm[3], int check ) argument 364 * If check==FALSE, we compute the polygon normal and place it in norm[]. 366 * consistent orientation with respect to norm[]. If triangles are 392 norm[0] = norm[1] = norm[2] = 0.0; 410 dot = n[0]*norm[0] + n[1]*norm[1] + n[2]*norm[2]; 416 norm[ 446 GLdouble norm[3]; local in function:__gl_renderCache [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/ |
| H A D | t_vb_texgen.c | 106 const GLfloat *norm = normal->start; local in function:build_m3 109 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { 113 two_nu = 2.0F * DOT3(norm,u); 114 fx = f[i][0] = u[0] - norm[0] * two_nu; 115 fy = f[i][1] = u[1] - norm[1] * two_nu; 116 fz = f[i][2] = u[2] - norm[2] * two_nu; 134 GLfloat *norm = normal->start; local in function:build_m2 137 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { 142 two_nu = 2.0F * DOT3(norm,u); 143 fx = f[i][0] = u[0] - norm[ 183 GLfloat *norm = normal->start; local in function:build_f3 209 GLfloat *norm = normal->start; local in function:build_f2 283 const GLfloat *norm = normal->start; local in function:texgen_normal_map_nv 389 const GLfloat *norm = normal->start; local in function:texgen 422 const GLfloat *norm = normal->start; local in function:texgen 451 const GLfloat *norm = normal->start; local in function:texgen [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/tnl/ |
| H A D | t_vb_texgen.c | 106 const GLfloat *norm = normal->start; local in function:build_m3 109 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { 113 two_nu = 2.0F * DOT3(norm,u); 114 fx = f[i][0] = u[0] - norm[0] * two_nu; 115 fy = f[i][1] = u[1] - norm[1] * two_nu; 116 fz = f[i][2] = u[2] - norm[2] * two_nu; 134 GLfloat *norm = normal->start; local in function:build_m2 137 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { 142 two_nu = 2.0F * DOT3(norm,u); 143 fx = f[i][0] = u[0] - norm[ 183 GLfloat *norm = normal->start; local in function:build_f3 209 GLfloat *norm = normal->start; local in function:build_f2 283 const GLfloat *norm = normal->start; local in function:texgen_normal_map_nv 389 const GLfloat *norm = normal->start; local in function:texgen 422 const GLfloat *norm = normal->start; local in function:texgen 451 const GLfloat *norm = normal->start; local in function:texgen [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nvc0/ |
| H A D | nvc0_query_hw_sm.c | 609 uint8_t norm[2]; /* normalization num,denom */ member in struct:nvc0_hw_sm_query_cfg 623 .norm = { 1, 1 }, 632 .norm = { 2, 1 }, 641 .norm = { 1, 1 }, 650 .norm = { 1, 1 }, 659 .norm = { 1, 1 }, 668 .norm = { 1, 1 }, 677 .norm = { 1, 1 }, 686 .norm = { 1, 1 }, 695 .norm [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nvc0/ |
| H A D | nvc0_query_hw_sm.c | 609 uint8_t norm[2]; /* normalization num,denom */ member in struct:nvc0_hw_sm_query_cfg 623 .norm = { 1, 1 }, 632 .norm = { 2, 1 }, 641 .norm = { 1, 1 }, 650 .norm = { 1, 1 }, 659 .norm = { 1, 1 }, 668 .norm = { 1, 1 }, 677 .norm = { 1, 1 }, 686 .norm = { 1, 1 }, 695 .norm [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | format_parser.py | 47 def __init__(self, type, norm, size): 49 self.norm = norm 58 if self.norm: 67 return self.type == other.type and self.norm == other.norm and self.size == other.size 76 if self.norm: 90 if self.norm: 354 if channel.norm != ref_channel.norm [all...] |
| H A D | format_info.py | 86 if channel.norm: 91 if channel.norm: 201 norm = chan.norm or chan.type == parser.FLOAT variable 206 str(int(norm)),
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | format_parser.py | 47 def __init__(self, type, norm, size): 49 self.norm = norm 58 if self.norm: 67 return self.type == other.type and self.norm == other.norm and self.size == other.size 76 if self.norm: 90 if self.norm: 354 if channel.norm != ref_channel.norm [all...] |
| H A D | format_info.py | 84 if channel.norm: 89 if channel.norm: 205 norm = chan.norm or chan.type == parser.FLOAT variable 211 str(int(norm)),
|
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/ |
| H A D | vk_format_parse.py | 55 def __init__(self, type, norm, pure, scaled, size, name = ''): 57 self.norm = norm 66 if self.norm: 78 self.norm == other.norm and 89 if self.norm: 105 if self.norm: 131 '''Make up a short norm for a format, suitable to be used as suffix in 165 if channel.norm ! [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/ |
| H A D | vk_format_parse.py | 55 def __init__(self, type, norm, pure, scaled, size, name = ''): 57 self.norm = norm 66 if self.norm: 79 return self.type == other.type and self.norm == other.norm and self.pure == other.pure and self.size == other.size and self.scaled == other.scaled 90 if self.norm: 106 if self.norm: 139 '''Make up a short norm for a format, suitable to be used as suffix in 173 if channel.norm ! [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| H A D | u_format_parse.py | 57 def __init__(self, type, norm, pure, size, name = ''): 59 self.norm = norm 67 if self.norm: 78 return self.type == other.type and self.norm == other.norm and self.pure == other.pure and self.size == other.size 89 if self.norm: 105 if self.norm: 131 '''Make up a short norm for a format, suitable to be used as suffix in 165 if channel.norm ! [all...] |
| H A D | u_format_pack.py | 209 if not type.norm: 253 if not type.norm: 317 assert src_channel.norm 327 assert dst_channel.norm 332 assert dst_channel.norm 339 assert src_channel.norm 359 src_norm = src_channel.norm 371 if src_type == FLOAT and src_size == 32 and dst_channel.type == UNSIGNED and dst_channel.norm and dst_channel.size == 8: 379 if not src_norm and not dst_channel.norm: 386 if src_one > dst_one and src_norm and dst_channel.norm [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/format/ |
| H A D | u_format_parse.py | 56 def __init__(self, type, norm, pure, size, name=''): 58 self.norm = norm 66 if self.norm: 80 return self.type == other.type and self.norm == other.norm and self.pure == other.pure and self.size == other.size 91 if self.norm: 107 if self.norm: 188 '''Make up a short norm for a format, suitable to be used as suffix in 222 if channel.norm ! [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/ |
| H A D | radeon_maos_vbtmp.h | 46 GLuint (*norm)[4]; local in function:TAG 117 norm = (GLuint (*)[4])VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; 120 norm = (GLuint (*)[4])&ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; 164 norm = (GLuint (*)[4])((GLubyte *)norm + start * norm_stride); 189 v[0].ui = norm[0][0]; 190 v[1].ui = norm[0][1]; 191 v[2].ui = norm[0][2]; 193 norm = (GLuint (*)[4])((GLubyte *)norm [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/ |
| H A D | radeon_maos_vbtmp.h | 46 GLuint (*norm)[4]; local in function:TAG 117 norm = (GLuint (*)[4])VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; 120 norm = (GLuint (*)[4])&ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; 164 norm = (GLuint (*)[4])((GLubyte *)norm + start * norm_stride); 189 v[0].ui = norm[0][0]; 190 v[1].ui = norm[0][1]; 191 v[2].ui = norm[0][2]; 193 norm = (GLuint (*)[4])((GLubyte *)norm [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_test_main.c | 54 type.norm ? "n" : "", 128 if(type.norm && value < -1.0) 130 if(type.norm && value > 1.0) 198 if(!type.norm) { 315 if(type.sign && !type.norm) { 348 format = type.norm ? "%2x" : "%4llu"; 352 format = type.norm ? "%4x" : "%6llx"; 356 format = type.norm ? "%8x" : "%11llx"; 360 format = type.norm ? "%16x" : "%21llx";
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_test_main.c | 54 type.norm ? "n" : "", 128 if(type.norm && value < -1.0) 130 if(type.norm && value > 1.0) 198 if(!type.norm) { 315 if(type.sign && !type.norm) { 348 format = type.norm ? "%2x" : "%4llu"; 352 format = type.norm ? "%4x" : "%6llx"; 356 format = type.norm ? "%8x" : "%11llx"; 360 format = type.norm ? "%16x" : "%21llx";
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/ |
| H A D | pan_format.c | 110 panfrost_translate_channel_type(unsigned type, unsigned size, bool norm) { argument 113 return norm ? MALI_FORMAT_UNORM : MALI_FORMAT_UINT; 116 return norm ? MALI_FORMAT_SNORM : MALI_FORMAT_SINT;
|
| /xsrc/external/mit/xf86-video-siliconmotion/dist/src/ |
| H A D | smi_video.h | 87 int *norm; member in struct:__anon629b2c180108
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_normalize_cubemap_coords.c | 60 nir_ssa_def *norm = nir_fmax(b, nir_channel(b, abs, 0), local in function:normalize_cubemap_coords_block 64 nir_ssa_def *normalized = nir_fmul(b, orig_coord, nir_frcp(b, norm));
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| H A D | nir_normalize_cubemap_coords.c | 60 nir_ssa_def *norm = nir_fmax(b, nir_channel(b, abs, 0), local in function:normalize_cubemap_coords_block 64 nir_ssa_def *normalized = nir_fmul(b, orig_coord, nir_frcp(b, norm));
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_type.h | 114 unsigned norm:1; member in struct:lp_type 190 type->norm = format_desc->channel[0].normalized; 306 res_type.norm = TRUE; 379 type.norm = FALSE; 395 type.norm = FALSE; 411 type.norm = TRUE;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_type.h | 114 unsigned norm:1; member in struct:lp_type 190 type->norm = format_desc->channel[0].normalized; 306 res_type.norm = TRUE; 379 type.norm = FALSE; 395 type.norm = FALSE; 411 type.norm = TRUE;
|