Lines Matching refs:lighting
113 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()
592 c->lighting.lightTriangle(c, v0, v1, v2); in primitive_clip_triangle()
607 c->lighting.lightTriangle(c, v0, v1, v2); in primitive_clip_triangle()