| /xsrc/external/mit/mesa-demos/dist/src/redbook/ |
| H A D | bezmesh.c | 74 GLfloat ambient[] = local in function:initlights 88 glLightfv(GL_LIGHT0, GL_AMBIENT, ambient);
|
| H A D | teapots.c | 55 GLfloat ambient[] = local in function:myinit 67 glLightfv(GL_LIGHT0, GL_AMBIENT, ambient);
|
| H A D | dof.c | 128 GLfloat ambient[] = { 0.0, 0.0, 0.0, 1.0 }; local in function:myinit 138 glLightfv(GL_LIGHT0, GL_AMBIENT, ambient);
|
| H A D | material.c | 54 GLfloat ambient[] = { 0.0, 0.0, 0.0, 1.0 }; local in function:myinit 63 glLightfv(GL_LIGHT0, GL_AMBIENT, ambient); 76 * The spheres in the first row have materials with no ambient reflection. 77 * The second row has materials with significant ambient reflection. 78 * The third row has materials with colored ambient reflection. 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 an [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| H A D | backspecular.c | 11 static const float ambient[4] = { 0.2, 0.2, 0.2, 1 }; variable in typeref:typename:const float[4] 80 glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, ambient);
|
| H A D | vpeval.c | 101 GLfloat ambient[] = {0.2, 0.2, 0.2, 1.0}; 110 glLightfv(GL_LIGHT0, GL_AMBIENT, ambient);
|
| H A D | arbvparray.c | 121 static float ambient[] = {0.1, 0.1, 0.1, 1.0}; local in function:InitMaterials 136 glLightfv(GL_LIGHT0, GL_AMBIENT, ambient); 141 glLightfv(GL_LIGHT1, GL_AMBIENT, ambient);
|
| H A D | drawbuffers2.c | 319 static const GLfloat ambient[4] = { 0.0, 0.0, 0.0, 0.0 }; local in function:SetupLighting 322 glLightModelfv(GL_LIGHT_MODEL_AMBIENT, ambient); 323 glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, ambient);
|
| H A D | vparray.c | 121 static float ambient[] = {0.1, 0.1, 0.1, 1.0}; local in function:InitMaterials 136 glLightfv(GL_LIGHT0, GL_AMBIENT, ambient); 141 glLightfv(GL_LIGHT1, GL_AMBIENT, ambient);
|
| /xsrc/external/mit/mesa-demos/dist/src/samples/ |
| H A D | fog.c | 128 static float ambient[] = {0.1, 0.1, 0.1, 1.0}; local in function:Init 144 glLightfv(GL_LIGHT0, GL_AMBIENT, ambient);
|
| H A D | eval.c | 135 static float ambient[] = {0.1, 0.1, 0.1, 1.0}; local in function:Init 160 glLightfv(GL_LIGHT0, GL_AMBIENT, ambient);
|
| H A D | quad.c | 103 static float ambient[] = {0.1, 0.1, 0.1, 1.0}; local in function:Init 126 glLightfv(GL_LIGHT0, GL_AMBIENT, ambient);
|
| H A D | sphere.c | 682 float ambient[] = {0.0, 0.0, 0.0, 1.0}; local in function:Init 718 glLightfv(GL_LIGHT0, GL_AMBIENT, ambient);
|
| H A D | wave.c | 358 static float ambient[] = {0.1, 0.1, 0.1, 1.0}; local in function:InitMaterials 373 glLightfv(GL_LIGHT0, GL_AMBIENT, ambient);
|
| /xsrc/external/mit/mesa-demos/dist/src/objviewer/ |
| H A D | glm.h | 38 float ambient[4]; /* ambient component */ member in struct:_GLMmaterial
|
| H A D | glmdraw.c | 91 model->materials[group->material].ambient); 391 "uniform vec4 ambient, diffuse, specular; \n" 415 " gl_FragColor = ambient * ambientLight + diffTerm + specTerm; \n" 446 mat->uAmbient = glGetUniformLocation(mat->prog, "ambient"); 457 glUniform4fv(mat->uAmbient, 1, mat->ambient);
|
| H A D | glm.c | 347 model->materials[i].ambient[0] = 0.2; 348 model->materials[i].ambient[1] = 0.2; 349 model->materials[i].ambient[2] = 0.2; 350 model->materials[i].ambient[3] = 0.0; 398 &model->materials[nummaterials].ambient[0], 399 &model->materials[nummaterials].ambient[1], 400 &model->materials[nummaterials].ambient[2]); 471 material->ambient[0], material->ambient[1], material->ambient[ [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | ffvertex_prog.c | 1169 struct ureg ambient = get_lightprod(p, i, 0, STATE_AMBIENT); local in function:build_lighting 1200 emit_op3(p, OPCODE_MAD, _col0, 0, swizzle1(lit,X), ambient, _col0); 1205 emit_op2(p, OPCODE_ADD, _col0, 0, ambient, _col0); 1210 emit_op2(p, OPCODE_ADD, _col0, 0, ambient, _col0); 1216 release_temp(p, ambient); 1224 struct ureg ambient = get_lightprod(p, i, 1, STATE_AMBIENT); local in function:build_lighting 1261 emit_op3(p, OPCODE_MAD, _bfc0, 0, swizzle1(lit,X), ambient, _bfc0); 1265 emit_op2(p, OPCODE_ADD, _bfc0, 0, ambient, _bfc0); /**/ 1269 emit_op2(p, OPCODE_ADD, _bfc0, 0, ambient, _bfc0); 1279 release_temp(p, ambient); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | ffvertex_prog.c | 1232 struct ureg ambient = lightprod_front[i][0]; local in function:build_lighting 1263 emit_op3(p, OPCODE_MAD, _col0, 0, swizzle1(lit,X), ambient, _col0); 1268 emit_op2(p, OPCODE_ADD, _col0, 0, ambient, _col0); 1273 emit_op2(p, OPCODE_ADD, _col0, 0, ambient, _col0); 1279 release_temp(p, ambient); 1299 struct ureg ambient = lightprod_back[i][0]; local in function:build_lighting 1336 emit_op3(p, OPCODE_MAD, _bfc0, 0, swizzle1(lit,X), ambient, _bfc0); 1340 emit_op2(p, OPCODE_ADD, _bfc0, 0, ambient, _bfc0); /**/ 1344 emit_op2(p, OPCODE_ADD, _bfc0, 0, ambient, _bfc0); 1354 release_temp(p, ambient); [all...] |
| /xsrc/external/mit/xf86-video-vmware/dist/vmwgfx/ |
| H A D | svga3d_reg.h | 1221 float ambient[4]; member in struct:__anon70b0d8604408 1530 float ambient[4]; member in struct:__anon70b0d8605b08
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/include/ |
| H A D | svga3d_cmd.h | 427 float ambient[4]; member in struct:__anonc6e2a0b50a08 935 float ambient[4]; member in struct:__anonc6e2a0b52708
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/svgadump/ |
| H A D | svga_dump.c | 470 _debug_printf("\t\t.material.ambient[0] = %f\n", (*cmd).material.ambient[0]); 471 _debug_printf("\t\t.material.ambient[1] = %f\n", (*cmd).material.ambient[1]); 472 _debug_printf("\t\t.material.ambient[2] = %f\n", (*cmd).material.ambient[2]); 473 _debug_printf("\t\t.material.ambient[3] = %f\n", (*cmd).material.ambient[3]); 522 _debug_printf("\t\t.data.ambient[0] = %f\n", (*cmd).data.ambient[ [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/svgadump/ |
| H A D | svga_dump.c | 470 _debug_printf("\t\t.material.ambient[0] = %f\n", (*cmd).material.ambient[0]); 471 _debug_printf("\t\t.material.ambient[1] = %f\n", (*cmd).material.ambient[1]); 472 _debug_printf("\t\t.material.ambient[2] = %f\n", (*cmd).material.ambient[2]); 473 _debug_printf("\t\t.material.ambient[3] = %f\n", (*cmd).material.ambient[3]); 522 _debug_printf("\t\t.data.ambient[0] = %f\n", (*cmd).data.ambient[ [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/include/ |
| H A D | svga3d_cmd.h | 461 float ambient[4]; member in struct:__anon2dcb6c680a08 969 float ambient[4]; member in struct:__anon2dcb6c682708
|
| /xsrc/external/mit/mesa-demos/dist/src/demos/ |
| H A D | isosurf.c | 598 static float ambient[] = {0.1, 0.1, 0.1, 1.0}; local in function:InitMaterials 613 glLightfv(GL_LIGHT0, GL_AMBIENT, ambient); 618 glLightfv(GL_LIGHT1, GL_AMBIENT, ambient);
|