Home
last modified time | relevance | path

Searched refs:lighting (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/opengl/libagl/
Dlight.cpp68 c->lighting.lights[i].ambient.a = 0x10000; in ogles_init_light()
69 c->lighting.lights[i].position.z = 0x10000; in ogles_init_light()
70 c->lighting.lights[i].spotDir.z = -0x10000; in ogles_init_light()
71 c->lighting.lights[i].spotCutoff = gglIntToFixed(180); in ogles_init_light()
72 c->lighting.lights[i].attenuation[0] = 0x10000; in ogles_init_light()
74 init_white(c->lighting.lights[0].diffuse); in ogles_init_light()
75 init_white(c->lighting.lights[0].specular); in ogles_init_light()
77 c->lighting.front.ambient.r = in ogles_init_light()
78 c->lighting.front.ambient.g = in ogles_init_light()
79 c->lighting.front.ambient.b = gglFloatToFixed(0.2f); in ogles_init_light()
[all …]
Dstate.cpp139 c->lighting.lights[cap-GL_LIGHT0].enable = enabled; in enable_disable()
140 c->lighting.enabledLights &= ~(1<<(cap-GL_LIGHT0)); in enable_disable()
141 c->lighting.enabledLights |= (enabled<<(cap-GL_LIGHT0)); in enable_disable()
159 c->lighting.enable = enabled; in enable_disable()
162 c->lighting.colorMaterial.enable = enabled; in enable_disable()
Dprimitives.cpp113 c->lighting.lightVertex(c, v0); in lightTriangleSmooth()
115 c->lighting.lightVertex(c, v1); in lightTriangleSmooth()
117 c->lighting.lightVertex(c, v2); in lightTriangleSmooth()
124 c->lighting.lightVertex(c, v2); in lightTriangleFlat()
155 c->lighting.lightVertex(c, v); in lightVertexSmoothFog()
218 index |= c->lighting.enable ? 0x2 : 0; in ogles_validate_primitives()
220 c->lighting.lightTriangle = lightPrimitive[index]; in ogles_validate_primitives()
465 if (c->lighting.enable) { in primitive_point()
466 c->lighting.lightVertex(c, v); in primitive_point()
538 c->lighting.lightTriangle(c, v0, v1, v1); in primitive_line()
[all …]
Darray.cpp1114 (mode == GL_POINTS) ? GL_FLAT : c->lighting.shadeModel); in validate_arrays()
1120 if (c->lighting.enable) { // needs normal transforms and eye coords in validate_arrays()
1174 if (c->lighting.enable) { in validate_arrays()
Dcontext.h616 lighting_t lighting; member
/frameworks/native/opengl/tests/angeles/
DREADME.txt39 lighting.
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dicon_design_launcher_archive.jd297 varying textures and lighting effects, but must be lit directly from above
314 …<tr><td><em>1.</em></td><td nowrap>Lighting:</td><td>Top-lit, using appropriate lighting details<b…
Dicon_design_launcher.jd128 <li>Reflect the implied lighting model of the launcher (top-lit).</li>
/frameworks/base/docs/html/guide/topics/manifest/
Duses-feature-element.jd1066 one of two different color schemes based on the ambient lighting