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.cpp1110 (mode == GL_POINTS) ? GL_FLAT : c->lighting.shadeModel); in validate_arrays()
1116 if (c->lighting.enable) { // needs normal transforms and eye coords in validate_arrays()
1170 if (c->lighting.enable) { in validate_arrays()
Dcontext.h612 lighting_t lighting; member
/frameworks/native/opengl/tests/angeles/
DREADME.txt39 lighting.
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dicon_design_launcher_archive.jd296 varying textures and lighting effects, but must be lit directly from above
313 …<tr><td><em>1.</em></td><td nowrap>Lighting:</td><td>Top-lit, using appropriate lighting details<b…
Dicon_design_launcher.jd127 <li>Reflect the implied lighting model of the launcher (top-lit).</li>
/frameworks/base/docs/html/tools/adk/
Dadk.jd298 ADK board. The ADK board receives commands such as lighting up the board's LEDs or sends data
697 changes the state of the accessory, such as lighting up or changing the color of the LED