| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| H A D | backspecular.c | 8 static const float diffuse[4] = { 1, 0, 0, 1 }; variable in typeref:typename:const float[4] 75 glMaterialfv(GL_FRONT, GL_DIFFUSE, diffuse);
|
| H A D | arbvparray.c | 122 static float diffuse[] = {0.5, 1.0, 1.0, 1.0}; local in function:InitMaterials 137 glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse); 142 glLightfv(GL_LIGHT1, GL_DIFFUSE, diffuse);
|
| H A D | vparray.c | 122 static float diffuse[] = {0.5, 1.0, 1.0, 1.0}; local in function:InitMaterials 137 glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse); 142 glLightfv(GL_LIGHT1, GL_DIFFUSE, diffuse);
|
| H A D | drawbuffers2.c | 320 static const GLfloat diffuse[4] = { 1.0, 1.0, 1.0, 0.75 }; local in function:SetupLighting 324 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, diffuse);
|
| /xsrc/external/mit/mesa-demos/dist/src/glsl/ |
| H A D | linktest.c | 17 static GLfloat diffuse[4] = { 0.5f, 1.0f, 0.5f, 1.0f }; variable in typeref:typename:GLfloat[4] 46 "uniform vec4 diffuse;\n" 56 " gl_FragColor = diffuse * dotProd + specular * pow(dotProd, 20.0); \n" 211 uDiffuse = glGetUniformLocation(Program, "diffuse"); 217 glUniform4fv(uDiffuse, 1, diffuse); 223 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, diffuse);
|
| /xsrc/external/mit/mesa-demos/dist/src/redbook/ |
| H A D | teapots.c | 57 GLfloat diffuse[] = local in function:myinit 68 glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse);
|
| H A D | dof.c | 129 GLfloat diffuse[] = { 1.0, 1.0, 1.0, 1.0 }; local in function:myinit 139 glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse);
|
| H A D | cubemap.c | 110 GLfloat diffuse[4] = {1.0, 1.0, 1.0, 1.0}; local in function:init 149 glMaterialfv (GL_FRONT, GL_DIFFUSE, diffuse);
|
| H A D | material.c | 55 GLfloat diffuse[] = { 1.0, 1.0, 1.0, 1.0 }; local in function:myinit 64 glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse); 80 * The first column has materials with blue, diffuse reflection only. 81 * The second column has blue diffuse reflection, as well as specular 83 * The third column has blue diffuse reflection, as well as specular 105 * diffuse reflection only; no ambient or specular 118 * diffuse and specular reflection; low shininess; no ambient 131 * diffuse and specular reflection; high shininess; no ambient 144 * diffuse reflection; emission; no ambient or specular reflection 157 * ambient and diffuse reflectio [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/samples/ |
| H A D | fog.c | 129 static float diffuse[] = {1.0, 1.0, 1.0, 1.0}; local in function:Init 145 glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse);
|
| H A D | eval.c | 136 static float diffuse[] = {1.0, 1.0, 1.0, 1.0}; local in function:Init 161 glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse);
|
| H A D | quad.c | 104 static float diffuse[] = {0.5, 1.0, 1.0, 1.0}; local in function:Init 127 glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse);
|
| H A D | sphere.c | 683 float diffuse[] = {1.0, 1.0, 1.0, 1.0}; local in function:Init 719 glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse);
|
| H A D | wave.c | 359 static float diffuse[] = {0.5, 1.0, 1.0, 1.0}; local in function:InitMaterials 374 glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse);
|
| /xsrc/external/mit/mesa-demos/dist/src/demos/ |
| H A D | arbfslight.c | 19 static GLfloat diffuse[4] = { 0.5f, 0.5f, 1.0f, 1.0f }; variable in typeref:typename:GLfloat[4] 186 "uniform vec4 diffuse;\n" 192 " // Compute diffuse and specular contributions\n" 193 " gl_FragColor = diffuse * dotProd + specular * pow(dotProd, 20.0);\n" 234 uDiffuse = glGetUniformLocationARB(program, "diffuse"); 237 glUniform4fvARB(uDiffuse, 1, diffuse); 244 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, diffuse);
|
| H A D | fslight.c | 31 static GLfloat diffuse[4] = { 0.5f, 0.5f, 1.0f, 1.0f }; variable in typeref:typename:GLfloat[4] 449 "uniform vec4 diffuse;\n" 456 " // Compute diffuse and specular contributions\n" 457 " gl_FragColor = diffuse * dotProd + specular * pow(dotProd, 20.0);\n" 491 uDiffuse = glGetUniformLocation(program, "diffuse"); 497 glUniform4fv(uDiffuse, 1, diffuse); 525 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, diffuse);
|
| /xsrc/external/mit/mesa-demos/dist/src/objviewer/ |
| H A D | glm.h | 37 float diffuse[4]; /* diffuse component */ member in struct:_GLMmaterial 42 char *map_kd; /* diffuse texture map file */ 43 uint texture_kd; /* diffuse texture map */
|
| H A D | glmdraw.c | 93 model->materials[group->material].diffuse); 101 glColor3fv(model->materials[group->material].diffuse); 387 * diffuse texture? true/false 391 "uniform vec4 ambient, diffuse, specular; \n" 407 " diffTerm = diffuse * diffuseLight * dotProd; \n" 447 mat->uDiffuse = glGetUniformLocation(mat->prog, "diffuse"); 458 glUniform4fv(mat->uDiffuse, 1, mat->diffuse); 481 if (mat->diffuse[3] < 1.0) {
|
| H A D | glm.c | 343 model->materials[i].diffuse[0] = 0.8; 344 model->materials[i].diffuse[1] = 0.8; 345 model->materials[i].diffuse[2] = 0.8; 346 model->materials[i].diffuse[3] = 1.0; 386 &model->materials[nummaterials].diffuse[0], 387 &model->materials[nummaterials].diffuse[1], 388 &model->materials[nummaterials].diffuse[2]); 410 &model->materials[nummaterials].diffuse[3]); 473 material->diffuse[0], material->diffuse[ [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/egl/opengles1/ |
| H A D | torus.c | 342 static const GLfloat diffuse[4] = {0.7, 0.7, 0.7, 1.0}; local in function:init 353 glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse);
|
| H A D | pbuffer.c | 272 static const GLfloat diffuse[4] = {0.7, 0.7, 0.7, 1.0}; local in function:init 283 glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse);
|
| H A D | render_tex.c | 311 static const GLfloat diffuse[4] = {0.7, 0.7, 0.7, 1.0}; local in function:init 321 glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | ffvertex_prog.c | 1170 struct ureg diffuse = get_lightprod(p, i, 0, STATE_DIFFUSE); local in function:build_lighting 1213 emit_op3(p, OPCODE_MAD, res0, mask0, swizzle1(lit,Y), diffuse, _col0); 1217 release_temp(p, diffuse); 1225 struct ureg diffuse = get_lightprod(p, i, 1, STATE_DIFFUSE); local in function:build_lighting 1272 emit_op3(p, OPCODE_MAD, res0, mask0, swizzle1(lit,Y), diffuse, _bfc0); 1280 release_temp(p, diffuse);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | ffvertex_prog.c | 1233 struct ureg diffuse = lightprod_front[i][1]; local in function:build_lighting 1276 emit_op3(p, OPCODE_MAD, res0, mask0, swizzle1(lit,Y), diffuse, _col0); 1280 release_temp(p, diffuse); 1300 struct ureg diffuse = lightprod_back[i][1]; local in function:build_lighting 1347 emit_op3(p, OPCODE_MAD, res0, mask0, swizzle1(lit,Y), diffuse, _bfc0); 1355 release_temp(p, diffuse);
|
| /xsrc/external/mit/xf86-video-vmware/dist/vmwgfx/ |
| H A D | svga3d_reg.h | 422 SVGA3D_VERTEXMATERIAL_DIFFUSE = 1, /* Use the value in the diffuse component */ 1219 float diffuse[4]; member in struct:__anon70b0d8604408 1529 float diffuse[4]; member in struct:__anon70b0d8605b08
|