Home
last modified time | relevance | path

Searched refs:lightIndex (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DGLEScmContext.cpp230 const GLEScmContext::Light& GLEScmContext::getLightInfo(uint32_t lightIndex) { in getLightInfo() argument
231 return mLights[lightIndex]; in getLightInfo()
1363 uint32_t lightIndex = light - GL_LIGHT0; in lightf() local
1365 if (lightIndex >= kMaxLights) { in lightf()
1367 lightIndex); in lightf()
1383 mLights[lightIndex].spotlightExponent = param; in lightf()
1386 mLights[lightIndex].spotlightCutoffAngle = param; in lightf()
1389 mLights[lightIndex].attenuationConst = param; in lightf()
1392 mLights[lightIndex].attenuationLinear = param; in lightf()
1395 mLights[lightIndex].attenuationQuadratic = param; in lightf()
[all …]
DGLEScmContext.h187 const Light& getLightInfo(uint32_t lightIndex);